SPI Engine Offload Module
The SPI Engine Offload peripheral allows to store a SPI Engine command and SDO
data stream in a RAM or ROM module. The command stream is executed when the
trigger signal is asserted. This allows the execution of SPI transactions
with a very short delay in reaction to a event.
Files
Name |
Description |
|---|---|
Verilog source for the peripheral. |
|
library/spi_engine/spi_engine_offload/spi_engine_offload_ip.tcl |
TCL script to generate the Vivado IP-integrator project for the peripheral. |
Configuration Parameters
Name |
Description |
|---|---|
ASYNC_SPI_CLK |
If set to 1 the |
ASYNC_TRIG |
If set to 1, the trigger input is considered asynchronous to the module. |
CMD_MEM_ADDRESS_WIDTH |
Configures the size of the command stream storage. The size is |
SDO_MEM_ADDRESS_WIDTH |
Configures the size of the SDO data stream storage. The size is |
DATA_WIDTH |
Data width of the parallel data stream. Will define the transaction’s granularity. Supported values: 8/16/24/32 |
NUM_OF_SDI |
Number of multiple SDI lines, (min: 1, max: 8) |
SDO_STREAMING |
Enables the s_axis_sdo interface. This allows for sourcing the SDO data stream from a DMA or other similar sources, useful for DACs. |
Signal and Interface Pins
Name |
Description |
|---|---|
ctrl_clk |
The |
spi_clk |
The |
spi_resetn |
Synchronous active low reset - Resets the internal state machine of the core. |
trigger |
When asserted the stored command and data stream is send out on the |
spi_engine_offload_ctrl |
SPI Engine Offload Control Interface subordinate. Control interface which allows to re-program the stored command and SDO data stream. |
spi_engine_ctrl |
SPI Engine Control Interface controller. SPI Engine Control stream that contains commands and data. |
offload_sdi |
Streaming AXI controller Output stream of the received SPI data. |
s_axis_sdo |
Streaming AXI peripheral Input stream for SPI data to be sent. Only present when |