Yahoo Groups archive

Lpc2000

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

Thread

interrupt generation in LPC2292

interrupt generation in LPC2292

2006-01-02 by ef03thse1@gmail.com

Hi,

I want to generate a small interrupt program using LPC 2292. The LED should be ON for 2 sec and be OFF for 1 Sec.I would like to know what values should I load into T0MR0 and T0PR register to create a delay for 1 Sec.?Is there any forrmula to calculate the Timer load values for T0MR0 and T0PR for different Oscillator frequency?

looking for all ur help.

thanks

Re: interrupt generation in LPC2292

2006-01-05 by mpwalter2005

this ist what i use: 

f(Hz) = (pclk / (T1MRO+1))

the values are depends on the pclk ! for more information look at the 
hitex lpc2000 tutorial

http://www.hitex.co.uk/arm/ (click then "The Insider's Guide To The 
Philips ARM7-Based Microcontrollers
")

Hope this will help you!
Matthias 

--- In lpc2000@yahoogroups.com, ef03thse1@g... wrote:
>
> Hi,
> 
> I want to generate a small interrupt program using LPC 2292. The 
LED should be ON for 2 sec and be OFF for 1 Sec.I would like to know 
what values should I load into T0MR0 and T0PR register to create a 
delay for 1 Sec.?Is there any forrmula to calculate the Timer load 
values for T0MR0 and T0PR for different Oscillator frequency?
Show quoted textHide quoted text
> 
> looking for all ur help.
> 
> thanks
>

Re: interrupt generation in LPC2292

2006-01-12 by ttsenthilraj1

Hi 
Thanks Matthias.

Regards,
T.Senthil


--- In lpc2000@yahoogroups.com, "mpwalter2005" <mpwalter2005@y...> 
wrote:
>
> this ist what i use: 
> 
> f(Hz) = (pclk / (T1MRO+1))
> 
> the values are depends on the pclk ! for more information look at 
the 
> hitex lpc2000 tutorial
> 
> http://www.hitex.co.uk/arm/ (click then "The Insider's Guide To 
The 
> Philips ARM7-Based Microcontrollers
> ")
> 
> Hope this will help you!
> Matthias 
> 
> --- In lpc2000@yahoogroups.com, ef03thse1@g... wrote:
> >
> > Hi,
> > 
> > I want to generate a small interrupt program using LPC 2292. The 
> LED should be ON for 2 sec and be OFF for 1 Sec.I would like to 
know 
Show quoted textHide quoted text
> what values should I load into T0MR0 and T0PR register to create a 
> delay for 1 Sec.?Is there any forrmula to calculate the Timer load 
> values for T0MR0 and T0PR for different Oscillator frequency?
> > 
> > looking for all ur help.
> > 
> > thanks
> >
>

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.