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.

TMS320F28379D: PLLSYSCLK, SCI baud register calculations

Part Number: TMS320F28379D
Other Parts Discussed in Thread: LAUNCHXL-F28379D, C2000WARE

What is the value of PLLSYSCLL if _LAUNCHXL_F28379D is not used in the predefined symbol? I have only CPU1 in my predefined symbol. Also, what should my SCIHBAUD and SCILBAUD be for a baud rate of 9600?

  • Hi,

    For baud rate calculation, please see the SCI chapter of the device Technical Reference Manual (linked here).

    I will connect you with a PLL expert for your question on PLLSYSCLL.

    Regards,

    Vince

  • Thanks Vince. To be more specific I have doubt regarding this instruction : 
    #ifdef _LAUNCHXL_F28379D
    InitSysPll(XTAL_OSC,IMULT_40,FMULT_0,PLLCLK_BY_2);
    #else
    InitSysPll(XTAL_OSC, IMULT_20, FMULT_0, PLLCLK_BY_2);
    #endif // _LAUNCHXL_F28379D

    If I double click on XTAL_OSC, it shows a value of 1 (#define   XTAL_OSC     1). So, I don't understand how it takes the value of 10 MHz and what would be the values of PLLSYSCLK in these two cases.

  • Alok,

                  I presume you are using the LaunchPad. If you look at the schematics (C:\ti\c2000\C2000Ware_3_04_00_00\boards\LaunchPads\LAUNCHXL-F28379D\R2.0), you can see that it uses a 10 MHz crystal. If _LAUNCHXL_F28379D is not used in the predefined symbol, i/p clock will be multiplied by 20 and divided by 2 for a PLLSYSCLK of 100 MHz. BAUD values depends on the LSPCLK. Please refer to chapter 19 of the TRM.

  • Hi Hareesh

    I am using the TI Launchpad. Thanks for the clarificaton.