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.

RTOS/AM5746: How to reflect the Clock Tree Tool options

Part Number: AM5746


Tool/software: TI-RTOS

Hi,
My customers are reviewing the AM574x clock settings.
They are looking at the source code and use the "Clock Tree Tool".
(c:\ti\pdk_am57xx_1_0_11\packages\ti\board\src\idkAM574x\idkAM574x_clock.c)
However, they are struggling because the clock tree of the idkAM574x is complex.

Question:
Please tell me how to reflect the settings of the Clock Tree Tool to idkAM574x_clock.c (or other initialization process).

■Environment
TMDSIDK574
pdk_am57xx_1_0_11
TI-RTOS

Regards,
Rei

  • Rei,

    Agree with the assessment that the clock tree for AM574x is complex and the Clock tree tool doesn`t automate incorporation of the modified clocks into board library as easily as pinmux changes so we are working on some improvements on the tool itself.  

    Approach 1: Used when many clocks need to be changes or custom HW uses different input clock

    • The tool allows you to create a register dump once the clock tree tool has been configured.
    • Run the default settings from the idkAM574x GEL and use the GEL file in the folder TI_Clock_Tree_Tool\CTT-AM572x\Scripts  to capture the clock setting on AM57xx platform 
    • Compare the settings from the tool and the idkAM574x GEL file to determine what registers need to be modified.
    • Update the GEL file to test until the settings from tool and GEL matches.

    The settings for PLL configuration and clock configuration in the board_pll.c and board_clock.c are directly obtained from the GEL file so apply the same settings for board as you applied to the GEL settings.

    Approach 2: Used when only some DPLL or peripheral clocks need modification.

    • Use clock tree controller View to isolate a clock that you need to modify as explained in CTT user guide section 1.8.1 
    • Trace the multiplier and divider value you need to change to get to desired clock
    • Update the multuplier and dividers for DPLL in GEL and board_pll.c
    • Clock Mux changes can be done simply by writing to the registers.

    This is bit of a manual process to apply the settings. For custom HW, you can minimize the changes to the clock settings.by using same CLKIN/OSCIN clock as evaluation platform. 

    If you provide more details regarding your use case, we may be able to provide more guidance. 

    Regards,

    Rahul

  • Thank you!!