Jump to content

How can I create a frequency meter?

Recommended Posts

If the frequency is low (< few kHz) you can simply count interrupts from that pin in a 1s interval using Energia-only code. This is very easy to do. I can help you with that. However If you want something more serious (say >10kHz) you need to learn how to program Tiva timers at the low level (or find an existing frequency counter project).


I've done an enhanced resolution (oversampling) frequency counter on a MSP430, but it is not using Energia and the code is not in the public domain (have not decided on that yet).

Link to post
Share on other sites
  • 2 weeks later...
  • 2 weeks later...



Just joined as noticed some traffic from here to my site.


@@energia, thank you for posting the link


@@angel d, glad you found it useful


I own one of the LM4F based Stellaris Launchpads but not had time to use it yet, as focussing on the C2000 for my course.  I will try and add more useful tutorial as and when I have time.




Link to post
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

  • Create New...