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.

TLV320AIC3111EVM-K: Unable to test on-board microphone on the AIC3111 EVM

Part Number: TLV320AIC3111EVM-K
Other Parts Discussed in Thread: TLV320AIC3111, SK-AM62

Hello, trying to test microphone that is on the eval board and have issue with it. I have set the jumpers to Diff Mono but still can't test the microphone.

And on 2nd attempt we are always getting 'read error

root@am62xx-evm:~# arecord -t wav -d 10 -f dat /home/root/testMic.wav
Recording WAVE '/home/root/testMic.wav' : Signed 16 bit Little Endian, Rate 48000 Hz, Stereo
arecord: pcm_read:2151: read error: Input/output error
root@am62xx-evm:~# aplay /usr/share/sounds/alsa/Front_Center.wav
Playing WAVE '/usr/share/sounds/alsa/Front_Center.wav' : Signed 16 bit Little Endian, Rate 48000 Hz, Mono

  • dmesg : 

    [ 167.004167] davinci-mcasp 2b10000.mcasp: unhandled rx event. rxstat: 0x00000104

    [ 226.845332] davinci-mcasp 2b10000.mcasp: Receive buffer overflow
    [ 230.208809] ti-udma 485c0100.dma-controller: chan2 teardown timeout!

  • root@am62xx-evm:~# arecord -l
    **** List of CAPTURE Hardware Devices ****
    card 0: AM62xSKEVM [AM62x-SKEVM], device 0: davinci-mcasp.0-tlv320aic31xx-hifi tlv320aic31xx-hifi-0 [davinci-mcasp.0-tlv320aic31xx-hifi tlv320aic31xx-hifi-0]
    Subdevices: 1/1
    Subdevice #0: subdevice #0
    root@am62xx-evm:~#

  • Hi,

    You should be able to just load the init script from the GUI and for jumper connection follow the diagram in the user guide shown below for on-board ECM:

    Regards.

  • Hi pdjuandi, I have try both and not left in diff mono microphone connections. But still does not work. 

    Would you be able to let us know about the amixer settings in Linux? 

    I an trying to use arecord command to test microphone. Thanks 

  • I'm not Linux expert.

    Shenghao,

    Any help you can provide?

    Regards.

  • Hi,

    Kindly offer the amixer log and during reording, would you be so kind and measure the bit clk?

    One more thing, I wonder whether TLV320AIC3111 is master or slave in this test case?

    BR

    Shenghao Ding

  • Hi Shenghao,

    The AIC3111 codec is master and I can get the sound played over the codec over headphones and speakers all works fine. But now I am testing microphone and wanted to know what configuration is needed in amixer. 

    Thanks .


    root@am62xx-evm:~# aplay -l
    **** List of PLAYBACK Hardware Devices ****
    card 0: AM62xSKEVM [AM62x-SKEVM], device 0: davinci-mcasp.0-tlv320aic31xx-hifi tlv320aic31xx-hifi-0 [davinci-mcasp.0-tlv320aic31xx-hifi tlv320aic31xx-hifi-0]
    Subdevices: 1/1
    Subdevice #0: subdevice #0
    root@am62xx-evm:~# amixer
    Simple mixer control 'Speaker Analog',0
    Capabilities: pvolume
    Playback channels: Front Left - Front Right
    Limits: Playback 0 - 127
    Mono:
    Front Left: Playback 102 [80%] [-12.50dB]
    Front Right: Playback 102 [80%] [-12.50dB]
    Simple mixer control 'Speaker Driver',0
    Capabilities: pvolume pswitch
    Playback channels: Front Left - Front Right
    Limits: Playback 0 - 3
    Mono:
    Front Left: Playback 3 [100%] [24.00dB] [on]
    Front Right: Playback 3 [100%] [24.00dB] [on]
    Simple mixer control 'Speaker Left',0
    Capabilities: pswitch pswitch-joined
    Playback channels: Mono
    Mono: Playback [on]
    Simple mixer control 'Speaker Right',0
    Capabilities: pswitch pswitch-joined
    Playback channels: Mono
    Mono: Playback [on]
    Simple mixer control 'Mic PGA',0
    Capabilities: cvolume cvolume-joined
    Capture channels: Mono
    Limits: Capture 0 - 119
    Mono: Capture 80 [67%] [40.00dB]
    Simple mixer control 'ADC',0
    Capabilities: cvolume cvolume-joined cswitch cswitch-joined
    Capture channels: Mono
    Limits: Capture 0 - 64
    Mono: Capture 24 [38%] [-8.00dB] [off]
    Simple mixer control 'ADC Fine',0
    Capabilities: cvolume cvolume-joined
    Capture channels: Mono
    Limits: Capture 0 - 4
    Mono: Capture 4 [100%] [0.40dB]
    Simple mixer control 'DAC',0
    Capabilities: pvolume
    Playback channels: Front Left - Front Right
    Limits: Playback 0 - 175
    Mono:
    Front Left: Playback 87 [50%] [-20.00dB]
    Front Right: Playback 87 [50%] [-20.00dB]
    Simple mixer control 'DAC Left Input',0
    Capabilities: enum
    Items: 'Off' 'Left Data' 'Right Data' 'Mono'
    Item0: 'Left Data'
    Simple mixer control 'DAC Right Input',0
    Capabilities: enum
    Items: 'Off' 'Right Data' 'Left Data' 'Mono'
    Item0: 'Right Data'
    Simple mixer control 'HP Analog',0
    Capabilities: pvolume
    Playback channels: Front Left - Front Right
    Limits: Playback 0 - 127
    Mono:
    Front Left: Playback 102 [80%] [-12.50dB]
    Front Right: Playback 102 [80%] [-12.50dB]
    Simple mixer control 'HP Driver',0
    Capabilities: pvolume pswitch
    Playback channels: Front Left - Front Right
    Limits: Playback 0 - 9
    Mono:
    Front Left: Playback 8 [89%] [8.00dB] [on]
    Front Right: Playback 8 [89%] [8.00dB] [on]
    Simple mixer control 'HP Left',0
    Capabilities: pswitch pswitch-joined
    Playback channels: Mono
    Mono: Playback [on]
    Simple mixer control 'HP Output Driver Power-On time',0
    Capabilities: enum
    Items: '0us' '15.3us' '153us' '1.53ms' '15.3ms' '76.2ms' '153ms' '304ms' '610ms' '1.22s' '3.04s' '6.1s'
    Item0: '304ms'
    Simple mixer control 'HP Output Driver Ramp-up step',0
    Capabilities: enum
    Items: '0ms' '0.98ms' '1.95ms' '3.9ms'
    Item0: '3.9ms'
    Simple mixer control 'HP Right',0
    Capabilities: pswitch pswitch-joined
    Playback channels: Mono
    Mono: Playback [on]
    Simple mixer control 'MIC1LM M-Terminal',0
    Capabilities: enum
    Items: 'Off' 'FFR 10 Ohm' 'FFR 20 Ohm' 'FFR 40 Ohm'
    Item0: 'Off'
    Simple mixer control 'MIC1LM P-Terminal',0
    Capabilities: enum
    Items: 'Off' 'FFR 10 Ohm' 'FFR 20 Ohm' 'FFR 40 Ohm'
    Item0: 'FFR 10 Ohm'
    Simple mixer control 'MIC1LP P-Terminal',0
    Capabilities: enum
    Items: 'Off' 'FFR 10 Ohm' 'FFR 20 Ohm' 'FFR 40 Ohm'
    Item0: 'FFR 10 Ohm'
    Simple mixer control 'MIC1RP P-Terminal',0
    Capabilities: enum
    Items: 'Off' 'FFR 10 Ohm' 'FFR 20 Ohm' 'FFR 40 Ohm'
    Item0: 'FFR 10 Ohm'
    Simple mixer control 'Output Left From Left DAC',0
    Capabilities: pswitch pswitch-joined
    Playback channels: Mono
    Mono: Playback [on]
    Simple mixer control 'Output Left From MIC1LP',0
    Capabilities: pswitch pswitch-joined
    Playback channels: Mono
    Mono: Playback [off]
    Simple mixer control 'Output Left From MIC1RP',0
    Capabilities: pswitch pswitch-joined
    Playback channels: Mono
    Mono: Playback [off]
    Simple mixer control 'Output Right From MIC1RP',0
    Capabilities: pswitch pswitch-joined
    Playback channels: Mono
    Mono: Playback [off]
    Simple mixer control 'Output Right From Right DAC',0
    Capabilities: pswitch pswitch-joined
    Playback channels: Mono
    Mono: Playback [on]
    Simple mixer control 'Volume Soft Stepping',0
    Capabilities: enum
    Items: 'fast' 'slow' 'disabled'
    Item0: 'fast'
    root@am62xx-evm:~#

  • Hi

    Following mixers is used for recording, during recording kindly measure the bck and ws clk with scope. We check whether the codec works?

    Simple mixer control 'Mic PGA',0
    Capabilities: cvolume cvolume-joined
    Capture channels: Mono
    Limits: Capture 0 - 119
    Mono: Capture 80 [67%] [40.00dB]
    Simple mixer control 'ADC',0
    Capabilities: cvolume cvolume-joined cswitch cswitch-joined
    Capture channels: Mono
    Limits: Capture 0 - 64
    Mono: Capture 24 [38%] [-8.00dB] [off]
    Simple mixer control 'ADC Fine',0
    Capabilities: cvolume cvolume-joined
    Capture channels: Mono
    Limits: Capture 0 - 4
    Mono: Capture 4 [100%] [0.40dB]

    Simple mixer control 'MIC1LM M-Terminal',0
    Capabilities: enum
    Items: 'Off' 'FFR 10 Ohm' 'FFR 20 Ohm' 'FFR 40 Ohm'
    Item0: 'Off'
    Simple mixer control 'MIC1LM P-Terminal',0
    Capabilities: enum
    Items: 'Off' 'FFR 10 Ohm' 'FFR 20 Ohm' 'FFR 40 Ohm'
    Item0: 'FFR 10 Ohm'
    Simple mixer control 'MIC1LP P-Terminal',0
    Capabilities: enum
    Items: 'Off' 'FFR 10 Ohm' 'FFR 20 Ohm' 'FFR 40 Ohm'
    Item0: 'FFR 10 Ohm'
    Simple mixer control 'MIC1RP P-Terminal',0
    Capabilities: enum
    Items: 'Off' 'FFR 10 Ohm' 'FFR 20 Ohm' 'FFR 40 Ohm'
    Item0: 'FFR 10 Ohm'

  • Still not working. 

    root@am62xx-evm:~# amixer get "Mic PGA"
    Simple mixer control 'Mic PGA',0
    Capabilities: cvolume cvolume-joined
    Capture channels: Mono
    Limits: Capture 0 - 119
    Mono: Capture 80 [67%] [40.00dB]
    root@am62xx-evm:~# amixer get "ADC"
    Simple mixer control 'ADC',0
    Capabilities: cvolume cvolume-joined cswitch cswitch-joined
    Capture channels: Mono
    Limits: Capture 0 - 64
    Mono: Capture 24 [38%] [-8.00dB] [off]
    root@am62xx-evm:~# amixer get "ADC Fine"
    Simple mixer control 'ADC Fine',0
    Capabilities: cvolume cvolume-joined
    Capture channels: Mono
    Limits: Capture 0 - 4
    Mono: Capture 4 [100%] [0.40dB]
    root@am62xx-evm:~# amixer get "MIC1LM M-Terminal"
    Simple mixer control 'MIC1LM M-Terminal',0
    Capabilities: enum
    Items: 'Off' 'FFR 10 Ohm' 'FFR 20 Ohm' 'FFR 40 Ohm'
    Item0: 'Off'
    root@am62xx-evm:~# amixer get "MIC1LM P-Terminal"
    Simple mixer control 'MIC1LM P-Terminal',0
    Capabilities: enum
    Items: 'Off' 'FFR 10 Ohm' 'FFR 20 Ohm' 'FFR 40 Ohm'
    Item0: 'FFR 10 Ohm'
    root@am62xx-evm:~# amixer get "MIC1LP P-Terminal"
    Simple mixer control 'MIC1LP P-Terminal',0
    Capabilities: enum
    Items: 'Off' 'FFR 10 Ohm' 'FFR 20 Ohm' 'FFR 40 Ohm'
    Item0: 'FFR 10 Ohm'
    root@am62xx-evm:~# amixer get "MIC1RP P-Terminal"
    Simple mixer control 'MIC1RP P-Terminal',0
    Capabilities: enum
    Items: 'Off' 'FFR 10 Ohm' 'FFR 20 Ohm' 'FFR 40 Ohm'
    Item0: 'FFR 10 Ohm'
    root@am62xx-evm:~#
    root@am62xx-evm:~#
    root@am62xx-evm:~# arecord -t wav -d 5 -f dat /home/root/testMic.wav

    No audio heard when playing back the recorded message.

    root@am62xx-evm:~# aplay testMic.wav
    Playing WAVE 'testMic.wav' : Signed 16 bit Little Endian, Rate 48000 Hz, Stereo
    root@am62xx-evm:~# aplay testMic.wav
    Playing WAVE 'testMic.wav' : Signed 16 bit Little Endian, Rate 48000 Hz, Stereo
    root@am62xx-evm:~#

  • mclk is 12.28Mhz.

    bclk is 1.535Mhz

    wclk is 49Khz

    during aplay and arecord. but got the following error after few attempts. 

    root@am62xx-evm:~# arecord -t wav -d 5 -f dat /home/root/testMic.wav
    Recording WAVE '/home/root/testMic.wav' : Signed 16 bit Little Endian, Rate 48000 Hz, Stereo
    overrun!!! (at least 0.493 ms long)
    overrun!!! (at least 0.064 ms long)
    overrun!!! (at least 0.079 ms long)
    overrun!!! (at least 0.075 ms long)
    overrun!!! (at least 0.087 ms long)
    overrun!!! (at least 0.056 ms long)
    overrun!!! (at least 0.083 ms long)
    overrun!!! (at least 0.073 ms long)
    overrun!!! (at least 0.073 ms long)
    overrun!!! (at least 0.073 ms long)
    overrun!!! (at least 0.070 ms long)
    overrun!!! (at least 0.071 ms long)
    overrun!!! (at least 0.082 ms long)
    overrun!!! (at least 0.069 ms long)
    overrun!!! (at least 0.056 ms long)
    overrun!!! (at least 0.056 ms long)
    overrun!!! (at least 0.067 ms long)
    overrun!!! (at least 0.075 ms long)
    overrun!!! (at least 0.081 ms long)
    overrun!!! (at least 0.060 ms long)

  • 9.227646] pca953x 1-0022: failed writing register
    [ 799.234080] davinci-mcasp 2b10000.mcasp: Receive buffer overflow
    [ 800.762367] omap_i2c 20010000.i2c: controller timed out
    [ 800.767635] pca953x 1-0022: failed writing register
    [ 802.330360] omap_i2c 20010000.i2c: controller timed out
    [ 802.335632] pca953x 1-0022: failed writing register
    [ 802.613457] davinci-mcasp 2b10000.mcasp: Receive buffer overflow
    [ 803.862361] omap_i2c 20010000.i2c: controller timed out
    [ 803.867646] pca953x 1-0022: failed writing register
    [ 803.873662] davinci-mcasp 2b10000.mcasp: Receive buffer overflow
    [ 805.434349] omap_i2c 20010000.i2c: controller timed out
    [ 805.439618] pca953x 1-0022: failed writing register
    [ 805.445463] davinci-mcasp 2b10000.mcasp: Receive buffer overflow
    [ 806.966354] omap_i2c 20010000.i2c: controller timed out
    [ 806.971694] pca953x 1-0022: failed writing register
    [ 807.282651] davinci-mcasp 2b10000.mcasp: Receive buffer overflow
    [ 808.502340] omap_i2c 20010000.i2c: controller timed out
    [ 808.507612] pca953x 1-0022: failed writing register
    [ 810.029037] davinci-mcasp 2b10000.mcasp: Receive buffer overflow
    [ 810.074318] omap_i2c 20010000.i2c: controller timed out
    [ 810.079567] pca953x 1-0022: failed writing register
    [ 811.642310] omap_i2c 20010000.i2c: controller timed out
    [ 811.647579] pca953x 1-0022: failed writing register
    [ 813.031267] davinci-mcasp 2b10000.mcasp: Receive buffer overflow
    [ 813.178297] omap_i2c 20010000.i2c: controller timed out
    [ 813.183554] pca953x 1-0022: failed writing register
    [ 814.710298] omap_i2c 20010000.i2c: controller timed out
    [ 814.715565] pca953x 1-0022: failed writing register
    [ 816.250289] omap_i2c 20010000.i2c: controller timed out
    [ 816.255556] pca953x 1-0022: failed writing register
    [ 817.786281] omap_i2c 20010000.i2c: controller timed out
    [ 817.791549] pca953x 1-0022: failed writing register
    [ 820.854280] omap_i2c 20010000.i2c: controller timed out
    [ 820.859725] pca953x 1-0022: failed writing register
    [ 822.394262] omap_i2c 20010000.i2c: controller timed out
    [ 822.399532] pca953x 1-0022: failed writing register
    [ 823.962250] omap_i2c 20010000.i2c: controller timed out
    [ 823.967524] pca953x 1-0022: failed writing register
    [ 825.494243] omap_i2c 20010000.i2c: controller timed out
    [ 825.499514] pca953x 1-0022: failed writing register
    [ 827.030243] omap_i2c 20010000.i2c: controller timed out
    [ 827.035509] pca953x 1-0022: failed writing register
    [ 828.566225] omap_i2c 20010000.i2c: controller timed out
    [ 828.571495] pca953x 1-0022: failed writing register
    [ 830.138222] omap_i2c 20010000.i2c: controller timed out

  • seems like the Dout (MCASP1_AXR0) output data and then can hear audio. (aplay /usr/share/sounds/alsa/Front_Center.wav)

    There is no Din (MCASP1_AXR2) input data from the codec to SoC. (arecord -t wav -d 5 -f dat /home/root/testMic.wav)

    probably issue with arecord or amixer settings? 

  • Kindly measure the DIN pin with scope during arecord. Check whether the data has been already captured.

    According to the log, can you check whether the tx path from soc worked well? the log report Receive buffer overflow and overrun.

    Have you the ADC set to ‘CAPTURE’ and turn on the MIC1M M-Terminal and MIC1P P-Terminal?

  • Hi,

    For the ADC Capture mode, are the following settings correct?

    root@am62xx-evm:~# amixer get "ADC"
    Simple mixer control 'ADC',0
    Capabilities: cvolume cvolume-joined cswitch cswitch-joined
    Capture channels: Mono
    Limits: Capture 0 - 64
    Mono: Capture 24 [38%] [-8.00dB] [off]

    following settings are as you say:

    root@am62xx-evm:~# amixer get "MIC1LM M-Terminal"
    Simple mixer control 'MIC1LM M-Terminal',0
    Capabilities: enum
    Items: 'Off' 'FFR 10 Ohm' 'FFR 20 Ohm' 'FFR 40 Ohm'
    Item0: 'Off'
    root@am62xx-evm:~# amixer get "MIC1LM P-Terminal"
    Simple mixer control 'MIC1LM P-Terminal',0
    Capabilities: enum
    Items: 'Off' 'FFR 10 Ohm' 'FFR 20 Ohm' 'FFR 40 Ohm'
    Item0: 'FFR 10 Ohm'
    root@am62xx-evm:~# amixer get "MIC1LP P-Terminal"
    Simple mixer control 'MIC1LP P-Terminal',0
    Capabilities: enum
    Items: 'Off' 'FFR 10 Ohm' 'FFR 20 Ohm' 'FFR 40 Ohm'
    Item0: 'FFR 10 Ohm'
    root@am62xx-evm:~# amixer get "MIC1RP P-Terminal"
    Simple mixer control 'MIC1RP P-Terminal',0
    Capabilities: enum
    Items: 'Off' 'FFR 10 Ohm' 'FFR 20 Ohm' 'FFR 40 Ohm'
    Item0: 'FFR 10 Ohm'
    root@am62xx-evm:~#

     

  • How to set ADC to capture please, from amixer?

  • managed to get the capture on the ADC enabled.

    $> amixer cset numid=2,iface=MIXER,name='ADC Capture Switch' on

    Can hear high pitch noise. 

  • I think the DIN and the codec and SoC are working fine. it's just the amixer settings to get microphone data without noise. 

  • So, the issue is fixed, right?

  • sure. it needs fine tuning. Thanks 

  • Would you by any chance have information on what values these ADC, ADC Fine, and Mic PGA to be set to?

  • That's really a great news. I will transfer your requirement to tuning expert. Have a good weekend. 

  • That's all depend on your microphone sensitivity, an example is shown below:

  • Hi pdjuandi, thanks for the info. 

    I am using TLV320AIC3111EVM and this has MD9745APZ-F microphone. Your message explains on how to calculate PGA but how to apply this? 

    And Shenghao, I noticed the SK-AM62 eval board has AIC3106 audio codec and the settings available in Linux are loads when compare to AIC3110 audio codec driver you helped me to add in diver driver, is there way to add more options, please?

    On SK-AM62 

    root@am62xx-evm:~# amixer scontrols

    Simple mixer control 'PCM',0

    Simple mixer control 'Line',0

    Simple mixer control 'Line DAC',0

    Simple mixer control 'Line Line2 Bypass',0

    Simple mixer control 'Line PGA Bypass',0

    Simple mixer control 'Mono',0

    Simple mixer control 'Mono DAC',0

    Simple mixer control 'Mono Line2 Bypass',0

    Simple mixer control 'Mono Mixer DACL1',0

    Simple mixer control 'Mono Mixer DACR1',0

    Simple mixer control 'Mono Mixer Line2L Bypass',0

    Simple mixer control 'Mono Mixer Line2R Bypass',0

    Simple mixer control 'Mono Mixer PGAL Bypass',0

    Simple mixer control 'Mono Mixer PGAR Bypass',0

    Simple mixer control 'Mono PGA Bypass',0

    Simple mixer control 'ADC HPF Cut-off',0

    Simple mixer control 'AGC',0

    Simple mixer control 'De-emphasis',0

    Simple mixer control 'HP',0

    Simple mixer control 'HP DAC',0

    Simple mixer control 'HP Line2 Bypass',0

    Simple mixer control 'HP PGA Bypass',0

    Simple mixer control 'HPCOM',0

    Simple mixer control 'HPCOM DAC',0

    Simple mixer control 'HPCOM Line2 Bypass',0

    Simple mixer control 'HPCOM PGA Bypass',0

    Simple mixer control 'Left AGC Attack time',0

    Simple mixer control 'Left AGC Decay time',0

    Simple mixer control 'Left AGC Target level',0

    Simple mixer control 'Left DAC Mux',0

    Simple mixer control 'Left HP Mixer DACL1',0

    Simple mixer control 'Left HP Mixer DACR1',0

    Simple mixer control 'Left HP Mixer Line2L Bypass',0

    Simple mixer control 'Left HP Mixer Line2R Bypass',0

    Simple mixer control 'Left HP Mixer PGAL Bypass',0

    Simple mixer control 'Left HP Mixer PGAR Bypass',0

    Simple mixer control 'Left HPCOM Mixer DACL1',0

    Simple mixer control 'Left HPCOM Mixer DACR1',0

    Simple mixer control 'Left HPCOM Mixer Line2L Bypass',0

    Simple mixer control 'Left HPCOM Mixer Line2R Bypass',0

    Simple mixer control 'Left HPCOM Mixer PGAL Bypass',0

    Simple mixer control 'Left HPCOM Mixer PGAR Bypass',0

    Simple mixer control 'Left HPCOM Mux',0

    Simple mixer control 'Left Line Mixer DACL1',0

    Simple mixer control 'Left Line Mixer DACR1',0

    Simple mixer control 'Left Line Mixer Line2L Bypass',0

    Simple mixer control 'Left Line Mixer Line2R Bypass',0

    Simple mixer control 'Left Line Mixer PGAL Bypass',0

    Simple mixer control 'Left Line Mixer PGAR Bypass',0

    Simple mixer control 'Left Line1L Mux',0

    Simple mixer control 'Left Line1R Mux',0

    Simple mixer control 'Left Line2L Mux',0

    Simple mixer control 'Left PGA Mixer Line1L',0

    Simple mixer control 'Left PGA Mixer Line1R',0

    Simple mixer control 'Left PGA Mixer Line2L',0

    Simple mixer control 'Left PGA Mixer Mic3L',0

    Simple mixer control 'Left PGA Mixer Mic3R',0

    Simple mixer control 'Output Driver Power-On time',0

    Simple mixer control 'Output Driver Ramp-up step',0

    Simple mixer control 'PGA',0

    Simple mixer control 'Right AGC Attack time',0

    Simple mixer control 'Right AGC Decay time',0

    Simple mixer control 'Right AGC Target level',0

    Simple mixer control 'Right DAC Mux',0

    Simple mixer control 'Right HP Mixer DACL1',0

    Simple mixer control 'Right HP Mixer DACR1',0

    Simple mixer control 'Right HP Mixer Line2L Bypass',0

    Simple mixer control 'Right HP Mixer Line2R Bypass',0

    Simple mixer control 'Right HP Mixer PGAL Bypass',0

    Simple mixer control 'Right HP Mixer PGAR Bypass',0

    Simple mixer control 'Right HPCOM Mixer DACL1',0

    Simple mixer control 'Right HPCOM Mixer DACR1',0

    Simple mixer control 'Right HPCOM Mixer Line2L Bypass',0

    Simple mixer control 'Right HPCOM Mixer Line2R Bypass',0

    Simple mixer control 'Right HPCOM Mixer PGAL Bypass',0

    Simple mixer control 'Right HPCOM Mixer PGAR Bypass',0

    Simple mixer control 'Right HPCOM Mux',0

    Simple mixer control 'Right Line Mixer DACL1',0

    Simple mixer control 'Right Line Mixer DACR1',0

    Simple mixer control 'Right Line Mixer Line2L Bypass',0

    Simple mixer control 'Right Line Mixer Line2R Bypass',0

    Simple mixer control 'Right Line Mixer PGAL Bypass',0

    Simple mixer control 'Right Line Mixer PGAR Bypass',0

    Simple mixer control 'Right Line1L Mux',0

    Simple mixer control 'Right Line1R Mux',0

    Simple mixer control 'Right Line2R Mux',0

    Simple mixer control 'Right PGA Mixer Line1L',0

    Simple mixer control 'Right PGA Mixer Line1R',0

    Simple mixer control 'Right PGA Mixer Line2R',0

    Simple mixer control 'Right PGA Mixer Mic3L',0

    Simple mixer control 'Right PGA Mixer Mic3R',0

     

    -----------------------------------------------------------------------------------------------

  • Could you also let us know how to select the appropriate input feed-forward resistor for the microphone, please. 

  • Hi,

    I am slightly confused about the configuration of the microphone. 

    On the TLV320AIC3111 EVM board, the on-board microphone is connected to MIC1LP & MIC1LM (with jumpers W2, W3 on and W7 to 2-3, W8 1-2) configured as single ended. The MIC1RP is connected to AVSS. W9 connected to 1-2. 

    What should be the value for ADC, ADC Fine, Mic PGA (based on the microphone and previous post on how to calculate PGA, lets assume 9dB) and what will be the input feed-forward resistance? 

    Thanks 

  • The feed-forward resistance forms a HPF with the external cap, so in the case of EVM C=0.47uF and RIN=20K forms a fc~17 Hz. So you can select accordingly. If you want to set 9dB with RIN=20K Single-ended then set Page 1 Reg 47 D6–D0 to 001 0010. If you use RIN=10K then set it to 000 0110 for 9dB gain.