Introduction
Promira™ Serial Platform with eSPI analysis application is used to monitor eSPI data. There are several ways to do this with Promira platform, including using Data Center or Promira API. This article focuses on how to send eSPI data from Promira platform with SPI Active Level 1-3 applications and Promira API and monitor it with another Promira platform with eSPI Analysis application and Data Center. Although the following describes transferring eSPI data from Promira platform with SPI Active Level 1-3 applications, similar steps can be used for transferring eSPI data from other devices.
Overview
In this article Promira platform with SPI Active Level 1-3 applications ("Promira-2", SN #2416-606178) and Promira API I2C/SPI active Python espi_generator example transfer eSPI data at bitrate 66 MHz, and another Promira platform with eSPI Analysis application ("Promira-1", SN# 2416-606091) and Data Center monitor the eSPI bus. The two Promira platforms are connected through 34-34 I2C/SPI/eSPI cable. In this example, one computer is used for both Promira platforms.
Monitoring eSPI Guidelines
- Connect the two Promira platforms USB connectors to the PC USB connectors.
- Follow the instructions in Section 5.2 - Connectivity of the Promira platform system user manual to configure the Ethernet over USB interface.
- Download and unzip the latest version of Data Center. (?)
- Download and unzip the latest version of Promira API I2C/SPI active.
- Install Python 2.x for Windows 64 bit from the Python website.
- These guidelines use the default Python installation location of "C:\Python27".
- Verify that the Promira API examples setup is correct.
- Be sure to use 64-bit Python when you use the 64-bit version of the the Promira API.
- Be sure to have the promira.dll file in same directory as the Python examples as provided in the API package.
- Connect Promira-1 I2C/SPI/eSPI connector to Promira-2 I2C/SPI/eSPI connector through 34-34 cable as shown in Figures 4 and 5.
- Launch Data Center. (?)
- Connect Data Center to Promira-1. (?)
- Click Analyzer, and choose Connect to Analyzer.
- Select Promira-1.
- Click OK to connect to Promira-1.
- Configure Data Center (?)
- Click Analyzer ➝ Device Settings ➝ eSPI.
- Configure Capture Protocol to eSPI. Click OK
- Click Analyzer → Run Capture.
- Run the original detect Python example as provided in the API package with Promira-2.
- Open Command Prompt. (?)
- Change to the Promira API I2C/SPI active Python directory by typing: cd C:\...\python
- Run the detect example by typing: C:\Python27\python.exe detect.py
- Verify that the computer detects Promira-2.
Figure 1: Detect Promira
- Transfer eSPI data from Promira-2 with Promira API example espi_generator
- Open Command Prompt. (?)
- Change to the Promira API I2C/SPI active Python directory ("...\python”).
- Configure espi_generator.py file to bitrate of 66 MHz by editing the definition of the file espi_generator.py function simulator.espi_set_config_08h parameters to "4, io_mode"
- Run the espi_generator example by typing: C:/Python27/python.exe espi_generator.py 10.2.1.113 0 set_config_io put_msg. This command transfers eSPI data from Promira-2 (SN #2416-606178, IP 10.2.1.113) in mode 0 at bitrate 66 MHz by executing two commands: set_config_io and put_msg. Modify the basic parameters (as IP) based on your system setup and requirements.
Figure 2: Transfer eSPI data
- Verify that Promira-1 and Data Center monitor the eSPI data correctly.
Figure 3: Monitor eSPI data
Figure 4: eSPI System
Figure 5: Promira Platforms Connections
Notes
For additional information, take a look at the Promira platform system user manual, Data Center user manual, and Promira API I2C/SPI active documentation.