Low Power Timer Wake Up from Stop2 (stuck in interrupt)
I am using a STM32L476. I am using the counter mode on the low power timer to generate an interrupt after a given period. When I am in run mode, this interrupt works just fine. However, when I use the interrupt to try and wake the MCU from Stop2, I get stuck in the interrupt handler. It seems like the routine to clear the interrupt flags is not working properly. I tried to manually clear the interrupt flags in the IRQHandler instead of calling HAL_LPTIM_IRQHandler but this did not seem to work either.
Is this a known issue? Are there any workarounds? I really would like to make use of the LPTIM and Stop modes.
