Hello everyone,
I am working on OMAPL138 for an audio application and using McASP + EDMA for transmit/receive audio data from 2 codec (CODEC1 and CODEC2).
In my application, I always listen data from left channel of CODEC1. I sure that CODEC1 always push audio data to left channel and zero to right channel. However, sometime (approximately 5%) I receive all zeros in left channel and audio data in right channel of CODEC1.
I think there are 2 possible reasons:
-McASP got mistake. It confused left channel to right channel
-EDMA missed 1 event from McASP so first sample of left channel was gone.
Has anyone encountered such a condition? and How to fix this?
Thank in advance.
Tien.