State Machine Operation of FreeRTOS

groufosse wrote on Thursday, January 03, 2013:

I’m trying to understand the best approach or methodology to implement state-machine functionality using FreeRTOS. The basic application is control of an LPC17xx M3 processor with various hardware interfaces and associated interrupts. Where I’m running into trouble is matching the concept of setting up deterministic “function intervals” in a true event-driven environment.
Any examples or notes on how this is successfully accomplished? Is there another software system that could be integrated to make this happen?

Thanks for any help.

jon_newcomb wrote on Friday, January 04, 2013:

I recommend you look into the following:

Simple
http://code.google.com/p/simplehsm/

Table driven
https://sourceforge.net/projects/efsm/

jon_newcomb wrote on Friday, January 04, 2013:

Fully featured & commercial (free for eval / personal use)
http://www.state-machine.com/freertos/index.php

Event driven approach for embedded programming
http://www.embedded.com/design/prototyping-and-development/4008247/1/A-crash-course-in-UML-state-machines-Part-1

groufosse wrote on Friday, January 04, 2013:

OK, thanks for the reply, I’ll check them out.