This seems to be exactly what i'm looking for. I also find some similar firmware[1] for AVR in case you want to do the same on an arduino or other avr-based construction. Thinking about it just writing the code targeted directly for the µC isn't that complicated. Even though it's nice to have the communication firmware done for you already.