line in hpout 输出正常 i2s 采集不输出 寄存器配置如下 {1, 0x80},
{102, 0x02}, //c2
{3, 0x81},
{4, 0x20},
{5, 0x0},
{6, 0x0},
{7, 0x8a},
{8, 0x34},
{9, 0x37},
//{10, 0x01}, //offect
{11, 0x01},
{12, 0xff}, // dac 0xf0
{15, 0x00}, //00
{16, 0x00}, //00
//in2lr
{17, 0x0f}, //IN2l enable
{18, 0xf0}, //IN2r LINE2 enable
//in1lrlm
//{19, 0x04}, //7c // 4//LINE1L disable
//{21, 0x80},
//{22, 0x04}, //7c // 4//LINE1R disable
//{24, 0x80},
{19, 0x04}, //MIC1LP/LINE1LP配置为单端模式 1:左ADC通道上电
{21, 0x78},
{22, 0x04}, //0:MIC1RP/LINE1RP配置为单端模式. 1:右ADC通道上电.
{23, 0x78},
{24, 0x78},
{25, 0x40}, //00 micbias=2v 00
{26, 0x00}, //00 adc 00ff Left AGC is enabled
//{27, 0x00}, //fe adc off
{28, 0x00}, //00
{29, 0x00}, //00 adc off
//{30, 0x00}, //fe
{31, 0x00}, //00
{32, 0x00},
{33, 0x00},
//micbias
//{25, 0x40}, //00 micbias=2v 00
//agc未使能 26-36
//dac
{37, 0xc0},
{38, 0x06},
{40, 0xc0},
//{41, 0x01},
{41, 0x00}, //inl 2 adc1l , inr 2 adc1r, left adc volume and rigth adc volume have independent controle
//dac path
{42, 0xa8},
{43, 0x00},
{44, 0x00},
{46, 0x80}, //00 //PGA_L to HPLOUT
{47, 0x80}, //80 //hplout
{51, 0x0d}, //0d
{53, 0x80},//PGA_L to HPLCOM
{54, 0x80}, //hplcom
{58, 0x0d},
{56, 0x80}, //PGA_R to HPLCOM Volume Control Register
{57, 0x80}, //DAC_R1 to HPLCOM Volume Control Register
{60, 0x80}, //PGA_L to HPROUT Volume Control Register
{61, 0x80}, //DAC_L1 to HPROUT Volume Control Register
{63, 0x80}, //00
{64, 0x80}, //80 //hprout
{65, 0x0d},
{67, 0x80}, //PGA_L 到HPRCOM
{68, 0x80},// :DAC_L1 到HPRCOM {70, 0x80}, //hprcom
{71, 0x80}, //hprcom
{72, 0x0d},
{81, 0x80},
{86, 0x09}, //0b
user5228532:
mclk12.288bclk 44.1 khz wclk 2.82 mhz
Mickey Zhang:
回复 user5228532:
您的问题是什么?我们有linux驱动例程,您可以参考下:www.ti.com/…/tlv320aic3xsw-linux
user5228532:
回复 Mickey Zhang:
我用的 aic3104 的芯片 设置为从模式i2s 引脚时钟和数据都有了 但是从HPROUT 听不到声音
IN2L 接入的音频可以听得到
user5228532:
回复 user5228532:
你给我发的文档我看了 这样配置寄存器对于我的设备不通用的我的设备aic3104 晶振是12.88mhz 的
user5228532:
回复 Mickey Zhang:
你发的这个文档 不适用于我的设备寄存器配置
我的晶振 是12.88MHz
user6125999:
回复 user5228532:
我这也是这样的现象,MIC2单端输入有数据到DSP,mic1单端输入却没有数据。你们这个是什么问题。已经解决了吗?