IMX8MP ECSPI3 MISO Problem

キャンセル
次の結果を表示 
表示  限定  | 次の代わりに検索 
もしかして: 

IMX8MP ECSPI3 MISO Problem

676件の閲覧回数
AlfTeleco
Contributor III

Hello, 

 

We are having some problems using ECSPI3 at an imx8mp custom board. 

Mosi, SCLK and CS seems to be working okay, but MISO is no even working in loopback mode. 

 

Any idea? Is there any kernel problem or special configuration at dts? 

 

Thanks a lot!

タグ(3)
0 件の賞賛
2 返答(返信)

647件の閲覧回数
AlfTeleco
Contributor III

Hi Igor and thanks for the quick answer. 

We are using imx kernel 5.4.70. The problem seems to be related to CS signal. CS seems to be going inactive between writes and reads, maybe making the slave become unavailable. The problem is shown in this picture: 

 

Captura de pantalla de 2021-09-22 15-45-40.png

 

Any idea will be much appreciated, thank you 

0 件の賞賛

663件の閲覧回数
igorpadykov
NXP Employee
NXP Employee

Hi Alvaro

 

what bsp used in the case. May be recommended to try latest Linux 5.10.35_2.0.0

https://source.codeaurora.org/external/imx/linux-imx/tree/?h=lf-5.10.y

with unit test

https://source.codeaurora.org/external/imx/imx-test/tree/test/mxc_spi_test?h=lf-5.10.y_2.0.0

 

Best regards
igor