Skip to main content
aaron2
Visitor II
Jan 17, 2014 6:41 PM UTC
Question

TIM1 Complementary Signals

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
This topic has been closed for replies.

1 reply

prado
Visitor II
Jun 7, 2014 12:06 AM UTC
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!