STM32F103C8 and LSE clock
Posted: Sun Jul 21, 2024 1:58 pm
Hello everyone,
To have an accurate clock with the STM32F103C8, I use the LSE mode.
Before doing so, I used LSI mode and I noticed a significant drift with my PC clock, for example.
I switched to LSE mode and ran my tests again: I didn't notice any improvement.
I read somewhere that, to activate this mode, you had to press the reset button on the STM32F103C8 after downloading the program.
I then noticed that the STM32F103C8's clock followed my PC's clock to within a second or two over the course of a day.
I can't seem to find this fact of pressing the reset button to activate the LSE clock.
So:
* I was dreaming,
* it's a coincidence,
* is it real?
Best regards.
Pierre.
To have an accurate clock with the STM32F103C8, I use the LSE mode.
Before doing so, I used LSI mode and I noticed a significant drift with my PC clock, for example.
I switched to LSE mode and ran my tests again: I didn't notice any improvement.
I read somewhere that, to activate this mode, you had to press the reset button on the STM32F103C8 after downloading the program.
I then noticed that the STM32F103C8's clock followed my PC's clock to within a second or two over the course of a day.
I can't seem to find this fact of pressing the reset button to activate the LSE clock.
So:
* I was dreaming,
* it's a coincidence,
* is it real?
Best regards.
Pierre.