2025-12-20 2:45 PM
Greetings!
I have the following system:
During system reset (NRST) it behaves according to my expectations, the RCC_BDCR remains unchanged, but if it is disconnected from Vcc, then upon connecting it back, the LSESYSEN bit is set to 0. This seems reasonable, and is generally not a issue to me, but the reference manual claims that this shouldn't happen? (Everything else works perfectly.)
Am I missing something obvious here?
Couldn't find any other mention of the bits behaviour.
2025-12-20 3:43 PM
Tested it with a STM32U83 Nucleo too, had the same behaviour.
Obviously HAL_RCC_OscConfig will set it back to '1' regardless.
2025-12-20 4:11 PM
This behaviour is the same as stated in the STM32U5 reference manual: