PWM Generation
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
‎2024-08-22 5:48 AM
Hello STM Community,
today while generating PWM using Alternate Function Register, I observed that for TIMER 5, Channel 1, I need not configure MOE bit in BDTR register. whereas for TIMER1, Channel 1 I had to configure the MOE bit in BDTR register. Why such deviation?
thanks and regards.
- Labels:
-
STM32F4 Series
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
‎2024-08-22 5:58 AM
TIM1 is an advanced control timer that requires MOE to be set. It is not the same peripheral as TIM5 and has slightly different operation. The MOE bit being the biggest gotcha.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
‎2024-08-22 6:02 AM
Hi,
Because timers are Very different, Tim 1 is much more complex.
