7.2.2.2 Descriptor Configuration
Before configuring each HPDMA 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 HPDMA descriptor, the following registers have to be set:
- Descriptor Control registers:
- Direction: bit 1 of HPDMADXCR_REG (where, X is 0 to 3)
- Transfer size in bytes: bits[15:0] of HPDMADXCR_REG (where, X is 0 to 3)
- Enable Interrupts: bits[22:20] of HPDMADDXCR_REG (where, X is 0 to 3)
- 32-bit Source memory start Address: bits[31:0] of HPDMADXSAR_REG (where, X is 0 to 3)
- 32-bit Destination memory start Address: bits[31:0] of HPDMADXDAR_REG (where, X is 0 to 3)