由于中秋节假期,帖子审批以及工程师回复将会有所延迟,敬请谅解。

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.

用EVM跑程序无声输出

Other Parts Discussed in Thread: TLV320AIC3254

利用EVM板外接主控芯片,IIC通讯正常,读写都OK。希望IIS音频输入和AUX音频输入,有声音输出。执行以下程序没声音输出。

IIC_Write(0x00, 0x00);//Page 0
IIC_Write(0x01, 0x01);//S/W Reset to initialize all registers
IIC_Write(0x12, 0x81);//Power up NADC divider with value 1
IIC_Write(0x13, 0x84);//Power up MADC divider with value 4
IIC_Write(0x14, 0x40);//Program OSR for ADC to 64
IIC_Write(0x3d, 0x07);//Select ADC PRB_R7

IIC_Write(0x00, 0x01);//Page 1
IIC_Write(0x01, 0x08);//Disable Internal Crude AVdd in presence of external AVdd supply or before powering up internal AVdd LDO
IIC_Write(0x02, 0x00);//Enable Master Analog Power Control
IIC_Write(0x0a, 0x40);//Set the input common mode to 0.75V
IIC_Write(0x3d, 0xff);//Select ADC PTM_R1
IIC_Write(0x47, 0x32);//Set MicPGA startup delay to 3.1ms
IIC_Write(0x7b, 0x01);//Set the REF charging time to 40ms
//IIC_Write(0x34, 0x80);//Route IN1L to LEFT_P with 20K input impedance
IIC_Write(0x34, 0x20);//Route IN2L to LEFT_P with 20K input impedance
IIC_Write(0x36, 0x80);//Route Common Mode to LEFT_M with impedance of 20K
//IIC_Write(0x37, 0x80);//Route IN1R to RIGHT_P with input impedance of 20K
IIC_Write(0x37, 0x20);//Route IN2R to RIGHT_P with input impedance of 20K
IIC_Write(0x39, 0x80);//Route Common Mode to RIGHT_M with impedance of 20K
IIC_Write(0x3b, 0x0c);//
IIC_Write(0x3c, 0x0c);//

IIC_Write(0x00, 0x00);//Page 0
IIC_Write(0x51, 0xc0);//Power up Left and Right ADC Channels
IIC_Write(0x52, 0x00);//Unmute Left and Right ADC Digital Volume Control.

这是pdf内看到的参考代码