cancel
Showing results for 
Search instead for 
Did you mean: 

RTC on STM32L053R8

Nathapol Tanomsup
Associate II
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;

1 REPLY 1
Nesrine M_O
Lead II
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-