Yahoo Groups archive

Lpc2000

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

Thread

LPC project

LPC project

2006-04-18 by jk jlkj

Hi Friends,
   
  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.
   
  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]

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

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]

Re: [lpc2000] LPC project

2006-04-18 by David Hawkins

> 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.

Hi Jerome,

I use uCOS-II on some DSPs in a large project, and the RTOS
is very stable.

The RTOS is certified to lots of standards that I don't
have to care about - but its a good sign.

 >  i can use it any commercial project.

When the RTOS is used in a commercial project it requires
a license. Use is free for academic projects, so I have
no idea of the cost.

Contact Jean Labrosse at Micrium www.micrium.com and he
will be able to give you the licensing cost, and an
idea of what a support contract would cost.

Cheers
Dave

Re: [lpc2000] LPC project

2006-04-18 by Boris Estudiez

On 17/04/2006 at 23:06:33 -0700 David Hawkins Wrote:
> 
> 
> > 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.
> 
> Hi Jerome,
> 
> I use uCOS-II on some DSPs in a large project, and the RTOS
> is very stable.
> 
> The RTOS is certified to lots of standards that I don't
> have to care about - but its a good sign.
> 
>  >  i can use it any commercial project.
> 
> When the RTOS is used in a commercial project it requires
> a license. Use is free for academic projects, so I have
> no idea of the cost.
> 
> Contact Jean Labrosse at Micrium www.micrium.com and he
> will be able to give you the licensing cost, and an
> idea of what a support contract would cost.
> 

What about FreeRTOS (www.freertos.org) ?.
AFAIK, It can be used in commercial applications without 
charge.

Regards,
Boris Estudiez.-

-- 

Contacteme en:
* Mail(1): stk@...
* Mail(2): 43824@...
* Mail(3): slicetex@...
* Website: http://stk.freeshell.org
EOF

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.