Hi:
SDK is EZSDK-5.02 and PSP is linux-2.6.37-psp04.00.00.12. The platform is CA8168.
I write the Mcasp driver according to the davinci-pcm.c. The mcasp run in arm by EDMA. I use TDM format, 8 bits samples, 32 slots.
In the begining, the mcasp work good. The overrun or underrun occur when hard disk read/write large block data. The voice become noise.
No EDMA error occur, only overrun/underrun occur.
I modify the priority of EDMA queue, but it has no effect.
The hard disk read/write not by EDMA. I wonder that hard disk can effect mcasp.
I suspect some kind of race condition is resulting in underrun/overrun error, but I am not able to pin point the root cause.