This thread has been locked.

If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.

SPI FOR FLASH

dear e2e ,

We are working on   tms570ls3137  processor for one of our project , ide we are using is ccs v 6.0 , also  halcogen v 4.4.0 for configuration

We are trying to communicate with FLASH IC( IS25CQ032 )  using SPI communication .

 We have enabled  SPI2 and N2HET1 in halcogen , where N2HET1 which are used as GPIO  for chip select of SPI . We  have configured  TMS as master and flash as slave with the baud rate  8MHZ. and  8 bit charter length.

We are doing successive flash write and read data from the flash in tight loop .  i have attached file which contains the function which i am using., Here by using this i am writing into the flash one sector followed by another Writing in to the flash (not same sector )and reading the flash , When we are doing successive flash write, if we give the delay b/w successive flash write in the code , I am able to write data into flash correctly.  if i tired write to flash without giving delay b/w two successive flash write it's not writing data into flash memory. can you tell the reason4478.flah_function.docx for this.

Thank You.