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.

Linux/TLV320DAC3203: TLV320DAC3203 no headphone output

Part Number: TLV320DAC3203

Tool/software: Linux

I met problem with BCM2837 and TLV320DAC3203,no any audio output from headphone.

TLV320DAC3203 is slave mode without MCLK, BCLK is 1.536MHz,WCLK is 48KHz. BCLK is the clock source.

Please give us some sample code how to configure.

Best regards,

Rentai Xing

  • Hi Rentai,

    I would recommend to use a configuration from the Applications Reference Guide Chapter 4 or from the GUI.
    What are your current register settings?

    Best regards,
    -Ivan Salazar
    Audio Applications Engineer - Low Power Audio & Actuators
  • Hi Ivan,

    I configure it like this:

    pi@raspberrypi:~ $ i2cset -f -y 1 0x18 0 0
    pi@raspberrypi:~ $ i2cset -f -y 1 0x18 1 1
    pi@raspberrypi:~ $ i2cset -f -y 1 0x18 0xb 0x81
    pi@raspberrypi:~ $ i2cset -f -y 1 0x18 0xc 0x82
    pi@raspberrypi:~ $ i2cset -f -y 1 0x18 0xd 0x0
    pi@raspberrypi:~ $ i2cset -f -y 1 0x18 0xe 0x80
    pi@raspberrypi:~ $ i2cset -f -y 1 0x18 0x1b 0x0
    pi@raspberrypi:~ $ i2cset -f -y 1 0x18 0x3c 0x8
    pi@raspberrypi:~ $ i2cset -f -y 1 0x18 0x4 0x7
    pi@raspberrypi:~ $ i2cset -f -y 1 0x18 0x5 0x91
    pi@raspberrypi:~ $ i2cset -f -y 1 0x18 0x6 0x8
    pi@raspberrypi:~ $ i2cset -f -y 1 0x18 0 1
    pi@raspberrypi:~ $ i2cset -f -y 1 0x18 0x1 0x8
    pi@raspberrypi:~ $ i2cset -f -y 1 0x18 0x2 0x0
    pi@raspberrypi:~ $ i2cset -f -y 1 0x18 0x7b 0x1
    pi@raspberrypi:~ $ i2cset -f -y 1 0x18 0xa 0x63
    pi@raspberrypi:~ $ i2cset -f -y 1 0x18 0xc 0x8
    pi@raspberrypi:~ $ i2cset -f -y 1 0x18 0xd 0x8
    pi@raspberrypi:~ $ i2cset -f -y 1 0x18 0x3 0x0
    pi@raspberrypi:~ $ i2cset -f -y 1 0x18 0x4 0x0
    pi@raspberrypi:~ $ i2cset -f -y 1 0x18 0x10 0x0
    pi@raspberrypi:~ $ i2cset -f -y 1 0x18 0x11 0x0
    pi@raspberrypi:~ $ i2cset -f -y 1 0x18 0x14 0x29
    pi@raspberrypi:~ $ i2cset -f -y 1 0x18 0x9 0x30
    pi@raspberrypi:~ $ i2cset -f -y 1 0x18 0 0 (I make sure register 63d, D(7:6) = “11”)
    pi@raspberrypi:~ $ i2cset -f -y 1 0x18 0x3f 0xd6
    pi@raspberrypi:~ $ i2cset -f -y 1 0x18 0x40 0x00

  • Rentai,

    Sorry for the delayed reply, I thought I already sent you a reply before.
    From your settings I've seen that you're not setting some registers for PLL D value, NDAC, MDAC and DOSR.
    Also have you verified that registers are being properly written? Device address is 0011000 in seven-bit which is 0x30 by adding last bit 0. Maybe your system uses seven bit address shifted one bit to the right and adds the write/read byte at the end, just wanted to be sure.

    Best regards,
    -Ivan Salazar
    Audio Applications Engineer - Low Power Audio & Actuators