We are experiencing an issue with our internal test script while using the Aardvark Software API. We are working to evaluate a new I2C device to integrate into a system.
Here is a summary of our test procedure:
The problem we observed when calling the API command aa_i2c_write_read.
What are your recommendations in analyzing the API software, its interactions, and results to identify and fix this issue?
Response from Technical Support:Thank you for your question! While we weren’t able to replicate the issue in our lab, we have some recommendations to help troubleshoot the issue you described.
We recommend gathering the following information as a starting point for analyzing the issue:
To acquire this information and more, we recommend using two of our tools: the I2C/SPI Activity Board and Beagle I2C/SPI Protocol Analyzer.
The I2C/SPI Activity Board can be used to create a prototype or a simulation of the system you are working on, including:
For an example of using the I2C/SPI Activity Board, refer to the Knowledge Base article How to Read and Write to an I2C EEPROM Using the Aardvark adapter and Control Center. This guide outlines the steps to read and write to the AT24C02 I2C EEPROM included with the I2C/SPI Activity Board. The same procedure can be applied with other devices.
Additionally, to gain insight into bus activity, the Beagle I2C/SPI Protocol Analyzer can be placed within your setup to capture and log essential data within the Data Center Software. This software allows users to monitor data flow in real time, enabling efficient diagnostics and communication analysis. This bus data can be saved for further analysis and easily shared with remote colleagues.
Watch this video to see how the Aardvark I2C/SPI Host Adapter and the Beagle I2C/SPI Protocol Analyzer are used to evaluate an I2C system:
Here are more examples about troubleshooting and analysis:
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.