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.

TLV320AIC3204: DAC使用I2S音频数据输入,LOL和LOR一直输出0.9v。

Part Number: TLV320AIC3204

MCLK:12.5M,BCLK:3.13M,FS:48K.

使用I2S音频数据作为DAC输入,LOL和LOR一直输出0.9v。配置如下:

void AIC320_init(void)

{

AIC320_Write_Byte(0x00,0x00);//Initialize to Page 0

AIC320_Write_Byte(0x01,0x01);//S/W Reset to initialize all registers

HAL_Delay(10);

// CLOCK SETTINGS

AIC320_Write_Byte(0x00,0x00);//Initialize to Page 0

AIC320_Write_Byte(0x0b,0x81);// Power up the NDAC divider with value 1

AIC320_Write_Byte(0x0c,0x82);// Power up the MDAC divider with value 2

//AIC320_Write_Byte(0x0d,0x00);// Program the OSR of DAC to 128

//AIC320_Write_Byte(0x0e,0x80);// Program OSR for DAC to 128 (LSB)

AIC320_Write_Byte(0x3c,0x08);// Set the DAC Mode to PRB_P8

//;# ANALOG POWWER SUPPLY

AIC320_Write_Byte(0x00,0x01);// Select Page 1

AIC320_Write_Byte(0x01,0x08);// powering up internal AVdd LDO

AIC320_Write_Byte(0x02,0x01);// Enable Master Analog Power Control

AIC320_Write_Byte(0x7b,0x01);//Set the REF charging time to 40ms

AIC320_Write_Byte(0x00,0x01);// Select Page 1

AIC320_Write_Byte(0x14,0x25);//

AIC320_Write_Byte(0x0a,0x00);//Input Common mode set to 0.9V

//;# AUDIO ROUTING

AIC320_Write_Byte(0x0c,0x08);

AIC320_Write_Byte(0x0d,0x08);

AIC320_Write_Byte(0x0e,0x08);// Route Left DAC to LOL

AIC320_Write_Byte(0x0f,0x08);// Route Right DAC to LOR

AIC320_Write_Byte(0x03,0x00);//Set the DAC PTM mode to PTM_P3/4

AIC320_Write_Byte(0x04,0x00);

AIC320_Write_Byte(0x10,0x00);

AIC320_Write_Byte(0x11,0x00);

AIC320_Write_Byte(0x12,0x00);//LOL driver is not muted

AIC320_Write_Byte(0x13,0x00);//LOR driver is not muted

AIC320_Write_Byte(0x09,0x3C);//Power up LOL and LOR drivers//0C

HAL_Delay(10);

AIC320_Write_Byte(0x00,0x00);//Initialize to Page 0

AIC320_Write_Byte(0x3f,0xd6);//d6//da

AIC320_Write_Byte(0x40,0x00);

HAL_Delay(10);

}

电路图链接:pan.baidu.com/.../11SGUpq7kVC6TzGm5OOu6_Q

LDOIN:3.3v,IOVDD:3.3v;


请帮我看看是哪出的问题?谢谢。