Monday, March 2, 2015

Current project uses an ATtiny

My current project doesn't need the features of even the lowest featured ATXmega, it actually doesn't even need an ATMega. This one is happy to run on an ATtiny 8+ I/O pins, a couple of timers for PWM an ADC and I'm done, right?

What I forgot about the ATtiny is that it doesn't use the ASF, it's considered too memory constrained. More likely it would overly complicate (conditional compilation) the ASF source code.

The result is I'm really getting familiar with the actual registers. I can almost imagine the TTL chips it would take to perform the exact task I'm configuring. The good part is understanding a feature at the register level is great for troubleshooting when your abstraction leaks. It also makes you appreciate the amount of "heavy lifting" the ASF is doing for us.