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.

TLV320AIC3104: Audio channel problem

Part Number: TLV320AIC3104

Hi, I was wondering

  1. Why can't my HPCOM with Rigth output sound?

2, why the audio recording sound from MIC2R input to pgaR is particularly small or even inaudible, you must increase the gain of pga to record.

If you know, very much looking forward to your reply。

Kind regards,

Bowen

 

This is the register configuration at the time of recording

No size specified (using byte-data access)

     0  1  2  3  4  5  6  7  8  9  a  b  c  d  e  f    0123456789abcdef

00: 00 00 00 10 04 00 00 0a 00 00 00 01 00 00 00 00    ...??..?...?....

10: 00 0f f0 00 78 78 78 78 78 06 00 fe 00 00 fe 00    .??.xxxxx?.?..?.

20: 00 00 00 00 88 e0 10 00 00 00 00 00 00 2f 00 80    ....???....../.?

30: 00 80 00 0f 2f 00 80 00 00 00 0f 00 80 00 2f 00    .?.?/.?...?.?./.

40: 00 0f 00 00 80 2f 00 00 0f 00 00 00 00 00 00 00    .?..?/..?.......

50: 2f 00 00 00 80 80 0b 00 00 80 2f 00 00 0b de 0c    /...???..?/..???

60: 00 00 00 00 00 01 a2 00 00 00 00 00 00 00 00 00    .....??.........

70: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00    ................

80: 00 00 00 10 04 00 00 0a 00 00 00 01 00 00 00 00    ...??..?...?....

90: 00 0f f0 00 78 78 78 78 78 06 00 fe 00 00 fe 00    .??.xxxxx?.?..?.

a0: 00 00 00 00 88 e0 10 00 00 00 00 00 00 2f 00 80    ....???....../.?

b0: 00 80 00 0f 2f 00 80 00 00 00 0f 00 80 00 2f 00    .?.?/.?...?.?./.

c0: 00 0f 00 00 80 2f 00 00 0f 00 00 00 00 00 00 00    .?..?/..?.......

d0: 2f 00 00 00 80 80 0b 00 00 80 2f 00 00 0b de 0c    /...???..?/..???

e0: 00 00 00 00 00 01 a2 00 00 00 00 00 00 00 00 00    .....??.........

f0: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00    ................

root@imx6ull-14x14-p572-01:~/aic# amixer scontents

Simple mixer control 'PCM',0

  Capabilities: pvolume

  Playback channels: Front Left - Front Right

  Limits: Playback 0 - 127

  Mono:

  Front Left: Playback 127 [100%] [0.00dB]

  Front Right: Playback 127 [100%] [0.00dB]

Simple mixer control 'Line',0

  Capabilities: pswitch

  Playback channels: Front Left - Front Right

  Mono:

  Front Left: Playback [on]

  Front Right: Playback [on]

Simple mixer control 'Line DAC',0

  Capabilities: pvolume

  Playback channels: Front Left - Front Right

  Limits: Playback 0 - 118

  Mono:

  Front Left: Playback 118 [100%] [0.00dB]

  Front Right: Playback 118 [100%] [0.00dB]

Simple mixer control 'Line PGA Bypass',0

  Capabilities: volume

  Playback channels: Front Left - Front Right

  Capture channels: Front Left - Front Right

  Limits: 0 - 118

  Front Left: 118 [100%] [0.00dB]

  Front Right: 118 [100%] [0.00dB]

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

  Capabilities: enum

  Items: 'Disabled' '0.0045xFs' '0.0125xFs' '0.025xFs'

  Item0: 'Disabled'

  Item1: 'Disabled'

Simple mixer control 'AGC',0

  Capabilities: pswitch

  Playback channels: Front Left - Front Right

  Mono:

  Front Left: Playback [off]

  Front Right: Playback [off]

Simple mixer control 'De-emphasis',0

  Capabilities: pswitch

  Playback channels: Front Left - Front Right

  Mono:

  Front Left: Playback [off]

  Front Right: Playback [off]

