Skip to main content
Associate II
July 5, 2024
Solved

STM32CubeIDE STM32F070F706 cannot resolve clock issues

  • July 5, 2024
  • 2 replies
  • 1529 views

Hello All, 

I am new to the STM32 platform and trying to learn.  I am working with a STM32F070F706 MCU.  I would like to use the MCU internal clock to support my peripherals  (I2C and USB 2.0).  The clock configuration tool cannot resolve the issue itself, so I modified the prescalers on my own and the issue seems (to me) to be gone. However,  if I select. "Resolve Clock Issues", STM32CubeIDE tells me it can't find a solution.  It will generate code for me, but warns me:  "- Main Config: These peripherals still have some not configured or wrong parameter values: [Clock]".  

Does anyone see an issue with the clock configuration shown below?  To me, everything seems to be configured satisfactorily.

 

rbenfichera_0-1720198003566.png

 

Best answer by Pavel A.

After you change some prescalers manually, do not click on  "Resolve Clock Issues". If all limitations are honored (no red marks), all is good from the CubeMX view, and you can generate code. 

2 replies

Associate II
July 5, 2024

Sorry, the correct model is STM32F070F6P6; not what I mentioned originally.

Pavel A.
Pavel A.Best answer
Super User
July 5, 2024

After you change some prescalers manually, do not click on  "Resolve Clock Issues". If all limitations are honored (no red marks), all is good from the CubeMX view, and you can generate code. 

Associate II
July 6, 2024

Much appreciated, thank you!