Yahoo Groups archive

Lpc2000

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

Message

Re: Timer interrupt problem

2004-01-26 by lpc2100_fan

Hi bob,

don't know your environment, so just a thought. In case the frequency
on the pins to monitor is predictable and different between the pins,
it might be an idea to use the capture pins for the pins with the
shortest time beteen pulses and the regular INT for the remaining 9
inputs, this would give you the option to use the FIQ for anything
(more?) urgent.

Cheers, Bob

--- In lpc2100@yahoogroups.com, "bobbruce000" <bobbruce000@y...> wrote:
> --- In lpc2100@yahoogroups.com, "Richard" <richas@y...> wrote: 
> > Why not use timer/capture instead of polling pins? 
>  
> Because I need to monitor 16 pins and there are only seven 
> pins configurable as capture triggers. 
>  
> 	-bob 
-snip --------
 Since there aren't that many external    
> > > interrupt pins, I decided to use a timer interrupt and    
> > > sample the pins every few microseconds.  Since this is    
> > > the most frequent interrupt, I made it the "fast    
> > > interrupt".

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.