FYI: 12.8 MHz module on attiny2313

General discussions about V-USB, our firmware-only implementation of a low speed USB device on Atmel's AVR microcontrollers
Post Reply

FYI: 12.8 MHz module on attiny2313

Post by barf » Sun Dec 19, 2010 9:36 pm

I thought this is interesting so I'm sharing it.
I got the 12.8 MHz module of V-USB to work on the attiny2313. With everything stripped down (and with a few additional GCC flags), the V-USB stack requires about 1700 bytes, so there is a bit of space left for functionality. By tuning the OSCCAL reg to the maximum value (127), most attiny2313's seem to work. But not all of them. Obviously, calibration doesn't make sense in this case.

Posts: 14
Joined: Sat Sep 24, 2011 1:53 am

Re: FYI: 12.8 MHz module on attiny2313

Post by honupata » Sat May 12, 2012 5:21 am


True the Attiny2313 is limited but with the 4k of the Attiny4313 that can be interesting. I try to set up a Attiny4313 @ 12.8mhz without luck. Can you please post your code.

Thank you.

Post Reply