Skip to main content
Associate II
Jul 20, 2023 10:46 AM UTC
Solved

STM32WL55 PWM doesn't have deadtime option

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.
AScha.3
AScha.3Best answer
Super User
Jul 20, 2023 11:09 AM UTC

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 ".

1 reply

AScha.3
AScha.3Best answer
Super User
Jul 20, 2023 11:09 AM UTC

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 ".