Skip to content

Commit

Permalink
[nrf fromtree] drivers: clock_control: Update RC accuracy nRF devices
Browse files Browse the repository at this point in the history
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)
  • Loading branch information
martintv authored and gmarull committed Apr 24, 2024
1 parent 8a5c578 commit f50ad41
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion drivers/clock_control/Kconfig.nrf
Original file line number Diff line number Diff line change
Expand Up @@ -130,7 +130,8 @@ endif # CLOCK_CONTROL_NRF_K32SRC_RC_CALIBRATION

choice CLOCK_CONTROL_NRF_ACCURACY_PPM
prompt "32KHz clock accuracy"
default CLOCK_CONTROL_NRF_K32SRC_500PPM if CLOCK_CONTROL_NRF_K32SRC_RC
default CLOCK_CONTROL_NRF_K32SRC_500PPM if CLOCK_CONTROL_NRF_K32SRC_RC && SOC_COMPATIBLE_NRF52X
default CLOCK_CONTROL_NRF_K32SRC_250PPM if CLOCK_CONTROL_NRF_K32SRC_RC
default CLOCK_CONTROL_NRF_K32SRC_50PPM

config CLOCK_CONTROL_NRF_K32SRC_500PPM
Expand Down

0 comments on commit f50ad41

Please sign in to comment.