Yahoo Groups archive

Lpc2000

Index last updated: 2026-04-28 23:31 UTC

Thread

Event counter

Event counter

2004-07-27 by Fuentes Rodriguez, M.E.

hello,

I'm in the need to "count events" with the lpc2129, by an event I mean a high or low transition. If you use the 8051 you just have to configute the timer to "count events" from pin XX. 
But it seems that the lpc2129 does not count events, but copies the Timer Counter to a register whenever an external event occurs. Am i right? Is there anyway in which i can count events? 

thanks in advance!
MAURO

Re: Event counter

2004-07-27 by philips_apps

Hello Mauro,

the LPC2129 does not have external event count features. The best way
for slow external events is to use an interrupt and count the
interrupts in a software loop. Future devices that will be announced
in Q4 will have 2 counters. 

Regards, Robert

--- In lpc2000@yahoogroups.com, "Fuentes Rodriguez, M.E." <mef6@l...>
wrote:
> hello,
> 
> I'm in the need to "count events" with the lpc2129, by an event I
mean a high or low transition. If you use the 8051 you just have to
configute the timer to "count events" from pin XX. 
> But it seems that the lpc2129 does not count events, but copies the
Timer Counter to a register whenever an external event occurs. Am i
right? Is there anyway in which i can count events? 
Show quoted textHide quoted text
> 
> thanks in advance!
> MAURO

Move to quarantaine

This moves the raw source file on disk only. The archive index is not changed automatically, so you still need to run a manual refresh afterward.