Simple mixer control 'HP',0

  Capabilities: pswitch

  Playback channels: Front Left - Front Right

  Mono:

  Front Left: Playback [on]

  Front Right: Playback [on]

Simple mixer control 'HP DAC',0

  Capabilities: pvolume

  Playback channels: Front Left - Front Right

  Limits: Playback 0 - 118

  Mono:

  Front Left: Playback 118 [100%] [0.00dB]

  Front Right: Playback 118 [100%] [0.00dB]

Simple mixer control 'HP PGA Bypass',0

  Capabilities: volume

  Playback channels: Front Left - Front Right

  Capture channels: Front Left - Front Right

  Limits: 0 - 118

  Front Left: 118 [100%] [0.00dB]

  Front Right: 118 [100%] [0.00dB]

Simple mixer control 'HPCOM',0

  Capabilities: pswitch

  Playback channels: Front Left - Front Right

  Mono:

  Front Left: Playback [on]

  Front Right: Playback [on]

Simple mixer control 'HPCOM DAC',0

  Capabilities: pvolume

  Playback channels: Front Left - Front Right

  Limits: Playback 0 - 118

  Mono:

  Front Left: Playback 118 [100%] [0.00dB]

  Front Right: Playback 118 [100%] [0.00dB]

Simple mixer control 'HPCOM PGA Bypass',0

  Capabilities: volume

  Playback channels: Front Left - Front Right

  Capture channels: Front Left - Front Right

  Limits: 0 - 118

  Front Left: 118 [100%] [0.00dB]

  Front Right: 118 [100%] [0.00dB]

Simple mixer control 'Left AGC Attack time',0

  Capabilities: enum

  Items: '8ms' '11ms' '16ms' '20ms'

  Item0: '8ms'

Simple mixer control 'Left AGC Decay time',0

  Capabilities: enum

  Items: '100ms' '200ms' '400ms' '500ms'

  Item0: '100ms'

Simple mixer control 'Left AGC Target level',0

  Capabilities: enum

  Items: '-5.5dB' '-8dB' '-10dB' '-12dB' '-14dB' '-17dB' '-20dB' '-24dB'

  Item0: '-5.5dB'

Simple mixer control 'Left DAC Mux',0

  Capabilities: enum

  Items: 'DAC_L1' 'DAC_L3' 'DAC_L2'

  Item0: 'DAC_L1'

Simple mixer control 'Left HP Mixer DACL1',0

  Capabilities: pswitch pswitch-joined

  Playback channels: Mono

  Mono: Playback [on]

Simple mixer control 'Left HP Mixer DACR1',0

  Capabilities: pvolume pvolume-joined pswitch pswitch-joined

  Playback channels: Mono

  Limits: Playback 0 - 118

  Mono: Playback 118 [100%] [0.00dB] [off]

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

  Capabilities: pswitch pswitch-joined

  Playback channels: Mono

  Mono: Playback [off]

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

  Capabilities: volume volume-joined pswitch pswitch-joined

  Playback channels: Mono

  Capture channels: Mono

  Limits: 0 - 118

  Mono: 118 [100%] [0.00dB] Playback [on]

Simple mixer control 'Left HPCOM Mixer DACL1',0

  Capabilities: pswitch pswitch-joined

  Playback channels: Mono

  Mono: Playback [on]

Simple mixer control 'Left HPCOM Mixer DACR1',0

  Capabilities: pvolume pvolume-joined pswitch pswitch-joined

  Playback channels: Mono

  Limits: Playback 0 - 118

  Mono: Playback 118 [100%] [0.00dB] [off]

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

  Capabilities: pswitch pswitch-joined

  Playback channels: Mono

  Mono: Playback [off]

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

  Capabilities: volume volume-joined pswitch pswitch-joined

  Playback channels: Mono

  Capture channels: Mono

  Limits: 0 - 118

  Mono: 118 [100%] [0.00dB] Playback [off]

Simple mixer control 'Left HPCOM Mux',0

  Capabilities: enum

  Items: 'differential of HPLOUT' 'constant VCM' 'single-ended'

  Item0: 'single-ended'

