I2C SPI USB CAN eSPI Cable Testing View All Quick Start Guides User Manuals Software Downloads Knowledge Base Videos Case Studies App Notes White Papers Sales Support About Us
Products Blog Sales Support Contact Search
What Are the Best Tools For Programming I2C and SPI Devices with OneWire Commands? Can LabVIEW Be Included?
Rena

Question from the Customer:

I have a project that uses the STMicroelectronics STM32F401RCT6 device. I need to open communication with 1-wire commands,  which would enable me to use microwire communication to operate the STM32F401RCT6 unit. We are using LabVIEW for this project.

How can I best approach this? Which tools do you recommend? Is LabVIEW available?

Response from Technical Support:

Thanks for your questions! The device that you are using, STM32F401RCT6, has both I2C and SPI interfaces. To communicate with peripherals, I2C uses two signals and SPI uses four signals. We have two devices that you can use for programming I2C and/or SPI devices:

Following are our recommendations and suggestions for your setup.

You Can Use GPIO or I2C/SPI Interfaces for OneWire Commands

For 1-wire commands, you can use the GPIO interface - however the speed would be slower. For better performance, we recommend using either I2C/SPI interfaces for communication: Promira platform or Aardvark adapter.

LabVIEW Drivers

The Promira platform and the Aardvark adapter can be used to program devices using LabVIEW drivers.

Using the Promira Serial Platform with I2C or SPI Devices

The Promira™ Serial Platform is our most advanced serial device that offers many benefits.

Summary of Promira Platform Features and Advantages

There features are supported with all Active applications:

  • Integrated level shifting enables working at a variety of voltages ranging from 0.9 to 5.0 volts without additional accessory boards.
  • High-speed USB connectivity to the host system provides high performance for benchtop programming, testing, and emulation.
  • Ethernet connectivity enables remote control for automation.
  • With the ability to provide a total of 200 mA of power, the Promira platform can easily power your target device(s) - simplifies connectivity and troubleshooting.

You Can Customize the Promira Serial Platform for Your Setup

With the following applications, you can set up the Promira Platform as needed for your project.

  • I2C Active - Level 1 Application – supports high speed I2C programming up to 1 MHz, high performance debugging, and emulation; I2C programming speeds are twice as fast as the Aardvark I2C/SPI Host Adapter.
  • I2C Active - Level 2 Application - supports the I2C High Speed Mode specification: high speed I2C programming, high performance debugging, and emulation. Provides I2C programming speeds up to 3.4 MHz for Master and Slave.
  • SPI Active - Level 1 Application - supports clock speeds up to 12.5 MHz for master and 8 MHz for slave functionality: fast programming, ultra-high performance debugging and emulation. SPI programming speeds are over eight times faster than the Aardvark I2C/SPI Host Adapter.
  • SPI Active - Level 2 Application - SPI programming speeds are even faster than before - supporting clock speeds of up to 40 MHz for master and 20 MHz for slave functionality, the Promira platform equipped with the SPI Active - Level 2 Application provides fast programming, ultra-high performance debugging and superior emulation for your SPI protocol needs.
  • SPI Active - Level 3 Application - supports clock speeds up to 80 MHz for master and 20 MHz for slave functionality, ultra-high performance debugging and emulation.
Note – each application is licensed separately. Also, to install Level 2 and Level 3 applications, the lower level applications must already be installed.

Aardvark I2C/SPI Host Adapter Features

The Aardvark I2C/SPI Host Adapter is a cost-effective general device that supports these features:

  • I2C master and slave up to 800 kHz
  • I2C multi-master support
  • SPI master up to 8 MHz
  • SPI slave up to 4 MHz
  • GPIO with selectable pins

Compare Total Phase I2C and SPI Tools

Here’s a table so you can easily view and compare the features of our I2C and SPI tools:

Promira Applications Comparison Chart

Additional resources that you may find helpful include the following:

We hope this answers your question. Want more information? Please  contact us at sales@totalphase.com. You can also request a demo that applies to your application, as well as ask about our Total Phase products.

Request a Demo