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.

LAUNCHXL-CC1310: I2C issue

Part Number: LAUNCHXL-CC1310

Hi team,

Here's the request from the customer:

The I2C can read sensorID and write configure normally, but it blocks at the if (!I2C_transfer(i2cH, &i2cTransaction)) function each time when reading the sensor interrupt status.

Could you help check this case? Thanks.

Best Regards,


  • Hi Nick,

    Can you please provide more information regarding this issue?

    Does the I2C_transfer function block or does it return false (indicating an error).
    Can you please explain the scenarios where the I2C transaction is successful, and when it is not successful? Please also include more of the code, if possible.
    Can you also explain what I am seeing on the two logic traces? How does it correspond to the code?

    Btw, if you are using the I2C driver in blocking mode, then I2C_transfer() must be called from a task/thread context, it must not be called from an ISR or similar.


  • Hi Niklaj_G,

    Here's the respond from the customer.

    1.The I2C_transfer function blocks.

    2.The I2C works nomal when reading the ID, which can read the first set of data from the sensor. Than the interrupt status will block when read data from the sensor again.

    Video is shown in the following figure:

    The i2c Initial configuration is shown in the following figure:

    Best Regards,                                                            


  • Hello Nick,

     It looks like a CPU Exception has occurred. I don't know what the issue might be.

    Has the customer gone through the entire Deciphering CPU Exceptions chapter in the Users Guide?

    Has the customer inspected the ROV → Hwi → Exception information?