微波EDA网,见证研发工程师的成长!
首页 > 研发问答 > 硬件电路设计 > TI模拟硬件电路设计 > TLV320AIC3101的配置问题.

TLV320AIC3101的配置问题.

时间:10-02 整理:3721RD 点击:

我要配置TLV320AIC3101为48KHZ/16BIT

但是我实际测量的WCLK就有51.96KHZ为什么啊?

Write_1_Bit(1,0x80);         //软件复位

  Write_1_Bit(3,0x91);         //PLL使能Q,Q,J配置

  Write_1_Bit(4,0x20);         //J配置

  Write_1_Bit(5,0x80);         //配置D

  Write_1_Bit(6,0x1c);         //配置D

  Write_1_Bit(7,0x00);         //fs=48khz,

  Write_1_Bit(8,0xf0);  

  Write_1_Bit(9,0x00);

  Write_1_Bit(11,0x01);       //配置R

  Write_1_Bit(19,0x80);       //配置MIC1LP/L_AD

  Write_1_Bit(24,0x80);       //配置MIC1LP/R_AD

  Write_1_Bit(25,0x40);       //MICBIAS电压设置

  Write_1_Bit(51,0x08);       //HPLOUT

  Write_1_Bit(65,0x08);       //HPROUT

请问你的MCLK 频率是多少

我的MCLK是12MHZ

Write_1_Bit(1,0x80);         //软件复位

  Write_1_Bit(3,0x91);         //PLL使能Q,Q,J配置

  Write_1_Bit(4,0x20);         //J配置

  Write_1_Bit(5,0x1E);         //配置D

  Write_1_Bit(6,0x00);         //配置D

  Write_1_Bit(7,0x00);         //fs=48khz,

  Write_1_Bit(8,0xf0);  

  Write_1_Bit(9,0x00);

  Write_1_Bit(11,0x01);       //配置R

  Write_1_Bit(19,0x80);       //配置MIC1LP/L_AD

  Write_1_Bit(24,0x80);       //配置MIC1LP/R_AD

  Write_1_Bit(25,0x40);       //MICBIAS电压设置

  Write_1_Bit(51,0x08);       //HPLOUT

  Write_1_Bit(65,0x08);       //HPROUT

Write_1_Bit(101, 0x00); Set Codec_CLK Source to PLLdiv_OUT

谢谢您  我现在的WCLK是48.25KHZ应该是符合要求的吧?

正确,稍微的不准是因为你的MCLK有偏移。

Copyright © 2017-2020 微波EDA网 版权所有

网站地图

Top