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.

TLV320AIC3110 - How to config I2S output from Mic

Hi, I'm using a TLC320AIC3110 on their evaluation board. I use Codec Control software to config the codec. I already have audio output working ok. I could configure playback, routing Microphone input directly to DAC output. I could play audio using I2S interface from a uC (disabling I2S interface by I2S_ENABLE pin).

But, right now I want to record sound from the analog mic to internal uC memory. I don't lnow how to configure de codec to obtain I2S signal on DOUT pin corresponding to microphone.

My uC generate all clock signals and ask for data to codec by a DMA channel. I can see clock's signals, but I don't see any DOUT signal from the codec.

Thank

  • Here is a simple ADC record script:

    # --------------------------------------------------------------- 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

    w 30 12 84

    > 84

    # DOSR = 128, DOSR(9:8) = 0

    > 00

    #             DOSR(7:0) = 128

    > 80

    # --------------------------------------------------------------- page 1 is selected

    w 30 00 01

    # MIC BIAS = AVDD

    w 30 2e 0b

    # MICPGA P = MIC 10k

    w 30 30 40

    # MICPGA M - CM 10k

    #> 40

    # --------------------------------------------------------------- page 0 is selected

    w 30 00 00

    # POWERUP ADC channel

    w 30 51 80

    # UNMUTE ADC channel

    > 00