AnsweredAssumed Answered

imx6q ecspi slave mode

Question asked by Andrew Yerokhin on Apr 7, 2015
Latest reply on Apr 14, 2015 by Andrew Yerokhin

Hello everyone,

 

I'm trying to enable ecspi1 slave mode on imx6q, linux kernel version is 3.0.35. I used following patch:

 

i.MX6 ESPI slave mode support patch based on rel_imx_3.0.35_4.1.0

 

Everything works almost fine for 32bpw, except for one problem. First word of each message from IMX is 0x00000000, independent of what actualy was sent from IMX. I verified that spi driver on IMX stores correct values to TXDATA register, and TXCNT field of TESTREG matches the number of words stored in tx fifo. But MISO line remains low when first word is being transmitted.

 

Looks like this is hardware problem. Is it possible to workaround it somehow?

 

Thanks a lot

Outcomes