cancel
Showing results for 
Search instead for 
Did you mean: 

Clock configuration issues

Clockarz
Visitor

I was configuring USB as virtual com port for stm32f401ccu6(Black Pill) using HAL. I am getting clock issues. I tried multiple times but can't resolve them. please help me.

 

 

Screenshot from 2025-10-26 22-16-59.png

2 REPLIES 2
Issamos
Lead II

Hello @Clockarz 

Could you please give more details about the issue you have?

If you put the cursor on the red rectangle (on the PLL source Mux), what is the message you have?
Are you reproducing this issue using the STM32CubeMX V6.15.0 (or the plug-in integrated on the STM32CubeIDE V1.19.0?

If not try to update your SW to the last versions.

Also, have you tried the resolve clock issue button?

Best Regards.

II

AScha.3
Super User

For USB you have to use/select the HSE.

AScha3_1-1761501363509.png

 

Set in RCC HSE to crystal, to do this..

AScha3_0-1761501304198.png

...+ write the correct frequ. of the real mounted crystal (check!)  on your board here:

AScha3_2-1761501489077.png

Then adjust PLL/divider , to get 48M for "48M clocks" and the core clock you want.

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