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.
工具与软件:
考虑以下初始化代码:
TLV320_Codec_WriteRegister(0x03, 0x10); //register 3 - Make sure PLL is disabled. TLV320_Codec_WriteRegister(0x07, 0x0C); //register 7 - 48kHZ, Left-DAC data path plays left-channel input data, right DAC plays left-channel data. TLV320_Codec_WriteRegister(0x0F, 0x28); //register 15 - Unmute left ADC PGA and set to 20dB. TLV320_Codec_WriteRegister(0x10, 0x80); //register 16 - Mute right ADC PGA TLV320_Codec_WriteRegister(0x13, 0x7C); //register 19 - Power up left ADC ONLY. do not connect LINE1L TLV320_Codec_WriteRegister(0x25, 0xE0); //register 37 - Power up left and right DAC. HPLCOM is single ended output. TLV320_Codec_WriteRegister(0x28, 0x80); //register 40 - Output common mode voltage = 1.65V TLV320_Codec_WriteRegister(0x2B, 0x00); //register 43 - Unmute left DAC channel, gain=0dB TLV320_Codec_WriteRegister(0x2C, 0x00); //register 44 - Unmute right DAC channel, gain=0dB TLV320_Codec_WriteRegister(0x65, 0x01); //register 101 - CODEC_CLKIN uses CLKDIV_OUT
然后、
TLV320_Codec_WriteRegister(0x39, 0x80); //register 57 - DAC_R1 to HPLCOM Volume Control @ 0dB TLV320_Codec_WriteRegister(0x3A, 0x09); //register 58 - HPLCOM output level control, powered up, unmuted, 0dB. TLV320_Codec_WriteRegister(0x2C, 0x80); //register 44 - Right DAC Volume Control - 0dB TLV320_Codec_WriteRegister(0x3D, 0x90); //register 61 - DAC_L1 to HPROUT Volume Control @ -5dB TLV320_Codec_WriteRegister(0x41, 0x1D); //register 65 - HPROUT Output, power up, not muted, high impedance on power-down.
在我看来、这似乎应该起作用。 尝试将 HPLCOM 连接到左侧 DAC 时没有问题。 我在 HPLCOM 上没有得到输出。
我的目标是在 HPLCOM 有一个固定的水平,在 HPROUT 有一个可变的水平。
我是让它做一些无法做的事情、或者我是否漏掉了某个地方的寄存器设置?
谢谢大家。
尊敬的 Mark:
您将寄存器44设置为0x80 = 1000 0000。 因此右侧的 DAC 通道将被静音
此致、
Jeff McPherson
啊…… 是的...我抓住这个昨晚,一件事导致了另一件事,我没有拿出 一个答复 。
但是,你看到我的错误..
太糟糕了,我们没有表情符号,因为当我看到它时,我就像..哦,你必须开玩笑我有鸡蛋在我的脸上与这一个。 :)
谢谢!