Skip to main content
Associate III
October 16, 2025
Question

How to fix the problem of the PWM incomplete falling edge?

  • October 16, 2025
  • 1 reply
  • 238 views

Hello Everybody,

Here are the software and boards in this case:

1. MC workbench 6.4.1
2. STM32 FW V1.28.2

I’m using the generated code from ST MCSDK and noticed an issue on the microcontroller’s U-phase and V-phase channels (see pins Ch. U and Ch. V in picture 1; the same happens on W-phase, but I didn’t capture that waveform).
The blue waveform never completes its falling edge where it should go low, so the whole period looks like a constant high (see picture 2).
Is this behavior normal? If not, how can I fix it? Could it be related to the duty-cycle settings of PWM?
My gate-driver chip already provides hardware dead-time, so I set the software dead-time to 0; the motor still spins.

Thank you!

PWM_mcu_pin.jpgPWM_ZKB.jpg

1 reply

GMA
Technical Moderator
October 16, 2025

Hello @DF_MC,

Do you have the same low-level behavior zooming in the figure (smaller time scale to display only one or two PWM period)? 

If you agree with the answer, please accept it by clicking on 'Accept as solution'.Best regards.GMA