Is it possible to use Hall sensor mode(x3 CH) and PWM function(x1 CH) at the same time in the timer?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
‎2023-09-07 6:49 PM
I use TIM2 in Hall Sensor Mode and
I want to use the unused channel 4 for PWM generation.
There are no conflicts in CubeMX configuration.
Are there any problems with the actual operation?
Solved! Go to Solution.
Accepted Solutions
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
‎2023-09-08 12:03 AM - edited ‎2023-09-08 12:59 AM
Hello @monbot
all Channels are independent. Then, you can use the Ch4 for PWM generation.
Best regards.
II
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
‎2023-09-08 12:03 AM - edited ‎2023-09-08 12:59 AM
Hello @monbot
all Channels are independent. Then, you can use the Ch4 for PWM generation.
Best regards.
II
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
‎2023-09-08 12:57 AM
All 4 channels of timer are mutually independent, except they work out of the same single counter. So, as long as you don't change anything in the counter's setup (including prescaler and source of clock/slave-mode controller setup), the fourth channel works as intended regardless of the other 3 channel's setup.
JW
