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
Message
Re: [lpc2000] LPC project
2006-04-18 by David Hawkins
Attachments
- No local attachments were found for this message.