AnsweredAssumed Answered

Missing pulse detection in the STM32F407?

Question asked by chuck guzis on Aug 27, 2017
Latest reply on Sep 14, 2017 by chuck guzis

I've got an application where pulses arrive every 28 usec or so--I'd like to use the stm32f4 timers to detect when at least 4 pulses are missing.   It's easy enough to do in discrete logic, but I'd like to avoid that.

 

The problem would seem to be very simple--just reset a counter with each incoming pulse; if the counter manages to count up to a threshold, fire off an interrupt.   But even with a bottle of aspirin, I can't seem to wrap my head around how this might be done using the timers in the STM32F407.

 

Does anyone have any ideas?

Outcomes