ZHCSEN4E September 2015 – April 2018 LMK03318
PRODUCTION DATA.
The LMK03318 implements an input crystal oscillator circuitry, known as the Pierce oscillator, shown in Figure 56. It is enabled when R50.7, R50.6, and R29.1 are set to 1, 0, and 1 respectively. The crystal oscillator circuitry includes programmable on-chip capacitances on each leg of the crystal and a damping resistor intended to minimize over-driven condition of the crystal. The recommended oscillation mode of operation for the input crystal is fundamental mode, and the recommended type of circuit for the crystal is parallel resonance with low or high pull-ability.
A crystal’s load capacitance refers to all capacitances in the oscillator feedback loop. It is equal to the amount of capacitance seen between the terminals of the crystal in the circuit. For parallel resonant mode circuits, the correct load capacitance is necessary to ensure the oscillation of the crystal within the expected parameters. The LMK03318 has been characterized with 9 pF parallel resonant crystals with maximum motional resistance of 30 Ω and maximum drive level of 300 µW.
The normalized frequency error of the crystal, due to load capacitance mismatch, can be calculated as Equation 4:
where
The first 3 parameters can be obtained from the crystal vendor.
If reducing frequency error of the crystal is of utmost importance, a crystal with low pullability should be used. If frequency margining or frequency spiking is desired, a crystal with high pullability should be used to ensure that the desired frequency offset is added to the nominal oscillation frequency. A total of ±50 ppm pulling range is obtained with a crystal whose ratio of shunt capacitance to motional capacitance (C0/C1) is no more than 250.
The programmable capacitors on LMK03318 can be tuned from 14 pF to 24 pF in steps of 14 fF using either an analog voltage on GPIO5 in soft pin mode or through I2C in soft pin or hard pin mode. When using crystals with low pullability, the preferred method is to program R86.3 = 1, R86.2 = 0, and program the appropriate binary code to R104 and R105, in this exact order, that sets the required on-chip load capacitance for least frequency error. GPIO4 pin must be tied to VDD, and GPIO5 pin should be floating when device is operating in soft-pin mode. Table 4 shows the binary code for on-chip load capacitance on each leg of crystal.
When using crystals with high pullability, the same method as above can be repeated for setting a fixed frequency offset to the nominal oscillation frequency according to Equation 4. In case of a closed loop system where the crystal frequency can be dynamically changed based on a control signal, the LMK03318 must operate in soft-pin mode, the R86.3 must be programmed to 0, and the R86.2 must be programmed to 1. The GPIO5 pin is now configured as an 8-level input with a full-scale range of 0 V to 1.8 V, and every 200 mV corresponds to a frequency change according to Equation 4. There are three possibilities to enable margining feature with GPIO5:
There are two possibilities to drive the GPIO5 pin:
The incremental load capacitance for each step should be programmed to R88, R89, R90, R91, R92, R93, R94, R95, R96, R97, R98, R99, R100, R101, R102, and R103 according to the chosen crystal's trim sensitivity specifications. The least-significant bit programmed to any of the XO offset register corresponds to a load capacitance delta of about 0.02 pF on the crystal input pins.
Good layout practices are fundamental to the correct operation and reliability of the oscillator. It is critical to locate the crystal components very close to the SECREF_P and SECREF_N pins to minimize routing distances. Long traces in the oscillator circuit are a very common source of problems. Don’t route other signals across the oscillator circuit, and make sure power and high-frequency traces are routed as far away as possible to avoid crosstalk and noise coupling. If drive level of the crystal should be reduced, a damping resistor (less than 500 Ω) should be accommodated in the layout between the crystal leg and SECREF_P pin. Vias in the oscillator circuit are recommended primarily for connections to the ground plane. Don’t share ground connections; instead, make a separate connection to ground for each component that requires grounding. If possible, place multiple vias in parallel for each connection to the ground plane. The layout must be designed to minimize stray capacitance across the crystal to less than 2 pF total under all circumstances to ensure proper crystal oscillation.