AnsweredAssumed Answered

S25fl512s flash not working with spi

Question asked by Sanket K on May 26, 2017
Latest reply on Jun 1, 2017 by xiangjun.rong



I am working on interfacing a spi flash module s25fl512s with MK64FN1M0vll12 controller.

Using processor expert and ksdk 1.3 I generated the Dspi module for spi 1. Disabled the chip select.

Used gpio pin as chip select . 


I am able to get the clock running and also shows the data on SDO pin of microcontroller. 

But I am not getting any response from the flash. It giving it as 0's when trying to read identification using RDID command.


I have tried spi in both modes , mode 0 and mode 1, but no success. I tried spi with different speeds with maximum of 1 Mhz.

Any help will be appreciated.