I'm trying to use the Promira Serial Platform to write and read to SPI devices: one with an async queue, and another with a sync queue. Can you provide examples to do this?
Response from Technical Support:Thanks for your question! The Promira Software API I2C/SPI Active is just the software you are looking for to run an async queue or a sync queue with the Promira platform. The Promira API supports multiple OS (Windows, Linux, and Mac), multiple languages (C, Python, Visual Basic, and C#) and the customizable setup will help you with your write/read goals. Following are some queuing examples that are provided with the Promira API as well as a few other functions you may find helpful.
Figure 1: Promira Serial PlatformListed below are the queuing examples that are provided with the Promira API. Examples for other functions are also provided.
API Examples for Async Queue:
You can click and download these API examples here.
For additional information about API, please refer to section 5 of the Promira Serial Platform User Manual. For additional information about queuing data and commands, please refer to section 5.5.3.
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.