PRU

# PRU - EDMA Config

This example code demonstrates EDMA configuration by the PRU.
In the initialization, the PRU configures the PSC (Power and Sleep Controller) to enable the EDMA clocks. The ARM allocates a DMA channel and stores the source address, destination address, and channel number into PRU DRAM. The PRU0 configures and initializes the EDMA. The PRU1 polls for the EDMA interrupt notifying the completion of the EDMA transfer and sets a flag in memory. The ARM verifies the values stored at the destination address and the interrupt flag.

See the PRU Software examples project in the SDK under example-applications. The source code for both the ARM and the PRU can be found there.

## You can find a more detailed description here: http://processors.wiki.ti.com/index.php/PRU_Linux-based_Example_Code