Introduction
These getting started guidelines are intended to facilitate the first use of the Promira Serial Platform with I2C/SPI Active - Level 1 application. The Promira platform can be used with Control Center Serial or the Promira API to communicate with any standard I2C/SPI device. Use the Promira platform with Control Center Serial, and follow the instructions below to communicate with a standard I2C/SPI device.
All current downloads for the Promira platform can be found on the product page downloads.
Getting Started Guidelines
- Connect the Promira platform to the PC via the USB connector.
- Follow the instructions in Section 5.2 - Connectivity of the Promira platform user Manual to configure the Ethernet over USB interface.
- Download and unzip the latest version of Control Center Serial that supports the Promira platform. (?)
- Launch Control Center Serial. (?)
- Connect Control Center Serial to the Promira platform. (?)
- Click Adapter.
- Click Connect.
- Select the adapter.
- Click OK to connect to the adapter.
- Connect the Promira adapter Provided Cable 10x34 or 34x34 to the target system. (?)
- If you have the Beagle I2C/SPI Host analyzer and the I2C/SPI Activity Board, then you can use these tools to setup a target system to test the capabilities of the devices. For additional information, take a look at the Beagle analyzer user manual and the I2C/SPI activity board user manual.
- The Promira platform is capable of communicating with I2C or SPI traffic in Master or Slave mode. Depending on the system requirements, configure the device accordingly. (?)
- Click Adapter, and choose I2C+SPI.
- Optionally, click Adapter, and enable I2C Pulls-Ups. (?)
- Click Adapter, and configure Target Power (pin 4, 6), Target Power (pin 22, 24), and Level Shift. (?)
- Configure the Device Settings for I2C-Master using the I2C Control panel. (?)
- Configure the Bitrate.
- Click on the Master tab.
- Supply the 7-bit I2C Slave Address. (?)
- Optionally, configure 10 Bit Addr, No Stop, Message, Number of Data Bytes, Register Address, Address Width, and Number of Data Bytes based on the parameters of the target system.
- Click Master Write, Master Read, or Master Reister Read based on the target system application.
- Configure the Device Settings for I2C-Slave using the I2C Control panel. (?)
- Configure the Bitrate.
- Click on the Slave tab.
- Supply the 7-bit I2C Slave Address.
- Optionally, configure Max Tx Bytes, Max Rx bytes, and Slave Response Message based on the parameters of the target system.
- Click Set Resp. for setting a slave response.
- Click Enable to activate the adapter as an I2C slave.
- Configure the Device Settings for SPI-Master using the SPI Control panel. (?)
- Configure the Bitrate.
- Click on the Master tab.
- Configure the Polarity, Phase, Bit Order, SS Polarity, and MOSI Message based on the parameters of the target system.
- Click Send for transfering the MOSI and MISO messages on the SPI bus.
- Configure the Device Settings for SPI-Slave using the SPI Control panel. (?)
- Configure the Bitrate.
- Click on the Slave tab.
- Configure the Polarity, Phase, Bit Order, and MISO Message based on the parameters of the target system.
- Click Set MISO message for setting a slave response.
- Click Enable to activate the adapter as an SPI slave.
- Monitor the transactions in the Transaction Log.
Notes
For additional information, take a look at the Promira platform user manual, and Control Center Serial user manual.