DMA Operation
13-116
Figure 13–36. Non-Isochronous RX DMA Start Routine
EP number
Non-ISO RXDMA[0, 1, 2]
start routine
Assign non-ISO endpoint
number to DMA channel n.
Application-specific
action to initialize
the main system
DMA controller
LH DMA read access
must point to
DATA_DMA register in
response to DMA
channel n request.
End of
Non-ISO RXDMA [0, 1, 2]
start routine
IRQ_SRC.RXn_EOT
interrupt is asserted
when the DMA transfer
completes.
Set max transactions count
into RXDMAn.RXn_TC.
Optional step required only if max
transactions count IT is enabled
(DMA_IRQ_EN.RXn_Cnt_IE =1).
−−>
RXDMA_CFG.
RXDMAn_EP
LH wants to be
interrupted with EOT after
a given number of
transactions (Nt) ?
Set RXDMAn.RXn_TC to
(Nt–1) and set
RXDMAn.RXn_Stop to 1.
Yes
No
Endpoints assigned to a DMA
channel must have been configured
during endpoint configuration phase.
Fill DMA_IRQ_EN
register with
appropriate value.
Set EP_NUM.EP_Num=endp
then set CTRL.Set_FIFO_En to
enable DMA transfer.