Skip to main content
vitthal muddapur
Associate III
February 23, 2018
Question

rtc time faster ?

  • February 23, 2018
  • 10 replies
  • 1981 views
Posted on February 23, 2018 at 14:49

hi,

I have set internal clock frequency 1Hz but RTC time is faster than the real time

I have stm32l0 rtc clock LSI with 37khzPREDIV_A=125 andPREDIV_S =296

Note: this post was migrated and contained many threaded conversations, some content may be missing.
    This topic has been closed for replies.

    10 replies

    Tesla DeLorean
    Guru
    February 23, 2018
    Posted on February 23, 2018 at 14:58

    Product isn't 37000 is it?

    You should perhaps also quantify LSI via MCO pin

    Tips, Buy me a coffee, or three.. PayPal Venmo (See Profile) Up vote any posts that you find helpful, it shows what's working..
    vitthal muddapur
    Associate III
    February 23, 2018
    Posted on February 23, 2018 at 15:08

    0690X00000609XOQAY.png
    vitthal muddapur
    Associate III
    February 23, 2018
    Posted on February 23, 2018 at 15:09

    above image RTC Clock is 37khz

    T J
    Senior III
    February 26, 2018
    Posted on February 26, 2018 at 07:37

    Let me suggest that you wouldn't depend on the accuracy of the processor RTC.

    if you want to know the time of day accurately, I would suggest something like DS3232. with a temperature compensated embedded crystal.

    http://datasheets.maximintegrated.com/en/ds/DS3232.pdf

     

    also good for Storage of 256bytes of external R/W data

    vitthal muddapur
    Associate III
    February 26, 2018
    Posted on February 26, 2018 at 09:25

    hi,

    how to solve this problem without external RTC