cancel
Showing results for 
Search instead for 
Did you mean: 

Quadrature encoder on STM32MP257 / M33 core?

HMüll.4
Associate III

Hi,

I want to implement a quadrature encoder input with the 400 MHz M33 core of the STM32MP257 MCU:

  • two inputs which use 90 degree phase shifted pulses to increment or decrement a counter
  • no bitbanging, means it is natively running on the hardware
  • fully running on bare metel/HAL code on the M33 core
  • configured with CubeMX

My question: how can this be done exactly? Means what do I have to configure within CubeMX to have two (or four) inputs working as one (or two) quadrature encoder inputs with related counter(s)?

Thanks!

0 REPLIES 0