Skip to content

Commit b6a26e1

Browse files
committed
[nrf fromtree] drivers: clock_control: Update RC accuracy nRF devices
It is only nrf52 that has 500ppm accuracy on LFRC. All others have 250ppm. Signed-off-by: Martin Tverdal <[email protected]> (cherry picked from commit 4f68adf)
1 parent 94a7ff9 commit b6a26e1

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

Diff for: drivers/clock_control/Kconfig.nrf

+2-1
Original file line numberDiff line numberDiff line change
@@ -130,7 +130,8 @@ endif # CLOCK_CONTROL_NRF_K32SRC_RC_CALIBRATION
130130

131131
choice CLOCK_CONTROL_NRF_ACCURACY_PPM
132132
prompt "32KHz clock accuracy"
133-
default CLOCK_CONTROL_NRF_K32SRC_500PPM if CLOCK_CONTROL_NRF_K32SRC_RC
133+
default CLOCK_CONTROL_NRF_K32SRC_500PPM if CLOCK_CONTROL_NRF_K32SRC_RC && SOC_COMPATIBLE_NRF52X
134+
default CLOCK_CONTROL_NRF_K32SRC_250PPM if CLOCK_CONTROL_NRF_K32SRC_RC
134135
default CLOCK_CONTROL_NRF_K32SRC_50PPM
135136

136137
config CLOCK_CONTROL_NRF_K32SRC_500PPM

0 commit comments

Comments
 (0)