cancel
Showing results for 
Search instead for 
Did you mean: 

I use STM32L432KC and can't understand how to configure LPTIM(2), STOP1 mode and general-purpose timer (TIM2)

Michael Gross
Associate II

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!

1 REPLY 1

Lot of duplicative posts

https://community.st.com/s/question/0D50X00009ZE6unSAD/how-to-use-lptim-in-wakeup-mode-l432kc

Tips, Buy me a coffee, or three.. PayPal Venmo
Up vote any posts that you find helpful, it shows what's working..