Skip to main content
Bogdan
Senior
November 22, 2017
Question

TIM1 6pwm how to disable - STM32F427

  • November 22, 2017
  • 1 reply
  • 937 views
Posted on November 22, 2017 at 21:10

The original post was too long to process during our migration. Please click on the attachment to read the original post.
    This topic has been closed for replies.

    1 reply

    Mohammad Rostamian
    Associate III
    November 22, 2017
    Posted on November 22, 2017 at 21:49

    Hi, when you enable the output, the output forced to complementary. If you want all out put to be low, you must disable output.

    Bogdan
    BogdanAuthor
    Senior
    November 22, 2017
    Posted on November 22, 2017 at 21:56

    Hello 

    by disable the output you mean  

    TIM_CtrlPWMOutputs(TIM1, DISABLE);   ?

    So from my understanding as long as the timer is enabled, there is no way to fully disable the state of the pins?

    Mohammad Rostamian
    Associate III
    November 22, 2017
    Posted on November 22, 2017 at 22:39

    Yes. By disabling the outputs, they will go to idle sate. 

    When the pin configes as AF mode, just internal periphiral handles the pin state.