I use STM32L432KC and can't understand how to configure LPTIM(2), STOP1 mode and general-purpose timer (TIM2)
Hello. I use STM32L432KC and can't understand how to configure LPTIM(2), STOP1 mode and general-purpose timer (TIM2) so that while LPTIM is active (between timeout periods) I could generate PWM with TIM2 and all time excepting that MCU would be in STOP1 mode (so TIM2 off automatically).
I saw demo example (PWR, stop1 mode), but I don't want to use hardware interrupts. I want to generate PWM with TIM2 every time (period), and go STOP1 mode.
Thank you for answer!