附件是我的原理图 我有如下问题:
mic1l/line1接的是从PC电脑输出的音频信号,left_lop,right_lop接着 音响的左右声道。
我想从PGA_L/R直接输出到音响(left_lop,right_lop),但是音响 没有输出,我寄存器是这样设置的:
I2CWriteByte( T3101_ADDRESS, 0, 0 ); // Page select register -> Page 0
I2CWriteByte( T3101_ADDRESS,1, 0x80 ); // Reset AIC3101
t3101_i2c_writebyte( 14, 0x40 );
t3101_i2c_writebyte( 15, 0 );
t3101_i2c_writebyte( 16, 0 );
t3101_i2c_writebyte( 19, 0x00 ); // 19 LINE1L to Left ADC
t3101_i2c_writebyte( 22, 0x00 ); // 22 LINE1R to Right ADC
t3101_i2c_writebyte( 37, 0xe0 );
t3101_i2c_writebyte( 81, 0x80 );
t3101_i2c_writebyte( 86, 0x08 );
t3101_i2c_writebyte( 91, 0x80 );
t3101_i2c_writebyte( 93, 0x08 );
t3101_i2c_writebyte( 94, 0x00);
我寄存读写函数没问题,能不能帮我看下? 是原理图不对,还是寄存器设置不对?非常谢谢
另外我直接把line1/mic1直接接到left_lop是正常的 音响是有声音的 我这样设置:
I2CWriteByte( T3101_ADDRESS, 0, 0 ); // Page select register -> Page 0
I2CWriteByte( T3101_ADDRESS,1, 0x80 ); // Reset AIC3101
t3101_i2c_writebyte(108, 0x11);