This discussion has been locked.
You can no longer post new replies to this discussion. If you have a question you can start a new discussion

1 micro second time unit LPC2106

Greetings,

I would like to put the timer to interrupt the LPC2106 CPU on a multiple of 1 microseconds. I got success with a range of 1 millisecond, but at intervals of 1 micro the error is very large, about 40%, one has any idea how to shorten this interval?

Best regards

Parents
  • Hi,

    Thanks for your answers, the time spend in the ISR was bigger than the time unit. So, I changed my approach to use the timer only as a reference of time for the program without interruption. Compared the time of the program shown on Keil with the time of peripheral and saw that the counts were quite different. because i believe that any limitation on the counter. with a tick higher there is not much difference.

    bruno

Reply
  • Hi,

    Thanks for your answers, the time spend in the ISR was bigger than the time unit. So, I changed my approach to use the timer only as a reference of time for the program without interruption. Compared the time of the program shown on Keil with the time of peripheral and saw that the counts were quite different. because i believe that any limitation on the counter. with a tick higher there is not much difference.

    bruno

Children
No data