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.

[参考译文] TAS2505:时钟输出的适当寄存器设置是什么?

Guru**** 2347070 points
Other Parts Discussed in Thread: TAS2505
请注意,本文内容源自机器翻译,可能存在语法或其它翻译错误,仅供参考。如需获取准确内容,请参阅链接中的英语原文或自行翻译。

https://e2e.ti.com/support/audio-group/audio/f/audio-forum/606167/tas2505-what-s-the-appropriate-register-setting-for-clock-output

部件号:TAS2505

您好,

我正在尝试基于512kHz的BCLK (分辨率:16位)获得16kHz FS时钟。 使用下面的寄存器设置,我无法获得任何输出,您能否建议所需的相应寄存器?

请参阅“TAS2505 Application Reference Guide_slau472.pdf”:

4.0 Tm7示例寄存器设置,通过DAC和耳机/扬声器播放数字数据

产出

 

// TAS2505,2017.6 的新设置.................19

void CodecInit(无符号char ucInputLine,无符号char ucOutputLine)

 

   /*      初始化       */

   CodecReset();

 

   /*      数字配置

    *                     -> PLL_CLK =(PLL_CLKIN x R x J.D)/P

    *                                    -> codec_CLKIN = PLL_CLK

    *                                                   -> dac_fs = codec_clk_in /(NDAC.MDAC.DOSR)

    *                                                   -> ADC_FS = CODCOD_CLK_IN/(NADC.mAdc.AOSR)

    *      选项:

    *                     -> 84.672MHz =(3.528MHz x 1 x 24.0)/1 -->对于FS = 44.1kHz

    *                     -> 92.160MHz =(3.840MHz x 1 x 24.0)/1 -->对于FS = 48kHz

    *                                                   -> 44.1kHz = 84.672MHz /(3.5。128)

    *                                                   -> 48kHz = 92.160MHz /(3.5。128)

    *      注意事项:

    *                     -> MDAC * xOSR >= ResourceClass * 32

    *                                     - 5 * 128 (640)>= 8 * 32 (256)

    *                      -> 2.8MHz < xOSR x ADC_FS < 6.758MHz

    *                                     - 128 * 4.41万 = 5.644MHz

    *                                     - 128 * 4.8万 = 6.144MHz

    *                      -> xOSR必须是8的倍数(48kHz高性能)

    *                                     -> xOSR = 64,用于低功耗模式

    *                                     -> xOSR = 128,用于高性能模式

    */

   

    CodecPageSelect (1);

     CodecRegWrite (0x02,0x00);

     

    CodecPageSelect(0);

     CodecRegWrite (0x04,0x47);

     CodecRegWrite (0x05,0x91);

     

      CodecRegWrite (0x06,0x18);

     CodecRegWrite (0x06,0x04);

     

      CodecRegWrite (0x07,0x00);

     CodecRegWrite (0x08,0x00);

     

      BTPS_DELAY (20);

     

      CodecRegWrite (0x0B,0x83);

       //CodecRegWrite (0x0B,0x84);

     

      CodecRegWrite (0x0C,0x85);

       //CodecRegWrite (0x0C,0x82);

     

      CodecRegWrite (0x0D,0x00);

     CodecRegWrite (0x0E,0x80);

     

      CodecRegWrite (0x1B,0xC0);

     CodecRegWrite (0x1C,0x00);

     CodecRegWrite (0x3C,0x02);

   

    CodecPageSelect (1);

     CodecRegWrite (0x01,0x10);

     CodecRegWrite (0x0A,0x00);

     

      CodecRegWrite (0x0C,0x00);

        //CodecRegWrite (0x0C,0x04);

     

      CodecRegWrite (0x16,0x00);

     CodecRegWrite (0x18,0x00);

     

      CodecRegWrite (0x09,0x00);

         //CodecRegWrite (0x09,0x20);

     

      CodecRegWrite (0x10,0x40);

         //CodecRegWrite (0x10,0x00);

     

      CodecRegWrite (0x2E,0x00);

     CodecRegWrite (0x30,0x10);

     CodecRegWrite (0x2D,0x02);

   

   CodecPageSelect(0);

     CodecRegWrite (0x3F,0x90);

     CodecRegWrite (0x41,0x00);

     CodecRegWrite (0x40,0x04);  

}

谢谢!

Christina

  • 请注意,本文内容源自机器翻译,可能存在语法或其它翻译错误,仅供参考。如需获取准确内容,请参阅链接中的英语原文或自行翻译。
    您好,Christina:

    我已经查看了您的注册设置,发现了以下内容:
    您正在设置P=1,R=1,J=4,D=0,NDAC=3, MDAC=5和DOSR=128。 使用BCLK=512kHz作为PLL的输入时,FS =[512*10^3*(1*PLC)/1)/[3*5*128]=1.066kHz 4.0 ,这不是好的。
    我建议设置以下值:P=1,R=1,J=4,D=0,NDAC=1, MDAC=1和DOSR=128,以便获得FS =[512*10^3*(1*DOSR)/1]/[1*1*128]=16kHz 4.0

    此外,我注意到您正在设置LJF,DAC数据仅从左信道中选取。 您的源系统是否根据此设置工作?

    此致,
    Ivan Salazar
    音频应用工程师-低功率音频和执行器
  • 请注意,本文内容源自机器翻译,可能存在语法或其它翻译错误,仅供参考。如需获取准确内容,请参阅链接中的英语原文或自行翻译。

    您好Ivan:

    我们不能使用PLL,只能使用NDAC=MDAC=1,DOSR=32吗?

    我们参考下面的MSPAudsink项目设计

    www.ti.com/.../bt-mspaudsink-rd

     

    谢谢!

    Christina

     

  • 请注意,本文内容源自机器翻译,可能存在语法或其它翻译错误,仅供参考。如需获取准确内容,请参阅链接中的英语原文或自行翻译。
    Christina,

    建议使用DOSR =64或128,但建议的设置(DOSR =32)也应起作用。
    您可以尝试此操作并评估设备操作。

    此致,
    Ivan Salazar
    音频应用工程师-低功率音频和执行器