S25fl512s flash not working with spi

cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

S25fl512s flash not working with spi

739 Views
ksk10
Contributor II

Hi,

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.

Regards,

Sanket

0 Kudos
1 Reply

442 Views
xiangjun_rong
NXP TechSupport
NXP TechSupport

Hi,Sanket

can you list the code to access spi flash? can you paste the scope screenshot of spi signals: SCK/MOSI/MISO/SS?

BR

Xiangjun rong

0 Kudos