Yahoo Groups archive

Lpc2000

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

Message

Re: [lpc2000] LPC project

2006-04-18 by jk jlkj

Hi Dave,

David Hawkins <dwh@...> wrote:    
Hi Jerome,

>   I have a small project where i use the LPC 2214 . 
>   The project consists of communicating with another
> micro using SPI for the ADC data, I2c communication
> for data tranfer between the LPC and a Display IC
> and a EEPROM. It also provides a lot of man machine
> interface functions using the keyboard. 
>    
>   I have presently used a timer as a scheduler and
> have defined various time delays for keyboard scan,
> display scan, and so on and so forth.
>    
>   What i would like to know is whether there is a
> more effeicient  way for organising this code. Should
> i go in for a small RTOS like ucos -ii. 
>   I definitely want to use one in my project. But
> i dont know whether it will be feasible. I hope some
> one can guide me in this respect.

Do you have the uCOS-II 2nd Edition book? If so, there
are several ports to the ARM LPC. I implemented one
that uses the GCC compiler.

I find that using an RTOS makes for more modular code,
since the drivers for the keyboard, display, etc can
be written and tested independently of each other.

It really depends how much time you have to learn, if
you have never used uCOS-II before.

Cheers
Dave
   
  Thanks for the suggestion. I have the book on uCOS-II and i have tried to understand it once. I would like to know whether you have used the uCOS in any project and is the code stable so that i can use it any commercial project.
   
  Regards,
  Jerome 


				
---------------------------------
 Jiyo cricket on Yahoo! India cricket
Yahoo! Messenger Mobile Stay in touch with your buddies all the time.

[Non-text portions of this message have been removed]

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.