lpcware

LPC1549 Pulse counting

Discussion created by lpcware Employee on Jun 15, 2016
Latest reply on Jun 15, 2016 by lpcware
Content originally posted in LPCWare by Carl-CircuitWorx on Wed Apr 29 09:41:05 MST 2015
Hi,

Have a 0 to 2khz input I need the monitor the frequency of, Have tried the frequency perhperial using the 32khz clock but it gives me four results then gets stuck and doesnt return with a result ( Clearing the bit in FREQMECTRL )

So I am thinking of using interrupt on change and pulse counting. Or would the SCT timer be a better option can it be configured to count pulses and give me a total each second?

Outcomes