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.

TLV320AIC3206: about tlv320aic3206 configuration

Part Number: TLV320AIC3206

MCLK = 2M;BCLK = 256KB; WCLK=8K;IN1 is input audio;  Is there a problem with this configuration frame

w 30 00 00
w 30 01 01

//p=1 r=2 j=9 d=0
w 30 04 03
w 30 05 92
w 30 06 09

//NDAC = 1; MDAC = 35; DOSR = 128
w 30 0B 81
w 30 0C A3
w 30 0D 00
w 30 0E 80

//NADC = 1; MADC = 35; AOSR = 128
w 30 12 81
w 30 13 A3


//select adc PRB_R1
w 30 3d 01

//power
w 30 00 01
w 30 01 08
w 30 02 00
w 30 0a 00
w 30 3d 00

w 30 03 00
w 30 04 00

w 30 47 32
w 30 7b 01

//select page 1
w 30 00 01

//configuration In1
w 30 34 80
w 30 36 80
w 30 37 80
w 30 39 80
w 30 3b 0c
w 30 3c 0c
w 30 00 00
w 30 51 c0
w 30 52 00

//configuration Hpl
//select page 1
w 30 00 01

w 30 14 25
w 30 0c 08
w 30 0d 08
w 30 0e 08
w 30 0f 08
w 30 09 3c
w 30 10 00
w 30 11 00
w 30 12 00
w 30 13 00

w 30 00 00
w 30 41 00
w 30 42 00
w 30 3f d6
w 30 40 00

  • Hello, I just have the script which may be used to configure the audio inputs to get audio data from the microphone of AIC3206. Hope it is useful for you.

    1460.Microphone_recording.txt
    ###############################################
    # On-Board Differential Microphone
    # ---------------------------------------------
    # PowerTune mode PTM_R4 is used for high
    # performance 16-bit audio. 
    #
    # IN3L/R are routed single-endedly to the
    # LADC/RADC.
    ###############################################
    
    
    
    ###############################################
    # Software Reset
    ###############################################
    #
    # Select Page 0
    w 30 00 00
    #
    # Initialize the device through software reset
    w 30 01 01
    #
    ###############################################
    
    
    
    ###############################################
    # Clock Settings
    # ---------------------------------------------
    # The codec receives: MCLK = 11.2896 MHz,
    # BLCK = 2.8224 MHz, WCLK = 44.1 kHz
    ###############################################
    #
    # Select Page 0
    w 30 00 00
    #
    # NADC = 1, MADC = 2
    w 30 12 81 82
    #
    ###############################################
    
    
    
    ###############################################
    # Signal Processing Settings
    ###############################################
    #
    # Select Page 0
    w 30 00 00
    #
    # Set the ADC Mode to PRB_P1
    w 30 3d 01
    #
    ###############################################
    
    
    
    ###############################################
    # Initialize Codec
    ###############################################
    #
    # Select Page 1
    w 30 00 01
    #
    # Disable weak AVDD in presence of external
    # AVDD supply
    w 30 01 08
    #
    # Enable Master Analog Power Control
    w 30 02 00
    #
    # Select ADC PTM_R4
    w 30 3d 00
    #
    # Set the input powerup time to 3.1ms (for ADC)
    w 30 47 32
    #
    # Set the REF charging time to 40ms
    w 30 7b 01
    #
    ###############################################
    
    
    
    ###############################################
    # Configure ADC Channel
    ###############################################
    #
    # Select Page 1
    w 30 00 01
    #
    # Mic Bias enabled, Source = Avdd, 1.25V
    w 30 33 40
    #
    # Route IN3L to LEFT_P with Rin = 10K
    w 30 34 04
    #
    # Route CM1L to LEFT_M with Rin = 10K
    w 30 36 40
    #
    # Route IN3R to RIGHT_P with Rin = 10K
    w 30 37 04
    #
    # Route CM1R to RIGHT_M with Rin = 10K
    w 30 39 40
    #
    # Set left and right MicPGA Gain = 0dB
    w 30 3b 00 00
    #
    # Select Page 0
    w 30 00 00
    #
    # Power up LADC/RADC
    w 30 51 c0
    #
    # Unmute LADC/RADC
    w 30 52 00
    #
    ###############################################