Hi all
I am working with the C6A8168 EVB, and I am investigating about the EDMA usage.
So I have written a DSP demo application which generate a 1Kz signal using buffers transfered by edma to MCASP2 wired to a aic306 codec.
This application work fine if loaded in to the dsp by CCS5-XDS100V2, but it doesn't work if loaded in the DSP by a SYSLINK-LINUX implementation, using the slave_loader application found in SYSLINK.
I suspect the problem is something rearding the memory protecion. So some question: when slave_loader load a fw in to the DSP, then DSP will work in USER MODE or SUPERVISOR MODE?
Could this be the problem?
Note that:
- the EDMA ISR is normally called (because in the isr I move an external pin and I see move it by oscilloscope)
- I have compiled the kernel linux deisabling the sound card support, i2c support, and reserving the right dma channel and parameters for DSP (see http://processors.wiki.ti.com/index.php/TI81XX_EDMA_Driver_User_Guide)
- If I modify the application writing in 'polling mode' in the tx register of the MCASP2 instead of use the DMA, everithing work well.
Thanks.
Bye, Paolo.