Simple mixer control 'Left Line Mixer DACL1',0

  Capabilities: pswitch pswitch-joined

  Playback channels: Mono

  Mono: Playback [off]

Simple mixer control 'Left Line Mixer DACR1',0

  Capabilities: pvolume pvolume-joined pswitch pswitch-joined

  Playback channels: Mono

  Limits: Playback 0 - 118

  Mono: Playback 118 [100%] [0.00dB] [on]

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

  Capabilities: pswitch pswitch-joined

  Playback channels: Mono

  Mono: Playback [off]

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

  Capabilities: volume volume-joined pswitch pswitch-joined

  Playback channels: Mono

  Capture channels: Mono

  Limits: 0 - 118

  Mono: 118 [100%] [0.00dB] Playback [on]

Simple mixer control 'Left Line1L Mux',0

  Capabilities: enum

  Items: 'single-ended' 'differential'

  Item0: 'single-ended'

Simple mixer control 'Left Line1R Mux',0

  Capabilities: enum

  Items: 'single-ended' 'differential'

  Item0: 'single-ended'

Simple mixer control 'Left PGA Mixer Line1L',0

  Capabilities: pswitch pswitch-joined

  Playback channels: Mono

  Mono: Playback [on]

Simple mixer control 'Left PGA Mixer Line1R',0

  Capabilities: pswitch pswitch-joined

  Playback channels: Mono

  Mono: Playback [off]

Simple mixer control 'Left PGA Mixer Mic2L',0

  Capabilities: pswitch pswitch-joined

  Playback channels: Mono

  Mono: Playback [on]

Simple mixer control 'Left PGA Mixer Mic2R',0

  Capabilities: pswitch pswitch-joined

  Playback channels: Mono

  Mono: Playback [off]

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

  Capabilities: enum

  Items: '0us' '10us' '100us' '1ms' '10ms' '50ms' '100ms' '200ms' '400ms' '800ms' '2s' '4s'

  Item0: '0us'

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

  Capabilities: enum

  Items: '0ms' '1ms' '2ms' '4ms'

  Item0: '0ms'

Simple mixer control 'PGA',0

  Capabilities: cvolume cswitch

  Capture channels: Front Left - Front Right

  Limits: Capture 0 - 119

  Front Left: Capture 0 [0%] [0.00dB] [on]

  Front Right: Capture 0 [0%] [0.00dB] [on]

Simple mixer control 'Right AGC Attack time',0

  Capabilities: enum

  Items: '8ms' '11ms' '16ms' '20ms'

  Item0: '8ms'

Simple mixer control 'Right AGC Decay time',0

  Capabilities: enum

  Items: '100ms' '200ms' '400ms' '500ms'

  Item0: '100ms'

Simple mixer control 'Right AGC Target level',0

  Capabilities: enum

  Items: '-5.5dB' '-8dB' '-10dB' '-12dB' '-14dB' '-17dB' '-20dB' '-24dB'

  Item0: '-5.5dB'

Simple mixer control 'Right DAC Mux',0

  Capabilities: enum

  Items: 'DAC_R1' 'DAC_R3' 'DAC_R2'

  Item0: 'DAC_R1'

Simple mixer control 'Right HP Mixer DACL1',0

  Capabilities: pvolume pvolume-joined pswitch pswitch-joined

  Playback channels: Mono

  Limits: Playback 0 - 118

  Mono: Playback 118 [100%] [0.00dB] [off]

Simple mixer control 'Right HP Mixer DACR1',0

  Capabilities: pswitch pswitch-joined

  Playback channels: Mono

  Mono: Playback [off]

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

  Capabilities: volume volume-joined pswitch pswitch-joined

  Playback channels: Mono

  Capture channels: Mono

  Limits: 0 - 118

  Mono: 118 [100%] [0.00dB] Playback [on]

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

  Capabilities: pswitch pswitch-joined

  Playback channels: Mono

  Mono: Playback [off]

Simple mixer control 'Right HPCOM Mixer DACL1',0

  Capabilities: pvolume pvolume-joined pswitch pswitch-joined

  Playback channels: Mono

  Limits: Playback 0 - 118

  Mono: Playback 118 [100%] [0.00dB] [on]

