This post is older than 2 years and might not be relevant anymore
More Info: Consider searching for newer posts

32.768KHz crystal calibration

I use nRF52832 with 32.768KHz crystal, is that possible to make the frequency error smaller than 5 ppm by calibration or doing something?

Parents
  • Hi,

     

    On nRF52 series there is no calibration routine or similar to do this. The base frequency of the crystal is determined by the capacitive loading of the crystal. In theory the crystal load capacitors (C1 and C2) should be C1 = C2 = 2*C_L - C_pin - C_pcb, where C_L is the specified load capacitance for the crystal, C_pin is the nRF52 Pin capacitance, and C_pcb is the pcb trace/pad capacitance. C_pin is 3-4 pF, depending on RF52-variant and C_pcb is ~1pF.

    We still recommend that you measure the LFCLK frequency and tune the load caps as needed to adjust the crystal frequency as needed. Probing the crystal directly will load it, so it is better to measure the frequency by toggling a GPIO on RTC tick events, using GPIOTE trough PPI.

    The same theory as outlined above applies to the 32 MHz crystal, the only difference is we recommend you measure the frequency accuracy by measuring the frequency accuracy of an unmodulated RF carrier.

     

    nRF5340 however has tunable capacitors onboard, meaning such calibration e.g. in production could be made possible.

     

    Best regards,

    Andreas

Reply
  • Hi,

     

    On nRF52 series there is no calibration routine or similar to do this. The base frequency of the crystal is determined by the capacitive loading of the crystal. In theory the crystal load capacitors (C1 and C2) should be C1 = C2 = 2*C_L - C_pin - C_pcb, where C_L is the specified load capacitance for the crystal, C_pin is the nRF52 Pin capacitance, and C_pcb is the pcb trace/pad capacitance. C_pin is 3-4 pF, depending on RF52-variant and C_pcb is ~1pF.

    We still recommend that you measure the LFCLK frequency and tune the load caps as needed to adjust the crystal frequency as needed. Probing the crystal directly will load it, so it is better to measure the frequency by toggling a GPIO on RTC tick events, using GPIOTE trough PPI.

    The same theory as outlined above applies to the 32 MHz crystal, the only difference is we recommend you measure the frequency accuracy by measuring the frequency accuracy of an unmodulated RF carrier.

     

    nRF5340 however has tunable capacitors onboard, meaning such calibration e.g. in production could be made possible.

     

    Best regards,

    Andreas

Children
Related