Can I set up my Aardvark adapter to emulate multiple I2C slave devices each with separate slave addresses? My setup is simple:
My questions:
Thanks for your question! In response to your very first question; YES, you can use your Aardvark host adapter to emulate multiple I2C slave devices even with separate slave addresses. It’s simple to do using the Aardvark Software API. The API allows you to write a script using one of the supported languages (such as C, Python, Visual Basic and others). Examples are included in the API and can be used as-is or modified for your specifications. For your purposes, you will need to modify the script as follows:
Make sure your I2C Master does not attempt to communicate with the Aardvark adapter slave while it is not enabled, or while the Aardvark adapter is executing one of the steps listed above.
For more information about the API, please refer to the section API Documentation in the Aardvark I2C/SPI Host Adapter User Manual.
Additional resources that you may find helpful include the following:
We hope this answers your question. If you have other questions about our host adapters or other Total Phase products, feel free to email us at sales@totalphase.com, or if you already own one of our devices and have a technical question, please submit a request for technical support.