请教TLV320AIC3204的问题,我想使用该芯片作为bypass输出。IN1-L输出到HPL。但是输出并没有语音。请问是电源管理有问题吗?代码如下。
void main(void)
{
//reg 0//Select page0
iic_write(fd, 0x18,0,0,1);
//reg 1//software reset
iic_write(fd, 0x18,0x01,0x01,1);
//BCLK is CLODE_CLKIN
iic_write(fd, 0x18,0x04,0x01,1);
//Select Page 1
iic_write(fd, 0x18,0x00,0x01,1);
//reg 1
iic_write(fd, 0x18,0x01,0x08,1);
//reg 2 //Enable Master Analog Power Control
iic_write(fd, 0x18,0x02,0x01,1);//01
iic_write(fd, 0x18,0x14,0x25,1);
//reg 10
//#COMMON MODE CONTROL REGISTER Output of HP is powered by LDOIN
iic_write(fd, 0x18,0x0a,0x03,1);
//reg 12 Route left DAC to HPL(P)
iic_write(fd, 0x18,0x0c,0x04,1);
//reg 16 //Set the HPL gain to 29dB
iic_write(fd, 0x18,0x10,0x1d,1);//1d 29dB
//reg 9 power up HPL drivers
iic_write(fd, 0x18,0x09,0x20,1);//0x30
}