cancel
Showing results for 
Search instead for 
Did you mean: 

STM32H755

sarun
Associate III

Hi all,

I got my hands on a quadrature encoder for the first time, and I am trying to interface it with my STM32H755 Nucleo board through the timer in encoder mode. The issue is that the interrupt is getting triggered (in the "HAL_TIM_IC_CaptureCallback" function), but the timer counter is not incrementing. Any potential leads?

 

1 ACCEPTED SOLUTION

Accepted Solutions

No actual details of code, pin level connectivity to make any useful determination of what could be wrong.

Tips, Buy me a coffee, or three.. PayPal Venmo
Up vote any posts that you find helpful, it shows what's working..

View solution in original post

2 REPLIES 2

No actual details of code, pin level connectivity to make any useful determination of what could be wrong.

Tips, Buy me a coffee, or three.. PayPal Venmo
Up vote any posts that you find helpful, it shows what's working..
sarun
Associate III

Did a rookie mistake, configured the second channel at the wrong pin and it is working fine now.