Using DSP/BIOS 5.41.00.06 and PSP Drivers 1.30.01 on a C6745.
I am having a serious issue trying to enable EDMA for both the Uart and McASP peripherals. I have built the Uart driver with EDMA enabled and I'm using it on a seperate EDMA TC to the McASP driver. The McASP driver is set for slave operation driven by an external ADC, and has been working great using EDMA.
I enabled the Uart with EDMA and it works but now the McASP peripheral
sometimes fails to start. With EDMA enabled on the Uart we
are seeing a timeout when calling SIO_issue on the McASP driver to feed it its first buffer. The driver is timing out trying to set RSRCLR in
the GBLCTL register. We are using DATA_ALIGN to force 128 byte alignment of the buffers used
for Uart and McASP transfers.
Bizarrely we can make it work by changing the size of an unrelated
buffer in a *completely* unrelated block of code. Looking at the map
file, changing the size of this buffer only changes the memory layout.
Any information on using two EDMA devices together, or how memory layout could affect this would be appreciated.