Question
STM32L0 Getting RTC Wakeup Counter
Posted on August 19, 2016 at 10:50
Hello,
I'm planning to use STM32L0 for a battery powered application. I am working on STM32L0 discovery board now. In my project, the external pulses will be counted while microcontroller is in stop mode. And a timer, which can also be working in stop mode, for timing and task scheduling. I am using low power timer for counting external pulses, RTC wakeup timer for timing (with periodic timebase/wakeup configuration for clock configuration 1). I need to read counter value while timer is running (when external interrupt occurs etc.) to get elapsed time. But it seems that the value can't be read. Is there anyway to read this value?