Hi ,
I am using tlv320dac3203 codec. I getting audio distortion and hiss noise. Please find the register values below,
I2Cx_Write(codec, 0x00 , 0x00 );
I2Cx_Write(codec, 0x01 , 0x01 );
// 48KHz
I2Cx_Write(codec, 0x0b , 0x88 );
I2Cx_Write(codec, 0x0c , 0x81 );
I2Cx_Write(codec, 0x0d , 0x00 );
// 32-bit(2-channel)
I2Cx_Write(codec, 0x0e , 0x20 );
// bit clock divider
I2Cx_Write(codec, 0x1e , 0x81 );
//bclk-wclk = input to codec
I2Cx_Write(codec, 0x1b , 0x00 );
I2Cx_Write(codec, 0x04 , 0x10 );
I2Cx_Wrie(codec, 0x3c , 0x08 );
I2Cx_Write(codec, 0x00 , 0x01 );
I2Cx_Write(codec, 0x01 , 0x08 );
I2Cx_Write(codec, 0x02 , 0x01 );
I2Cx_Write(codec, 0x7b , 0x01 );
I2Cx_Write(codec, 0x14 , 0x25 );
I2Cx_Write(codec, 0x0a , 0x00 );
I2Cx_Write(codec, 0x0c , 0x08 );
I2Cx_Write(codec, 0x0d , 0x08 );
I2Cx_Write(codec, 0x03 , 0x00 );
I2Cx_Write(codec, 0x04 , 0x00 );
I2Cx_Write(codec, 0x10 , 0x00 );
I2Cx_Write(codec, 0x11 , 0x00 );
I2Cx_Write(codec, 0x09 , 0x30 );
//mdelay(1000 * 3);
I2Cx_Write(codec, 0x00 , 0x00 );
I2Cx_Write(codec, 0x3f , 0xd6 );
I2Cx_Write(codec, 0x40 , 0x00 );
Please help me to get the issue fixed.
Thanks in advance.