Skip to content

Commit 314f3dd

Browse files
nordic-seglrlubos
authored andcommitted
[nrf fromtree] drivers: adc: Fix Vref selection for nRF54L20pdk
Select Reference voltage of 900mV for ADC on nRF54L20pdk. Add ADC to the list of supported peripherals. Signed-off-by: Sebastian Głąb <[email protected]> (cherry picked from commit 99c3988)
1 parent db40586 commit 314f3dd

File tree

2 files changed

+2
-1
lines changed

2 files changed

+2
-1
lines changed

boards/nordic/nrf54l20pdk/nrf54l20pdk_nrf54l20_cpuapp.yaml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -13,6 +13,7 @@ sysbuild: true
1313
ram: 512
1414
flash: 449
1515
supported:
16+
- adc
1617
- counter
1718
- gpio
1819
- i2c

drivers/adc/adc_nrfx_saadc.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -672,7 +672,7 @@ static DEVICE_API(adc, adc_nrfx_driver_api) = {
672672
#ifdef CONFIG_ADC_ASYNC
673673
.read_async = adc_nrfx_read_async,
674674
#endif
675-
#if defined(CONFIG_SOC_NRF54L05) || defined(CONFIG_SOC_NRF54L10) || defined(CONFIG_SOC_NRF54L15)
675+
#if defined(CONFIG_SOC_COMPATIBLE_NRF54LX)
676676
.ref_internal = 900,
677677
#elif defined(CONFIG_NRF_PLATFORM_HALTIUM)
678678
.ref_internal = 1024,

0 commit comments

Comments
 (0)