34.8.28 XDMAC Channel n Configuration Register
Name: | XDMAC_CCn |
Offset: | 0x78 + n*0x40 [n=0..23] |
Reset: | 0x00000000 |
Property: | Read/Write |
Bit | 31 | 30 | 29 | 28 | 27 | 26 | 25 | 24 | |
PERID[6:0] | |||||||||
Access | R/W | R/W | R/W | R/W | R/W | R/W | R/W | ||
Reset | 0 | 0 | 0 | 0 | 0 | 0 | 0 |
Bit | 23 | 22 | 21 | 20 | 19 | 18 | 17 | 16 | |
WRIP | RDIP | INITD | DAM[1:0] | SAM[1:0] | |||||
Access | R/W | R/W | R/W | R/W | R/W | R/W | R/W | ||
Reset | 0 | 0 | 0 | 0 | 0 | 0 | 0 |
Bit | 15 | 14 | 13 | 12 | 11 | 10 | 9 | 8 | |
DIF | SIF | DWIDTH[1:0] | CSIZE[2:0] | ||||||
Access | R/W | R/W | R/W | R/W | R/W | R/W | R/W | ||
Reset | 0 | 0 | 0 | 0 | 0 | 0 | 0 |
Bit | 7 | 6 | 5 | 4 | 3 | 2 | 1 | 0 | |
MEMSET | SWREQ | DSYNC | MBSIZE[1:0] | TYPE | |||||
Access | R/W | R/W | R/W | R/W | R/W | R/W | |||
Reset | 0 | 0 | 0 | 0 | 0 | 0 |
Bits 30:24 – PERID[6:0] Channel x Peripheral Hardware Request Line Identifier
This field contains the peripheral hardware request line identifier.
Peripheral Name | Transfer Type | HW Interface Number |
---|---|---|
HSMCI | Transmit/Receive | 0 |
SPI0 | Transmit | 1 |
SPI0 | Receive | 2 |
SPI1 | Transmit | 3 |
SPI1 | Receive | 4 |
QSPI | Transmit | 5 |
QSPI | Receive | 6 |
USART0 | Transmit | 7 |
USART0 | Receive | 8 |
USART1 | Transmit | 9 |
USART1 | Receive | 10 |
USART2 | Transmit | 11 |
USART2 | Receive | 12 |
PWM0 | Transmit | 13 |
TWIHS0 | Transmit | 14 |
TWIHS0 | Receive | 15 |
TWIHS1 | Transmit | 16 |
TWIHS1 | Receive | 17 |
TWIHS2 | Transmit | 18 |
TWIHS2 | Receive | 19 |
UART0 | Transmit | 20 |
UART0 | Receive | 21 |
UART1 | Transmit | 22 |
UART1 | Receive | 23 |
UART2 | Transmit | 24 |
UART2 | Receive | 25 |
UART3 | Transmit | 26 |
UART3 | Receive | 27 |
UART4 | Transmit | 28 |
UART4 | Receive | 29 |
DACC | Transmit | 30 |
SSC | Transmit | 32 |
SSC | Receive | 33 |
PIOA | Receive | 34 |
AFEC0 | Receive | 35 |
AFEC1 | Receive | 36 |
AES | Transmit | 37 |
AES | Receive | 38 |
PWM1 | Transmit | 39 |
TC0 | Receive | 40 |
TC1 | Receive | 41 |
TC2 | Receive | 42 |
TC3 | Receive | 43 |
I2SC0 | Transmit Left | 44 |
I2SC0 | Receive Left | 45 |
I2SC1 | Transmit Left | 46 |
I2SC1 | Receive Left | 47 |
I2SC0 | Transmit Right | 48 |
I2SC0 | Receive Right | 49 |
I2SC1 | Transmit Right | 50 |
I2SC1 | Receive Right | 51 |
Bit 23 – WRIP Write in Progress (this bit is read-only)
Value | Name | Description |
---|---|---|
0 | DONE | No active write transaction on the bus. |
1 | IN_PROGRESS | A write transaction is in progress. |
Bit 22 – RDIP Read in Progress (this bit is read-only)
Value | Name | Description |
---|---|---|
0 | DONE | No active read transaction on the bus. |
1 | IN_PROGRESS | A read transaction is in progress. |
Bit 21 – INITD Channel Initialization Done (this bit is read-only)
Note: When set to 0, XDMAC_CUBC.UBLEN and XDMAC_CNDA.NDA field values are unreliable
each time a descriptor is being updated. See XDMAC Software Requirements.
Value | Name | Description |
---|---|---|
0 | IN_PROGRESS | Channel initialization is in progress. |
1 | TERMINATED | Channel initialization is completed. |
Bits 19:18 – DAM[1:0] Channel x Destination Addressing Mode
Value | Name | Description |
---|---|---|
0 | FIXED_AM | The address remains unchanged. |
1 | INCREMENTED_AM | The addressing mode is incremented (the increment size is set to the data size). |
2 | UBS_AM | The microblock stride is added at the microblock boundary. |
3 | UBS_DS_AM | The microblock stride is added at the microblock boundary; the data stride is added at the data boundary. |
Bits 17:16 – SAM[1:0] Channel x Source Addressing Mode
Value | Name | Description |
---|---|---|
0 | FIXED_AM | The address remains unchanged. |
1 | INCREMENTED_AM | The addressing mode is incremented (the increment size is set to the data size). |
2 | UBS_AM | The microblock stride is added at the microblock boundary. |
3 | UBS_DS_AM | The microblock stride is added at the microblock boundary, the data stride is added at the data boundary. |
Bit 14 – DIF Channel x Destination Interface Identifier
Value | Name | Description |
---|---|---|
0 | AHB_IF0 | The data is written through system bus interface 0. |
1 | AHB_IF1 | The data is written though system bus interface 1. |
Bit 13 – SIF Channel x Source Interface Identifier
Value | Name | Description |
---|---|---|
0 | AHB_IF0 | The data is read through system bus interface 0. |
1 | AHB_IF1 | The data is read through system bus interface 1. |
Bits 12:11 – DWIDTH[1:0] Channel x Data Width
Value | Name | Description |
---|---|---|
0 | BYTE | The data size is set to 8 bits |
1 | HALFWORD | The data size is set to 16 bits |
2 | WORD | The data size is set to 32 bits |
Bits 10:8 – CSIZE[2:0] Channel x Chunk Size
Value | Name | Description |
---|---|---|
0 | CHK_1 | 1 data transferred |
1 | CHK_2 | 2 data transferred |
2 | CHK_4 | 4 data transferred |
3 | CHK_8 | 8 data transferred |
4 | CHK_16 | 16 data transferred |
Bit 7 – MEMSET Channel x Fill Block of Memory
Value | Name | Description |
---|---|---|
0 | NORMAL_MODE | Memset is not activated. |
1 | HW_MODE | Sets the block of memory pointed by DA field to the specified value. This operation is performed on 8-, 16- or 32-bit basis. |
Bit 6 – SWREQ Channel x Software Request Trigger
Value | Name | Description |
---|---|---|
0 | HWR_CONNECTED | Hardware request line is connected to the peripheral request line. |
1 | SWR_CONNECTED | Software request is connected to the peripheral request line. |
Bit 4 – DSYNC Channel x Synchronization
Value | Name | Description |
---|---|---|
0 | PER2MEM | Peripheral-to-memory transfer. |
1 | MEM2PER | Memory-to-peripheral transfer. |
Bits 2:1 – MBSIZE[1:0] Channel x Memory Burst Size
Value | Name | Description |
---|---|---|
0 | SINGLE | The memory burst size is set to one. |
1 | FOUR | The memory burst size is set to four. |
2 | EIGHT | The memory burst size is set to eight. |
3 | SIXTEEN | The memory burst size is set to sixteen. |
Bit 0 – TYPE Channel x Transfer Type
Value | Name | Description |
---|---|---|
0 | MEM_TRAN | Self-triggered mode (memory-to-memory transfer). |
1 | PER_TRAN | Synchronized mode (peripheral-to-memory or memory-to-peripheral transfer). |