<?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>Unable to configure ADC pin.</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/126441/unable-to-configure-adc-pin</link><description>I am trying to configure Analogin_rev pin as ADC pin and I did the code changes, but I am getting the error -22 while trying to Configure ADC channel. Here is the snippet of the Analogin_rev pin and board overlay changes along with the code change. Can</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Wed, 21 Jan 2026 08:41:48 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/126441/unable-to-configure-adc-pin" /><item><title>RE: Unable to configure ADC pin.</title><link>https://devzone.nordicsemi.com/thread/559228?ContentTypeID=1</link><pubDate>Wed, 21 Jan 2026 08:41:48 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:110b2663-569e-4342-9450-d60a1f5b54ed</guid><dc:creator>Syed Maysum Abbas Zaidi</dc:creator><description>&lt;p&gt;Hi,&lt;/p&gt;
&lt;p&gt;Yes as mentioned in the&amp;nbsp;&lt;a href="https://docs.nordicsemi.com/bundle/ps_nrf54L15/page/chapters/pin.html"&gt;Pin Assignments&lt;/a&gt;, P1.10 don&amp;#39;t have the Analog input capability.&lt;/p&gt;
&lt;p&gt;Best Regards,&lt;br /&gt;Syed Maysum&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Unable to configure ADC pin.</title><link>https://devzone.nordicsemi.com/thread/559030?ContentTypeID=1</link><pubDate>Mon, 19 Jan 2026 13:28:39 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:8b87b408-e454-4904-a04d-2be38a8ddc64</guid><dc:creator>Gunjan Yadav</dc:creator><description>&lt;p&gt;&lt;a href="https://devzone.nordicsemi.com/members/turboj"&gt;Turbo J&lt;/a&gt;&amp;nbsp; Thanks for your response.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Unable to configure ADC pin.</title><link>https://devzone.nordicsemi.com/thread/559008?ContentTypeID=1</link><pubDate>Mon, 19 Jan 2026 12:33:00 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:7d11f986-9a16-4c04-b125-8d5318c3d817</guid><dc:creator>Turbo J</dc:creator><description>&lt;p&gt;Redesign. P1.10 has no analog input capability if I read the datasheet correctly.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Unable to configure ADC pin.</title><link>https://devzone.nordicsemi.com/thread/559000?ContentTypeID=1</link><pubDate>Mon, 19 Jan 2026 11:39:22 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:34a33488-ae74-4575-837d-7960a75f3573</guid><dc:creator>Gunjan Yadav</dc:creator><description>&lt;p&gt;&lt;a href="https://devzone.nordicsemi.com/members/syed-maysum-abbas-zaidi"&gt;Syed Maysum Abbas Zaidi&lt;/a&gt;&amp;nbsp;Also the MCU is nrf54L15 FYI.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Unable to configure ADC pin.</title><link>https://devzone.nordicsemi.com/thread/558999?ContentTypeID=1</link><pubDate>Mon, 19 Jan 2026 11:37:30 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:5f67d926-80d4-46c5-92b4-ea5285eca0dc</guid><dc:creator>Gunjan Yadav</dc:creator><description>&lt;p&gt;&lt;img style="max-height:240px;max-width:320px;" src="https://devzone.nordicsemi.com/resized-image/__size/640x480/__key/communityserver-discussions-components-files/4/pastedimage1768822620133v1.png" alt=" " /&gt;&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;VBAT_MON is physically mapped to p1.10&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Unable to configure ADC pin.</title><link>https://devzone.nordicsemi.com/thread/558998?ContentTypeID=1</link><pubDate>Mon, 19 Jan 2026 11:33:51 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:ba02717c-f896-45f6-aaf3-8421d75176dd</guid><dc:creator>Gunjan Yadav</dc:creator><description>&lt;p&gt;&lt;a href="https://devzone.nordicsemi.com/members/syed-maysum-abbas-zaidi"&gt;Syed Maysum Abbas Zaidi&lt;/a&gt;&amp;nbsp;Also can you please suggest anything where I can see mapping of all the channels?&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Unable to configure ADC pin.</title><link>https://devzone.nordicsemi.com/thread/558996?ContentTypeID=1</link><pubDate>Mon, 19 Jan 2026 11:29:02 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:4f9b04d0-fd77-4b4a-ad4b-03c0f5715387</guid><dc:creator>Gunjan Yadav</dc:creator><description>&lt;p&gt;Hello, Thanks for your response! similarly I am trying to measure voltage across VBAT_MON . However the&amp;nbsp;the pin&amp;nbsp; assignment&amp;nbsp; document that you have share does not Specifically tells which channel it is mapped to. Does it not support Analog input functionality ?&amp;nbsp;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Unable to configure ADC pin.</title><link>https://devzone.nordicsemi.com/thread/558411?ContentTypeID=1</link><pubDate>Fri, 09 Jan 2026 14:26:08 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:c323f2c8-95ae-4db2-b93d-3cb92b3fde8b</guid><dc:creator>Syed Maysum Abbas Zaidi</dc:creator><description>&lt;p&gt;Hi,&lt;/p&gt;
&lt;p&gt;Thanks for the details. Actually on nRF54L15, SAADC inputs (AINx) are tied to specific physical pins and cannot be remapped in software (see nRF54L15 Product Specification &lt;a href="https://docs.nordicsemi.com/bundle/ps_nrf54L15/page/chapters/pin.html"&gt;Pin assignments&lt;/a&gt;). From the schematic you have provided, ANALOG_IN_REV is connected to P1.11, which corresponds to SAADC AIN4. Whereas the current configuration uses NRF_SAADC_AIN3 (which maps to P1.07), so the SAADC driver rejects the setup and adc_channel_setup() returns -EINVAL (-22).&lt;/p&gt;
&lt;p&gt;So please update the ADC configuration to use NRF_SAADC_AIN4 (and keep the channel index consistent, e.g. channel@4, reg = &amp;lt;4&amp;gt;). This should resolve the issue.&lt;/p&gt;
&lt;p&gt;Best Regards,&lt;br /&gt;Syed Maysum&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>