We need to apply low level commands to determine if the target SPI device is awake. Part of that evaluation is the number of retries it takes. We’ve been using the Aardvark I2C/SPI Host Adapter – would it work for this test case? Are there some limitations we should know?
Response from Technical Support:Thanks for your questions! The Aardvark Software API can provide the level of commands that you are looking to use. We also have a recommendation if you need higher speeds.
You can use the Aardvark Software API for your custom application. The Aardvark API supports Windows, Linux, and Mac operating systems, and several languages (C, Python, C#, and VB) and includes example applications that can be used as is or customized as needed.
Regarding sending retries to the target device, you can customize your application with several loop conditions as well as take count of the number of retries.
Here is an overview of the Aardvark adapter.
The Aardvark adapter is a general-purpose device that can actively communicate on an I2C or SPI bus, providing master and slave capability along with other I2C/SPI features.
The Aardvark adapter immediately sends the data to the PC, the PC buffers the data to the OS, and the API reads the data from the OS.
The Aardvark adapter can only transfer up to 8 bits SPI data without td delay.
For greater speed and other advantages, we suggest taking a look at the Promira Serial Platform. One difference is how their API functions are executed.
For Aardvark Software API, everything is a block function that waits for the response from the device. It means any function takes at least USB latency which is 1-2ms. This is a bit slower than other devices, as the Aardvark adapter uses USB Full-speed (12 Mbit/s).
The Promira Serial Platform uses Ethernet and Ethernet over USB, which is faster than Full-speed USB. In addition, Promira Software I2C/SPI API Active provides queue functionality so that multiple commands can be queued up and shifted to the device at once. For details about queuing, please refer to the Queue Overview section of the Promira Serial Platform I2C/SPI Active User Manual.
What else is different between the Aardvark adapter and the Promira platform? For a quick comparison, here is a table that summarizes the features of the Promira Serial Platform and other Total Phase I2C/SPI tools:
We hope this answers your questions. Additional resources that you may find helpful include the following:
More questions? More ideas? Send us a message at sales@totalphase.com. You can also request a demo that applies to your application.