Skip to main content
Associate II
July 20, 2023
Solved

STM32WL55 PWM doesn't have deadtime option

  • July 20, 2023
  • 1 reply
  • 1301 views

Hi,

I'm working on STM32WL55JC board and run "TIM_PWMOutput" example that run 4 PWM channels with diffrence pulse width.
I'm trying to add deadtime between the channels (following this hands-on video https://www.youtube.com/watch?v=rDaC2N-33Oo  Minute 5:34) 
But on my IDE I don't have deadtime option (adding picture)
So I tried manually change deadtime during TIMInit() (via the line sBreakDeadTimeConfig.DeadTime = SomeDelay) but it doesn't work, the delta time between all channels remain the same

Thanks!

This topic has been closed for replies.
Best answer by AScha.3

dead time is needed on complementary out channels ... so set : 

AScha3_0-1689851037527.png

also for combined pwm possible, see RM.

1 reply

AScha.3
AScha.3Best answer
Super User
July 20, 2023

dead time is needed on complementary out channels ... so set : 

AScha3_0-1689851037527.png

also for combined pwm possible, see RM.

If you feel a post has answered your question, please click on " Best Answer ".