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.

TLV320AIC3104: The audio output has a background noise.

Part Number: TLV320AIC3104
Other Parts Discussed in Thread: TLV320AIC31,

After the device is configured, I2S data is sent by the CPU.The peak value of the oscilloscope is more than 400mv.

I think it is very likely that register configuration problem, but do not know what is wrong, 

The register configuration is as follows.

 tlv320aic31_write(IIC_device_addr[chip_num],0x1,0x80);
        msleep(10);        
        /*CLKDIV_IN uses MCLK*/
     tlv320aic31_write(IIC_device_addr[chip_num], 102, 0x32);

    /*PLL disable and select Q value*/
     tlv320aic31_write(IIC_device_addr[chip_num], 3, 0x10);

        /*left and right DAC open*/
        tlv320aic31_write(IIC_device_addr[chip_num], 7,  0xa);/* FSref = 48 kHz */

        /*sample*/
     tlv320aic31_write(IIC_device_addr[chip_num], 2,  0x44);/* FS = FSref/3 */
                
        /*ctrl mode*/
        tlv320aic31_write(IIC_device_addr[chip_num], 8,  0xf0);/* master mode */
                
        /*Audio Serial Data Interface Control*/
        tlv320aic31_write(IIC_device_addr[chip_num], 9,  0x7);/* I2S mode,16bit */

        /*Audio Codec Digital Filter Control Register*/
        tlv320aic31_write(IIC_device_addr[chip_num], 12,  0x50);

        //tlv320aic31_write(IIC_device_addr[chip_num], 25,  0x0);
        tlv320aic31_write(IIC_device_addr[chip_num], 25,  0x40);
        tlv320aic31_write(IIC_device_addr[chip_num], 17,  0xf);
        tlv320aic31_write(IIC_device_addr[chip_num], 18,  0xf0);

        tlv320aic31_write(IIC_device_addr[chip_num], 15,  0x0);
        tlv320aic31_write(IIC_device_addr[chip_num], 16,  0x0);

        tlv320aic31_write(IIC_device_addr[chip_num], 19,  0x04);
        tlv320aic31_write(IIC_device_addr[chip_num], 22,  0x04);
        tlv320aic31_write(IIC_device_addr[chip_num], 28,  0x0);
        tlv320aic31_write(IIC_device_addr[chip_num], 31,  0x0);
            
        /*out ac-coupled*/
        tlv320aic31_write(IIC_device_addr[chip_num], 14, 0x80);
        
        /*left and right DAC power on*/
        tlv320aic31_write(IIC_device_addr[chip_num], 37, 0xc0);  

        /*out common-mode voltage*/
        tlv320aic31_write(IIC_device_addr[chip_num], 40, 0x80);
        
        /*out path select*/
        tlv320aic31_write(IIC_device_addr[chip_num], 41, 0x1);    

        /*out path select*/
        tlv320aic31_write(IIC_device_addr[chip_num], 42, 0xa8);  
        
        /*left DAC not muted*/
        tlv320aic31_write(IIC_device_addr[chip_num], 43, 0x0);    

        /*right DAC not muted*/
        tlv320aic31_write(IIC_device_addr[chip_num], 44, 0x0); 

        tlv320aic31_write(IIC_device_addr[chip_num], 47, 0x80); 
            
        /*HPLOUT is not muted*/
        //tlv320aic31_write(IIC_device_addr[chip_num], 51, 0x9f); 

        tlv320aic31_write(IIC_device_addr[chip_num], 64, 0x80); 
        /*HPROUT is not muted*/
        //tlv320aic31_write(IIC_device_addr[chip_num], 65, 0x9f); 
                
        /*out short circuit protection*/
        tlv320aic31_write(IIC_device_addr[chip_num], 38, 0x3e);