kStatus_LPI2C_ArbitrationLost (error 905) error

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

kStatus_LPI2C_ArbitrationLost (error 905) error

Jump to solution
1,206 Views
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 Solution
1,205 Views
caleb
Contributor III

Make sure you have called

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

 

View solution in original post

0 Kudos
2 Replies
1,121 Views
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 Kudos
1,206 Views
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 Kudos