measuring frequency

Questions on other types of hardware and getting it talking to the ARM CPU
Post Reply
YahooArchive
Posts: 1462
Joined: Fri Oct 19, 2012 5:11 am

measuring frequency

Post by YahooArchive »

Hi Bruce,

Is it possible to assign a pin as an input, connect it to a counter and read the
accumulated number of clock transitions?

I'd like to implement frequency measurement of a relatively low frequency signal
by reading the counter, recording the time and repeating the sequence at some
later time.

Best regards,

Jim



YahooArchive
Posts: 1462
Joined: Fri Oct 19, 2012 5:11 am

Re: measuring frequency

Post by YahooArchive »

What you are looking for is to run the counter/timer in counter mode. There are
2 available in the ARMweb. (2 and 3).

Post Reply