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.
Hi Ti,
We are reading the Temperature Sensor data via I2C using the Tivaware Library with version 2.1.0.12573, with single mater configuration on the I2C, intermittently we are observing Arbitration Lost error on the I2C.
Generally we shouldn't be observing this issue, when we are having only one master on the i2C bus. Could you please help to debug this issue.
Thank you,
Anand
Hi,
Is there any reason that you use version 2.1.0. This is a relatively old version. The latest version is 2.2.0.295. Unless you have a hard requirement to stay with the old version, I will suggest you install the latest one from https://www.ti.com/tool/SW-TM4C. This is not to say your current problem is related to the software. Are you getting other errors other than arbitration lost. It is possible several flags getting set at the same time. You would really need to look at the bus to know what really went wrong. please also bear in mind that if you power cycle the board in the middle of an ongoing I2C transaction then the slaves can be out of sync with the master. The slaves have no way of knowing the master has been through a reset or power cycle. It is possible that the master reports various errors not limited to an arbitration lost. Please use preferably a logic analyzer or a scope to capture the bus transactions. They will provide helpful information.
A heads-up, I will be out of office for the rest of week starting tomorrow. Please expect delay in my response.
Hi,
I think I have answered a similar question to your colleague in this post about arbitration lost and how to handle it. I will close this thread.