Skip to main content
Eric Kelly
Associate
Jul 15, 2017 6:56 PM UTC
Question

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

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.

    2 replies

    Tesla DeLorean
    Guru
    Jul 16, 2017 2:17 PM UTC
    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
    Jul 16, 2017 6:15 PM UTC
    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.