TLV320AIC3101输出杂音的问题?
我在调试TLV320AIC3101时发现输出有杂音,我用示波器看发现是三角波.
我的TLV320AIC3101的配置是:
Write_1_Bit(1,0x80); //软件复位
Write_1_Bit(2,0x00);
Write_1_Bit(3,0x91); //PLL使能P配置
Write_1_Bit(4,0x20); //J配置
Write_1_Bit(5,0x1e); //配置D=1920
Write_1_Bit(6,0x00); //配置D
Write_1_Bit(7,0x0a); //fs=48khz,
Write_1_Bit(8,0xf0);
Write_1_Bit(9,0x00);
Write_1_Bit(11,0x01); //配置R
Write_1_Bit(15,0x00); //unmute left PGA set gain to 0 dB
Write_1_Bit(19,0x04); //配置MIC1LP/L_AD
Write_1_Bit(24,0x80);
Write_1_Bit(25,0x40);
Write_1_Bit(37,0xc0);
Write_1_Bit(43,0x00);
Write_1_Bit(47,0x80);
Write_1_Bit(51,0x09); //HPLOUT
Write_1_Bit(101, 0x00);
我是48KHZ/16BIT的采样,从MIC1LP/LINE1LP通道输入声音,再从HPLOUT输出.
我的DSP只是进行了数据的转换.
void I2S_AIC3101(void)
{
SPI2BUF=data;
while(SPI2STAT==0x849){}
SPI2STATCLR=0x40;
data=SPI2BUF;
}
是不是我配置的出错了啊?
输出的三角波杂音在6.8KHZ到17KHZ之间.这样的杂音是怎么出来的那?