Hello Nordic Team,
I previously asked about how to configure the internal load capacitance for the 32 MHz crystal on nRF54L, and I’ve successfully applied the solution provided — thank you!
However, since the internal load capacitor can only support up to 17 pF, we still need to add external capacitors to achieve the target load.
I’d like to clarify a few things regarding the hfxo
configuration in the device tree:
This is what I currently see in my .dts
file:
hfxo: hfxo { compatible = "nordic,nrf-hfxo"; #clock-cells = <0>; clock-frequency = <0x1e84800>; // 32 MHz load-capacitors = "internal"; load-capacitance-femtofarad = <0x4268>; // 17000 fF = 17 pF };
My questions:
-
Does this mean the internal load capacitance is currently set to 17 pF?
-
If I add external capacitors (e.g., 5 pF) on the crystal lines, does that mean the total load seen by the crystal is 17 pF (internal) in parallel with 5 pF (external)?
-
If I switch the device tree setting to:
hfxo: hfxo { compatible = "nordic,nrf-hfxo"; #clock-cells = <0>; clock-frequency = <0x1e84800>; load-capacitors = "external"; };
Does that mean the SoC disables the internal capacitors, and only the external capacitors are used?
-
Is there anything else that I need to configure in software (e.g., in Kconfig or at runtime) to ensure the internal capacitors are fully disabled when using
"external"
?
Our goal is to ensure the correct load capacitance is applied to the crystal to achieve optimal frequency accuracy.
Thank you in advance for your clarification and support!
Best regards,
Doris