Project Name: SimpleMemDMA Project Type: ADSP-BF533 [ ] ADSP-BF537 [X] ADSP-BF561 [ ] Hardware Used: EZ-Kit LEDs System Services Components Used: DMA Manager [X] Deferred Callback Manager [ ] Interrupt Manager [X] Timer Module [ ] Power Management Module [ ] Flag Module [ ] External Bus Interface Unit Module [ ] Port Module [ ] Example Overview: This example shows how to use individual DMA manager functions to perform a memory DMA transfer that "fills" destination memory with a single 32 bit value that is stored at the source address location. The DMA configuration registers are set up so that the source modify register is 0, and the destination modify address is 4, causing the same 4 byte value to be copied into 100 consecutive memory locations. This functionality can be used to fill memory with a specific value such as 0000 or FFFF. In this case, we store the value 0x78563412 at the source address, so that after we've copied that value 100 times to the destination address, we see the value 12 34 56 78 repeated 100 times in the "DestBuffer". If a failure return code is passed from any function, all the LEDs will light up. File Structure: "./SimpleMemDMA.dpj" - Main project file "./SimpleMemDMA.c" - main source file (common) "./ezkitutilities.c" - EZ-Kit utilities source file for Blackfin processors "./ezkitutilities.h" - EZ-Kit utilities include file for Blackfin processors System Configuration: External connections: Getting Started: 1) Load Project file "SimpleMemDMA.dpj" 2) Build the Project by selecting "Rebuild Project" 3) Select Debug->Run, then Select Debug->Halt. 4) Open a memory window, by selecting Memory->BLACKFIN memory, then right click in the memory window, select "GoTo" and type "DestBuffer" in the "Go to Address" window. 5) See the value 12 34 56 78 repeated at the DestBuffer address. 6) In the source file, 'SimpleMemDMA.c', uncomment in the line of code that reads: "To clear the memory, uncomment this line". 7) Build the Project by selecting "Rebuild Project" 8) Select Debug->Run, then Select Debug->Halt. 9) In the memory window, see the value 00 repeated at the DestBuffer address.