Clk config that should be stable.

This commit is contained in:
Pbopbo
2026-04-02 17:14:52 +02:00
parent df7c2d5ebd
commit f431d353f3
5 changed files with 12 additions and 11 deletions

View File

@@ -13,7 +13,7 @@
"cacheVariables": {
"NCS_TOOLCHAIN_VERSION": "NONE",
"BOARD": "nrf54l15dk/nrf54l15/cpuapp",
"EXTRA_CONF_FILE": "iso.conf;internal_osc.conf;lfxo.conf",
"EXTRA_CONF_FILE": "iso.conf;clk.conf",
"CONF_FILE": "prj.conf",
"DTC_OVERLAY_FILE": "bl54l15_radio0_radio1.overlay"
}

9
clk.conf Normal file
View File

@@ -0,0 +1,9 @@
# 1. Disable the Crystal and RC Oscillators
CONFIG_CLOCK_CONTROL_NRF_K32SRC_XTAL=n
CONFIG_CLOCK_CONTROL_NRF_K32SRC_RC=y
# 2. Enable the Synthesized Clock (LFSYNT)
CONFIG_CLOCK_CONTROL_NRF_K32SRC_SYNTH=n
# 3. Claim High Accuracy (Because it is backed by the HFXO)
CONFIG_CLOCK_CONTROL_NRF_K32SRC_250PPM=y

View File

@@ -1,4 +0,0 @@
# use internal 32kHz oscillator
CONFIG_CLOCK_CONTROL_NRF_K32SRC_RC=y
# select desired accuracy (more calibrations would be nececcary if smaller) - I think the 32KHz oscillator is only needed for receive
CONFIG_CLOCK_CONTROL_NRF_K32SRC_250PPM=y

View File

@@ -1,4 +0,0 @@
CONFIG_CLOCK_CONTROL=y
CONFIG_CLOCK_CONTROL_NRF=y
CONFIG_CLOCK_CONTROL_NRF_K32SRC_XTAL=y
CONFIG_CLOCK_CONTROL_NRF_K32SRC_RC=n

View File

@@ -7,8 +7,8 @@ CONFIG_UART_INTERRUPT_DRIVEN=y
CONFIG_CLOCK_CONTROL=y
CONFIG_CLOCK_CONTROL_NRF=y
CONFIG_CLOCK_CONTROL_NRF_K32SRC_XTAL=y
CONFIG_CLOCK_CONTROL_NRF_K32SRC_RC=n
CONFIG_BT=y
CONFIG_BT_CTLR=y
CONFIG_BT_LL_SOFTDEVICE=y