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 2MHZ. and 8 bit charter length.
We are writing, reading and erasing the flash in tight loop . i have attached file which contains the function which i am using., Here by using this i am Earsing the flash followed by Writing in to the flash and reading the flash , When we are reading flash continuously after few successful read we are getting wrong data from flash . as it is in continuous loop again it starts reading correct values from flash.
i wanted to the reason for this , as this is very critical for our project .
Awaiting for a quick reply.
Thank You.