From 30c0cba4c980d9fe0e4df96a5a3a97abf7c1a6a2 Mon Sep 17 00:00:00 2001 From: liquidraver <504870+liquidraver@users.noreply.github.com> Date: Tue, 14 Apr 2026 14:38:00 +0200 Subject: [PATCH] xiao nrf ADC tuning --- .../boards/nrf52840/xiao_nrf52840/xiao_nrf52840_nrf52840.dts | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/zephcore/boards/nrf52840/xiao_nrf52840/xiao_nrf52840_nrf52840.dts b/zephcore/boards/nrf52840/xiao_nrf52840/xiao_nrf52840_nrf52840.dts index d2ae968..e72ab91 100644 --- a/zephcore/boards/nrf52840/xiao_nrf52840/xiao_nrf52840_nrf52840.dts +++ b/zephcore/boards/nrf52840/xiao_nrf52840/xiao_nrf52840_nrf52840.dts @@ -89,8 +89,8 @@ zephyr,user { io-channels = <&adc 7>; - /* MeshCore: mV ≈ raw * 3 * 3 / 4096 at 12-bit internal 3.0V ref */ - vbat-mv-multiplier = <9000>; + /* mV = raw * mult / 4096; mult from two-point DMM calibration (Zephyr SAADC path) */ + vbat-mv-multiplier = <10911>; }; aliases {