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.

TLV320AIC3204: initial code

Part Number: TLV320AIC3204

Hi Sir,

Could you please review the below initial code setting for TLV320AIC3204 and share comments to my customer? Thanks!

AIC3204 Slave Address = 0x30

void AIC3204_Init(void)

{

        mi2c_wr_byte(AIC3204,0x00,0x00);

        mi2c_wr_byte(AIC3204,0x01,0x01);

        Dly500us(1);// soft reset

        mi2c_wr_byte(AIC3204,0x00,0x00);      // page

        mi2c_wr_byte(AIC3204,0x12,0x81);

        mi2c_wr_byte(AIC3204,0x13,0x82);

        mi2c_wr_byte(AIC3204,0x3d,0x01);

        mi2c_wr_byte(AIC3204,0x00,0x01);      // page

        mi2c_wr_byte(AIC3204,0x01,0x08);

        mi2c_wr_byte(AIC3204,0x02,0x00);

        mi2c_wr_byte(AIC3204,0x3d,0x00);

        mi2c_wr_byte(AIC3204,0x47,0x32);

        mi2c_wr_byte(AIC3204,0x7b,0x01);

        mi2c_wr_byte(AIC3204,0x34,0x80);

        mi2c_wr_byte(AIC3204,0x36,0x80);

        mi2c_wr_byte(AIC3204,0x37,0x80);

        mi2c_wr_byte(AIC3204,0x39,0x80);

        mi2c_wr_byte(AIC3204,0x3b,0x0c);

        mi2c_wr_byte(AIC3204,0x3c,0x0c);

        mi2c_wr_byte(AIC3204,0x00,0x00);      // page

        mi2c_wr_byte(AIC3204,0x51,0xc0);

        mi2c_wr_byte(AIC3204,0x52,0x00);

 

}