SPRUJ28E November 2021 – September 2024 AM68 , AM68A , TDA4AL-Q1 , TDA4VE-Q1 , TDA4VL-Q1
Although the DMA operation includes four modes (DMA modes 0 through 3), the information in UART Hardware Requests, assumes that mode 1 is used. (Mode 2 and mode 3 are legacy modes that use only one DMA request for each module.)
In mode 2, the remaining DMA request is used for RX. In mode 3, the remaining DMA request is used for TX.
DMA requests in mode 2 and mode 3 use the signals (where i = 0 to .
signals are not used by the module in mode 2 and mode 3:
The DMA mode and signals usage can be selected as follows:
When SCR[0]=1:
For example:
If the FIFOs are disabled (FCR[0]=0), DMA operations occur in single character transfers.
Note that when DMA Mode 0 has been programmed, the signals associated with DMA operation are not active.
Depending on UART_MDR3[2] SET_DMA_TX_THRESHOLD, the threshold can be programmed different ways:
The threshold value will be the value of the UART_TX_DMA_THRESHOLD register. If SET_TX_DMA_THRESHOLD + TX trigger spaces 64, then the default method of threshold is used: threshold value = TX FIFO size.
The threshold value = TX FIFO size TX trigger space. The TX DMA line is asserted if the TX FIFO level is lower then the threshold. It remains asserted until TX trigger spaces number of bytes are written into the FIFO. The DMA line is then deasserted and the FIFO level is compared with the threshold value.