Skip to main content
sushanth
Associate
March 19, 2018
Question

STM32F413VH RTC using LSI

  • March 19, 2018
  • 3 replies
  • 796 views
Posted on March 19, 2018 at 12:53

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.

    This topic has been closed for replies.

    3 replies

    waclawek.jan
    Super User
    March 19, 2018
    Posted on March 19, 2018 at 22:07

    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.

    0690X0000060AAeQAM.png

    JW

    sushanth
    sushanthAuthor
    Associate
    March 20, 2018
    Posted on March 20, 2018 at 13:46

    We were planning to use the RTC for clocktest for safety purposes. Can we go ahead with LSE?

    henry.dick
    Associate II
    March 20, 2018
    Posted on March 20, 2018 at 14:30

    The data sheet has the answer for your question.

    If your mcu is always running, consider using the main oscillator for time stamping.