<?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>AIN0 and AIN1 always returning the maximum value on nRF54L15 DK</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/124359/ain0-and-ain1-always-returning-the-maximum-value-on-nrf54l15-dk</link><description>I am struggling with the ADC API on the nRF54L15 dev kit. I am using NCS 3.1.0 
 I started with the &amp;quot;samples/drivers/adc/adc_dt&amp;quot; sample as a starting point. Using AIN4 (Channel 0) worked, giving me readings from 900mV to 1800mV (using the Nordic PPKII</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Fri, 26 Sep 2025 22:18:19 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/124359/ain0-and-ain1-always-returning-the-maximum-value-on-nrf54l15-dk" /><item><title>RE: AIN0 and AIN1 always returning the maximum value on nRF54L15 DK</title><link>https://devzone.nordicsemi.com/thread/549924?ContentTypeID=1</link><pubDate>Fri, 26 Sep 2025 22:18:19 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:c7a79380-1e38-4b44-ae67-ab5cce649e73</guid><dc:creator>JONATHAN LL</dc:creator><description>[quote user="Tom McGuinness"]AIN6 does not. It gives me a very inaccurate reading.[/quote]
&lt;p&gt;This pin is connected to the button on the DK, this is likely why you get a strange value.&amp;nbsp;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;/p&gt;
[quote user="Tom McGuinness"]If I use an nRF54L15 module, can I use AIN0 and AIN1?[/quote]
&lt;p&gt;If the module does not have any buttons or other sensors connected to the pins there should be no issues using these pins.&amp;nbsp;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;a href="https://docs.nordicsemi.com/bundle/ug_nrf54l15_dk/page/UG/nRF54L15_DK/hw_desription/hw_description.html"&gt;https://docs.nordicsemi.com/bundle/ug_nrf54l15_dk/page/UG/nRF54L15_DK/hw_desription/hw_description.html&lt;/a&gt;&amp;nbsp;&lt;br /&gt;You can check the schematic for the DK to se what pins are connected to what things as well.&amp;nbsp;&lt;br /&gt;&lt;br /&gt;Regards,&lt;br /&gt;Jonathan&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: AIN0 and AIN1 always returning the maximum value on nRF54L15 DK</title><link>https://devzone.nordicsemi.com/thread/549129?ContentTypeID=1</link><pubDate>Thu, 18 Sep 2025 08:22:36 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:ca05f89a-ffd7-4b8e-94e7-598f9740336a</guid><dc:creator>Tom McGuinness</dc:creator><description>&lt;p&gt;Apologies for the misunderstanding!&lt;/p&gt;
&lt;p&gt;The board is being powered via USB and is fully operational (It&amp;#39;s running a Matter application)&lt;/p&gt;
&lt;p&gt;I realise that I&amp;#39;m using&amp;nbsp;a different ground reference with the PPK2, which might be causing me some problems.&lt;/p&gt;
&lt;p&gt;I have two follow up questions:&lt;/p&gt;
&lt;p&gt;I understand the issue with AIN0 on the DK. Whilst waiting for an answer, I started using AIN5 and AIN6. AIN5 works as expected. AIN6 does not. It gives me a very inaccurate reading. Does time PIN have special consideration on the DK?&lt;/p&gt;
&lt;p&gt;If I use an nRF54L15 module, can I use AIN0 and AIN1?&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: AIN0 and AIN1 always returning the maximum value on nRF54L15 DK</title><link>https://devzone.nordicsemi.com/thread/549117?ContentTypeID=1</link><pubDate>Thu, 18 Sep 2025 07:39:15 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:40de90b6-4ae5-417d-9f0f-48cd96ae9f82</guid><dc:creator>Kazi Afroza Sultana</dc:creator><description>&lt;p&gt;Hello,&lt;/p&gt;
&lt;p&gt;&amp;#39;&amp;#39;&lt;span&gt;The first problem I encountered was using AIN0 caused the logging to stop as soon as I applied power (!).&amp;#39;&amp;#39;&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;The operational voltage of nRF4l15 is 1.8 to 3.6V. I can see on the PPK2, you set 1.24V.&lt;/p&gt;
&lt;p&gt;I&lt;span&gt;f the supply voltage is set to 1242 mV (1.242 V), this is&amp;nbsp;&lt;/span&gt;below the minimum required operating voltage&lt;span&gt;&amp;nbsp;for the device. Operating the nRF54L15 below 1.7 V is not supported and can lead to unpredictable behavior, including issues with peripherals like the ADC.&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;Also, On the nRF54L15 DK, AIN4 is used instead of the AIN0 as AIN0 (P1.04) pin is used by default for UART.&amp;nbsp;If you want to use ADC without conflicts, you can pick another channel like &lt;strong&gt;AIN4&lt;/strong&gt; (as you did), which maps to a different pin not already reserved for UART.&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;BR&lt;br /&gt;Kazi&lt;/span&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>