Yahoo Groups archive

Lpc2000

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

Message

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?
> 
> looking for all ur help.
> 
> thanks
>

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.