logo slogan

Title: Embedded Systems Building Blocks


Author: J. J Labrosse
Pub:R&D
ISBN: 0-87930-440-5
COST: 69:95 USD
DISK/CD:Disk
Cover: hard
Pages: 500
Keywords: RTOS Embedded operating systems
Recommendation: Recommended
Source:- ACCU book list

 

 

When I was first given a copy of this book I was at a loss to find a use for it. However now I have been given the book to which it is a companion, microC/OS-II the real-time kernel, I can see it’s value. The book contains, as you would expect a series of complete modules for common IO requirements. However it is assumed that you will be using these modules with the author’s RTOS microC/OS-II. A copy of the RTOS is on the CD, together with a couple of chapters in the book on it. It is possible to use the principals and I think much of the software without the microC/OS-II.

 

The areas covered are:- universal Hex key pad module, universal 7 Segment LED, universal LCD driver (alpha and graphical), Digital IO, Analogue IO. A software real-time clock, timer manager, serial comms and a very useful fix point maths chapter. There is also a section on PC services.

 

Each module is more sophisticated than you might think for example the digital IO module will not only give a high or low. It can also give positive and or negative edge detection, toggle mode and the hardware can be by passed with the module providing a 1 or 0 for sw debug. On transitions it will also count the number of transitions. Some of the options can be compiled out to save space. The universal keypad module includes debounce. The Analogue IO chapter gives several methods depending on the type of hardware used. So these are a little more that the minimum required.

 

Each chapter has the theory and rational behind the module with plenty of diagrams and examples. The API calls are then given (page each with example) and a section follows on the configuration. The configuration is fairly general and will need thought from you but the code was written with this in mind. There is also the entire source code, not just the parts that need configuration. This means that the modules can be adapted and reused well out side the scope of the book.

 

The fixed-point maths will be of use to many (it was designed for a 16 bit int). It covers the basic addition, subtraction, multiply and divide. Also fixed point comparison. This will often remove the need for (large and slow) floating-point libraries.

 

This book is designed to stand-alone and has a couple of chapters on OS principals and microC/OS-II so if you have the OS but not the book this one might be all you need. The modules are biased towards the x86/PC. This is not as odd as it might seem, as embedded PC’s are becoming quite common for a lot of embedded systems.

 

I think that this is a useful book for new microC/OS-II users. Given the cost of the book and the cost of your time it is probably going to be a good investment. Old hands with microC/OS-II will probably have their own libraries by now. However, some of the source and methods would still be of use.

 

I would thing it will not be of as much use to people developing on 8 bit platforms as on the larger 16,32,64 bit systems. Students of operating systems and embedded systems will find the methods (and probably the source code) of use. A useful book, if you are using microC/OS-II and want a kick-start.