I am using the Aardvark I2C/SPI Host Adapter as an I2C master. I am trying to send a read request to an I2C device sensor, which communicates in binary code. Is there a simple way to send a command in the binary format? I am using the Control Center Serial Software GUI, which only seems to accept hexadecimal (hex) inputs.
Response from Technical Support:Thanks for your question! When using the Aardvark host adapter and Control Center Serial Software, data messages and the load data files can only be done in the hex format. However, other software applications are available - you can read and write I2C/SPI data with the Aardvark host adapter using the Control Center Serial Software, the Flash Center Software or the Aardvark Software API. In your case, we recommend using the Aardvark Software API, which can be customized to interface with specified data formats, including binary.
Figure 1: Aardvark Software SPI - Customize for Multiple Data FormatsSummaries of the key features of the software applications are listed below:
For additional information, please refer to the following documents:
We hope this answers your questions. 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.