2026-02-07 10:35 PM
In section 19.6.2 LCD frame control register (LCD_FCR) of the STM32U0 RM0503 Reference Manual, the examples provided for PS and DIV initially count up in decimal, but finish in binary. This looks like an accident and is confusing to the reader.
https://www.st.com/resource/en/reference_manual/rm0503-stm32u0-series-advanced-armbased-32bit-mcus-stmicroelectronics.pdf
All other examples further down in section 19.6.2 correctly count up in binary and do not mix in decimal numbers:
Solved! Go to Solution.
2026-02-09 12:32 AM
Ah, I see the point, thanks!
I will ask for doc update. Please note it will be done during next regular update of the documentation.
2026-02-08 12:19 PM
Hello @bdom and welcome to the Community
I raised your request to the internal team for review through Internal ticket number 226853 (ticket number is only for reference and not available outside of ST).
2026-02-08 5:48 PM
Hello, I'm not sure to catch where the problem is?
ck_ps divider is calculated as power of two, thus 2^PS
0000 = 2^0 = 1
0001 = 2^1 = 2
0002 = 2^2 = 4
etc.
DIV is also part of this formula, with range of 0 to 15, thus in the bracket will be values from 16 to 31 as in the register description.
Does this help to understand it?
2026-02-09 12:26 AM
The problem is, as @bdom mentionned, the RM mixes up binary and decimal values.
To put it differently, the errors in the RM are the lines "0002: ck_...", they should read "0010: ck_..."
2026-02-09 12:32 AM
Ah, I see the point, thanks!
I will ask for doc update. Please note it will be done during next regular update of the documentation.