SPI read error in imx8mm

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

SPI read error in imx8mm

327 Views
justNow
Contributor I

Hi everyone!,

I need your help for the SPI read error in linux 4.14.98,

our system uses the ECSPI between imx8mm evk and FPGA.

basically, SPI uses 12M clock rate. I can access correctly.

but in 24M clock rate, I have a shifted or truncated read data.

The following is a capture in logic analyzer of FPGA internal. 

the correct expected data is 0x11111111 but driver returns the 0x08888888 as shifted and last bit was truncated.

more detail analyzer of logic stream, there is no failure of CLK, MISO, SS and OE. and logic stream is same that of 12M SPI clock case.

why does it return the unexpected data? 
spi_imx.c is a kernel code of SPI. I was checked but didn't find a clue.

please help me! 

SPI-24M.png

Tags (3)
0 Kudos
0 Replies