Any ''Working'' LL Pwm example for Timer 1?
Options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
‎2017-07-15 11:56 AM
Posted on July 15, 2017 at 20:56The original post was too long to process during our migration. Please click on the attachment to read the original post.
This discussion is locked. Please start a new topic to ask your question.
2 REPLIES 2
Options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
‎2017-07-16 7:17 AM
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
Up vote any posts that you find helpful, it shows what's working..
Up vote any posts that you find helpful, it shows what's working..
Options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
‎2017-07-16 11:15 AM
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.
