Q: I have recently purchased the Aardvark I2C/SPI Host Adapter. I need to communicate with an embedded system using I2C multi-master mode in a C# application. I am having a hard time figuring out the best way to use the Aardvark API and Shared Library to do this type of communication. Do have an example that uses multi-master, or can you provide advice on how to do this?
Also, I am unsure about how to deal with multi-master arbitration. Is there an interrupt for changing to a slave if the arbitration is lost and the other multi-master is addressing to it? I would appreciate the information.
Thanks for the questions! The Aardvark Software API package has C# I2C examples, but it does not include an example of I2C multi-master.
However, we do have recommendations:
To become more familiar with the Aardvark Software API, we suggest running the original examples aadetect, aai2c_slave, and aai2c_master that are provided in the API package. For additional information, you can refer to the README.txt files in the API package and the Aardvark API documentation.
Additional information about Aardvark adapter and multi-master arbitration:
For more information about our products and more, please refer to the following:
We hope this answers your question. If you have other questions about our protocol analyzers, software tools or other Total Phase products, feel free to email us at sales@totalphase.com or support@totalphase.com.