This thread has been locked.

If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.

AIC3106 Data Format



I'm running the example from Spectrum Digital that runs a test for the AIC3106. The create an array of constants that generates a sine tone. The examples is configuring the AIC 3106 for:

EVMOMAPL137_AIC3106_rset( 8, 0x00 ); // 8 Audio Interface Control A <- [BCLK=Slave][MCLK=Slave]
EVMOMAPL137_AIC3106_rset( 9, 0x00 ); // 9 Audio Interface Control B <- [I2S mode][16 bit]

pardon the rookie question but how are those 16 bits related to full scale. Is it +/- FS -> 32767 to - 32767 or 0 to 65535

?

  • Hi,

    Thanks for your post.

    To make us more clear in our understanding, Fs is the sampling frequency where the audio data is usually sampled @48KHz and it has the possibility to take the values ranging from 0 to 65535 (0xFFFF) but for sure, the values –32768 to 32767 are unrealisitic for Fs.

    Secondly, if I understand correctly, the 16-bit audio data in I2S mode uses the ADC left and right channel filter coefficients which can be intrepreted as 2's complement 16-bit signed integer which can hold the possible values ranging from –32768 to 32767. For more details, you could refer page1, registers 1- 76 from the AIC3106 codec datasheet below, in which they have used th ADC stereo channel filter coefficients interpreted in 2's complement signed integers.

    http://www.ti.com/lit/ds/symlink/tlv320aic3106.pdf

    Thanks & regards,

    Sivaraj K

    -------------------------------------------------------------------------------------------------------

    Please click the Verify Answer button on this post if it answers your question.

    -------------------------------------------------------------------------------------------------------