Skip to main content
Associate III
March 27, 2024
Solved

STM32H755

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?

 

This topic has been closed for replies.
Tesla DeLorean
Tesla DeLoreanBest answer
Guru
March 27, 2024

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 (See Profile) Up vote any posts that you find helpful, it shows what's working..

2 replies

Tesla DeLorean
Tesla DeLoreanBest answer
Guru
March 27, 2024

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 (See Profile) Up vote any posts that you find helpful, it shows what's working..
sarunAuthor
Associate III
March 28, 2024

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