I'm having trouble getting stereo data from the AIC33 - well to be more
correct, the codec seems to be supplying stereo data, but the ASP seems
to be generating mono audio. And just to top it off, it looks like the
channel that is active seems to swap randomly.
MVL 2.6.10 - custom hardware (using ASP0 not 1)
Here is what I've seen so far:
The ASP setup seems to be looking for two phases of data per frame
- but the bit that enables phases wasn't set. Setting this didn't help.
The second channel of audio is generally midline (0).
DMA seems to be setup to grab a 32bit word from the interface (DRR
register for received data)
With the codec in master mode I've observed on the scope that there
is truly stereo data being fed to the AIC33
The encoder demo uses a nice averaging trick that hides the channel
swap beautifully.
I'm unsure of the logic the ASP uses to determine when to tell the DMA
engine it is ready with data. I also don't know what happens with more
than one "phase" of data. Are there two DMA transfers or one packed 32
bit word?
Any help from some ASP experts would be appreciated.
Thanks,
Steve Berry