Skip to main content
nxp
Associate
July 6, 2017
Question

STM32F103 Shift PWM

  • July 6, 2017
  • 3 replies
  • 937 views
Posted on July 06, 2017 at 18:15

Dear Support,

Hi,

I've created two PWM with a 50% duty cycle using STM32F103 and its timer8. Now I would be grateful if you tell me how to shift one of the PWMs?

#stm32f103-shift-pwm
This topic has been closed for replies.

3 replies

Tesla DeLorean
Guru
July 6, 2017
Posted on July 06, 2017 at 19:01

TIM1 should behave in the same way as TIM8

Tips, Buy me a coffee, or three.. PayPal Venmo (See Profile) Up vote any posts that you find helpful, it shows what's working..
nxp
nxpAuthor
Associate
July 7, 2017
Posted on July 07, 2017 at 07:50

Thank you for replay.

As I said before, I produced two similar PWMs with a 50% duty cycle. Now, I would like to know how to shift one of the PWMs with 180 degree relative to other one?

Dani Prieto
Associate III
July 7, 2017
Posted on July 07, 2017 at 13:21

Do you need complementary signals?

Then configure TIM CH1 and CH1N and the break/dead time like this:0690X00000607MYQAY.png