ATmega32 CKSEL Options
This fuse bit setting determines the clock source and clock type. This is where many people make mistakes and get the settings wrong. It is very important to understand the difference between a ceramic resonator and a crystal. Generally a crystal will be packaged in a metal can and have two terminals. A ceramic resonator will look like a ceramic capacitor but will have three terminals.
Another common mistake is choosing the 'External Clock' Option. The correct option for a 16 MHz external crystal for my development system is in green.
External Crystal or Ceramic Resonator
CKSEL3 | CKSEL2 | CKSEL1 | CKSEL0 |
1 | 1 | 1 | 1 |
External Low-frequency Crystal
CKSEL3 | CKSEL2 | CKSEL1 | CKSEL0 |
1 | 0 | 0 | 1 |
External RC Oscillator
CKSEL3 | CKSEL2 | CKSEL1 | CKSEL0 |
1 | 0 | 0 | 0 |
Calibrated Internal RC Oscillator
CKSEL3 | CKSEL2 | CKSEL1 | CKSEL0 |
0 | 1 | 0 | 0 |
External Clock
CKSEL3 | CKSEL2 | CKSEL1 | CKSEL0 |
0 | 0 | 0 | 0 |
From the tables above we can see that for an external 16 MHz crystal, a setting of binary 1111 is needed which means no ticks in any of the boxes CKSEL3, CKSEL2, CKSEL1, and CKSEL0.
This Article Continues...
ATMega32 16 MHz Fuse BitUsing PonyProg Software
ATMega32 Default Fuse Bit Settings
ATmega32 CKSEL Options
ATmega32 CKOPT Fuse
ATmega32 SUT CKSEL Fuse Bit
ATMega32 JTAG Fuse
16 MHz Crystal Fuse Bit Configuration
ATMega32 Chip Recovery