Yahoo Groups archive

Lpc2000

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

Message

Timer interrupts on LPC2138

2006-05-13 by ylavoie66

Has anyone ever experienced a similar problem with timers on the 
LPC2138?

I want to get a timer to generate an interrupt at every 1ms (system 
tick).  I configured the prescaler so the timer would count with a 1ms 
period, and the match register set so the timer would generate an 
interrupt every 1ms.

This resulted in a 2ms system tick ??!!

As a test, I changed my prescaler, so the counter would count on a 1us 
period, and interrupt every 1000us, which is the same as 1mm here in  
Canada :)

I am still waiting for an answer from Philips, but it seems that 
setting a match of "1" is not working properly...


Yves Lavoie

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.