8.2.3.2 Channel Configuration
Before configuring each PDMA channel, the round robin weight is specified if needed, using the MASTER_WEIGHT_CR register or configuring the AHB bus matrix in Libero SoC.
To configure each PDMA channel, following fields of the channel control register has to be set:
- Peripheral select - bits[26:23] of CHANNEL_x_CONTROL
- Number of wait states - bits[21:14] of CHANNEL_x_CONTROL
- Source and/or destination address increment - bits[13:10] of CHANNEL_x_CONTROL
- Channel priority - bit 9 of CHANNEL_x_CONTROL
- Interrupt enable - bit 6 of CHANNEL_x_CONTROL
- Transfer size - bits [3:2] of CHANNEL_x_CONTROL
- Direction - bit 1 of CHANNEL_x_CONTROL
- Select the data Transfer type - bit 0 of CHANNEL_x_CONTROL