cancel
Showing results for 
Search instead for 
Did you mean: 

TIM1 Complementary Signals

aaron2
Associate
Posted on January 17, 2014 at 19:41

Hi, I would like to know if someone had been capable to use  the complementary outputs of timer 1, I found  an example in the standard peripheral library called 

TIM1_ComplementarySignals_DeadTime_Break_Lock

I flashed it in the Discovery board, the normal OC outputs are OK but the complementary outputs doesn't work y have changed polarity and read the datasheet but I can't get it to work,

Could you advise?

Tnx

#tim1-pwm-complementary-outputs
1 REPLY 1
prado
Associate
Posted on June 07, 2014 at 02:06

Hello, Aaron.

Check the option byte OPT2, bit AFR5. You need to enable port B0 alternate function.

Hope it helps. Good luck!