Keil Logo Arm Logo

Discussion Forum

Using the RTC Timer (LPC2138) to Provide OS Tic

Next Thread | Thread List | Previous Thread Start a Thread | Settings

Details Message
Read-Only
Author
Rich Soennichsen
Posted
19-Jan-2006 23:41 GMT
Toolset
ARM
New! Using the RTC Timer (LPC2138) to Provide OS Tic
Has anyone done this? I have an application that I am converting to run on the ARTX OS and timers 0 and 1 are already heavily taxed.
Perhaps it is just a matter of configuring the VIC etc in ARTX_Config.c

Thanks

Rich
Read-Only
Author
Sauli Porttila
Posted
21-Jan-2006 10:44 GMT
Toolset
ARM
New! RE: Using the RTC Timer (LPC2138) to Provide OS Tic
I have not used the ARTX or the LPC2138, but it looks to me like it could be done. You just have to define the configuration macros to use the RTC. One tick per second is of course too slow to be used as OS tick, so I am assuming that you are not using the RTC for it's intended purpose.

I have written a small (<2kB) kernel for ARM which allows you to use any time base you have available. You are welcome to try it if you like - it is absolutely free (and also with absolutely no guarantees)!

Sauli

Next Thread | Thread List | Previous Thread Start a Thread | Settings

Keil logo

Arm logo
Important information

This site uses cookies to store information on your computer. By continuing to use our site, you consent to our cookies.