Calibrating the 32.768 kHz RC oscillator

nRF54L15 | nRF54L10 | nRF54L05 Datasheet

The LFRC frequency is affected by temperature variation. LFRC can be calibrated to improve accuracy by using HFCLK as a reference oscillator during calibration.

The calibration must use the following sequence.
  1. Start the LFCLK by triggering the LFCLKSTART task.
  2. Start the HFCLK crystal oscillator HFXO by triggering the XOSTART task.
  3. Wait for the LFCLKSTARTED and the HFXO XOTUNED events.
  4. Trigger the CAL task to start the calibration process. The device automatically performs the calibration, adjusting the LFCLK frequency using HFCLK as reference. The DONE event is generated when calibration finishes.
  5. Stop HFXO with the XOSTOP task.
  6. Stop LFCLK with the LFCLKSTOP task.

LFCLK uses the calibrated value until the next calibration.