pwm generation tutorials - owntech-foundation/Tutorials GitHub Wiki
Objective
In these PWM tutorials, we show how to use the SPIN to create a PWM using timers A and C of the STM32G474RE high-resolution timer.
- PWM 1 - Generation and feature control - You will setup the SPIN as an interleaved buck converter on open-loop operation. You will be able to set the duty cycle, the phase shift and the dead times (both on the rising and falling edges) of timers A and C of the HRTimer.