cancel
Showing results for 
Search instead for 
Did you mean: 

Complementary PWM at active low.

Shreekant Tembhekar
Associate II

I have generated complementary PWM signal on STM32L496ZGtx. I used TIM1CH1 and TIM1CH1N. I am using one pulse mode so that every 1 second, I generate complementary signal. However one channel starts at active HIGH and another starts at active LOW. How should I start and end both the channels at active low? See attached image.

4 REPLIES 4

After end of the burst, set TIM1_CCER.CC1NP, and before beginning clear it again.

JW

S.Ma
Principal

1N means negated signal with possible slight time skew for driving power mos in 3 phase motot control.

Instead, if you need more control and flexibility, why not use 2 non inverted timer channels?

what is CC1NP?

0690X000006DFnPQAW.png

JW