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.

Changing Concerto default core frequencies

Other Parts Discussed in Thread: CONTROLSUITE

We are using the Concerto F28M36 MCU and having been running it at 150MHz C28 / 75MHz M3.  We need to change this to run both cores at 125MHz.  I modified the .cfg files to new frequencies, but according to the function SysCtlClockGet() in sysctl.c (in MWare folder), it's still set to 75 MHz.

Are there other places that need to be changed to get the core frequencies to change, or should I only need to change the values in the .cfg files?

  • Hi Nelson!

    1) For C28x core you can try:  

    #define CPU_RATE     8.0004L    

    // for a 125MHz CPU clock speed (PLLSYSCLK) & when CLKIN is a 20 MHz crystal

    (refer please to ti\controlSUITE\device_support\f28m35x\v201\F28M35x_common\include\F28M35x_Examples.h) 

    2) But according to SPRS742F :

    Master Subsystem — ARM® Cortex™-M3

    – Up to 100 MHz only

    3) Thus you can use, for example, 100 MHz for both cores.

    Regards,

    Igor

  • Igor,

    Thanks for the reply.

    I have already set the CPU_RATE to 8.00L for the c28x core.  For the M3, It can go up to 125MHz (I am using the M36 part!).

    We are using the SYS/BIOS so I am trying to find out if all I need to change is the BIOS clock in the .cfg files.  I have done that but the function I referenced above still states I am running at 75MHz when I am expecting 125 MHz.  I don't see anything in the default .GEL files that should be affecting this either.

  • Hi!

    Nelson Norris said:

     For the M3, It can go up to 125MHz (I am using the M36 part!).

    Of course...Sorry for my confusion and inattentiveness (100 MHz is limit for M35).

    Maybe one need to use SysCtlClockConfigSet() (refer to ti\controlSUITE\device_support\f28m36x\v201\MWare\driverlib\sysctl.c, sysctl.h) like example project ti\controlSUITE\device_support\f28m36x\v201\F28M36x_examples_Master\blinky\m3\blinky.c. Or did you try to use this finction already?

    Regards,

    Igor