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: Sysclk configuration

Part Number: TMS320F28379D
Other Parts Discussed in Thread: C2000WARE

Hello,

I am using CCS. I have gone through datasheet, but it's very confusing to change the configuration for SYSCLK(system clock).

Suppose if in the available example- SYSCLK is running at 500KHz, how can I configure 100MHz SYSCLK , I need the hardware registers and their bit field which I have to change to change the SYSCLK from 500KHz to 100MHz. OR if there is any example available in which 100 or 200MHz frequency for SYSCLK is being used, please let me know.

Note: I want to use ADC , timers and USB simultaneously for my application, for that I need to know that How can I configure PERx.SYSCLK ?

Please reply As soon as possible.

Thanks, for your kind support and understanding in advance!!

  • Hi Sweta,

    I would suggest you to look at this SYSCTL_setClock() function in c2000ware examples : 

    All software examples start with device_init() that call this function to set up the clock configurations as shown below

    This define sets that is passed to the function configures the PLL settings that you want based on sysclk frequency desired.

    if there is any example available in which 100 or 200MHz frequency for SYSCLK is being used, please let me know.

    All C2000WARE examples - https://www.ti.com/tool/C2000WARE?keyMatch=c2000ware should have what you need and if not you can just change dividers and multipliers to achieve frequency you want.

    Thanks