This thread has been locked.

If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.

RTOS: AM57X I2C transfer error code



Tool/software: TI-RTOS

Hello.

I2C_transfer API function from the latest SDK for Sitara AM57xx family (ver. 04.00.00.04) is returning the same error code in case of No Ack and in case of arbitration lost: opening I2C.h file in pdk_am57xx_1_0_7\packages\ti\drv\i2c you can read:

...

/*!
 * \brief   I2C no ack error when no acknowledgement is received
 */
#define I2C_STS_ERR_NO_ACK           ((int16_t)(-3))
/*!
 * \brief   I2C Arbitration lost error
 */
#define I2C_STS_ERR_ARBITRATION_LOST ((int16_t)(-3))
/*!
 * \brief   I2C Bus Access error

....

Best Regards,

Scianni Vincenzo