I have found it easy to use the Control Center Serial Software with the Promira Serial Platform but I seem to have a project that is more challenging. I need to send a stream of continuous data.
The configuration I am using:
The results I am getting:
What should I do to enable sending continuous data?
Response from Technical Support:Thanks for your question! For many setups, the Control Center Serial Software is a great tool, making it easy to directly interact with the Promira platform and run batch mode. However, for your setup, we recommend using the Promira Software API. Here’s why -
The buffer size of Promira platform is limited to 256 bytes. In a single transaction, it is not possible for both Control Center GUI and Promira Serial Platform to send more than 256 bytes of data. If the data exceeds the read size, the data is truncated; the rest of the data is not wrapped in the next transaction. Effectively, Set MISO is triggered again, causing the same stream of data to be treated as new data – the data is sent from the starting location until the buffer is full.
The Promira Software API, however, can be written to send continuous data by wrapping the data (that exceeds the read size) in the next transaction. Here are the API commands that fulfill your requirements:
For more help with your project, we suggest looking at the example programs, provided with the API, that you can download to use as is or modify for your use. For more information about the API, please refer to the API Documentation section in the Promira Serial Platform I2C/SPI Active User Manual.
Additional resources that you may find helpful:
We hope this answers your question. If you have other questions about our 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.