Skip to main content
Eric Kelly
Associate
July 15, 2017
Question

Any ''Working'' LL Pwm example for Timer 1?

  • July 15, 2017
  • 1 reply
  • 1003 views
Posted on July 15, 2017 at 20:56

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

    Tesla DeLorean
    Guru
    July 16, 2017
    Posted on July 16, 2017 at 16:17

    For TIM1/TIM8 you'd also need to explicitly enable PWM Output. ie MOE bit of BDTR register

    /* Enable the Main Ouput */

    __HAL_TIM_MOE_ENABLE(htim);
    Tips, Buy me a coffee, or three.. PayPal Venmo (See Profile) Up vote any posts that you find helpful, it shows what's working..
    Eric Kelly
    Associate
    July 16, 2017
    Posted on July 16, 2017 at 18:15

    Thanks!  i'll give that i shot... i see there was a Start PWM i forgot in the HAL above that has it if the timer supports break mode.   seems like 15,16,17 also apply.