工具/软件:Linux
我在使用BCM2837和TLV320DAC3203时遇到问题,耳机没有任何音频输出。
TLV320DAC3203是无MCLK的从属模式,BCLK为1.536MHz,WCLK为48kHz。 BCLK是时钟源。
请向我们提供如何配置的示例代码。
此致,
Rentai Xing
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
我在使用BCM2837和TLV320DAC3203时遇到问题,耳机没有任何音频输出。
TLV320DAC3203是无MCLK的从属模式,BCLK为1.536MHz,WCLK为48kHz。 BCLK是时钟源。
请向我们提供如何配置的示例代码。
此致,
Rentai Xing
您好,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