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.

[参考译文] Linux/TLV320DAC3203:TLV320DAC3203无耳机输出

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

https://e2e.ti.com/support/audio-group/audio/f/audio-forum/593106/linux-tlv320dac3203-tlv320dac3203-no-headphone-output

部件号:TLV320DAC3203

工具/软件:Linux

我在使用BCM2837和TLV320DAC3203时遇到问题,耳机没有任何音频输出。

TLV320DAC3203是无MCLK的从属模式,BCLK为1.536MHz,WCLK为48kHz。 BCLK是时钟源。

请向我们提供如何配置的示例代码。

此致,

Rentai Xing

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

    我建议使用应用程序参考指南第4章或GUI中的配置。
    您当前的注册设置是什么?

    此致,
    Ivan Salazar
    音频应用工程师-低功率音频和执行器
  • 请注意,本文内容源自机器翻译,可能存在语法或其它翻译错误,仅供参考。如需获取准确内容,请参阅链接中的英语原文或自行翻译。

    您好,Ivan Š,

    我按此方式配置它:

    pi@raspberrypi:~$ i2cset -f -y 1 0x18 0
    pi@raspberrypi:~$ i2cset -f -y 1 0x18 1 1.
    pi@raspberrypi:~$ i2cset -f -y 1 0x18 0xb 0x81
    pi@raspberrypi:~$ i2cset -f -y 1 0x18 0xc 0x82
    pi@raspberrypi:~$ i2cset -f -y 1 0x18 0xd 0x0
    pi@raspberrypi:~$ i2cset -f -y 1 0x18 0xe 0x80
    pi@raspberrypi:~$ i2cset -f -y 1 0x18 0x1b 0x0
    pi@raspberrypi:~$ i2cset -f -y 1 0x18 0x3c 0x8
    pi@raspberrypi:~$ i2cset -f -y 1 0x18 0x4 0x7
    pi@raspberrypi:~$ i2cset -f -y 1 0x18 0x5 0x91
    pi@raspberrypi:~$ i2cset -f -y 1 0x18 0x6 0x8
    pi@raspberrypi:~$ i2cset -f -y 1 0x18 0 1.
    pi@raspberrypi:~$ i2cset -f -y 1 0x18 0x1 0x8
    pi@raspberrypi:~$ i2cset -f -y 1 0x18 0x2 0x0
    pi@raspberrypi:~$ i2cset -f -y 1 0x18 0x7B 0x1
    pi@raspberrypi:~$ i2cset -f -y 1 0x18 0xA 0x63
    pi@raspberrypi:~$ i2cset -f -y 1 0x18 0xc 0x8
    pi@raspberrypi:~$ i2cset -f -y 1 0x18 0xd 0x8
    pi@raspberrypi:~$ i2cset -f -y 1 0x18 0x3 0x0
    pi@raspberrypi:~$ i2cset -f -y 1 0x18 0x4 0x0
    pi@raspberrypi:~$ i2cset -f -y 1 0x18 0x10 0x0
    pi@raspberrypi:~$ i2cset -f -y 1 0x18 0x11 0x0
    pi@raspberrypi:~$ i2cset -f -y 1 0x18 0x14 0x29
    pi@raspberrypi:~$ i2cset -f -y 1 0x18 0x9 0x30
    pi@raspberrypi:~$ i2cset -f -y 1 0x18 0 (我确保寄存器63d,D(7:6)=“11”)
    pi@raspberrypi:~$ i2cset -f -y 1 0x18 0x3f 0xd6
    pi@raspberrypi:~$ i2cset -f -y 1 0x18 0x40 0x00

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

    很抱歉回复延迟,我认为我之前已经给您发送了回复。
    从您的设置中,我看到您没有为PLL D值,NDAC,MDAC和DOSR设置某些寄存器。
    您是否也验证了寄存器是否已正确写入? 设备地址是1.1万,在七位中,通过添加最后一位0,即0x30。 也许您的系统使用7位地址,将一位移到右侧,并在末尾添加读/写字节,只是为了确保正确。

    此致,
    Ivan Salazar
    音频应用工程师-低功率音频和执行器