S25fl512s flash not working with spi

取消
显示结果 
显示  仅  | 搜索替代 
您的意思是: 

S25fl512s flash not working with spi

926 次查看
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 项奖励
回复
1 回复

629 次查看
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 项奖励
回复