SPRUII0F May 2019 – June 2024 TMS320F28384D , TMS320F28384D-Q1 , TMS320F28384S , TMS320F28384S-Q1 , TMS320F28386D , TMS320F28386D-Q1 , TMS320F28386S , TMS320F28386S-Q1 , TMS320F28388D , TMS320F28388S
µDMA channels 0-31 are assigned to different peripherals according to Table 49-1. The DMA Channel Map (DMACHMAPx) registers can be used to specify the first, second, or third channel mapping assignment.
Channels noted in the table as "Available for software" may be assigned to peripherals in the future. However, they are currently available for software use. Channel 30 is dedicated for software use.
The USB endpoints mapped to µDMA channels 0-3 can be changed with the USBDMASEL register.
Because of the way the μDMA controller interacts with peripherals, the μDMA channel for the peripheral must be enabled in order for the μDMA controller to be able to read and write the peripheral registers, even if a different μDMA channel is used to perform the μDMA transfer. To minimize confusion and chance of software errors, it is best practice to use a peripheral's μDMA channel for performing all μDMA transfers for that peripheral, even if it is processor-triggered and using AUTO mode, which could be considered a software transfer.
If the software channel is used, interrupts occur on the dedicated μDMA interrupt vector. If the peripheral channel is used, then the interrupt occurs on the interrupt vector for the peripheral.
µDMA Channel | Primary Assignment | Single/Burst |
---|---|---|
0 | USB_DMAA_Rx | B |
1 | USB_DMAA_TX | B |
2 | USB_DMAB_RX | B |
3 | USB_DMAB_TX | B |
4 | USB_DMAC_RX | B |
5 | USB_DMAC_TX | B |
6 | Reserved | |
7 | Reserved | |
8 | UART0_RX | SB |
9 | UART0_TX | SB |
10 | SSI0_RX | SB |
11 | SSI0_TX | SB |
12 | Available for software | B |
13 | Available for software | B |
14 | ECAT_SYNC_TRIG | B |
15 | Reserved | |
16 | Reserved | |
17 | Reserved | |
18 | Reserved | |
19 | Reserved | |
20 | Reserved | |
21 | AES_SDMAREQ_CTXIN_S | B |
22 | AES_SDMAREQ_DIN_S | B |
23 | AES_SDMAREQ_CTXOUT_S | B |
24 | AES_SDMAREQ_DOUT_S | B |
25 | Reserved | |
26 | Available for software | B |
27 | Available for software | B |
28 | I2C0_RX | SB |
29 | I2C0_TX | SB |
30 | Available for software | B |
31 | Reserved |