cancel
Showing results for 
Search instead for 
Did you mean: 

How to combine two PWM pulses along with a delay in between?

phenom
Associate II

I am using stm32756G eval board. I want to generate a pattern of two PWM pulse along with a delay. Example: A pulse of 1Khz + delay (milliseconds) + A pulse of 1Khz

I am able to generate a PWM pulse of 1Khz.

Is there any example for that in stm32cubef7?

Please guide me on how to generate such a pattern.

2 REPLIES 2

The Advanced and some of General purpose timers in the 'F756 have a Combined PWM mode, which allows you to output a phase-shifted pulse at the cost of using two channels. Read the Combined mode subchapter of timers chapter in Reference Manual.

JW

Thanks.

Is it possible to generate such a pattern using a single channel?