<?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>High Current on P0.17 When Used as ADC Input</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/124290/high-current-on-p0-17-when-used-as-adc-input</link><description>I am using the nRF9151-DK with the standard (from code examples) firmware . When configuring both P0.13 and P0.17 as ADC inputs, I notice that the current consumption on P0.17 is significantly higher than on P0.13 . 
 Could you please clarify why this</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Tue, 16 Sep 2025 14:25:03 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/124290/high-current-on-p0-17-when-used-as-adc-input" /><item><title>RE: High Current on P0.17 When Used as ADC Input</title><link>https://devzone.nordicsemi.com/thread/548911?ContentTypeID=1</link><pubDate>Tue, 16 Sep 2025 14:25:03 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:86c0894f-e8df-487f-95ec-91914936d800</guid><dc:creator>DanielNG</dc:creator><description>&lt;p&gt;Hi,&amp;nbsp;if you want to make the debugger stop controlling the HWFC pins, then that needs to be done either by the board configurator or using nrf-util. The nRF9151 itself doesn&amp;#39;t have any control over the debugger.&lt;br /&gt;&lt;br /&gt;However, on your custom board/final product, this wouldn&amp;#39;t be an issue because&amp;nbsp;&lt;span data-teams="true"&gt;it will not have a debugger connected with UART and HWFC in the first place.&lt;br /&gt;&lt;br /&gt;&lt;/span&gt;Nevertheless, if you intend to have the DK in your final product or if you need to do this to multiple boards, you can use nrf-util to automate the process.&lt;br /&gt;&lt;br /&gt;You just need to create a json file with the configs like this&amp;nbsp;&lt;br /&gt;&lt;br /&gt;&lt;/p&gt;
