Advanced PWM

<< Click to Display Table of Contents >>

Navigation:  STM32F4 Target > Demos > Standard Peripherals Demos > TIM >

Advanced PWM

Previous pageReturn to chapter overviewNext page

Demo File: stm32f4_advance_pwm_demo.mdl

advance_pwm_demo

Description

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

What should be happening?

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

advance_pwm_waveform1