The Control Center Serial Software allows users to easily control their I2C or SPI devices, including multi I/O SPI devices. In this blog, we’ll cover how to use the Multi I/O SPI Master Mode function to configure your master device to support dual and quad SPI modes.
The Standard SPI protocol operates with bidirectional communication using the MOSI and MISO lines, but with Multi I/O SPI, the lines are reconfigured to allow the bus to operate at quicker speeds. Multi I/O SPI increases the supported bandwidth across the SPI bus by enabling parallel data lines in a half-duplex manner, meaning data is only sent in one direction. Compared to a standard SPI device, a dual I/O interface doubles the transfer rates using two data lines while quad I/O quadruples it using four data lines.
Users who are looking to emulate a dual or quad SPI master device can easily do so using the Multi I/O SPI Master Mode feature in the Control Center Serial Software. This feature is only available on the Promira Serial Platform, with the SPI Active – Level 2 Application supporting Single/Dual I/O, and the SPI Active – Level 3 Application supporting Single/Dual/Quad I/O.
Using the Multi I/O SPI Master Mode, users can specify the I/O mode for sending and receiving Single, Dual, or Quad SPI data, but users can also be more flexible and specify the I/O Mode for bytes at different stages, including each byte sent on the wire as a master as seen here.
Selecting IO Mode within the Multi I/O SPI feature allows users to select which type of SPI will be used for each phase of the transfer. The first mode in the parenthesis is the IO mode for Command, the second is IO mode for Address, and the third is the IO mode for either message to write when sending or message to read when receiving.
To configure Dual or Quad mode:
To write to the slave device, users can enter the data in the “Data” text box and click “Send”. To read and verify the data, users can click “Read” and also specify the number of words to read. All data transactions can be viewed in the Transaction Log.
The Slave Select option also allows users to select the desired slave signal when communicating with multiple SPI slaves using separate SPI slave selects. The Promira Serial Platform supports up to 8 slave selects (when configured with SPI Active – Level 3 Application), however only some of them may be configurable based on the capabilities of the attached device.
To select which slave to communicate with:
For a detailed example on how to Program a Dual SPI Flash Using the Promira Serial Platform and the Control Center Serial Software please visit our Knowledge Base Article.
For any additional questions on the Multi I/O SPI Master Mode functionality in Control Center Serial Software, please contact us at sales@totalphase.com.