Home    Bloggers    Messages    Resources
Tw  |  Fb  |  In  |  Rss
Comments
Newest First   Oldest First   Threaded View
Rich Quinnell
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.

50%
50%
raul
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.

50%
50%
Rich Quinnell
Rich Quinnell
11/28/2012 7:19:10 PM
User Rank
Blogger
Re: TIme Triggered Embedded Systems and the 8051
raul, not familiar with this technique. In fact, I have never heard of it. Is it something you have experience with? IF so, what's your opinion?

50%
50%
raul
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.

 

50%
50%


latest blogs
Regardless of language, the way you name your variables will have a significant impact on your code's quality.
New MCC blogger Adam Carlson talks about ECAD tools for those coming to MCU design from other fields.
In the third of four parts, Aubrey talks about semiconductor sensors and software issues.
In the latest issue of this ARM-centric magazine, topics ranging from Android apps to digital cows.
There is still an opportunity for you to share your knowledge of ARM-based design with the industry, by proposing a paper for the ARM TechCon.
flash poll
MC on twitter
like us on facebook
Microcontroller Central    About Us     Contact Us     Help     Register     Twitter     Facebook     RSS