Question
Setting up Quadrature Encoder Mode in STM32Cube
Posted on September 23, 2016 at 19:46
Hardware: STM32F767ZIT6 Nucleo 144 Board
IDE: Atollic TrueSTUDIO with STM32CubeMXI am trying to interface a quadrature encoder to TIM4 in the Encoder Mode using STM Cube. I set up the timer and configure the counter to counter till 5000. The function HAL_TIM_IC_CaptureCallback() is called on every interrupt by the encoder and not after 5000 counts. I am most probably using the wrong callback function. Can someone please point me towards documentation for using theEncoder Mode
of timers in STM32F7 ? The complete F7 manual hasn't been that helpful. #timer #encoder #stm32-cube