TI中文支持网
TI专业的中文技术问题咨询交流网站

用EVM跑程序无声输出

利用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内看到的参考代码

Shine:

请问您用的是哪款DSP芯片?

user6528737:

回复 Shine:

我用的是TLV320AIC3254

Shine:

回复 user6528737:

TLV320AIC3254的问题请到下面的音频论坛咨询,谢谢!
e2echina.ti.com/…/

赞(0)
未经允许不得转载:TI中文支持网 » 用EVM跑程序无声输出
分享到: 更多 (0)