Rich Quinnell 11/29/2012 3:15:11 PM User Rank Blogger
Re: TIme Triggered Embedded Systems and the 8051
Interesting, I'll have to download and look over the book, then. I was afraid that it was mestly about using their operating system product and not about more general design practice. Good to know it has the wider applicability.
raul 11/29/2012 6:40:44 AM User Rank Program Manager
Re: TIme Triggered Embedded Systems and the 8051
Rich, Time Triggered Systems are, as I recall, the author's approach to a cooperative system. He explains with examples how to implement a simple cooperative scheduler (in fact there are various code examples of it in the book) and presents a collection of patterns as small 'recipies' for common hardware and software tasks.
These patterns are non-blocking and run to completion, as one may expect for implementing tasks in a cooperative system. I adapted some of them for its use in PIC microcontrollers and worked very well with in Finite State Machines, not tried yet their cooperative schedulers but from the code they seem to me very simple and robust, good for small microcontrollers.
I think their patterns can be used even with an RTOS with small modifications, or in a more simple superloop implementation too.
raul 11/28/2012 6:04:53 AM User Rank Program Manager
TIme Triggered Embedded Systems and the 8051
For those who didn't heard about it:
Patterns for Time-Triggered Embedded Systems is a freely downloadable book (with GPL source code) about embedded systems patterns and the 8051. It has great tips and code examples for begginers and professionals alike.
The code examples (patterns) include basic routines for I/O, delays, user interface (keypads, LCDs, switches, etc.),peripherals (I2C, SPI), ADC, PWM, etc. There's even a section about cooperative schedulers and task oriented design.
Check out the rest of the site, they design and sell 32-bit processors too.
To save this item to your list of favorite Microcontroller Central content so you can find it later in your Profile page, click the "Save It" button next to the item.
If you found this interesting or useful, please use the links to the services below to share it with other readers. You will need a free account with each service to share an item via that service.