19 Feb
2011
19 Feb
'11
5:17 p.m.
It is in threshold mode, with max threshold 1023. I will try other modes.
This sounds safe, give the fact that the McBSP2 FIFO is 1280 word
long.
The McBSP FIFO configuration has been corrected in newer kernels.
One thing that I would try is to synchronize the McBSP2 FIFO configuration with the period size you use: 48KHz/stereo/16bit 10ms = 480 samples, so configure the McBSP2 FIFO to 960 (for both tx, and rx threshold). Might not help, but it worth a try...
I checked the threshold registers, both are 960 (959 to be precious). It is a safe value, but the channel is switched with 960. In addition, we have tested with sample rate at 16kHz and still have the problem.
Thanks, Ying