DSPRelated.com
Forums

AIC23 Codec sample code

Started by ckle...@tuks.co.za October 26, 2007
Does anyone have any sample code to drive the AIC23 on the TMS320C6455DSK, the code provided in the POST does not seem to work as expected. After modifying the audio loop test to only use the AIC23_read32() function (and removing the write32() function) the output in the sampling buffer is incorrect.

I used a 1kHz sine wave as input to the AIC23, but in the buffer it did not show the sine wave as expect, but rather a stretched out verion where it has about 80-100 of the same values (kind of a digitized version of the original signal). If I sub-sample this signal by 80, it seems to provide the sinusoidal waveform as expected, but I need to find out why it over sample the signal. I used the basic settings to sample at 48kHz, but the output shows that it is not sampling at this rate.