This thread has been locked.

If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.

TLV320AIC芯片音频采集的配置问题

Other Parts Discussed in Thread: TLV320AIC32, TLV320AIC31

我想用TLV320AIC32芯片采集声音信号实现MP3编码,采样率为44.1khz,主模式从模式都可以,LINE_IN和MIC录音分别怎么配置?芯片的DATASHEET已经看过了,但是采集不到声音信号,DIN一直为高电平。请问实现声音的采集应该怎么配置芯片?还有那三个时钟(BCLK,LRCK,MCLK)应该怎么设置?

以下是我的芯片配置:(配置芯片的时序是没问题的)

always @ (count2)

begin

case (count2)

 //Line-in

 4'b0000: a = 16'h1e00;

 4'b0001: a = 16'h0117;

 4'b0010: a = 16'h0217;

 4'b0011: a = 16'h05ff;

 4'b0100: a = 16'h07ff;

 4'b0101: a = 16'h0812;  

 4'b0110: a = 16'h0a05;

 4'b0111: a = 16'h0c02;

 4'b1000: a = 16'h0e52;

 4'b1001: a = 16'h1020;

 4'b1010: a = 16'h1201;

 default: a = 16'h1e00;

endcase

end

//MIC

 4'b0000: a = 16'h1e00;

 4'b0001: a = 16'h0117;

 4'b0010: a = 16'h0217;

 4'b0011: a = 16'h05ff;

 4'b0100: a = 16'h07ff;

 4'b0101: a = 16'h0814;

 4'b0110: a = 16'h0a05;

 4'b0111: a = 16'h0c01;

 4'b1000: a = 16'h0e52;

 4'b1001: a = 16'h1020;

 4'b1010: a = 16'h1201;

 default: a = 16'h1e00;

我的邮箱是wangxing-1100@163.com,谢谢。