天天看點

arm9 iic i2c 報錯:arbitration lost 仲裁丢失

arm9 iic i2c 報錯:arbitration lost

仲裁丢失

CSR I2C_AL

Arbitration Lost (Read only)

This bit is set when the I2C core lost arbitration. Arbitration is lost when:

A STOP signal is detected, but no requested.

The master drives SDA high, but SDA is low.

我是如何解決的:

把I2C1改為I2C0。

因為我看錯了原理圖:底闆上iic引腳連的是核心闆的PG0,PG1引腳(對應I2C0),但底闆原理圖網絡标号是I2C1,我在前期梳理引腳對應時弄錯了。

供參考。