Skip to content

Commit

Permalink
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]>
  • Loading branch information
martintv authored and carlescufi committed Apr 18, 2024
1 parent 5a32920 commit 4f68adf
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 4f68adf

Please sign in to comment.