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