Demo File: stm32f4_advance_pwm_demo.mdl
This demo implements Advance PWM blocks, using timer1 (TIM1) and timer8 (TIM8) together with frequency 100KHz and insert 1uS for dead-time.
All input into block are enabled and apply constant duty cycle value 20% to channel 1, 30% to channel 2, 50% to channel 3 and 70% to channel 4 (Ref).
An example of waveform capture PWM output CH1, CH1N, CH2 and CH2N. Due to Dead-time 1uS (equal to 10% of period 10uS), so the duty cycle measurement of CH1 will be 10% instead of 20%.