Hard Processor System Technical Reference Manual: Agilex™ 5 SoCs

ID 814346
Date 7/19/2024
Public
Document Table of Contents

5.10.7.6.6. Receive FIFO Buffer Underflow

Setting the source transaction burst length greater than the watermark level can cause underflow where there is not enough data to service the source burst request. Therefore, the following equation must be adhered to avoid underflow:

DMA burst length = DMARDLR + 1

If the number of data items in the receive FIFO buffer is equal to the source burst length at the time of the burst request is made, the receive FIFO buffer may be emptied, but not underflowed, at the completion of the burst transaction. For optimal operation, DMA burst length should be set at the watermark level, DMARDLR + 1.

Adhering to this equation reduces the number of DMA bursts in a block transfer, which in turn can improve bus utilization.

Note: The receive FIFO buffer is not empty at the end of the source burst transaction if the SPI controller has successfully received one data item or more on the serial receive line during the burst.
Figure 241. Receive FIFO Buffer