Simple mixer control 'Right HPCOM Mixer DACR1',0

  Capabilities: pswitch pswitch-joined

  Playback channels: Mono

  Mono: Playback [off]

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

  Capabilities: volume volume-joined pswitch pswitch-joined

  Playback channels: Mono

  Capture channels: Mono

  Limits: 0 - 118

  Mono: 118 [100%] [0.00dB] Playback [off]

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

  Capabilities: pswitch pswitch-joined

  Playback channels: Mono

  Mono: Playback [off]

Simple mixer control 'Right HPCOM Mux',0

  Capabilities: enum

  Items: 'differential of HPROUT' 'constant VCM' 'single-ended' 'differential of HPLCOM' 'external feedback'

  Item0: 'single-ended'

Simple mixer control 'Right Line Mixer DACL1',0

  Capabilities: pvolume pvolume-joined pswitch pswitch-joined

  Playback channels: Mono

  Limits: Playback 0 - 118

  Mono: Playback 118 [100%] [0.00dB] [on]

Simple mixer control 'Right Line Mixer DACR1',0

  Capabilities: pswitch pswitch-joined

  Playback channels: Mono

  Mono: Playback [off]

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

  Capabilities: volume volume-joined pswitch pswitch-joined

  Playback channels: Mono

  Capture channels: Mono

  Limits: 0 - 118

  Mono: 118 [100%] [0.00dB] Playback [off]

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

  Capabilities: pswitch pswitch-joined

  Playback channels: Mono

  Mono: Playback [off]

Simple mixer control 'Right Line1L Mux',0

  Capabilities: enum

  Items: 'single-ended' 'differential'

  Item0: 'single-ended'

Simple mixer control 'Right Line1R Mux',0

  Capabilities: enum

  Items: 'single-ended' 'differential'

  Item0: 'single-ended'

Simple mixer control 'Right PGA Mixer Line1L',0

  Capabilities: pswitch pswitch-joined

  Playback channels: Mono

  Mono: Playback [off]

Simple mixer control 'Right PGA Mixer Line1R',0

  Capabilities: pswitch pswitch-joined

  Playback channels: Mono

  Mono: Playback [off]

Simple mixer control 'Right PGA Mixer Mic2L',0

  Capabilities: pswitch pswitch-joined

  Playback channels: Mono

  Mono: Playback [off]

Simple mixer control 'Right PGA Mixer Mic2R',0

  Capabilities: pswitch pswitch-joined

  Playback channels: Mono

  Mono: Playback [on]

[1]+  Done                    aplay 002.wav

root@imx6ull-14x14-p572-01:~/aic#

root@imx6ull-14x14-p572-01:~/aic#

root@imx6ull-14x14-p572-01:~/aic#

root@imx6ull-14x14-p572-01:~/aic#

root@imx6ull-14x14-p572-01:~/aic# amixer sset 'Left HP Mixer DACR1' on

Simple mixer control 'Left HP Mixer DACR1',0

  Capabilities: pvolume pvolume-joined pswitch pswitch-joined

  Playback channels: Mono

  Limits: Playback 0 - 118

  Mono: Playback 118 [100%] [0.00dB] [on]

root@imx6ull-14x14-p572-01:~/aic# amixer sset 'Left HP Mixer DACL1' off

Simple mixer control 'Left HP Mixer DACL1',0

  Capabilities: pswitch pswitch-joined

  Playback channels: Mono

  Mono: Playback [off]

root@imx6ull-14x14-p572-01:~/aic# aplay 002.wav

Playing WAVE '002.wav' : Signed 16 bit Little Endian, Rate 48000 Hz, Stereo

root@imx6ull-14x14-p572-01:~/aic# amixer sset 'Left HP Mixer DACL1' on

Simple mixer control 'Left HP Mixer DACL1',0

  Capabilities: pswitch pswitch-joined

  Playback channels: Mono

  Mono: Playback [on]

