counter

cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

counter

1,037 Views
lpcware
NXP Employee
NXP Employee
Content originally posted in LPCWare by prancius on Tue Oct 16 05:07:41 MST 2012
Hello,

Maybe someone can point me.

I want to make pulse counter. Speed until 40pulses/s

What NXP mechanism exists.

For example with PIC i have used a PORTB interupt.

Thank you
PRanas
0 Kudos
Reply
4 Replies

1,024 Views
lpcware
NXP Employee
NXP Employee
Content originally posted in LPCWare by Ex-Zero on Tue Oct 16 23:14:39 MST 2012
#4 of http://knowledgebase.nxp.com/showthread.php?t=2815 :eek:
0 Kudos
Reply

1,024 Views
lpcware
NXP Employee
NXP Employee
Content originally posted in LPCWare by prancius on Tue Oct 16 23:01:19 MST 2012
Hello,

Thank you

I will try to find some examples.

Regards,
Pranas
0 Kudos
Reply

1,024 Views
lpcware
NXP Employee
NXP Employee
Content originally posted in LPCWare by karanmehta93 on Tue Oct 16 05:17:49 MST 2012
You can use GPIO interrupt using the registers IO0IntEnr for any type of edge i.e. rising falling or both.
Use the timer to get the time of 1 sec.
0 Kudos
Reply

1,024 Views
lpcware
NXP Employee
NXP Employee
Content originally posted in LPCWare by Ex-Zero on Tue Oct 16 05:15:23 MST 2012

Quote: prancius
What NXP mechanism exists.



Capture interrupt ;)
0 Kudos
Reply