To configure the RX DMA for operation the software must perform the following:
- Initialize the receive addresses.
- Initialize the RX_HDP registers to 0.
- Enable the desired receive interrupts in the CPDMA_RX_INTMASK_SET register.
- Write the CPDMA_RX_BUFFER_OFFSET register value.
- Setup the receive channel(s) buffer descriptors in host memory as required by CPPI
- Enable the RX DMA controller by setting the RX_EN bit in the CPDMA_RX_CONTROL register.