cancel
Showing results for 
Search instead for 
Did you mean: 

STM32U575 Clock Configuration confusion

HA2375-
Associate II

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.

9 REPLIES 9
Andrew Neil
Super User

What's the confusion?

Have you tried using CubeMX ?

A complex system that works is invariably found to have evolved from a simple system that worked.
A complex system designed from scratch never works and cannot be patched up to make it work.
Imen.D
ST Employee

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

When your question is answered, please close this topic by clicking "Accept as Solution".
Thanks
Imen

@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?

HA2375_0-1763120125628.png

 it


@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 AN5373Getting started with STM32U5 MCU hardware development.

A complex system that works is invariably found to have evolved from a simple system that worked.
A complex system designed from scratch never works and cannot be patched up to make it work.

yes I have studied ,Bit confused so pls clarify or suggest 

thanks.

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:

AndrewNeil_0-1763122212675.png

https://www.st.com/resource/en/datasheet/stm32u575ri.pdf#page=50

 

A complex system that works is invariably found to have evolved from a simple system that worked.
A complex system designed from scratch never works and cannot be patched up to make it work.

HA2375_0-1763123015558.pngis it correct  right ? we can use external clock ?

 

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:

AndrewNeil_0-1763123182775.png

 

A complex system that works is invariably found to have evolved from a simple system that worked.
A complex system designed from scratch never works and cannot be patched up to make it work.

Yes, just set it active :

AScha3_0-1763125083170.png

Then set pll/divider in clock tree, as you like it.

If you feel a post has answered your question, please click "Accept as Solution".