This thread has been locked.

If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.

EDMA and McBSP on DM8168

 

I'm trying to send data out of the McBSP using a DMA on a DM8168 custom board  but, for some unknown reason, it's not working

Some info about my setup and the tests I've already done: 

- My software is running on  the DSP side using SYS/BIOS and a XDS100v2 JTAG emulator

- I tested the McBSP using polling and the data is coming out, so its configuration should be ok.

- When I run my program the DMA end of transfer ISR is called so the DMA has been triggered and has completed its job, but no data comes out of the McBSP DX pin

- I tried changing the DMA destination address to a RAM address or to some other register in order to check if the DMA was working correctly and all seems ok

I'm running out of ideas, do you have any suggestion on what I'm doing wrong or what other test to do?

 

  • I found out the issue.

    I was using a #define  to access the DXR register, but that define was made to read/write into the register and I was using it to initialize the destination address of the DMA PaRAM resulting in an incorrect destination address.

    Now everything is working correctly