cancel
Showing results for 
Search instead for 
Did you mean: 

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

WilkoL
Senior

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 

1 ACCEPTED SOLUTION

Accepted Solutions
Khouloud ZEMMELI
ST Employee

Hi @Community member​ ,

You're right, issue will be fixed.

Thanks for your feedback :)

Khouloud

View solution in original post

3 REPLIES 3
TDK
Guru

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
Senior

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
ST Employee

Hi @Community member​ ,

You're right, issue will be fixed.

Thanks for your feedback :)

Khouloud