IMX8MP ECSPI3 MISO Problem

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

IMX8MP ECSPI3 MISO Problem

1,182 次查看
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 回复数

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

1,169 次查看
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