Skip to main content
Visitor II
January 17, 2014
Question

TIM1 Complementary Signals

  • January 17, 2014
  • 1 reply
  • 652 views
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

    Visitor II
    June 7, 2014
    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!