AnsweredAssumed Answered

Setting up Quadrature Encoder Mode in STM32Cube

Question asked by Neo M on Sep 23, 2016
Latest reply on Sep 6, 2017 by Brian Dang
Hardware: STM32F767ZIT6 Nucleo 144 Board
IDE: Atollic TrueSTUDIO with STM32CubeMX

I 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 the Encoder Mode of timers in STM32F7 ? The complete F7 manual hasn't been that helpful.