SPRS292A − OCTOBER 2005 − REVISED NOVEMBER 2005
EDMA module and EDMA selector
The C67x EDMA for the device also supports up to 16 EDMA channels. Four of the sixteen channels (channels 8−11) are reserved for EDMA chaining, leaving 12 EDMA channels available to service peripheral devices. On the device, the user, through the EDMA selector registers, can control the EDMA channels servicing peripheral devices.
The EDMA selector registers are located at addresses 0x01A0FF00 (ESEL0), 0x01A0FF04 (ESEL1), and 0x01A0FF0C (ESEL3). These EDMA selector registers control the mapping of the EDMA events to the EDMA channels. Each EDMA event has an assigned EDMA selector code (see Table 23). By loading each EVTSELx register field with an EDMA selector code, users can map any desired EDMA event to any specified EDMA channel. Table 22 lists the default EDMA selector value for each EDMA channel.
See Table 24 and Table 25 for the EDMA Event Selector registers and their associated bit descriptions.
Table 22. EDMA Channels
| EDMA | DEFAULT | DEFAULT | |
EDMA | SELECTOR | SELECTOR | ||
EDMA | ||||
CHANNEL | CONTROL | VALUE | ||
EVENT | ||||
| REGISTER | (BINARY) | ||
|
| |||
|
|
|
| |
0 | ESEL0[5:0] | 000000 | DSPINT | |
|
|
|
| |
1 | ESEL0[13:8] | 000001 | TINT0 | |
|
|
|
| |
2 | ESEL0[21:16] | 000010 | TINT1 | |
|
|
|
| |
3 | ESEL0[29:24] | 000011 | SDINT | |
|
|
|
| |
4 | ESEL1[5:0] | 000100 | GPINT4† | |
5 | ESEL1[13:8] | 000101 | GPINT5† | |
6 | ESEL1[21:16] | 000110 | GPINT6† | |
7 | ESEL1[29:24] | 000111 | GPINT7† | |
8 | − | − | TCC8 (Chaining) | |
|
|
|
| |
9 | − | − | TCC9 (Chaining) | |
|
|
|
| |
10 | − | − | TCC10 (Chaining) | |
|
|
|
| |
11 | − | − | TCC11 (Chaining) | |
|
|
|
| |
12 | ESEL3[5:0] | 001100 | XEVT0 | |
|
|
|
| |
13 | ESEL3[13:8] | 001101 | REVT0 | |
|
|
|
| |
14 | ESEL3[21:16] | 001110 | XEVT1 | |
|
|
|
| |
15 | ESEL3[29:24] | 001111 | REVT1 | |
|
|
|
|
Table 23. EDMA Selector
EDMA | EDMA |
|
|
SELECTOR |
| MODULE | |
EVENT |
| ||
CODE (BINARY) |
|
| |
|
|
| |
|
|
|
|
000000 | DSPINT |
| HPI |
|
|
|
|
000001 | TINT0 |
| TIMER0 |
|
|
|
|
000010 | TINT1 |
| TIMER1 |
|
|
|
|
000011 | SDINT |
| EMIF |
|
|
|
|
000100 | GPINT4† |
| GPIO |
000101 | GPINT5† |
| GPIO |
000110 | GPINT6† |
| GPIO |
000111 | GPINT7† |
| GPIO |
001000 | Reserved |
| |
001001 | Reserved |
| |
001010 | GPINT2 |
| GPIO |
001011 | Reserved |
| |
001100 | XEVT0 |
| McBSP0 |
|
|
|
|
001101 | REVT0 |
| McBSP0 |
|
|
|
|
001110 | XEVT1 |
| McBSP1 |
|
|
|
|
001111 | REVT1 |
| McBSP1 |
|
|
|
|
010000−1 11111 | Reserved |
| |
|
|
|
|
†The GPINT[4−7] interrupt events are sourced from the GPIO module via the external interrupt capable GP[4−7] pins.
44 | POST OFFICE BOX 1443 • HOUSTON, TEXAS 77251−1443 |