cancel
Showing results for 
Search instead for 
Did you mean: 

HSI16 and sysclock configuration using Cube

reedomneck
Associate III

 

Hello,

 

I'm new to ST platform and I would like to understand about clock configuration.

I'm using NUCLEOU545REQ board for my development and want to know how to enable HSI16 clock and configure system clock to 24Mhz using stm32cube

GUI.

1 ACCEPTED SOLUTION

Accepted Solutions
TDK
Guru

Create a new project, use the Board Selector to select your board.

Go to the Clock Configuration tab, select HSI for the PLL source, and PLLCLK for the SYSCLK source. Type "24" in the HCLK box and press enter.

TDK_0-1747223272850.png

 

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

View solution in original post

3 REPLIES 3
TDK
Guru

Create a new project, use the Board Selector to select your board.

Go to the Clock Configuration tab, select HSI for the PLL source, and PLLCLK for the SYSCLK source. Type "24" in the HCLK box and press enter.

TDK_0-1747223272850.png

 

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

@TDK Thank you for your help. So once I enter 24 in HCLK other fields are getting updated which are in dropdown box.

Could you please share if there is any doc/resource available if I want to do manually configuration I mean in register level how do I calculate values for PLL - M,PLL - N,PLL- R ,PLL - Q   

The register level details of how the chip operates are found in the Reference Manual.

STM32U5 series Arm<Sup>®</Sup>-based 32-bit MCUs - Reference manual

 

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