Home > other >  Stm32 timer ~ 3 4 channel encoder mode?
Stm32 timer ~ 3 4 channel encoder mode?

Time:10-01

Timer mode is set to the encoder to use CH1 and CH2 channel, but the CH3 CH4 only as input?
I use STM32CubeMx configuration project, found that channel 3, 4 can also choose to PWM output mode, but ~ how do you achieve this?

CodePudding user response:

You have not used, the type of chip are generally according to the manual to configure, something is reuse, associated with the overall architecture of the chip,

CodePudding user response:

So to configure a try, if configuration does not conflict

CodePudding user response:

It is also useless even if you choose the output mode, at this time, TIM - & gt; CNT is affected by the external pulse, you compare the output with little significance

CodePudding user response:

Cannot be used for PWM
  • Related