Quantcast
Channel: Processors forum - Recent Threads
Viewing all articles
Browse latest Browse all 17527

EDMA transfer controller ERRDET code 9h

$
0
0

This is my first attempt at EDMA for the DSP core of the L138.  It is programmed to receive McASP serial and write it to a pair of ping-pong buffers.  The McASP code has been tested using CPU polling.

I have programmed the two PaRAM for ping and pong as well as PaRAM 0 (for McASP RX).  The EDMA interrupt for McASP occurs as it should. I observe the addresses changing in the TC0 DFDSTBREF register, indicating that it is switching between ping and pong for the destination.  However, the ping pong buffers never fill and I have a TC ERRSTAT value of 0x1 and a TC ERRDET value of 0x9 indicating "Write addressing error".

The channel destination address in the PaRAM is a (uint32_t) value thusly:

uint32_t  ping_buf[BUFSIZE], pong_buf[BUFSIZE];

...

paramSet.destAddr = (uint32_t)ping_buf;

...

The source address is the McASP receive buffer DMA port address, RBUF (0x01D02000).   What can I observe to see why it is not writing data to the destination?


Viewing all articles
Browse latest Browse all 17527

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>