36.5.3 External Real-Time Oscillator
The low-frequency crystal oscillator is optimized for use with a 32.768 kHz watch crystal. When selecting crystals, load capacitance, and crystal’s Equivalent Series Resistance (ESR) must be considered. Both of these values are specified by the crystal vendor.
The SAM D20 oscillator is optimized for very low-power consumption, hence the user must pay close attention while selecting crystals. Refer to the table below for maximum ESR recommendations on 9 pF and 12.5 pF crystals.
The low-frequency crystal oscillator provides an internal load capacitance of typical values provided in the Table 32 kHz Crystal Oscillator Characteristics. This internal load capacitance and PCB capacitance can use a crystal inferior to 12.5 pF load capacitance without external capacitors as shown in the following figure.
Crystal CL (pF) | Maximum ESR [kΩ] |
---|---|
12.5 | 313 |
However, to improve crystal accuracy and safety factor, it has been recommended to add external capacitors as shown in the figure below.
To find suitable load capacitance for a 32.768 kHz crystal, refer to the crystal data sheet.
"
Signal Name | Recommended Pin Connection | Description |
---|---|---|
XIN32 | Load capacitor CLEXT(1)(2) | Timer oscillator input |
XOUT32 | Load capacitor CLEXT(1)(2) | Timer oscillator output |
- Use the equation provided in Crystal Oscillator Characteristics to calculate CLEXT.
- Decoupling capacitor must be placed close to the device for each supply pin pair in the signal group.
To minimize the cycle-to-cycle jitter of the external oscillator, keep the neighboring pins as steady as possible. For neighboring pin details, refer to the Oscillator Pinout section.