The procedure of the DMA transfer in case of serial data reception is shown in Figure 6-14.
Figure 6-14: Initialization of DMA Transfer for Serial Data Reception
Remark:
n = 0, 1
x = 4, 5
Chapter 6 DMA Functions (DMA Controller)
Initialization of DMA transfer for
serial data reception
(DMA channel 4 or 5)
Set up MARx register with the destination
start address in iRAM
Specify the DMA trigger factor in the
DTFRx register depending on the used
serial interface (CSI3n, CSIBn, UARTCn)
Select the DMA transfer data size (8 or 16
bits) by the DMADSCx bit in the DMADSC
Specify the DMA transfer count in the
DTCRx register (1 to 256)
Clear status bit of DMA channel x:
Enable DMA transfer channel x:
End of initialization
(number of serial interface channel)
(number of DMA channel)
User's Manual U16580EE3V1UD00
register
DMASx bit = 0
DEx bit = 1
209