AnsweredAssumed Answered

[Yocto] Sent wrong spi device id to spi flash

Question asked by charles huang on Mar 11, 2015
Latest reply on Mar 18, 2015 by charles huang

Hi

 

We use MX6QDL_PAD_EIM_D28 as our spi4 MOSI, but we can't ecognized SPI flash

 

And we use oscilloscope to measure EIM_D28,we found a strange phenomenon

 

As shown in below

spi.jpg

 

At boot time, host will send deivce id(0X9F) to SPI,but before sending device id, EIM_D28 have a pulled LOW signals.

 

It will make the host sends the id becomes 0x1f.

 

We also have another SPI5,it will not have the phenomenon.

 

Both of them,we set pin control as below in dts file

      MX6QDL_PAD_EIM_D28__ECSPI4_MOSI           0x170f1

      MX6QDL_PAD_SD1_CMD__ECSPI5_MOSI         0x170f1

 

Please help to investigate this issue.

Thanks.

Outcomes