2025-11-12 4:20 AM
Hi team.
I am using STM32U575RIT6 how set the internal and external clock configuration , i have bit confusion can u gide me to resolve this .
thnaks.
2025-11-12 4:29 AM
What's the confusion?
Have you tried using CubeMX ?
2025-11-12 4:33 AM
Hello @HA2375-
You can start your project with STM32CubeMX for graphical clock setup.
So, in the Pinout & Configuration view, access the RCC mode panel to enable required clocks, and check the clock setup in the "Clock Configuration" tab.
Make sure to follow the hardware recommendations for crystal placement and board layout described in the User Manual of your board.
How to calibrate the STM32's real-time clock (RTC) - STMicroelectronics Community
2025-11-14 3:35 AM
@Imen.D @Andrew Neil Which port we can use for the External Clock and ,we are not using RTC clock. Can you please suggest the clock selection Hardware point of view . is it correct attached image?
it
2025-11-14 3:53 AM - edited 2025-11-14 4:05 AM
@HA2375- wrote:Which port we can use for the External Clock it
Have you studied the device datasheet ?
That will show you the available external clock options.
See also:
Application note AN5373, Getting started with STM32U5 MCU hardware development.
2025-11-14 4:01 AM
yes I have studied ,Bit confused so pls clarify or suggest
thanks.
2025-11-14 4:10 AM
Again: what, exactly, is the confusion?
AN5373 has a whole section on clocks.
The datasheet clearly shows the available clock inputs, and where they go:
https://www.st.com/resource/en/datasheet/stm32u575ri.pdf#page=50
2025-11-14 4:24 AM
is it correct right ? we can use external clock ?
2025-11-14 4:28 AM
Likewise, if you look at the Clock Configuration in CubeMX, you can see the available clock inputs and follow their routing.
CubeMX even does the calculations for you, so you can see what frequencies you're getting at the various points through the tree:
2025-11-14 4:58 AM
Yes, just set it active :
Then set pll/divider in clock tree, as you like it.