root@imx6ull-14x14-p572-01:~/aic# aplay 002.wav

Playing WAVE '002.wav' : Signed 16 bit Little Endian, Rate 48000 Hz, Stereo

^CAborted by signal Interrupt...

root@imx6ull-14x14-p572-01:~/aic# alsactl --file ./states/1212121212.state restore

12041512.state  12121212.state  

root@imx6ull-14x14-p572-01:~/aic# alsactl --file ./states/12121212.state restore

root@imx6ull-14x14-p572-01:~/aic# aplay 002.wav

Playing WAVE '002.wav' : Signed 16 bit Little Endian, Rate 48000 Hz, Stereo

^CAborted by signal Interrupt...

root@imx6ull-14x14-p572-01:~/aic# amixer sset 'Left HP Mixer DACL1' off

Simple mixer control 'Left HP Mixer DACL1',0

  Capabilities: pswitch pswitch-joined

  Playback channels: Mono

  Mono: Playback [off]

root@imx6ull-14x14-p572-01:~/aic# aplay 002.wav

Playing WAVE '002.wav' : Signed 16 bit Little Endian, Rate 48000 Hz, Stereo

^CAborted by signal Interrupt...

root@imx6ull-14x14-p572-01:~/aic# amixer sset 'Left HP Mixer DACR1' on

Simple mixer control 'Left HP Mixer DACR1',0

  Capabilities: pvolume pvolume-joined pswitch pswitch-joined

  Playback channels: Mono

  Limits: Playback 0 - 118

  Mono: Playback 118 [100%] [0.00dB] [on]

root@imx6ull-14x14-p572-01:~/aic# aplay 002.wav

Playing WAVE '002.wav' : Signed 16 bit Little Endian, Rate 48000 Hz, Stereo

^CAborted by signal Interrupt...

root@imx6ull-14x14-p572-01:~/aic# amixer get 'PGA'

Simple mixer control 'PGA',0

  Capabilities: cvolume cswitch

  Capture channels: Front Left - Front Right

  Limits: Capture 0 - 119

  Front Left: Capture 0 [0%] [0.00dB] [on]

  Front Right: Capture 0 [0%] [0.00dB] [on]

root@imx6ull-14x14-p572-01:~/aic# amixer set 'PGA' 0,30

Simple mixer control 'PGA',0

  Capabilities: cvolume cswitch

  Capture channels: Front Left - Front Right

  Limits: Capture 0 - 119

  Front Left: Capture 0 [0%] [0.00dB] [on]

  Front Right: Capture 30 [25%] [15.00dB] [on]

root@imx6ull-14x14-p572-01:~/aic# aplay 002.wav

Playing WAVE '002.wav' : Signed 16 bit Little Endian, Rate 48000 Hz, Stereo

^CAborted by signal Interrupt...

root@imx6ull-14x14-p572-01:~/aic# amixer set 'PGA' 0,100

Simple mixer control 'PGA',0

  Capabilities: cvolume cswitch

  Capture channels: Front Left - Front Right

  Limits: Capture 0 - 119

  Front Left: Capture 0 [0%] [0.00dB] [on]

  Front Right: Capture 100 [84%] [50.00dB] [on]

root@imx6ull-14x14-p572-01:~/aic# aplay 002.wav

Playing WAVE '002.wav' : Signed 16 bit Little Endian, Rate 48000 Hz, Stereo

^CAborted by signal Interrupt...

root@imx6ull-14x14-p572-01:~/aic# amixer set 'PGA' 0,0  

