<?xml version="1.0" encoding="UTF-8" ?>
<?xml-stylesheet type="text/xsl" href="https://devzone.nordicsemi.com/cfs-file/__key/system/syndication/rss.xsl" media="screen"?><rss version="2.0" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:slash="http://purl.org/rss/1.0/modules/slash/" xmlns:wfw="http://wellformedweb.org/CommentAPI/" xmlns:atom="http://www.w3.org/2005/Atom"><channel><title>Measuring VDD in nRF54L15DK</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/124463/measuring-vdd-in-nrf54l15dk</link><description>Hi, 
 
 I like to measure the VDD in nRF54L15DK using ADC. 
 I have flash the example firmware ..\v3.1.0\zephyr\samples\drivers\adc\adc_dt in my DK. 
 I can see it is measuring 899mV on channel 2 which has used NRF_SAADC_VDD as ADC input. 
 From schematic</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Thu, 18 Sep 2025 13:42:11 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/124463/measuring-vdd-in-nrf54l15dk" /><item><title>RE: Measuring VDD in nRF54L15DK</title><link>https://devzone.nordicsemi.com/thread/549195?ContentTypeID=1</link><pubDate>Thu, 18 Sep 2025 13:42:11 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:1daec40c-fc56-4021-8b11-b634cae71798</guid><dc:creator>Kenneth</dc:creator><description>[quote user="nms"]Not able to set 2/8, look like it is not yet supported in SDK.&amp;nbsp;[/quote]
&lt;p&gt;Hmm... looks like you can&amp;#39;t set in devicetree, but you can in code try by:&lt;/p&gt;
&lt;p&gt;adc_channels[0].channel_cfg.gain = ADC_GAIN_1_4;&amp;nbsp;&lt;/p&gt;
&lt;p&gt;Kenneth&lt;/p&gt;
&lt;div&gt;&lt;/div&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Measuring VDD in nRF54L15DK</title><link>https://devzone.nordicsemi.com/thread/549149?ContentTypeID=1</link><pubDate>Thu, 18 Sep 2025 10:24:17 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:8e5c2bd9-5a86-4de4-8c46-61609e265753</guid><dc:creator>Narendra</dc:creator><description>&lt;p&gt;In example firmware ADC gain set to 1 (ADC_GAIN_1) that&amp;#39;s why it is giving 899mv (0.9V) output?&lt;/p&gt;
&lt;p&gt;Gain needs to be changed to &lt;span&gt;2/6, 2/7 or 2/8 to measure correct value? &lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;Setting gain to 2/6 will&amp;nbsp;measure maximum 2.7V VDD input. (0.9/(2/6) = 2.7).&amp;nbsp;&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;For 2/7, it will measure up to 3.15V.&amp;nbsp;&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;Not able to set 2/8, look like it is not yet supported in SDK.&amp;nbsp;&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;Is this correct?&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;Thanks,&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;Narendra&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;&lt;/span&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>