Skip to main content
Nathapol Tanomsup
Associate III
March 6, 2017
Question

RTC on STM32L053R8

  • March 6, 2017
  • 1 reply
  • 538 views
Posted on March 06, 2017 at 05:49

I tried to work with RTC (LSI) on STM32L0 but I got a problem. My desire is run a RTC like normal watch and get time at 2 point and find time between 2 point in milisecs but when I get time debugger always give me 0x00 even though using for loop to delay. I use AsynchPrediv = 127; and SynchPrediv = 255;

    This topic has been closed for replies.

    1 reply

    Nesrine M_O
    Associate
    March 6, 2017
    Posted on March 06, 2017 at 09:38

    Hi

    Tanomsup.Nathapol

    ,

    I recommend you to start from ready example about RTC under the STM32L0 firmware package :

    STM32Cube_FW_L0_V1.8.0\Projects\STM32L053R8-Nucleo\Examples\RTC

    -Nesrine-