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
Message
External Counter Mode in LPC2130 series, Yes!
2005-02-09 by lpc2100_fan
Attachments
- No local attachments were found for this message.