AnsweredAssumed Answered

How to get interrupt on counter overflow with Quadrature Encoder with Cube and HAL?

Question asked by Stefan Wozniak on Mar 26, 2017
Latest reply on Sep 22, 2017 by Code Wrangler

I want to use Timer with Quadrature Encoder. I'm new on STM32 so I'm trying to start with Cube and HAL.
I'm able to setup STM32F411 to count pulses but there is an only 16bit counter. I need to measure pulses up to 400k.
Can I rise interrupt on counter overflow to store revolutions? I want to do this using Cube and HAL. I was trying a lot of settings and interrupts but I'm unable to get interrupt from an encoder.
Can you help me?
Thanks in advance.