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.

TLV320ADC3101: TLV320ADC31010-Noise

Part Number: TLV320ADC3101
Other Parts Discussed in Thread: TLV320DAC3101

Hi Ti Team,

When TLV320ADC31010 LINE IN is input, there will be noise during playback. Can you help me see if there is any solution? The following is a schematic diagram and recording. Thanks! 

Audio.rar

  • Thanks for reaching out!

    I will take some time to review this and get back with feedback on monday.

    Best wishes,

    Carson

    Low Power Audio Apps

  • Hello Again,

    Could you please share register settings?

    Best,

    Carson

  • Hi Carson,

    FYI

    void tlv320dac3101_init(void)i2s mode
    {
    I2C_WriteOneByte(TLV3101_ADDR, 0x00, 0x00); page0
    I2C_WriteOneByte(TLV3101_ADDR, 0x01, 0x01); Software Reset
    I2C_WriteOneByte(TLV3101_ADDR, 0x04, 0x03); Program clock settings,PLL_clkin = MCLK,codec_clkin = PLL_CLK
    I2C_WriteOneByte(TLV3101_ADDR, 0x05, 0x91); PLL divider P=1, PLL multiplier R = 2
    I2C_WriteOneByte(TLV3101_ADDR, 0x06, 0x08); Program clock settings,PLL multiplier J = 8
    I2C_WriteOneByte(TLV3101_ADDR, 0x07, 0x00); PLL D-Value MSB
    I2C_WriteOneByte(TLV3101_ADDR, 0x08, 0x00); PLL D-Value LSB

    I2C_WriteOneByte(TLV3101_ADDR, 0x0B, 0x88); DAC NDAC divider = 8
    I2C_WriteOneByte(TLV3101_ADDR, 0x0C, 0x82); DAC MDAC divider = 2
    I2C_WriteOneByte(TLV3101_ADDR, 0x0D, 0x00); DOSR = 128, DOSR(98) = 0, DOSR(70) = 128
    I2C_WriteOneByte(TLV3101_ADDR, 0x0D, 0x80); DOSR = 128, DOSR(98) = 0, DOSR(70) = 128
    I2C_WriteOneByte(TLV3101_ADDR, 0x1B, 0x00); mode is i2s, wordlength is 16, slave mode
    I2C_WriteOneByte(TLV3101_ADDR, 0x3C, 0x07); Select Processing Block PRB_P07

    page8
    I2C_WriteOneByte(TLV3101_ADDR, 0x00, 0x08); page8
    I2C_WriteOneByte(TLV3101_ADDR, 0x01, 0x04); Adaptive filtering enabled in DAC processing block

    I2C_WriteOneByte(TLV3101_ADDR, 0x00, 0x00); page0
    I2C_WriteOneByte(TLV3101_ADDR, 0x74, 0x00); DAC = volume control thru pin disable

    page1
    I2C_WriteOneByte(TLV3101_ADDR, 0x00, 0x01); page1
    I2C_WriteOneByte(TLV3101_ADDR, 0x1F, 0x04); Program common-mode voltage (defalut = 1.35 V)
    I2C_WriteOneByte(TLV3101_ADDR, 0x20, 0xC6); Power-up Class-D driver

    I2C_WriteOneByte(TLV3101_ADDR, 0x21, 0x4e); Program headphone-specific depop settings (in case headphone driver is used) De-pop, Power on = 800 ms, Step time = 4 ms

    I2C_WriteOneByte(TLV3101_ADDR, 0x23, 0x44); LDAC routed to the left-channel mixer amplifier, RDAC routed to right-channel mixer amplifier.
    I2C_WriteOneByte(TLV3101_ADDR, 0x23, 0x56); LDAC routed to the left-channel mixer amplifier,AN1, RDAC routed to right-channel mixer amplifier,AN2.

    I2C_WriteOneByte(TLV3101_ADDR, 0x24, 0x7f); Disable HPL output analog volume
    I2C_WriteOneByte(TLV3101_ADDR, 0x25, 0x7f); Disable HPR output analog volume

    I2C_WriteOneByte(TLV3101_ADDR, 0x28, 0x00); HPL driver is muted.
    I2C_WriteOneByte(TLV3101_ADDR, 0x29, 0x02); HPR driver is muted.

    I2C_WriteOneByte(TLV3101_ADDR, 0x26, 0x92); Left Analog Volume to SPL -9dB
    I2C_WriteOneByte(TLV3101_ADDR, 0x27, 0x92); Right Analog Volume to SPR -9dB

    I2C_WriteOneByte(TLV3101_ADDR, 0x2A, 0x1C); SPL Driver gain 24dB
    I2C_WriteOneByte(TLV3101_ADDR, 0x2B, 0x1C); SPR Driver gain 24dB


    I2C_WriteOneByte(TLV3101_ADDR, 0x00, 0x00); page0
    I2C_WriteOneByte(TLV3101_ADDR, 0x25, 0x99); DAC ,class-D driver powered up
    I2C_WriteOneByte(TLV3101_ADDR, 0x3F, 0xD4); Powerup DAC left and right channels (soft step enabled)
    I2C_WriteOneByte(TLV3101_ADDR, 0x41, 0xD4); DAC Left gain = -22 dB
    I2C_WriteOneByte(TLV3101_ADDR, 0x42, 0xD4); DAC Right gain = -22 dB
    I2C_WriteOneByte(TLV3101_ADDR, 0x40, 0x00); Unmute DAC left and right channels
    }

  • Hello,

    I might be confused but it seems you posted code that is for a DAC and not the ADC previously shown?

    Best Wishes,

    Carson