The closest you can come to multi tasking in a single AVR system is an XMega with Event System.
Be aware that everything else is not able to do tasks in the microsecond response time range, be it interrupts or serial processing with gosub or the like.
With serial processing the timing at least can be nearly precise.
I would only suggest single MCU pseudo multi tasking if the timing does not matter that much.
In my applications the 168 runs ok (with external OSC., without eeprom R/W, with FRAM) at 24 MHz.
Hubert
↧