Use RTC counter to realize the function of time keeping, but the error is very big
Background: The MCU chip I use is stm32L476RG. Since the MCU usually needs to work in the standby mode and will wake up within 2s, I want to count the time the MCU is in the standby mode each time. Implementation method: The clock source of RT...