Go Down

Topic: 8MHz internal oscillator: success! (Read 74113 times) previous topic - next topic


Great! Made my day! I was wondering for a while why my AVR never responded when I tried to upload a program! :)



But wait you say, what about serial communications, like uploading sketches? Well yeah, the default 57,600 bit rate isn't very reliable without a good clock, but http://www.wormfood.net/avrbaudcalc.php shows that 38,400 is still pretty fast, yet has a much better chance of success @ 8MHz. And in my case, it was indeed successful.

If you want to use the internal oscillator and have good serial com, just re-calibrate the internal clock. Setup a CLKOUT pin via fuse setting or else use a test ISR to toggle a pin at a known frequency, then diddle the OSCCAL setting until it's perfect.
Gentlemen may prefer Blondes, but Real Men prefer Redheads!

Go Up