cancel
Showing results for 
Search instead for 
Did you mean: 

Timer pwm complementary for BLDC

Tobe
Senior III

I trying to figure out, how i should set up the complementary channels to achieve the signals, shown in the picture.

If i would activate them (tim_oc1n), they would have a pwm, like the normal channel (just inverted). So i think it is only possible to switch them between off state run mode ( OSSR - high or low) and normal pin configuration (high or low). But doing this, i can just use the normal pin function anyway.

Did i miss something?

1 REPLY 1
Tobe
Senior III

I have now tried having the complementary outputs inactive, and changing the polarity. It does not do anything. I would have expected the inactive output to the the opposite level as if activated, but it just stays low.

The manual says when CCxNE = 0:  "output enabled with inactive state" and further "tim_ocxn=CCxNP". But when chaning the CCxNP (polarity) it does nothing at all....