TLV320AIC3101采样率设置无效
按datesheet里面给出的配置配置,主频12Mhz ,P=1 ,R=1,J=8,D=1920. DAC_fs=f_ref/3 .理论上 f_ref =48kHz , DAC_fs =16kHz。
我配置如下
/* page0 */
Tlv320Aic3101_Write(0,0x00);
/* pll enable p=1 */
Tlv320Aic3101_Write(3,0x81);
/* pll enable r=1 */
Tlv320Aic3101_Write(11,0x41);
/* j=8 */
Tlv320Aic3101_Write(4,0x20);
/* d=1920 0x780 */
Tlv320Aic3101_Write(5,0x80);
Tlv320Aic3101_Write(6,0x1c);
/* pll_clk enable */
Tlv320Aic3101_Write(101,0x00);
Tlv320Aic3101_Write(102,0xc0);
/* f_ref/3 */
Tlv320Aic3101_Write(2,0x44);
但结果现在采样率一直是48kHZ, register 2的配置完全无效,不知道哪里没有配置,或者未配置成功。
还请大神多多指点。。
Future read/write operations to addresses 1 to 127 now access registers in page 1. When page-0 registers must be accessed again, the user writes the 8-bit sequence 0x00 to register 0, the page control register, to change the active page back to page 0. After a recommended read of the page control register, all further read/write operations to addresses 1 to 127 access page-0 registers again.
这是手册上的一段话, 看看是不是跟这个要求有关?
TLV320AIC3101大量原装现货,可供样,可拆包,其它TI产品可咨询,联系Q2817821256, 18682112448