Skip to main content
WilkoL
Senior
November 30, 2020
Solved

Asynchronous Prescaler RTC STM32F103xx cannot be set higher than 127 in STM32CubeMX

  • November 30, 2020
  • 3 replies
  • 2049 views

The STM32F103 does not have a Synchronous Prescaler. and the Asynchronous Prescaler can be set to (2^20 - 1) in the MCU.

But STM32CubeMX doesn't allow a number higher than 127. Not really a problem of course, just a bit confusing.0693W000005D3m9QAC.jpg 

This topic has been closed for replies.
Best answer by Khouloud ZEMMELI

Hi @Community member​ ,

You're right, issue will be fixed.

Thanks for your feedback :)

Khouloud

3 replies

TDK
November 30, 2020

Seems like a bug in CubeMX.

Some other families limit the asynchronous prescaler to 127, which is where the restriction comes in.

0693W000006E1pmQAC.png

"If you feel a post has answered your question, please click ""Accept as Solution""."
WilkoL
WilkoLAuthor
Senior
November 30, 2020

Those other families likely have a second Synchronous prescaler, the STM32F103 (all STM32F1xx ?) does not. So yes, it is a shortcoming in STM32CubeMX.

Khouloud ZEMMELI
Khouloud ZEMMELIBest answer
ST Employee
November 30, 2020

Hi @Community member​ ,

You're right, issue will be fixed.

Thanks for your feedback :)

Khouloud