I will be using my Aardvark I2C/SPI Host Adapter as an I2C slave to send a response to the request sent from the Master. My question is can I use my Aardvark adapter as multiple I2C Slaves with different slave addresses? Some requirements:
Can I use batch scripting to do this?
Response from Technical Support:Thanks for your question! As the Aardvark adapter is the I2C slave, your master device controls the clock - you can read from the Aardvark adapter every 0.25 s. The Aardvark adapter supports only one slave address. However, using Aardvark API Software, you can repeatedly change the slave address and if needed, the response as well.
For this to work, ensure that your I2C master does not attempt to communicate with the Aardvark adapter slave when it is disabled or in-between any of the following steps:
You can use Python, C, C# or .NET to write your code using our API functions and language bindings. Functional example scripts are provided with the API package, which you can use as is or modify as needed. For details about the API commands, please refer to the API Documentation.
For more advanced slave capabilities, including longer message sizes and faster response times, check out the Promira Serial Platform.
Additional resources that you may find helpful include the following:
We hope this answers your question. Need more information? You can contact us and request a demo that applies to your application, as well as ask questions about our host adapters and other Total Phase products.
We hope this answers your question. Have another question or need more details? You can contact us and request a demo that applies to your application, as well as ask questions about our host adapters, serial platforms and other Total Phase products.