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:TI 音频编解码器的噪声问题

Guru**** 2544580 points
Other Parts Discussed in Thread: TLV320AIC3104

请注意,本文内容源自机器翻译,可能存在语法或其它翻译错误,仅供参考。如需获取准确内容,请参阅链接中的英语原文或自行翻译。

https://e2e.ti.com/support/audio-group/audio/f/audio-forum/1569316/tlv320aic3104-noise-issue-with-ti-audio-codec

器件型号:TLV320AIC3104


工具/软件:

您好、

我将 在定制设计中使用 TI 音频编解码器 (P/N–TLV320AIC3104)、并配备 ZU9EG MPSoC。 我正在通过 I²C I ² C 接口配置音频编解码器寄存器。

我可以启用输入和输出路径并从编解码器听到音频输出、但音频输出中会出现明显的噪声。 当我启用 ADC 和 DAC 路径时、编解码器环回本身会产生噪声。

我想知道我的寄存器配置是否会导致噪声问题。 我正在在内核级别配置以下寄存器:

使能输入路径:
i2cset -y -f 0 0x18 17 0x0
i2cset -y -f 0 0x18 0x0
i2cset -y -f 0 0x18 19 0x7c
i2cset -y -f 0 0x18 22 0x7c
i2cset -y -f 0 0x18 15 0x0 // PGA 左侧音量 ADC
i2cset -y -f 0 0x18 16 0x0 // PGA 右音量 ADC

启用输出路径:
i2cset -y -f 0 0x18 7 0xA
i2cset -y -f 0 0x18 37 0xc0
i2cset -y -f 0 0x18 43 0x0
i2cset -y -f 0 0x18 44 0x0
i2cset -y -f 0 0x18 82 0x80
i2cset -y -f 0 0x18 85 0x80
i2cset -y -f 0 0x18 81 0x80
i2cset -y -f 0 0x18 84 0x80
i2cset -y -f 0 0x18 89 0x80
i2cset -y -f 0 0x18 92 0x80
i2cset -y -f 0 0x18 88 0x80
i2cset -y -f 0 0x18 91 0x80
i2cset -y -f 0 0x18 86 0x09
i2cset -y -f 0 0x18 93 0x09

此寄存器配置是否有任何问题? 是否可以通过调整任何与滤波器相关的寄存器来降低噪声?

谢谢、
Pravin

  • 请注意,本文内容源自机器翻译,可能存在语法或其它翻译错误,仅供参考。如需获取准确内容,请参阅链接中的英语原文或自行翻译。

    您好、

    您能分享一下时钟配置吗? 您的 MCLK、BCLK 和 WCLK 是什么? 如果您也可以对数字或模拟信号进行示波器拍摄(这也很有帮助)、看看噪声是什么样的。 在浏览寄存器后、我注意到的主要是您将 L 和 R 输入路由到每个 L 和 R 输出、正如我在您的代码中所注释的:

    i2cset -y -f 0 0x18 17 0x0 #mic2l and mic2r connected to ladc pga, 0db
    i2cset -y -f 0 0x18 18 0x0 #mic2l and mic2r connected to radc pga, 0db
    i2cset -y -f 0 0x18 19 0x7c #line1l not connected to ladc pga, ladc powered up
    i2cset -y -f 0 0x18 22 0x7c #same for mic1rp/line1rp, radc powered up
    i2cset -y -f 0 0x18 15 0x0 // PGA volume left ADC
    i2cset -y -f 0 0x18 16 0x0 // PGA volume right ADC
    
    Enable output path:
    i2cset -y -f 0 0x18 7 0xa
    i2cset -y -f 0 0x18 37 0xc0 #l+r dac powered up
    i2cset -y -f 0 0x18 43 0x0 #ldac not muted
    i2cset -y -f 0 0x18 44 0x0 #rdac not muted
    i2cset -y -f 0 0x18 82 0x80 #dac_l1 routed to left_lop/m
    i2cset -y -f 0 0x18 85 0x80 #dac_r1 routed to left_lop/m
    i2cset -y -f 0 0x18 81 0x80 #pga_l routed to left_lop/m
    i2cset -y -f 0 0x18 84 0x80 #pga_r routed to left_lop/m
    i2cset -y -f 0 0x18 89 0x80 #dac_l1 routed to right_lop/m
    i2cset -y -f 0 0x18 92 0x80 #dac_r1 routed to right_lop/m
    i2cset -y -f 0 0x18 88 0x80 #pga_l routed to right_lop/m
    i2cset -y -f 0 0x18 91 0x80 #pga_r routed to right_lop/m
    i2cset -y -f 0 0x18 86 0x09 #left_lop/m not muted, fully powered up
    i2cset -y -f 0 0x18 93 0x09 #right_lop/m not muted, fully powered up

    此致、
    Mir