Explains how to synchronize the PWM signal output of the standard 16-bit timer.
The document describes an issue with the standard PWM mode of the ST7 microcontroller's 16-bit timer where the output signal starts low after initialization or restart. This delay can cause motors to stall during demagnetization phases because windings are not energized immediately.
To resolve this, the note provides software procedures for two specific cases based on the Output Level bits (OLVL1 and OLVL2). It details how to initialize registers with temporary values to force a high state immediately upon timer start, followed by restoring the correct duty cycle once the counter reaches zero.
It explains how to synchronize the PWM signal output so it outputs a high state when the counter restarts or starts at the beginning.
In applications like motor control, it is essential to energize windings immediately after demagnetization; otherwise, the motor can stall.
If windings are not energized immediately after demagnetization, the motor can stall.