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.

AM2434: How to change the operating frequency of R5F core ?

Part Number: AM2434
Other Parts Discussed in Thread: SYSCONFIG

Hi,

Could you tell us how to change the operating frequency of the R5F core?

FrerRTOS in the MCU+ SDK is used.

I would like to determine the final operating frequency—either 800MHz or 400MHz—based on the heat generation observed during evaluation.
I believe the procedure is described in section 5.4.5.7 "PLL, PLLCTRL, and HSDIV Controllers Programming Guide" of the TRM, but I’m wondering if this can be configured via SysConfig.
Alternatively, if there is a relevant process in the sample code, please let me know.
In the sample sbl_null_am243x-evm_r5fss0-0_nortos_ti-arm-clang, I think the part around System_init() in C:\ti\workspace_v12\sbl_null_am243x-evm_r5fss0-0_nortos_ti-arm-clang\Debug\syscfg\ti_drivers_config.c might be where the change happens, but since this is SysConfig-generated code, I’m hoping it can be done via the GUI.

Thanks and regards,

Hideaki

  • Hi Meet,

    Thank you for your response. Let me confirm. The frequency cannot be changed by SysConfig ?

    Just change the following numbers written in red in the file of bootloader_soc.c in the folder \ti\mcu_plus_sdk_am243x_11_00_00_15\source\drivers\bootloader\soc\am64x_am243x\ ?

     

    Bootloader_CoreBootInfo gCoreBootInfo[] =

    {

        {

            .tisciProcId    = SCICLIENT_PROCID_MCU_M4FSS0_C0,

            .tisciDevId     = TISCI_DEV_MCU_M4FSS0_CORE0,

            .tisciClockId   = TISCI_DEV_MCU_M4FSS0_CORE0_VBUS_CLK,

            .defaultClockHz = (uint32_t)(400*1000000),

            .coreName       = "m4f0-0",

        },

     

        {

            .tisciProcId    = SCICLIENT_PROCID_R5_CL0_C0,

            .tisciDevId     = TISCI_DEV_R5FSS0_CORE0,

            .tisciClockId   = TISCI_DEV_R5FSS0_CORE0_CPU_CLK,

            .defaultClockHz = (uint32_t)(800*1000000),

            .coreName       = "r5f0-0",

        },

     

        {

            .tisciProcId    = SCICLIENT_PROCID_R5_CL0_C1,

            .tisciDevId     = TISCI_DEV_R5FSS0_CORE1,

            .tisciClockId   = TISCI_DEV_R5FSS0_CORE1_CPU_CLK,

            .defaultClockHz = (uint32_t)(800*1000000),

            .coreName       = "r5f0-1",

        },

     

        {

            .tisciProcId    = SCICLIENT_PROCID_R5_CL1_C0,

            .tisciDevId     = TISCI_DEV_R5FSS1_CORE0,

            .tisciClockId   = TISCI_DEV_R5FSS1_CORE0_CPU_CLK,

            .defaultClockHz = (uint32_t)(800*1000000),

            .coreName       = "r5f1-0 ",

        },

     

        {

            .tisciProcId    = SCICLIENT_PROCID_R5_CL1_C1,

            .tisciDevId     = TISCI_DEV_R5FSS1_CORE1,

            .tisciClockId   = TISCI_DEV_R5FSS1_CORE1_CPU_CLK,

            .defaultClockHz = (uint32_t)(800*1000000),

            .coreName       = "r5f1-1",

        },

     

    Thanks and regards,

    Hideaki

  • The frequency cannot be changed by SysConfig ?

    No, this can't be done in syscfg.

    Just change the following numbers written in red in the file of bootloader_soc.c in the folder

    Yes, this seems correct.

  • Hi Meet,

    Just change the following numbers written in red in the file of bootloader_soc.c in the folder

    Yes, this seems correct.

    They tried this modification, but the frequency of each core was not able to be changed.

    Regards,

    Hideaki

  • Hello Hideaki,

    The above method works. I am not sure after updating the gCoreBootInfo buffer changes, did they compile the drivers ?

    Later, they compiled the SBL Application as well.

    Please share the exact procedure that the customer followed.

    Regards,
    Anil