Simple mixer control 'PGA',0

  Capabilities: cvolume cswitch

  Capture channels: Front Left - Front Right

  Limits: Capture 0 - 119

  Front Left: Capture 0 [0%] [0.00dB] [on]

  Front Right: Capture 0 [0%] [0.00dB] [on]

  • 您好,

    这里是中文论坛,您可以使用中文发帖;

    Why can't my HPCOM with Rigth output sound?

    您具体使用的是哪个管脚的输出?输出负载是什么?

    2, why the audio recording sound from MIC2R input to pgaR is particularly small or even inaudible, you must increase the gain of pga to record.

    是的,PGA 默认是最小增益0dB:

  • 1、上面打印的配置情况下,我发现我从右声道录制音频(从MIC2R输入单端,经过PGAR录制),但是我发现必须把pga的增益调的特别大才可以接收到,在这个通路上我设置全部无增益时,左声道就可以录制到音频,但是右声道必须放大PGA增益才能录制到。2、当我给HPLOUT只开启DAC_R1的开关时,播放音频(无增益)时,听不到声音;但是只开启左声道(DAC_L1)声音很清楚。我想知道,右声道是不是有什么特殊的配置我没有设置到的,上面打印的寄存器是我在执行播放音频的时候的配置。

    注1:在(2)中我配置右声道的旁路打开,音频从MIC2R输入 ,经过RPGA,从HPLCOM输出,听到的音频很清楚,但是就是经过I2S的右声道的音频,效果特别差。以上我所有的输入和输出都是单端的。

    注2:之前从右声道输出的音频一直听不到,但是不知道某一次重启开发板我,我从右声道输出的音频就能听的清楚了,在之后就有不可以了。但是经过PGAR录制的音频问题一直存在

    希望您能解答我的疑惑,我看了很久手册和alsa库命令,找不到解决的办法

  • 1、上面打印的配置情况下,我发现我从右声道录制音频(从MIC2R输入单端,经过PGAR录制),但是我发现必须把pga的增益调的特别大才可以接收到,在这个通路上我设置全部无增益时,左声道就可以录制到音频,但是右声道必须放大PGA增益才能录制到。

    “必须把pga的增益调的特别大才可以接收到”是指哪里接收到?数字信号还是DAC后输出接的负载?

    “在这个通路上我设置全部无增益时,左声道就可以录制到音频”,左声道信号源和右声道一样吗?“录制到音频”是怎样验证的?是指ADC输出数字音频信号,然后再播放(DAC)出来吗?如果是这样的话,左右通道播放路径一样吗?

    2、当我给HPLOUT只开启DAC_R1的开关时,播放音频(无增益)时,听不到声音;但是只开启左声道(DAC_L1)声音很清楚。我想知道,右声道是不是有什么特殊的配置我没有设置到的,上面打印的寄存器是我在执行播放音频的时候的配置。

    我现在不明白您的路径,datasheet Figure 10-2有功能框图,同时也有对应的寄存器标号,您可以用一条线绘制出您的音频信号路径吗?也可以看路径中对应的寄存器是否按期望值配置

    您可以在下面截图中绘制出有声音和无声音时的音频信号路径吗?

  • 1、

    红色和蓝色是我配置的两个输入,(a)当我录制蓝色音频的录音时,GPAL无增益设置(上面的寄存及配置也有显示),录制到的音频效果,通过黄色线路播放出来,效果很明显;(b)通过红色路线录制音频后(无增益录制),播放录制的音频从黄色输出出来,听不到声音。但是我把PGAR调节到50%情况录制音频,从黄色路线播放不知的音频,输出有噪声但是能够听到音频输出。但是我从很粗的黑色线路输入音频,经旁路输出到HPLCOM,声音效果很好。

    2、当我播放音频从绿色路线输出,发现并没有声音,我把PGAR调节到100%,能听到很微弱的声音的特别打的噪声。

    是不是我的缺少什么配置,还是右声道有单独的供电配置呢?

    我尝试很多次无法把图片粘贴进来,只能以网盘链接的形式发送给您,还望理解

    链接:pan.baidu.com/.../1wrHQCsmyoRDkKdRyhGXIeA
    提取码:ytoh

  • 我尝试很多次无法把图片粘贴进来,只能以网盘链接的形式发送给您,还望理解

    链接:pan.baidu.com/.../1wrHQCsmyoRDkKdRyhGXIeA
    提取码:ytoh

    很抱歉,由于公司内网限制,所附链接我打不开。上传图片的话您可以直接把图片文件拖至回复对话框,或是截图然后粘贴至回复对话框,如果都不行,那就点击回复对话框下部的“插入”->"图片/视频/文件"->"上传",然后选择文件路径。

  •  您好 我今天再次尝试,已经能够拖进来了。 这是上个回复的图片

  • 好的,图片我看到了。

    1、每种情况寄存器配置是怎样的?可以分别说明吗

    2、也就是说 右通道DAC (绿色路径)不管播放哪个通道(左通道ADC -蓝色路径 和右通道ADC-红色路径 )录制的声音都没有有效音频输出?

  •  

    R8 00

    R12 00

    R43 00

    R37 0E

    R58 0F

    R72 0F

    R38 10

    R41 00

    R54 80

    R68 80

     

    Simple mixer control 'PCM',0

      Capabilities: pvolume

      Playback channels: Front Left - Front Right

      Limits: Playback 0 - 127

      Mono:

      Front Left: Playback 127 [100%] [0.00dB]

      Front Right: Playback 127 [100%] [0.00dB]

    Simple mixer control 'Left DAC Mux',0

      Capabilities: enum

      Items: 'DAC_L1' 'DAC_L3' 'DAC_L2'

      Item0: 'DAC_L1'

    Simple mixer control 'Left HPCOM Mixer DACL1',0

      Capabilities: pswitch pswitch-joined

      Playback channels: Mono

      Mono: Playback [on]

    Simple mixer control 'Right HPCOM Mixer DACL1',0

      Capabilities: pvolume pvolume-joined pswitch pswitch-joined

      Playback channels: Mono

      Limits: Playback 0 - 118

      Mono: Playback 118 [100%] [0.00dB] [on]

    Simple mixer control 'Right HPCOM Mux',0

      Capabilities: enum

      Items: 'differential of HPROUT' 'constant VCM' 'single-ended' 'differential of HPLCOM' 'external feedback'

      Item0: 'single-ended'

    Simple mixer control 'HPCOM',0

      Capabilities: pswitch

      Playback channels: Front Left - Front Right

      Mono:

      Front Left: Playback [on]

      Front Right: Playback [on]

     

    以上是我蓝色线路的寄存器配置和筛选的与通路相关的alsa命令设置,上面的问题也有我完整的alsa配置。

     

    下面是我红色线路的配置

     

    R12 00

    R16 77

    R17 0F

    R18 F0

    R107 00

     

    Simple mixer control 'Right PGA Mixer Mic2R',0

      Capabilities: pswitch pswitch-joined

      Playback channels: Mono

      Mono: Playback [on]

    Simple mixer control 'PGA',0

      Capabilities: cvolume cswitch

      Capture channels: Front Left - Front Right

      Limits: Capture 0 - 119

      Front Left: Capture 0 [0%] [0.00dB] [on]

      Front Right: Capture 119 [100%] [59.50dB] [on]  --------只有将PGAR设置很大的增益才能录制到声音,当我吧pga都设置为0时,录制的音频听不到声音

     

    我现在的出现的问题是

    1、蓝色线路输出到HPRCPM的音频听不清楚,输出的HPLCOM的音频很清楚。

    2、我从红色线路录制到的音频,效果很差

     

     

  • 从PGLR出去的音频声音很小噪声超级大

  • 昨天我休假了没有回复帖子,您的回复我稍后就看下

  • 好的,期待您的回复 

  • 1、蓝色线路输出到HPRCPM的音频听不清楚,输出的HPLCOM的音频很清楚。

    这两个通道对应的寄存器我看上述配置不一样,R37是0E:

    R38是10h:

    其他寄存器值都是默认值吗?两通道输出电路一样吗?

    2、我从红色线路录制到的音频,效果很差

    您前面描述说左通道录音效果可以,如下引用:

    1、

    红色和蓝色是我配置的两个输入,(a)当我录制蓝色音频的录音时,GPAL无增益设置(上面的寄存及配置也有显示),录制到的音频效果,通过黄色线路播放出来,效果很明显;

    您也可以对照左通道ADC 来配置右通道ADC。

    “效果很差” 具体什么意思?噪声很大吗?那就检查下左右ADC通道的信号源是不是一样的?

  • 从PGLR出去的音频声音很小噪声超级大

    这里具体是哪个路径,前面那不是说黑色路径效果很好吗?如下引用:

    但是我从很粗的黑色线路输入音频,经旁路输出到HPLCOM,声音效果很好。
  • 我就是参照左侧设置配置的右通道设置的,我播放相同的配置播放音频右声道输出的噪声很大几乎听不到音频。第一次我的疑问也已经罗列的alsa配置,不知是不是我哪里没有配置导致的吗?

  • 每个输出通道都有四个输入口(图中有框出),四个输出的任何一个,只要配置从DAC_R1输出出去的,都有很大的噪声。上面说的很粗的黑色线是因为通过pgar的旁路输出的,和我刚刚说的不是相同配置。我的问题是播放我的音频,经过DAC_R1输出噪声大,音频小。还有另外一个问题是蓝色线没有输出音频小

  • 我就是参照左侧设置配置的右通道设置的,我播放相同的配置播放音频右声道输出的噪声很大几乎听不到音频。第一次我的疑问也已经罗列的alsa配置,不知是不是我哪里没有配置导致的吗?

    如上所述,看下输入的信号源是否为有效信号源或者信号源本来噪声就很大

  • 我觉着咱们需要一个问题一个问题的去解决,好多个问题一起说,比较混乱。现在针对您下面问题:

    我的问题是播放我的音频,经过DAC_R1输出噪声大,音频小。

    也就说数字音频信号在其他设备上播放出来是好的(这里是排除信号源问题),并且通过 TLV320AIC3104 左通道(DAC_L)播放出来是好的,但是经过右通道(DAC_R)播放输出来就噪声大?如果是这样的话,那么您可以附上右通道播放的寄存器配置吗

  • 信号源输入噪声不大,因为我从右侧旁路输出,效果很好。

  • 您好,这是我播放音频时候的寄存器配置

         0  1  2  3  4  5  6  7  8  9  a  b  c  d  e  f    0123456789abcdef
    00: 00 00 00 10 04 00 00 0a 00 00 00 01 00 00 00 00    ...??..?...?....
    10: 00 0f f0 00 78 78 78 78 78 06 00 fe 00 00 fe 00    .??.xxxxx?.?..?.
    20: 00 00 00 00 88 e0 10 00 00 00 00 00 00 2f 00 80    ....???....../.?
    30: 00 80 00 0f 2f 00 80 00 00 00 0f 00 80 00 2f 00    .?.?/.?...?.?./.
    40: 00 0f 00 00 80 2f 00 00 0f 00 00 00 00 00 00 00    .?..?/..?.......
    50: 2f 00 80 00 80 00 0b 00 00 80 2f 00 00 0b de 0c    /.?.?.?..?/..???
    60: 00 00 00 00 00 01 a2 00 00 00 00 00 00 00 00 00    .....??.........
    70: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00    ................
    80: 00 00 00 10 04 00 00 0a 00 00 00 01 00 00 00 00    ...??..?...?....
    90: 00 0f f0 00 78 78 78 78 78 06 00 fe 00 00 fe 00    .??.xxxxx?.?..?.
    a0: 00 00 00 00 88 e0 10 00 00 00 00 00 00 2f 00 80    ....???....../.?
    b0: 00 80 00 0f 2f 00 80 00 00 00 0f 00 80 00 2f 00    .?.?/.?...?.?./.
    c0: 00 0f 00 00 80 2f 00 00 0f 00 00 00 00 00 00 00    .?..?/..?.......
    d0: 2f 00 80 00 80 00 0b 00 00 80 2f 00 00 0b de 0c    /.?.?.?..?/..???
    e0: 00 00 00 00 00 01 a2 00 00 00 00 00 00 00 00 00    .....??.........
    f0: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00    ................



  • 我稍后就看下您的寄存器配置

  • 我看您上面这个寄存器配置并没有从DAC_R出来的信号,反而从DAC_L1的信号出来的路径比较多。

  • 好的,那我再仔细检查一下我的配置

  • 好的,有疑问可回复说明