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.

TLV320AIC3100: default settings / startup

Part Number: TLV320AIC3100

Hi Champs,

Customer is asking if we could provide or point to a description/guide for a quickstart of this device. Are there default settings needed to know to have it working?

Can we activate a sound from the beep generator as a first test?

  • hello Simon,

    The EVM GUI provides an example setup, but it is specific to the default clock setup for the EVM.

    see below setup for audio playback,  I believe this script assumes an MCLK of 12.288MHz, and the data format is I2S, 16bit and the device is in slave mode.

    # --------------------------------------------------------------- page 0 is selected
    w 30 00 00
    # s/w reset
    > 01
    # PLL_clkin = MCLK,codec_clkin = PLL_CLK
    w 30 04 03
    # PLL Power up, P = 1, R = 1
    > 91
    # J = 8
    > 08
    # D = 0000, D(13:8) = 0
    > 00
    # D(7:0) = 0
    > 00
    # mode is i2s,wordlength is 16
    w 30 1b 00
    # NDAC is powered up and set to 4
    w 30 0b 84
    # MDAC is powered up and set to 4
    > 84
    # DOSR = 128, DOSR(9:8) = 0
    > 00
    # DOSR(7:0) = 128
    > 80
    # DAC => volume control thru pin disable
    w 30 74 00
    # DAC => drc disable, th and hy
    w 30 44 00
    # DAC => -22 db gain left
    w 30 41 d4
    # DAC => -22 db gain right
    > d4
    # --------------------------------------------------------------- page 1 is selected
    w 30 00 01
    # De-pop, Power on = 800 ms, Step time = 4 ms
    w 30 21 4e
    # HPL and HPR powered up
    w 30 1f c2
    # LDAC routed to HPL, RDAC routed to HPR
    w 30 23 44
    # HPL unmute and gain 0db
    w 30 28 06
    # HPR unmute and gain 0db
    > 06
    # Unmute Class-D Left
    w 30 2a 1c
    # Unmute Class-D Right
    w 30 2b 1c
    # Power-up Class-D drivers
    w 30 20 c6

    # --------------------------------------------------------------- page 0 is selected
    w 30 00 00
    # select DAC DSP mode 11 & enable adaptive filter
    w 30 3c 0b
    w 30 00 08
    w 30 01 04
    w 30 00 00
    # POWERUP DAC left and right channels (soft step disable)
    w 30 3f d6
    # UNMUTE DAC left and right channels
    > 00

    There is also a beep generator application note that has an example script.

    Best regards,

    -Steve Wilson