AnsweredAssumed Answered

measure or integrate an external pulse train

Question asked by rocketdawg on May 20, 2013
Latest reply on May 20, 2013 by Clive One
I have an external device that I need to measure it's utilization.  I don't need code but I value the discussion and techniques offered.   target is STM32F407

The external device outputs a pulse.  minimum pulse width is 5ms and max is undefined, could be as much as one second high.  A good analogy is a PC disk drive light.  totally random utilization.

I need to measure the area under the curve, which is the amount of time (per some sample interval, say 100ms, 200ms) that the signal is high vs low.

A gated input capture is where I thinking of starting but I'm real new to ST timmers.

Outcomes