Calculate number of RTC ticks MCU spends in STOP2 mode
I want to calculate the actual time the CPU spends in STOP2 mode.I wake up the MCU either by RTC Alert or LPUART.The issue is more relevant to LPUART wake use case, because it could happen before the RTC alert expires.I'm using RTC with LSI which con...