Skip to main content
Visitor II
September 8, 2023
Solved

Is it possible to use Hall sensor mode(x3 CH) and PWM function(x1 CH) at the same time in the timer?

  • September 8, 2023
  • 2 replies
  • 1219 views

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?

monbot_0-1694137139766.png

 

    This topic has been closed for replies.
    Best answer by Issamos

    Hello @monbot 

    all Channels are independent. Then, you can use the  Ch4 for PWM generation.

    Best regards.

    II

    2 replies

    Issamos
    IssamosBest answer
    Lead III
    September 8, 2023

    Hello @monbot 

    all Channels are independent. Then, you can use the  Ch4 for PWM generation.

    Best regards.

    II

    waclawek.jan
    Super User
    September 8, 2023

    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