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: Oscillator Selection Bit

Part Number: TMS320F28379D
Other Parts Discussed in Thread: TMS320F280049C

Hi,

Is there any special register configuration for oscillator clock ?

In TMS320F280049C datasheet, there is "XTALCR.SE" bit for oscillator configuration. What is the TMS320F28379D software settings for single ended oscillator ?

Thanks.

  • Alikaan,

    In TMS320F280049C datasheet, there is "XTALCR.SE" bit for oscillator configuration. What is the TMS320F28379D software settings for single ended oscillator ?

    F28379D doesn't differentiate between single ended clock (or) XTAL. This feature was added only from F280049 because in F280049 X2 pins can be used as normal GPIO / other peripheral signals. In F28379D, X1 / X2 pins are not shared with GPIO / other peripheral signals.

    Regards,

    Manoj

  • Hello,

    Thank you for the reply. How can I check the oscillator/pll circuit is working correctly ? Can I measure the PLL output ? Clock frequency is 200MHz.

  • AliKaan,

    You can use XCLKOUT pin to check SYSCLK, PLLRAWCLK etc. Here is the code snippet

    GPIO_setPinConfig(GPIO_16_XCLKOUT);
    SysCtl_selectClockOutSource(SYSCTL_CLOCKOUT_PLLSYS);

    EALLOW;

    HWREG(CLKCFG_BASE + SYSCTL_O_XCLKOUTDIVSEL) = 3; //8 option

    EDIS;