
I started a new project that uses the Aardvark I2C/SPI Host Adapter with the Flash Center Software. I am trying to read an EEPROM device, but in the Transaction log I see that the I2C bus locked. What could cause the bus lock? What do I need to analyze and change?
I am using a 10-pin Split Cable (TP240212) to connect the device:
Here is the data log:

Thank you for your questions! The I2C bus can be locked due to timing or other common issues, which are discussed in the following sections.
A bus to lock can occur when a timeout happens due to the data or clock line being held low.
An I2C bus can become locked when an I2C packet is in progress and the time since the last I2C event executed or received on the bus exceeds the bus lock timeout. This is typically occurs when the clock line is held low by another device, or the data line is held low, preventing the Aardvark adapter from issuing a start condition. When timeout occurs, the Aardvark adapter resets its own I2C interface, and no further action is taken on the bus.
If you are using Aardvark Software API, you can execute the API function aa_i2c_bus_timeout, which sets the I2C bus lock timeout in milliseconds. For more information about API commands and error codes, see section 5.5 I2C Interface of the Aardvark I2C/SPI Host Adapter User Manual
On occasion, this sometimes occurs if the firmware on the Aardvark adapter is outdated and needs to be updated. The latest firmware can be downloaded on our website.
Here are some basic details to check: hardware issues that can cause the I2C bus lock up, and verifying the Aardvark is working properly.
The following hardware scenarios could damage the Aardvark I2C/SPI Host Adapter. These are common errors that can cause failures, including I2C bus lock ups.
Listed below is a basic GPIO test to verify that the Aardvark adapter is working properly. It is assumed that the firmware has been updated. This process uses Control Center Serial Software:
We hope this answers your questions. Additional resources that you may find helpful include the following:
If you want more information, feel free to contact us with your questions, or request a demo that applies to your application.