ATmega32 CKSEL Options

16 MHz Crystal

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

CKSEL3CKSEL2CKSEL1CKSEL0
1111

External Low-frequency Crystal

CKSEL3CKSEL2CKSEL1CKSEL0
1001

External RC Oscillator

CKSEL3CKSEL2CKSEL1CKSEL0
1000

Calibrated Internal RC Oscillator

CKSEL3CKSEL2CKSEL1CKSEL0
0100

External Clock

CKSEL3CKSEL2CKSEL1CKSEL0
0000

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 Bit
Using 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