Skip to main content
LCaha.1
Visitor II
February 15, 2020
Question

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

  • February 15, 2020
  • 1 reply
  • 623 views

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.

This topic has been closed for replies.

1 reply

KnarfB
Super User
February 15, 2020

> This is the timer configuration I am using.

Cannot find it.