cancel
Showing results for 
Search instead for 
Did you mean: 

Frequency measurement using input capture on Nucleo 64 board. - timer overflow detection

LCaha.1
Associate

I am using input capture mode on a Nucleo 64 board to measure frequency. It works as long as the range is within the limits of the 16 bit counter. The problem is that I can't find a way to determine if the counter has over flown. Is there a way to enable an interrupt callback when the timer overflows? Or is there some other way to detect overflow?

The function HAL_TIM_PeriodElapsedCallback is not getting called in my program. HAL_TIM_IC_CaptureCallback() is called ok.

This is the timer configuration I am using.

1 REPLY 1
KnarfB
Principal III

> This is the timer configuration I am using.

Cannot find it.