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.

TLV320AIC3254无法录音

Other Parts Discussed in Thread: TLV320AIC3254, TLV320AIC3254EVM-K

我遇到使用TLV320AIC3254       purepath studio无法录音,不知道什么原因。还请各位帮忙解答。谢谢

  • 你好:

          请到以下网站下载CS软件,里面有录音的配置,可以参考下。http://www.ti.com/tool/tlv320aic3254evm-k

  • CS软件我们早就在用,可以录音的。

    我们是问如何使用purepath studio录音。

     并且现在我们CS+purepath studio可以播放。

    附件是Tmp.zip:purepath studio工程

    Tmp.zip
  • 您好:

    请试一下附件里的PPS文件。

  • Flora,

    我们先用CS设置好了录音与播放均可以,然后用GDE下载你提供的PPS文件,都不能录音。不知道我们是不是步骤上有问题?

    这个项目很急,还请TI 帮忙,谢谢。

  • 你好:

     你顺序错了,先下载GDE,然后再配置CS。因为 GDE中有一些默认配置会刷掉你的CS配置。

  • 您好:

    附件的工程是之前做的,但是应该可以录音。我这边帮在帮你试一下,顺便记录一下操作步骤,稍后晚点update给你。

    谢谢。

  • 你好,

    附件里的A_D  PPS是可以录音的。

    步骤是:

    1.打开文件,菜单Build - Dolwand and connect

    2.再打开CS软件,这个时候你会发现CS里的CLK,ADC power up等配置都做好了,因为你download了进去了PPS文件。

    3.如果你用的是AIC3254EVM-K,它的MIC是接在IN3的,但是我们这个程序默认的是IN1,所以还需要修改成IN3。

    4.这样就可以录音了:

    我觉得你应该是MIC输入的路径有问题,检查一下你的板子上MIC是IN1,还是IN2,IN3接的MIC。还有注意power up MIC bias.

     

  • Hi Flora,

    感谢啊,果然好用,厉害。

    问下,你是否有带AEC功能的GDE工程?能否发给我?

  • Dear Flora Wang :

    我用PPS生成的代码写入AIC3254只听到杂音,没有声音输入,请您帮我看看哪里出了问题。

    下面的配置写入预置模式就有声音输入输出,写入PPS生成的minDsp代码就只能听到一点杂音。

    reg_value REG_Section_program[] = {
    { 0,0x00},
    // # reg[ 0][ 1] = 0x01 ; Initialize the device through software reset
    { 1,0x01},

    { 0,0x00},
    // 0x00 16bit, I2S, BCLK is input to the device
    { 27,0x00},


    { 0,0x01},
    // # reg[ 1][ 2] = 0xa9 ; Power up AVDD LDO
    { 2,0x01},
    // # reg[ 1][ 1] = 0x08 ; Disable weak AVDD to DVDD connection
    { 1,0x08},
    // # reg[ 1][ 2] = 0xa1 ; Enable Master Analog Power Control, AVDD LDO Powered
    { 2,0x01},
    // # reg[ 1][ 71] = 0x32 ; Set the input power-up time to 3.1ms
    { 71,0x32},
    // # reg[ 1][123] = 0x05 ; Force REF charging time to 40ms
    {123,0x01},


    // miniDSP_D programming mode
    {255,0x00},
    {255,0x01},


    { 0,0x00},
    // # reg[ 0][ 60] = 0x00 ; Use miniDSP_D for signal processing
    { 60,0x00},
    // # reg[ 0][ 61] = 0x00 ; Use miniDSP_A for signal processing
    { 61,0x00},
    // # reg[ 0][ 17] = 0x08 ; 8x Interpolation
    { 17,0x08},
    // # reg[ 0][ 23] = 0x04 ; 4x Decimation
    { 23,0x04},
    //
    { 15,0x18},
    //
    { 16,0x00},
    //
    { 21,0x03},
    //
    { 22,0x88},

    /*
    //miniDSP 预置模式
    { 0,0x00},
    { 60,0x02},

    { 0,0x2c},
    { 1,0x04},
    */

    { 0,0x08},
    // # reg[ 8][ 1] = 0x04 ; adaptive mode for ADC
    { 1,0x04},


    { 0,0x00},
    // # reg[ 0][ 5] = 0x94 ; // PLL is powered up, P=1, R=4
    { 5,0x94},
    // # reg[ 0][ 6] = 0x2A ;J=42
    { 6,0x2A},
    // # reg[ 0][ 7] = 0x00 ; D=0000 (MSB)
    { 7,0x00},
    // # reg[ 0][ 8] = 0x00 ; D=0000 (LSB)
    { 8,0x00},
    // # reg[ 0][ 4] = 0x03 ; PLL Clock is CODEC_CLKIN
    { 4,0x03},
    // # reg[ 0][254] = 0x0a ; Delay 10ms for PLL to lock
    {254,0x0A},
    // # reg[ 0][ 12] = 0x82 ; MDAC = 14, divider powered on
    { 12,0x8E},
    // # reg[ 0][ 13] = 0x01 ; DOSR = 384(MSB)
    { 13,0x01},
    // # reg[ 0][ 14] = 0x80 ; DOSR = 384(LSB)
    { 14,0x80},
    // # reg[ 0][ 18] = 0x82 ; // NADC divider powered up, NADC = 2
    { 18,0x82},
    // # reg[ 0][ 19] = 0x95 ; MADC = 21, divider powered on
    { 19,0x95},
    // # reg[ 0][ 20] = 0x00 ; AOSR = 256
    { 20,0x00},
    // # reg[ 0][ 11] = 0x8E ; NDAC = 2, divider powered on
    { 11,0x82},

    //clk output set
    { 25,0x04}, // DAC_CLK
    { 26,0x81},
    { 55,0x06}, // MOSI OUTPUT CLK

    { 0,0x01},
    // # reg[ 1][ 51] = 0x40 ; // MICBIAS powered up ON Board Mic
    { 51,0x40},
    // # reg[ 1][ 52] = 0x00 ; not routed to Left MICPGA
    { 52,0x00},
    // # reg[ 1][ 54] = 0x04 ; IN3R is routed to Left MICPGA with 10k resistance
    { 54,0x04},
    // # reg[ 1][ 55] = 0x04 ; IN3R is routed to Right MICPGA with 10k resistance
    { 55,0x54},
    // # reg[ 1][ 57] = 0x40 ; CM is routed to Right MICPGA via CM1R with 10k resistance
    { 57,0x40},
    // IN3R input is weakly driven to common mode.
    { 58,0x04},
    // # reg[ 1][ 59] = 0x5E ; //make channel gain 0dB, since 20K input //impedance is used single ended
    { 59,0x00},
    // # reg[ 1][ 60] = 0x00 ; Enable MicPGA_R Gain Control, 0dB
    { 60,0x00},
    { 83,0x68},
    { 84,0x68},

    { 0,0x00},
    // # reg[ 0][ 81] = 0xc0 ; Power up LADC/RADC
    { 81,0xC0},
    // # reg[ 0][ 82] = 0x00 ; Unmute LADC/RADC
    { 82,0x00},



    { 0,0x01},
    // # reg[ 1][ 20] = 0x25 ; De-pop: 5 time constants, 6k resistance
    { 20,0x25},
    // # reg[ 1][ 12] = 0x08 ; Route LDAC to HPL
    { 12,0x08},
    // # reg[ 1][ 13] = 0x08 ; Route RDAC to HPR
    { 13,0x08},
    // # reg[ 1][ 14] = 0x08 ; Route LDAC to LOL
    { 14,0x08},
    // # reg[ 1][ 15] = 0x08 ; Route LDAC to LOR
    { 15,0x08},
    { 9,0x3C},

    { 0,0x01},
    // # reg[ 1][ 16] = 0x00 ; Unmute HPL driver, 27dB Gain
    { 16,0x1B},
    // # reg[ 1][ 17] = 0x00 ; Unmute HPR driver, 27dB Gain
    { 17,0x1B},
    // # reg[ 1][ 18] = 0x00 ; Unmute LOL driver, 28dB Gain
    { 18,0x1c},
    // # reg[ 1][ 19] = 0x00 ; Unmute LOR driver, 28dB Gain
    { 19,0x1c},
    // # reg[ 1][ 20] = 0x25 ; // Headphone ramps power up time is determined with 6k resistance,


    { 0,0x00},
    { 61,0x02},


    { 0,0x00},
    // # Digital Volume Control = 64.0dB
    { 65,0x93},
    // # Digital Volume Control = 64.0dB
    { 66,0x93},

    { 0,0x00},
    // # reg[ 0][ 63] = 0xd4 ; Power up LDAC/RDAC w/ soft stepping
    { 63,0xD6},
    { 64,0x00},



    { 0,0x00},

    { 86,0x20},
    // # reg[0][87] = 254
    { 87,0xFE},
    // # reg[0][88] = 0
    { 88,0x00},
    // # reg[0][89] = 104
    { 89,0x68},
    // # reg[0][90] = 168
    { 90,0xA8},
    // # reg[0][91] = 6
    { 91,0x06},
    // # reg[0][92] = 0
    { 92,0x00},


    };

  • 我在使用CS的时候,在playback模式,只有bypass的功能是才可以从line out何headphone输出端听到声音,其余两种情况听不到声音,请问各位秀才,进士,状元、1:在playback模式,bypass时,音频流是从iint1端口输入的,在high performancem选项的时候,它的音频流是从电脑输入还是从int1输入,我是从电脑输入,测试了I2S的信号是正常的