Hi,
I am using dm368 external codec aic32,with the proposal of TI wiki site http://processors.wiki.ti.com/index.php?title=McBSP_Channel_Swapping. I set audio EDMA event queue 3,and video EDMA event queue 1, and event queue3 has the highest priority, the registers lists as below:
EDMA_DMAQNUM(0) = 0x 1003011
EDMA_DMAQNUM(1) = 0x12000101
EDMA_DMAQNUM(2) = 0x 22
EDMA_DMAQNUM(3) = 0x 3300
EDMA_DMAQNUM(4) = 0x22221100
EDMA_DMAQNUM(5) = 0x20110000
EDMA_DMAQNUM(6) = 0x 3300000
EDMA_DMAQNUM(7) = 0x 0
EDMA_QDMAQNUM = 0x 0
EDMA_QUEPRI = 0x 111
The channel data don't swap again, but when I repeatly GREAT and DELET the audio task , an error occured:
ERROR (drv_audio.c|DRV_audioRead|401): error from read : Input/output error
once the error orrurs , the audio can't START agian. and no dma interrupts, the fuction davinci_pcm_dma_irq() will never be called.
What makes the error? Any one encountered the same problem and share me your experience?