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.

TMS320F280025: PLLSYSCLKDIV_LSB in SYSCLKDIVSEL Register

Part Number: TMS320F280025

Hi Team,

I understand PLLSYSCLKDIV_LSB is used to have odd divisor values. However I could not see any API where this value is set.

Also if PLLSYSCLKDIV_LSB and PLLSYSCLKDIV are both 0, will the System Clock Divider be 1? 

  • Hi,

    Below Set clock function inside driverlib takes the PLLSYSCLKDIV as input:

    //
        // Set up PLL control and clock dividers
        //
        SysCtl_setClock(DEVICE_SETCLOCK_CFG);

    Also DEVICE_SETCLOCK_CFG macro inputs SYSCLKDIV value:

    #define DEVICE_SETCLOCK_CFG          (SYSCTL_OSCSRC_XTAL | SYSCTL_IMULT(30) | \
                                          SYSCTL_REFDIV(2) | SYSCTL_ODIV(3) | \
                                          SYSCTL_SYSDIV(1) | SYSCTL_PLL_ENABLE | \
                                          SYSCTL_DCC_BASE_0)

    Your understanding is correct, if PLLSYSCLKDIV_LSB and PLLSYSCLKDIV both are 0 then SYSCLKDIV=1.

    Best Regards,

    Nirav

  • The TRM says 'The minimum value of this divider is 2 when PLL is enabled'. So the SYSCLKDIV = 1 will not be a valid value then?

  • Hi Irene,

    Now that we have ODIV, the comment of minimum divider required to be 2 is not valid. We will correct that in the next release.

    Thanks for bringing this to our attention.

    Best Regards,

    Nirav