Yahoo Groups archive

Lpc2000

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

Message

Re: [lpc2000] LPC project

2006-04-18 by David Hawkins

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

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.