B
Brian Logan
- Jan 1, 1970
- 0
I've never really experienced problems with microcontroller crystal load
capacitors until recently. I was asked to repair several faulty boards that had
accumulated over time, some of which wouldn't oscillate due to the choice of
load capacitors. The micro is a PIC16C74B. Oscillator is configured for LP as
the crystal is 32.768kHz. The load capacitors were originally 15pF. The data
sheet for the micro recommends 33pF load capacitors for this frequency. The
crystal data sheets seem to mostly specify something in the region of 15pF for
thses watch crystals. According to Microchip's application note "AN588 -
PICmicro Microcontroller Oscillator Design Guide," page 7, the capacitors
chosen should be double the crystal specified load capacitance. Putting 33pF
capacitors in the boards that wouldn't start restored normal operation. Problem
solved, I thought. However, now I'm doing a new product that uses an Atmel AVR
micro and the crystal frequency is 3.6864MHz (Baud rates come out spot on), and
the micro data sheet suggests up to 22pF for this frequency range. Looking at
the crystal, the load capacitance is 30pF. Which means that something like 56pF
load capacitors would be in order if Microchip's suggestion of doubling the
capacitor values applies. But this doesn't tie in with the Atmel data sheet and
I don't remember seeing any micro applications that used capacitors this high.
Another one of those deep subjects, I suspect, that is taken for granted by many
of us. I'd be interested in the experience of others in this area and
suggestions as to what capacitors to choose for these crystals.
TIA
capacitors until recently. I was asked to repair several faulty boards that had
accumulated over time, some of which wouldn't oscillate due to the choice of
load capacitors. The micro is a PIC16C74B. Oscillator is configured for LP as
the crystal is 32.768kHz. The load capacitors were originally 15pF. The data
sheet for the micro recommends 33pF load capacitors for this frequency. The
crystal data sheets seem to mostly specify something in the region of 15pF for
thses watch crystals. According to Microchip's application note "AN588 -
PICmicro Microcontroller Oscillator Design Guide," page 7, the capacitors
chosen should be double the crystal specified load capacitance. Putting 33pF
capacitors in the boards that wouldn't start restored normal operation. Problem
solved, I thought. However, now I'm doing a new product that uses an Atmel AVR
micro and the crystal frequency is 3.6864MHz (Baud rates come out spot on), and
the micro data sheet suggests up to 22pF for this frequency range. Looking at
the crystal, the load capacitance is 30pF. Which means that something like 56pF
load capacitors would be in order if Microchip's suggestion of doubling the
capacitor values applies. But this doesn't tie in with the Atmel data sheet and
I don't remember seeing any micro applications that used capacitors this high.
Another one of those deep subjects, I suspect, that is taken for granted by many
of us. I'd be interested in the experience of others in this area and
suggestions as to what capacitors to choose for these crystals.
TIA