2018-03-19 04:53 AM
Hi.
We are using STM32F413VH in one of our projects. We were planning to use the RTC peripheral with LSI as clock source to get timestamps and check weather the tasks are running periodically. We are planning to use RTC as it is independent of the system clock.
My question is how stable & accurate is the LSI? Can we use it to accurately measure time?
Thanks in advance.
2018-03-19 02:07 PM
My question is how stable & accurate is the LSI?
It's very bad in this regard. It's primary purpose is to wake it up the mcu from very low power consumption modes in applications where timing is not an issue.
JW
2018-03-20 05:46 AM
We were planning to use the RTC for clocktest for safety purposes. Can we go ahead with LSE?
2018-03-20 06:30 AM
The data sheet has the answer for your question.
If your mcu is always running, consider using the main oscillator for time stamping.