Configuration Restrictions

Versal ACAP Technical Reference Manual (AM011)

Document ID
AM011
Release Date
2022-04-26
Revision
1.4 English
  • In addition to the above registers, the AHB_Indirect_Addr register must be programmed so there is not a 4 KB boundary crossing between the value programmed and the value + 63.
  • The Indirect_Read_Num register should be programmed so that the number of bytes read is word-aligned. Bits 1 and 0 should always be programmed to 0 for this register.
  • Program the DMA_TOP and then trigger the indirect read transfer using IND_READ_CTRL [start].
  • For direct transfers, all the AXI transactions must be aligned.
  • For direct write transfers, only the following WSTRB are supported.
AxSIZE WSTRB values supported
2’b10 4’b1111
2’b01 4’b1100, 4’b0011
2’b00 4’b0001, 4’b0010, 4’b0100, 4’b1000
  • Program the OSPI_AXI_Sel register with 3h to enable direct mode and AXI slave interface.
  • STIG mode supports only 1-1/0-1/0 (command- address-data) and 8-8/0-8/0 commands.
  • STIG mode does not support 1-8-8 and 1-1-8 commands.
  • Only one indirect mode operation can be triggered at a time. The next indirect operation can be triggered after the first indirect operation is complete.

Architecture

The AHB interface is used to transfer data, either in a memory mapped direct fashion, or in an indirect fashion where the controller is set up via configuration registers to silently perform some requested operation, signaling its completion via interrupts or status registers.

For indirect operations, data is transferred between system memory and flash memory via an internal SRAM. Interrupts or status registers are used to identify the specific times at which this SRAM should be accessed using user programmable configuration registers.

The DMA peripheral bus optimizes data transfers to the flash memory and PHY during indirect transfers.

DMA Controller Implementation

The SRC and DST DMA controller has the same programming model as the CSU DMA in the Zynq® UltraScale+™ MPSoC.

The data read from the flash memory by the SRC DMA is put in a buffer for the DST DMA to access and write out to system memory using the controller's AXI master interface.