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.

Codec aic26 Resolution

Other Parts Discussed in Thread: TLV320AIC26

Hi All,

i use tlv320aic26 codec IC. i use 16bit i2s bus communication configuration for MCU (word length is 16 bit). in datasheet it is said that codec has 8, 10 and 12 bit ADC resolution. But audio datas received via i2s bus changes full range. i mean all of the 16 bits are changes according to the microphone sound pressure. If i change ADC resolution to 8 bit, all the 16 bit data received from i2s changes also. if ADC resolution is 12 bit, how all data bits changes? Is the codec i2s output data bits 2's complement.

Thanks

  • It is two's complement AND it is MSB justified.

    Serial data is transmitted in two’s complement with the MSB first. The MSB is transmitted first because the transmitter and receiver may have different word lengths. It isn’t necessary for the transmitter to know how many bits the receiver can handle, nor does the receiver need to know how many bits are being transmitted.Extra bits to the right are simply truncated.

    For additional details do a search on I2S.

    I hope this helps.

    -H