kStatus_LPI2C_ArbitrationLost (error 905) error

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

kStatus_LPI2C_ArbitrationLost (error 905) error

ソリューションへジャンプ
2,614件の閲覧回数
caleb
Contributor III

Note to future me, and anyone else who's getting the kStatus_LPI2C_ArbitrationLost error when attempting to use the I2C Peripheral.  

 

If you're getting this ArbitrationLost error, with the I2C clock and data pins *only* doing a start condition, then immediately failing, it's likely because you don't have the "SoftwareInputOn' mode selected in the IOMUXC.

1 解決策
2,613件の閲覧回数
caleb
Contributor III

Make sure you have called

IOMUXC_SetPinMux(IOMUXC_GPIO_11_LPI2C1_SDA, 1U);
IOMUXC_SetPinMux(IOMUXC_GPIO_12_LPI2C1_SCL, 1U);

 

元の投稿で解決策を見る

0 件の賞賛
返信
2 返答(返信)
2,529件の閲覧回数
SammyP
Contributor I

Thanks for this. I spent a few hours tracing the issue without success until I found this. It's real easy to overlook stuff when setting up basic peripherals on the i.MX because there is just so much stuff to configure.

0 件の賞賛
返信
2,614件の閲覧回数
caleb
Contributor III

Make sure you have called

IOMUXC_SetPinMux(IOMUXC_GPIO_11_LPI2C1_SDA, 1U);
IOMUXC_SetPinMux(IOMUXC_GPIO_12_LPI2C1_SCL, 1U);

 

0 件の賞賛
返信