3101 LINE_LP和LINE_RP输入。I2S没信号
尊敬的TI工程师:
我3101的设置参数在下面,作为分机,外部提供2M的BCLK和32K的WCLK,设置了PLL
用模拟I2C设置的参数,设置完再读取时,MICBIAS寄存器为0X06,设置的是0x00,而且电路中MICBIAS悬空的,应该没影响
用示波器看DOUT没有波形,麻烦看下哪里设置的不对吗,附件里有电路,PLL
Write_Chip(id,0x30,0x00,0x00);//选择page0
Write_Chip(id,0x30,0x01,0x80);//I2C reset
Write_Chip(id,0x30,0x65,0x00);//CLOCK_div 默认PLL
Write_Chip(id,0x30,0x66,0xA0);//PLL_IN 选BCLK 2MHz
Write_Chip(id,0x30,0x07,0x00);//FS(ref)48K
Write_Chip(id,0x30,0x02,0x11);//codec采样率32K = FS/1.5
//48K = 2M*(7*7.0273)/2048
Write_Chip(id,0x30,0x03,0x81);//PLL开 P = 1
Write_Chip(id,0x30,0x04,0x1C);//J = 7
Write_Chip(id,0x30,0x0B,0x07);//R = 7
Write_Chip(id,0x30,0x05,0x03);//D = 03 实际为0.0273
Write_Chip(id,0x30,0x06,0x64);//D = 64
Write_Chip(id,0x30,0x08,0x00);//I2S从模式
Write_Chip(id,0x30,0x09,0x30);//32位
//模拟-->IIS
Write_Chip(id,0x30,0x13,0x04);//MIC1LP到L-PGA
Write_Chip(id,0x30,0x16,0x04);//MIC1RP到R-PGA
Write_Chip(id,0x30,0x19,0x00);//偏置电压0V
Write_Chip(id,0x30,0x0F,0x00);//0dB
Write_Chip(id,0x30,0x10,0x00);//0dB
我怀疑没有得到正确设置, 如果时序是正常的, 可能各配置指令间还需要一定的延迟时间
但是我读出来寄存器的值都是设置值的话应该已经设置成功了吧