<?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>OFF mode and GPIOs ??</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/115260/off-mode-and-gpios</link><description>Trying to put nRF52840 in OFF mode and I see the following odd behavior: If I put all the output GPIOs into Hi-Z mode, power consumption measured in-line with the battery goes to 50uA. However, if I have one GPIO left to output mode (with no load connected</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Tue, 08 Oct 2024 07:38:17 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/115260/off-mode-and-gpios" /><item><title>RE: OFF mode and GPIOs ??</title><link>https://devzone.nordicsemi.com/thread/505277?ContentTypeID=1</link><pubDate>Tue, 08 Oct 2024 07:38:17 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:b0ba3c59-8ec3-40bb-8fbc-7f8d8517e608</guid><dc:creator>H&amp;#229;kon Alseth</dc:creator><description>&lt;p&gt;Hi,&lt;/p&gt;
&lt;p&gt;&amp;nbsp;&lt;/p&gt;
&lt;p&gt;Glad to hear that you have found the root-cause of the higher current consumption. Please let me know if you run into any other issues or have questions. Hope you have a wonderful day!&lt;/p&gt;
&lt;p&gt;&amp;nbsp;&lt;/p&gt;
&lt;p&gt;Kind regards,&lt;/p&gt;
&lt;p&gt;Håkon&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: OFF mode and GPIOs ??</title><link>https://devzone.nordicsemi.com/thread/505252?ContentTypeID=1</link><pubDate>Mon, 07 Oct 2024 21:27:13 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:b45f42e7-f29b-4544-86ca-891742485f98</guid><dc:creator>Pierre Landau</dc:creator><description>&lt;p&gt;I&amp;#39;m reaching out to the vendor of the chip: I tracked it to one GPIO line, which drives a transistor connected to the enable pin of a chip.The transistor (and the enable pin) are pulled up with a 1M resistor, though a safer design might have been to make the thing default-off. To turn off the device, we set a logic 1 which turns on the transistor tied to ground.&amp;nbsp; It&amp;#39;s sort of unusual for the Enable pin of any chip to source that much current, so I&amp;#39;m hoping they have an answer.&amp;nbsp; It appears that my changes since I posted the question have confirmed that the CPU is able to go into OFF mode, and that what I&amp;#39;m seeing is an external process. - I apologize for not withdrawing this question&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: OFF mode and GPIOs ??</title><link>https://devzone.nordicsemi.com/thread/505212?ContentTypeID=1</link><pubDate>Mon, 07 Oct 2024 14:06:25 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:945288c8-fe9e-4e8f-b277-988374ea7f32</guid><dc:creator>H&amp;#229;kon Alseth</dc:creator><description>&lt;p&gt;Hi,&lt;/p&gt;
&lt;p&gt;&amp;nbsp;&lt;/p&gt;
&lt;p&gt;The state of the GPIOs is latched when going into systemoff mode.&lt;/p&gt;
&lt;p&gt;This means that the state set in the NRF_GPIO structure will determine what each GPIO is configured for.&lt;/p&gt;
&lt;p&gt;&amp;nbsp;&lt;/p&gt;
&lt;p&gt;That being said; if there are bus peripherals that has previously used a GPIO, like UART/TWI/SPI, then the level must be defined before going to system off mode. This is because each bus peripheral will claim a pin, and override the configuration, and when going to system off, the bus peripheral releases the pin.&lt;/p&gt;
&lt;p&gt;&amp;nbsp;&lt;/p&gt;
[quote user=""]However, if I have one GPIO left to output mode (with no load connected) before calling sd_power_system_off(), the ammeter is showing 1.04mA, which is a lot more than makes any sense. At that point, I&amp;#39;ve already shut down BLE connections, advertising, and ADC processes. [/quote]
&lt;p&gt;Is all other pins connected to external circuitry set to a defined level?&lt;/p&gt;
&lt;p&gt;&amp;nbsp;&lt;/p&gt;
&lt;p&gt;Kind regards,&lt;/p&gt;
&lt;p&gt;Håkon&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>