How Can I Set Up the Master eSPI Behavior I Need with the Promira Serial Platform?

Question from the Customer:

I am using the Promira Serial Platform with eSPI Analysis Application  and the eSPI Active Example Files. I’m using the espi_generator.py script to emulate a master eSPI. For this setup, I need the help with the following:

  • I need to add WAIT_STATEs
  • Also, I need to generate additional clock cycles when the slave device sends WAIT_STATE (0x0F) in  the Response Phase

Response from Technical Support:

Thanks for your question!  For the Promira Serial Platform, the behavior of the emulator is driven by the emulator code. You can use espi_generator.py as a reference to write your own code to emulate the types of eSPI master behavior that you need.

Promira Serial Platform supports eSPI Master operations  eSPI Analysis Application

Modify Emulation Code for the eSPI Master Functions

We recommend using the Promira platform with a slave that inserts wait states.  Here is an outline of what to insert in the emulation code:

  1. Send one byte to read during response phase
  2. Check the byte read back, and check if the value is WAIT_STATE
  3. Repeat steps 1-2 until the response byte matches the expected value.

We hope this answers your question. Additional resources that you may find helpful include the following:

More questions? More projects? You can contact us at sales@totalphase.com. You can also request a demo that applies to your application.

Request a Demo