Home > other >  STM32 encoder mode
STM32 encoder mode

Time:09-24

I use the timer 8 channel 1, 2 as the encoder pulse input channel, the following problems in the testing process:
1, STM32F103 TIM8 IO mouth don't pick up on the encoder, AB phase TIM8 counter count value changes;
2, TIM8 IO mouth separately by incremental encoder, rotary encoder, TIM8 counters have change, rotary encoder, the value of the counter did not press encoder rotation direction change (increase or decrease);
3, in the use of drive, servo motor and development board, the number of pulses on the measurement of motor encoder, motor rotation, according to the timer 8 automatic initialization of heavy load coefficient of different values and the frequency, the serial port of the CNT value is different, why?

CodePudding user response:

If "TIM8 IO mouth separately by incremental encoder, rotary encoder, TIM8 counters have change," sure software or hardware connection has a problem
  • Related