I2C SPI USB CAN eSPI Cable Testing View All Videos Quick Start Guides Software Downloads App Notes White Papers User Manuals Knowledge Base Sales Support About Us
Products Blog Sales Support Contact Search
How Do I Configure an Aardvark I2C/SPI Host Adapter or a Promira Serial Platform for CRC and an SPI Slave Device with Flag Signals?
Rena

Question from the Customer:

I am interested in your host adapters, the Aardvark I2C/SPI Host Adapter and the PromiraTM Serial Platform, and I have a few questions about how they handle SPI. My SPI application has two flag lines back from the spi slave device. I want to use an SPI tool, such as the Aardvark adapter or the Promira platform, to simulate the master. here are my questions:

  • How do I configure the GPIO pins on the (master) tool for the "flag lines"?
  • How is CRC (cyclic redundancy check) handled – is it through the device or software?
Response from Technical Support:

Thank for your questions!

 

Promira Serial Platform Figure 1: Promira Serial Platform

 

Aardvark I2C/SPI Host Adapter Figure 2: Aardvark I2C/SPI Host Adapter

In SPI mode, both the Promira platform and the Aardvark adapter have two GPIO signals that can be configured using the software GUIs or the API.

CRCs are not handled by the hardware, but can be supported  via the APIs. The Software APIs support multiple OS (Windows, Linux, and Mac) and multiple languages (C, Python, Visual Basic, and C#), and include examples. We recommend using the Python bindings, which is a simple language and an effective option for scripting.

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.