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.

AM2631: AM263x syscfg

Part Number: AM2631

Hi,

Good Day.

I was using the AM263x controller. I was just trying to configure the PLL in the syscfg tool. I'm not able to find the option.

I can able to see GEL files were doing some PLL configuration, but in my case, I'm supposed to run the code without a debugger where can I find the clock configuration in the code?

Please advise. Thank you very much.

Best Regards,

Ray Vincent

  • Hi Ray, 

    The clock configuration is located in two places. One is in GELs like the customer said, and the other one is in SBL. Depending on how you are booting and working with the device you will use one of these two methods of configuring the PLLs upon waking up the cores of the device.

    Seeing that gels are not an option here, that leaves SBL:

    SBL PLL configuration is located under <sdk_install_path>\source\drivers\bootloader\soc\am263x\bootloader_soc.c in a function called "Bootloader_socConfigurePll(void)." Here you will be able to make changes to the PLLs according to your needs.

    After this, you will have to rebuild the sbl_null (or _uart, or _qspi, depending on what you are using in this case) example located in <sdk_install_path>\examples\drivers\boot, and then change the configuration file under: <sdk_install_path>\tools\boot\sbl_prebuilt\am263x-cc\<either default_sbl_qspi or default_sbl_null> to point to the new binary that you just built with a different PLL configuration.

    For information on SDK and Soc Initialization using binaries please refer to the AM263x MCU+ Documentation: AM263x MCU+ SDK: Introduction

    Here are also a few additional links inside the documentations that might proves useful for your goal: 

    Information on Bootloaders and SBL: AM263x MCU+ SDK: Understanding the bootflow and bootloaders (ti.com)

    SOC Initialization using the Binary Flashed in QSPI Memory: AM263x MCU+ SDK: Additional Details

    Secondary Bootloader Examples Information: AM263x MCU+ SDK: Secondary Bootloader (SBL) (ti.com)

    Hope you find this useful, please let us know if you have any more questions.

    Best,

    Daniel