From 2282e29222c93df11320a0fb13edd723c05823f5 Mon Sep 17 00:00:00 2001 From: Nikodem Kastelik Date: Fri, 18 Jul 2025 12:33:00 +0200 Subject: [PATCH 1/3] manifest: update hal_nordic revision to integrate nrfx 3.13.0 New nrfx release contains MDK 8.72.1 and various fixes for nRF devices. Signed-off-by: Nikodem Kastelik --- west.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/west.yml b/west.yml index 21ead917837eb..9e0fc00210956 100644 --- a/west.yml +++ b/west.yml @@ -200,7 +200,7 @@ manifest: groups: - hal - name: hal_nordic - revision: 9587b1dcb83d24ab74e89837843a5f7d573f7059 + revision: 2f5d4e5868ab573eac932fa4bc142565073c3c04 path: modules/hal/nordic groups: - hal From 8fdb7fd4d5fb88bc62991abde34b081e605ee4ea Mon Sep 17 00:00:00 2001 From: Nikodem Kastelik Date: Tue, 22 Jul 2025 23:39:44 +0200 Subject: [PATCH 2/3] drivers: adc: nrfx_saadc: remove VDD and DVDD inputs for nRF54LV10A MDK 8.72.1 does not specify VDD and DVDD internal analog inputs for this SoC. Signed-off-by: Nikodem Kastelik --- drivers/adc/adc_nrfx_saadc.c | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/drivers/adc/adc_nrfx_saadc.c b/drivers/adc/adc_nrfx_saadc.c index f9f136f250937..6491b18d59702 100644 --- a/drivers/adc/adc_nrfx_saadc.c +++ b/drivers/adc/adc_nrfx_saadc.c @@ -66,7 +66,7 @@ static const uint32_t saadc_psels[NRF_SAADC_DVDD + 1] = { [NRF_SAADC_DVDD] = NRF_SAADC_INPUT_DVDD, }; #elif defined(NRF54LV10A_ENGA_XXAA) -static const uint32_t saadc_psels[NRF_SAADC_DVDD + 1] = { +static const uint32_t saadc_psels[NRF_SAADC_AIN7 + 1] = { [NRF_SAADC_AIN0] = NRF_PIN_PORT_TO_PIN_NUMBER(0U, 1), [NRF_SAADC_AIN1] = NRF_PIN_PORT_TO_PIN_NUMBER(1U, 1), [NRF_SAADC_AIN2] = NRF_PIN_PORT_TO_PIN_NUMBER(2U, 1), @@ -75,8 +75,6 @@ static const uint32_t saadc_psels[NRF_SAADC_DVDD + 1] = { [NRF_SAADC_AIN5] = NRF_PIN_PORT_TO_PIN_NUMBER(10U, 1), [NRF_SAADC_AIN6] = NRF_PIN_PORT_TO_PIN_NUMBER(11U, 1), [NRF_SAADC_AIN7] = NRF_PIN_PORT_TO_PIN_NUMBER(12U, 1), - [NRF_SAADC_VDD] = NRF_SAADC_INPUT_VDD, - [NRF_SAADC_DVDD] = NRF_SAADC_INPUT_DVDD, }; #endif From 26636ed1d21293ed5fa64cf8822d6a5758f95b35 Mon Sep 17 00:00:00 2001 From: Nikodem Kastelik Date: Wed, 23 Jul 2025 18:30:10 +0200 Subject: [PATCH 3/3] tests: nrf: comp: fix VDD reference dependency Some SoCs might not have any VDD reference available. Use internal 1.2V reference derived from VDD in this case. Signed-off-by: Nikodem Kastelik --- tests/boards/nrf/comp/src/test.c | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/tests/boards/nrf/comp/src/test.c b/tests/boards/nrf/comp/src/test.c index 2195f0e1ea943..1d1876e76faa8 100644 --- a/tests/boards/nrf/comp/src/test.c +++ b/tests/boards/nrf/comp/src/test.c @@ -93,8 +93,11 @@ ZTEST(comparator_runtime_configure, test_comp_config_se_vdd) #ifdef COMP_REFSEL_REFSEL_AVDDAO1V8 conf.refsel = COMP_NRF_COMP_REFSEL_AVDDAO1V8; -#else +#elif defined(COMP_REFSEL_REFSEL_VDD) conf.refsel = COMP_NRF_COMP_REFSEL_VDD; +#else + /* Use internal 1.2 V derived from VDD */ + conf.refsel = COMP_NRF_COMP_REFSEL_INT_1V2; #endif rc = comp_nrf_comp_configure_se(test_dev, &conf); zassert_equal(rc, 0, "Cannot configure comparator.");