AnsweredAssumed Answered

STM32L4 PWM with LPTIM

Question asked by Daniel Tarrago on Mar 1, 2017
Latest reply on Mar 2, 2017 by waclawek.jan

I'm working with STM32L475 and I'm using LPTIM to create a PWM signal. LSE clock is used (because I will use Stop mode), and period is set to 31 in ordet to generate 1kHz signal. PWM is working fine and dutycycle is modified according to the pulse value I set to the 'HAL_LPTIM_PWM_Start' function. Nevertheless, when I try to set PWM signal to 100% or 0%, the output signal looks similar to the one I have when dutycycle is set to 99% or 1%. Do you know why I get such behaviour?

Outcomes