I am working on a system that requires a slave device to have an I2C Interrupt Request output pin (nIRQ). When the I2C slave needs service, it alerts the I2C master by pulling the interrupt request low. I am looking at using the Aardvark I2C/SPI Host Adapter as the slave device and have questions about using the host adapter to generate the interrupt request signal.
Thank you for your questions! The Aardvark adapter can be used for your project exactly as needed. When the Aardvark adapter is in I2C mode, the unused pins in that mode can be used as GPIO. The same feature applies for the SPI mode – unused pins are available as GPIO. To help you get started, we will discuss using the GPIO features and provide references for more information.
We have two software applications for controlling the I2C and GPIO pins: Aardvark Software API and Control Center Serial Software. We have a Knowledge Base article that describes Using the Aardvark I2C/SPI Host Adapter GPIO Feature to Support Interrupts. This article includes an example of using the Aardvark Software API, which supports several programming languages and operating systems.
The next section is an introduction to using Control Center Serial Software.
Control Center Serial Software can also enable the Aardvark I2C/SPI Host Adapter’s GPIO functionalities. The application is easy to use – all features of the Aardvark adapter are accessible with the GUI, including viewing the results. Here is an introduction to setting up and using this application.
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.