Yahoo Groups archive

Lpc2000

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

Message

External Counter Mode in LPC2130 series, Yes!

2005-02-09 by lpc2100_fan

Hi,

just discovered something in the Users Manual of the LPC2138. Several
months ago there was a questions how to count external events with a
LPC2106, to my surprise the answer was, generate an interrupt und do a
software counter :-(

In the LPC2130 series however, it is possible to select any of the
CAPIN pins to be an external counter, counting falling, rising or both
edges. The Match registers can still be used to generate an interrupt.
The rather short description, pretty much limited to a new register
can be found in the UM (posted here in the files section) on page 179,
table 130.  :-)

There was no indication in the pinout that the CAPIN pins can be used
as counters so I thought this was worth pointing out here.

Cheers, Bob

Attachments

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.