Skip to main content
phenom
Associate III
May 8, 2019
Question

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

  • May 8, 2019
  • 1 reply
  • 606 views

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.

This topic has been closed for replies.

1 reply

waclawek.jan
Super User
May 8, 2019

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

phenom
phenomAuthor
Associate III
May 8, 2019

Thanks.

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