Home
JAQForum Ver 24.01
Log In or Join  
Active Topics
Local Time 17:42 05 Jul 2025 Privacy Policy
Jump to

Notice. New forum software under development. It's going to miss a few functions and look a bit ugly for a while, but I'm working on it full time now as the old forum was too unstable. Couple days, all good. If you notice any issues, please contact me.

Forum Index : Microcontroller and PC projects : MM+ Counter frequency

Author Message
Tinine
Guru

Joined: 30/03/2016
Location: United Kingdom
Posts: 1646
Posted: 11:21pm 14 May 2016
Copy link to clipboard 
Print this post

I need to reliably and constantly keep a pulse count of approximately 100KHz. Missing a beat due to other chip activity is not an option. Is this possible?

Cheers!

Tinine
 
Geoffg

Guru

Joined: 06/06/2011
Location: Australia
Posts: 3282
Posted: 11:35pm 14 May 2016
Copy link to clipboard 
Print this post

Yep, configuring a pin as a counting input will count at up to 300KHz. This is done in the background and it will not miss a count.

Look for the command: SETPIN nn, CIN

You have four I/O pins that can be used for this function.

Geoff
Geoff Graham - http://geoffg.net
 
Tinine
Guru

Joined: 30/03/2016
Location: United Kingdom
Posts: 1646
Posted: 03:45pm 16 May 2016
Copy link to clipboard 
Print this post

Cool!

So no difference between MM and MM+ then?

Cheers!

Tinine
 
Print this page


To reply to this topic, you need to log in.

The Back Shed's forum code is written, and hosted, in Australia.
© JAQ Software 2025