Hi,
I'm trying to make audio recording work on the TMS320C5535 eZdsp, starting from the Connected Audio Framework (CAF).
Since the mic-bias is only wired to the left channel, I use a self-powered microphone and disabled the micbias.
Until now things are going fine, and after enabling ENABLE_STEREO_RECORD, the PC receives a 16kHz stereo audio stream.
However I have issues with the way the stream is transmitted to the PC by USB.
The PC receives audio samples in the wrong order.
I first tried to modify appRecordAudio() in app_usbac.c by commenting out *leftDataBuf++ = 2*dataLength
This helped but did not fixed everything. My current issue is that about 20 times a sec, the left and right channel are reversed during 17 samples.
To highlight the issue I set the record data to constant values (different for left and right).
These two screen-shots show the result: the two channels are reversed from time to time.