&lt;div&gt;
&lt;div&gt;&lt;span&gt;{&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;&lt;span&gt;&amp;nbsp; &amp;nbsp; &lt;/span&gt;&lt;span&gt;&amp;quot;operations&amp;quot;&lt;/span&gt;&lt;span&gt;: [&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;&lt;span&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; {&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;&lt;span&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &lt;/span&gt;&lt;span&gt;&amp;quot;operation&amp;quot;&lt;/span&gt;&lt;span&gt;:{&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;&lt;span&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &lt;/span&gt;&lt;span&gt;&amp;quot;type&amp;quot;&lt;/span&gt;&lt;span&gt;: &lt;/span&gt;&lt;span&gt;&amp;quot;smp&amp;quot;&lt;/span&gt;&lt;span&gt;,&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;&lt;span&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &lt;/span&gt;&lt;span&gt;&amp;quot;operation&amp;quot;&lt;/span&gt;&lt;span&gt;:&lt;/span&gt;&lt;span&gt;2&lt;/span&gt;&lt;span&gt;,&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;&lt;span&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &lt;/span&gt;&lt;span&gt;&amp;quot;group_id&amp;quot;&lt;/span&gt;&lt;span&gt;:&lt;/span&gt;&lt;span&gt;64&lt;/span&gt;&lt;span&gt;,&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;&lt;span&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &lt;/span&gt;&lt;span&gt;&amp;quot;command_id&amp;quot;&lt;/span&gt;&lt;span&gt;:&lt;/span&gt;&lt;span&gt;0&lt;/span&gt;&lt;span&gt;,&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;&lt;span&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &lt;/span&gt;&lt;span&gt;&amp;quot;sequence_number&amp;quot;&lt;/span&gt;&lt;span&gt;:&lt;/span&gt;&lt;span&gt;0&lt;/span&gt;&lt;span&gt;,&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;&lt;span&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &lt;/span&gt;&lt;span&gt;&amp;quot;data&amp;quot;&lt;/span&gt;&lt;span&gt;: [[&lt;/span&gt;&lt;span&gt;6&lt;/span&gt;&lt;span&gt;,&lt;/span&gt;&lt;span&gt;false&lt;/span&gt;&lt;span&gt;,&lt;/span&gt;&lt;span&gt;7&lt;/span&gt;&lt;span&gt;,&lt;/span&gt;&lt;span&gt;false&lt;/span&gt;&lt;span&gt;,&lt;/span&gt;&lt;span&gt;8&lt;/span&gt;&lt;span&gt;,&lt;/span&gt;&lt;span&gt;false&lt;/span&gt;&lt;span&gt;,&lt;/span&gt;&lt;span&gt;14&lt;/span&gt;&lt;span&gt;,&lt;/span&gt;&lt;span&gt;true&lt;/span&gt;&lt;span&gt;,&lt;/span&gt;&lt;span&gt;18&lt;/span&gt;&lt;span&gt;,&lt;/span&gt;&lt;span&gt;true&lt;/span&gt;&lt;span&gt;,&lt;/span&gt;&lt;span&gt;20&lt;/span&gt;&lt;span&gt;,&lt;/span&gt;&lt;span&gt;true&lt;/span&gt;&lt;span&gt;,&lt;/span&gt;&lt;span&gt;22&lt;/span&gt;&lt;span&gt;,&lt;/span&gt;&lt;span&gt;false&lt;/span&gt;&lt;span&gt;,&lt;/span&gt;&lt;span&gt;23&lt;/span&gt;&lt;span&gt;,&lt;/span&gt;&lt;span&gt;false&lt;/span&gt;&lt;span&gt;,&lt;/span&gt;&lt;span&gt;42&lt;/span&gt;&lt;span&gt;,&lt;/span&gt;&lt;span&gt;false&lt;/span&gt;&lt;span&gt;,&lt;/span&gt;&lt;span&gt;45&lt;/span&gt;&lt;span&gt;,&lt;/span&gt;&lt;span&gt;false&lt;/span&gt;&lt;span&gt;,&lt;/span&gt;&lt;span&gt;47&lt;/span&gt;&lt;span&gt;,&lt;/span&gt;&lt;span&gt;false&lt;/span&gt;&lt;span&gt;],[&lt;/span&gt;&lt;span&gt;1&lt;/span&gt;&lt;span&gt;,&lt;/span&gt;&lt;span&gt;1800&lt;/span&gt;&lt;span&gt;,&lt;/span&gt;&lt;span&gt;2&lt;/span&gt;&lt;span&gt;,&lt;/span&gt;&lt;span&gt;3000&lt;/span&gt;&lt;span&gt;]]&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;&lt;span&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; },&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;&lt;span&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &lt;/span&gt;&lt;span&gt;&amp;quot;operationId&amp;quot;&lt;/span&gt;&lt;span&gt;:&lt;/span&gt;&lt;span&gt;&amp;quot;1&amp;quot;&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;&lt;span&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; }&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;&lt;span&gt;&amp;nbsp; &amp;nbsp; ]&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;&lt;span&gt;}&lt;/span&gt;&lt;/div&gt;
&lt;/div&gt;
&lt;p&gt;Using the board configurator app and then click on Show Config JSON, you can copy the output and put it in the data field above.&lt;/p&gt;
&lt;p&gt;&lt;span data-teams="true"&gt;&amp;nbsp;&lt;img style="max-height:240px;max-width:320px;" src="https://devzone.nordicsemi.com/resized-image/__size/640x480/__key/communityserver-discussions-components-files/4/pastedimage1758032453104v1.png" alt=" " /&gt;&lt;br /&gt;&lt;br /&gt;Then run&amp;nbsp;nrfutil device x-execute-batch --traits boardController --batch-path &amp;quot;PATH TO YOUR JSON&amp;quot;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;As for the hardware files, you can download it here&lt;br /&gt;&lt;a href="https://www.nordicsemi.com/Products/Development-hardware/nRF9151-DK/Download?lang=en#infotabs"&gt;nRF9151 DK - Downloads - nordicsemi.com&lt;/a&gt;&lt;br /&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/pastedimage1758032639167v2.png" alt=" " /&gt;&lt;br /&gt;&lt;br /&gt;In the schematic included in that zip file, you can see that P0.17 is also connected to CTS&lt;br /&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/pastedimage1758032686377v3.png" alt=" " /&gt;&lt;br /&gt;&lt;/span&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: High Current on P0.17 When Used as ADC Input</title><link>https://devzone.nordicsemi.com/thread/548816?ContentTypeID=1</link><pubDate>Tue, 16 Sep 2025 06:54:01 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:4e444fb9-0996-41aa-bbf6-d169cbd3088c</guid><dc:creator>Oleg-AgamControl</dc:creator><description>&lt;p&gt;Thank you for your advice. Indeed, after changing the &lt;span&gt;VCOM0 HWFC&lt;/span&gt;, the current consumption returned to normal&lt;br /&gt;&lt;br /&gt;&lt;/p&gt;
&lt;p data-start="211" data-end="239"&gt;This raises two questions:&lt;/p&gt;
&lt;ul data-start="240" data-end="826"&gt;
&lt;li data-start="240" data-end="471"&gt;
&lt;p data-start="242" data-end="471"&gt;How can I perform the same operation in code, so that I am not dependent on the Configuration Tool or current board configuration? (In other words, even if the configuration tool specifies using &lt;span&gt;VCOM0 HWFC&lt;/span&gt;, the code will override it after startup)&lt;br /&gt;&lt;br /&gt;&lt;/p&gt;
&lt;/li&gt;
&lt;li data-start="240" data-end="471"&gt;A more important question: in which official document or specification could I find information that &lt;span&gt;P0.17 (and&amp;nbsp;P0.16)&amp;nbsp;&lt;/span&gt;are used for this purpose? Additionally, is it possible to obtain the complete schematic of the DK board? The available documentation only shows partial schematics, but I haven&amp;rsquo;t found the full board diagram&lt;/li&gt;
&lt;/ul&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: High Current on P0.17 When Used as ADC Input</title><link>https://devzone.nordicsemi.com/thread/548735?ContentTypeID=1</link><pubDate>Mon, 15 Sep 2025 11:59:55 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:2cf907d8-12f5-4d5f-a212-703a1df40ced</guid><dc:creator>DanielNG</dc:creator><description>&lt;p&gt;Sorry for the late reply.&lt;br /&gt;On the P0.17 I see about 100uA and on the P0.13 I see about a few uA. &lt;br /&gt;This is because P0.17 is also the CTS pin for uart1. This can be fixed by turning off VCOM0 HWFC autodetect lines in your board configurator.&lt;br /&gt;&lt;br /&gt;I was not able to see the 3 mA current consumption that you stated. If this doesn&amp;#39;t fix the issue, can you also provide the code/sample that you are using and attach it here?&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;On my end:&lt;br /&gt;&lt;br /&gt;Current draw on P0.17 with HWFC&lt;br /&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/pastedimage1757937470048v1.png" alt=" " /&gt;&lt;br /&gt;&lt;br /&gt;Without HWFC&lt;br /&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/pastedimage1757937532926v2.png" alt=" " /&gt;&lt;br /&gt;&lt;br /&gt;Turn off HWFC here&lt;br /&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/pastedimage1757937574617v4.png" alt=" " /&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: High Current on P0.17 When Used as ADC Input</title><link>https://devzone.nordicsemi.com/thread/548524?ContentTypeID=1</link><pubDate>Thu, 11 Sep 2025 15:46:38 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:57e97990-ecfa-4a66-90b4-e71fcc38c54a</guid><dc:creator>Oleg-AgamControl</dc:creator><description>&lt;p&gt;I apply a very precise reference voltage of 1.5 volts from a laboratory power supply to the analog input.&lt;/p&gt;
&lt;p&gt;When I connect it to pin 13, I see a current of several microamps.&lt;/p&gt;
&lt;p&gt;When I connect it to pin 17, I see a current of about 3 mA.&lt;/p&gt;
&lt;p&gt;What is also strange is that the consumed current depends on the voltage setting for the GPIO configured with the board configurator. If this voltage is set to 1.5 or 2 volts, the current is about 3 mA. If the voltage is set to 3 V, the current rises to 6 mA.&lt;/p&gt;
&lt;p&gt;An additional test I perform is connecting a voltage divider made of two identical resistors to the 3V pin on the development board.&lt;br /&gt; When I connect the midpoint of the divider to pin 13, I see exactly half the voltage, that is 1.5 V. I observe this both in the value read by the controller during conversion and when measuring with an oscilloscope.&lt;/p&gt;
&lt;p&gt;However, when I connect the midpoint to pin 17, I see a significantly lower voltage, around 0.7 V, both in the controller&amp;rsquo;s reading and when measuring with the OSCILLOSCOPE, In my opinion, this indicates that there is a pull-down on this input.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: High Current on P0.17 When Used as ADC Input</title><link>https://devzone.nordicsemi.com/thread/548523?ContentTypeID=1</link><pubDate>Thu, 11 Sep 2025 15:18:29 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:6bb24bdf-a2d6-4d50-9923-03c6c07dc1e1</guid><dc:creator>DanielNG</dc:creator><description>&lt;p&gt;Hi, I did a few tests on my end and it didn&amp;#39;t seem like there are any meaningful differences in consumption between the two pins.&lt;br /&gt;Can you provide more details? what numbers are you seeing? What is your set up to measure these currents? and the sample that you are using.&lt;br /&gt;&lt;br /&gt;Thank you&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>