Because of the Thanksgiving holiday in the U.S., TI E2E™ design support forum responses may be delayed the week of November 23.

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.

AM263P4: SBL Clock Configuration - Source of PLL Settings and Customization Options

Part Number: AM263P4
Other Parts Discussed in Thread: SYSCONFIG,

Hello TI Team,

I am using the sbl_ospi_multicore_elf example on an AM263Px device and noticed that the SBL performs clock initialization through functions such as:

Bootloader_socConfigurePll();
Bootloader_socSetAutoClock();

The generated Bootloader_socConfigurePll() function configures the Core and Peripheral PLLs with hard-coded frequencies (for example, 400 MHz, 500 MHz, 160 MHz, and 192 MHz). However, I am unable to find any corresponding PLL or clock frequency settings exposed in the SBL SysConfig GUI.

Could you please clarify:

  1. What is the source of these PLL frequency values?
  2. Are these frequencies generated from hidden/default SysConfig settings, or are they fixed by the SBL template implementation?
  3. What is the recommended method to modify the Core PLL and Peripheral PLL frequencies for a custom application?
  4. If modifications are required, should they be made in the generated source file, SysConfig template, or some other configuration file?
  5. Are there any application notes or guidelines describing the clock initialization flow used by the AM263Px SBL?

Our goal is to understand how the SBL configures the device clock tree and determine the supported method for customizing PLL frequencies while maintaining compatibility with the SDK boot flow.

Thank you for your support.

Regards,
Gokul

  • 1. Source of the PLL Frequency Values

    The default PLL frequencies come from the AM263Px clock tree architecture 1:

    PLL VCO Frequency Output Frequency
    Core PLL 2000 MHz DPLL_CORE_HSDIV0_CLKOUT0 (Main Clk) 400 MHz
    DPLL_CORE_HSDIV0_CLKOUT1 (Eth Clk) 500 MHz
    DPLL_CORE_HSDIV0_CLKOUT2 400 MHz
    Peripheral PLL 1920 MHz DPLL_PER_HSDIV0_CLKOUT0 160 MHz
    DPLL_PER_HSDIV0_CLKOUT1 192 MHz

    The reference clock is a 25 MHz XTAL. Note that the ROM Bootloader (RBL) only configures the Core PLL (ADPLL0) to produce R5 clock = 400 MHz / SysClk = 200 MHz during its initialization phase. The SBL then reconfigures both PLLs to the full target frequencies shown above 2.

    2. Generated via SysConfig ClockTree, Not Hardcoded

    Starting with MCU+ SDK 11.00.00, these values are generated by the SysConfig ClockTree feature, replacing the older approach of hardcoded values in soc_bootloader.c 3. The ClockTree provides a full graphical view of PLLs, DPLLs, muxes, and dividers with validity checks. If you don't see PLL settings exposed in the SysConfig GUI, the most likely reason is that the Bootloader module has not been added to your SysConfig project — this is a prerequisite for PLL configuration file generation 4.

    3. Recommended Method to Modify PLL Frequencies

    The supported method is:

    1. Open the SBL project's .syscfg file in SysConfig.
    2. Ensure the Bootloader module is added — this is required for PLL config generation.
    3. Navigate to the ClockTree panel, which organizes components into four categories: CLOCKS, PLLs, XBARs, and PERIPHERALS. If you know which peripheral is affected, start from the PERIPHERAL view to trace back to the feeding PLL.
    4. Modify the PLL parameters (multiplier, dividers, HSDIV outputs) as needed. Changes to shared components automatically propagate to all dependent modules 4.
    5. Rebuild the SBL — SysConfig will regenerate the configuration files.

    For programmatic control, the SDK also exposes SOC_rcmCoreApllConfig(SOC_RcmPllFoutFreqId outFreqId, SOC_RcmPllHsDivOutConfig *hsDivCfg) in the SOC RCM module 5.

    4. Where Modifications Take Effect

    Do not manually edit the generated source files. When the Bootloader module is present in SysConfig, two PLL-specific files are auto-generated 4:

    • ti_clocktree_pll_config.h — PLL configuration header
    • ti_clocktree_pll_config.c — PLL configuration implementation (contains the actual register values)

    Peripheral clock mappings are generated separately into ti_power_clock_config.c (e.g., gSocModulesClockFrequency[] array mapping each peripheral ID to its clock source and frequency) 3.

    All changes should be made in the ClockTree GUI within SysConfig — the generated files will be overwritten on each build.

    5. Reference Documentation for SBL Clock Initialization Flow

    The primary references are:

    • AM26x Academy — Secondary Boot Flow: Contains a dedicated section titled "Clocking Configuration in SBL" with sub-sections for AM263x and AM263Px 6
    • AM263Px TRM (SPRUJ55D), Chapter 5 — Initialization and Boot: Covers the full boot sequence (HSM ROM → R5 ROM → SBL → Application), ROM PLL configuration, and the ADPLLLJ module configuration sequence 2
    • MCU+ SDK ClockTree Documentation: Explains the SysConfig ClockTree workflow and generated file structure 4
    • MCU+ SDK Bootloader Driver Page: Covers R5 core mode configuration and SBL handoff flow 7

    The overall initialization sequence is: Power-on → HSM ROM (un-halts R5) → R5 ROM (configures Core PLL, system MPU, PBIST, IPC) → SBL (reconfigures both PLLs, loads HSM Runtime, loads application) → Application execution 2.

    Important Notes

    • Tool version alignment is critical: Mismatched SDK/SysConfig/CCS versions can cause incorrect clock initialization. Ensure you use compatible versions as specified in your SDK release notes 8.
    • Spread Spectrum is NOT supported on AM263P4 for either Core PLL or Peripheral PLL 9.
    • The SBL delivered in the SDK is an example implementation — you are free to modify it for custom requirements 6.

    Follow up: Which SDK version are you currently using? If it is older than 11.00.00, the ClockTree feature may not be available, and the PLL values would indeed be hardcoded in the SBL template — upgrading would be the path to GUI-based PLL configuration.


    1. AM26x Academy — Clocking Configuration in SBL
    2. AM263Px TRM (SPRUJ55D) — Initialization and Boot
    3. MCU+ SDK 11.00.00 Release Notes
    4. MCU+ SDK ClockTree Documentation
    5. SOC RCM Module API Reference
    6. AM26x Academy — Secondary Boot Flow
    7. MCU+ SDK Bootloader Driver Page
    8. E2E FAQ — AM263P4 Networking/Clock Issues
    9. AM263Px Register-Level TRM (SPRUJ57B)
  • Hi Stevan,

    Thank you for the reply. We will go through the points you have given and get back to you if we have any further queries.

    Regards,
    Gokul

  • Sounds good Gokul, 

    Let us know if there are more queries.