Using hardware timer encoder mode?

Post here first, or if you can't find a relevant section!
Post Reply
k4kfh
Posts: 1
Joined: Wed Feb 22, 2023 5:27 pm

Using hardware timer encoder mode?

Post by k4kfh »

I'm trying to use a Nucleo L432KC board with a quadrature encoder, and I want to use the dedicated hardware timers to decode the encoder pulses.

I've got some experience with Arduino and Teensy, but this will be my first STM32 project, and I'm a little confused as to how all the stm32duino/stm32cube/other HAL stuff fits together. Can somebody point me in the right direction as to the simplest way to utilize the encoder mode on hardware timer TIM2?

Thanks!
Post Reply

Return to “General discussion”