Is there a tool that can set the clock with GUI and output it in source code (C language)?
*This is because CTT (Clock Tree Tool) cannot output the source code.
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.
Is there a tool that can set the clock with GUI and output it in source code (C language)?
*This is because CTT (Clock Tree Tool) cannot output the source code.
Hello Kyle,
Thank you for your reply.
Can you tell me exactly where the code to set that clock frequency to the recommended setting is?
When I checked the location of the code where the PLL Controller Registers are used, I thought it was the following location.
\ti\pdk_jacinto_07_00_00\packages\ti\csl
\ti\pdk_jacinto_07_00_00\packages\ti\board
The SDK I'm using is processor_sdk_rtos_am65xx_07_00_00_05.
Hello.
The default PLL and clock configurations are set in the board_init function. For the AM65 please refer the function Board_PLLInitAll in pdk_jacinto_07_00_00\packages\ti\board\src\evmKeystone3\board_pll.c. Most initialization will occur through the system firmware via TISCI call, though there are three which still leverage pllcConfigs[] via the Board_PLLConfig() function:
>>>
Board_PLLConfig(&pllcConfigs[CSL_PER0_PLL]);
Board_PLLConfig(&pllcConfigs[CSL_MCU_PLL]);
Board_PLLConfig(&pllcConfigs[CSL_CPSW_PLL]);
<<<
These refer to the pllcConfigs[] defined in pdk_jacinto_07_00_00\packages\ti\board\src\am65xx_evm\am65xx_evm_pll.c and pdk_jacinto_07_00_00\packages\ti\board\src\am65xx_idk\am65xx_idk_pll.c
Best regards,
Dave