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;
请帮我看看是哪出的问题?谢谢。
Links:
感谢您对TI产品的关注!为更加有效地解决您的问题,我们建议您将问题发布在E2E英文技术论坛上( https://e2e.ti.com/p/addpost ).将由资深的英文论坛工程师为您提供帮助。
TRANSLATE with x
English
Arabic
Hebrew
PolishBulgarian
Hindi
PortugueseCatalan
Hmong Daw
RomanianChinese Simplified
Hungarian
RussianChinese Traditional
Indonesian
SlovakCzech
Italian
SlovenianDanish
Japanese
SpanishDutch
Klingon
SwedishEnglish
Korean
ThaiEstonian
Latvian
TurkishFinnish
Lithuanian
UkrainianFrench
Malay
UrduGerman
Maltese
VietnameseGreek
Norwegian
WelshHaitian Creole
PersianTRANSLATE with
COPY THE URL BELOW
BackEMBED THE SNIPPET BELOW IN YOUR SITE
Enable collaborative features and customize widget: Bing Webmaster Portal
Back