Pages: [1]   Go Down
Author Topic: ATMega1280/2560 at 8Mhz  (Read 4741 times)
0 Members and 1 Guest are viewing this topic.
Bristol, United Kingdom
Offline Offline
Newbie
*
Karma: 0
Posts: 23
ARGH dwee No!
View Profile
 Bigger Bigger  Smaller Smaller  Reset Reset

So I'm looking to use a 1280/2560 chip in a circuit, programmed with Arduino. However, apparently they're as rare as hens' teeth, and I've managed to get hold of some ATMega1280-8AUs, which are set to run at 8Mhz instead of 16.

Now clearly this is going to affect some things, as I've read bits here and there about fiddling with the clock on the ATM128/328, but nothing I could gather together completely.

What will I need to do to make sure that the programs I write will work okay? I need accurate timings as I need the chip to do some servo control....

Thanks!
Tom
Logged

Tom

DeKalb, IL USA
Offline Offline
Full Member
***
Karma: 0
Posts: 243
KB9SXU
View Profile
WWW
 Bigger Bigger  Smaller Smaller  Reset Reset

By default they are set to run at 1MHz so you will need to change the fuse settings to remove the divide by 8 on the clock so it will run at 8MHz.  Then it should just be a matter of changing the speed in the boards.txt file located in your Arduino folder.  Probably copy the settings for the Mega1280, rename it to something else and change the clock setting to 8MHz.
Logged

Jeff K - JKDevices.com - home of the MegaMini

Pages: [1]   Go Up
Jump to: