Skip to main content
Michael Gross
Associate
July 30, 2018
Question

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

  • July 30, 2018
  • 1 reply
  • 559 views

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!

    This topic has been closed for replies.

    1 reply

    Tesla DeLorean
    Guru
    August 10, 2018
    Tips, Buy me a coffee, or three.. PayPal VenmoUp vote any posts that you find helpful, it shows what's working..