<?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>nRF9160 GPIO pin leakage/pull-down problem</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/71400/nrf9160-gpio-pin-leakage-pull-down-problem</link><description>We use our own board with both nRF52840 and nRF9160. We run into a problem trying to implement a circuit that enables the nRF9160 to reset the nRF52840. Things work fine if we disable the pinreset in nRF52840. Background: 
 
 We start the nRF52840 first</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Fri, 26 Feb 2021 08:56:43 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/71400/nrf9160-gpio-pin-leakage-pull-down-problem" /><item><title>RE: nRF9160 GPIO pin leakage/pull-down problem</title><link>https://devzone.nordicsemi.com/thread/296448?ContentTypeID=1</link><pubDate>Fri, 26 Feb 2021 08:56:43 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:187538a9-18f4-4010-97dc-55b458f91521</guid><dc:creator>Pertti Kasanen</dc:creator><description>&lt;p&gt;Just an additional comment. We had the VDD_GPIO disconnected (with a FET).&amp;nbsp;&lt;br /&gt;&lt;br /&gt;We made a new test for selectively connecting the VDD_GPIO to GND while ENABLE is down (and 2-3 of the nRF9160 GPIO pins are pulled-up). It increased the current consumption by about 2uA.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: nRF9160 GPIO pin leakage/pull-down problem</title><link>https://devzone.nordicsemi.com/thread/295140?ContentTypeID=1</link><pubDate>Thu, 18 Feb 2021 14:26:28 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:57eefc57-0ddf-4b10-9b47-9b481840a6b9</guid><dc:creator>JONATHAN LL</dc:creator><description>[quote user="pkasanen"]We were wondering should we use ENABLE, nRESET or maybe SYSTEMOFF for what we wanted but did not find enough information for getting the first experiment right.[/quote]
&lt;p&gt;We do have some&amp;nbsp;improvements to do on the usability of the documentation but it is hard to get things right since there are so many different uncases and variables that will change the configuration. SYSTEMOFF is often a safe bet and will reduce consumption allot, but I don&amp;#39;t know how often you need to be connected to LTE so there will always be a tradeoff to what is best. keeping the system on an potentially have some leakage&amp;nbsp;or power down and up again and paying the cost of startup.&amp;nbsp;&amp;nbsp;&lt;br /&gt;&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: nRF9160 GPIO pin leakage/pull-down problem</title><link>https://devzone.nordicsemi.com/thread/295106?ContentTypeID=1</link><pubDate>Thu, 18 Feb 2021 13:17:47 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:aca1acf6-a38f-4162-bd70-e60f4fbd772a</guid><dc:creator>Pertti Kasanen</dc:creator><description>&lt;p&gt;This at least answers the original question.&amp;nbsp;&lt;br /&gt;&lt;br /&gt;This additional information is interesting. The figure suggests that the leakage from P0.25 would go to the VDD_GPIO.&amp;nbsp;As far as I remember&amp;nbsp;in our design it should not leak to VDD_GPIO (more than what goes to about 5uF of capacitance to GND). But we will check that.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: nRF9160 GPIO pin leakage/pull-down problem</title><link>https://devzone.nordicsemi.com/thread/295100?ContentTypeID=1</link><pubDate>Thu, 18 Feb 2021 13:06:44 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:57b75ad7-836d-4602-b3b6-e08891d17a2c</guid><dc:creator>Pertti Kasanen</dc:creator><description>&lt;p&gt;Thank you. This is in line with some more tests we did. Having such ESD diodes is what we suspected. You could consider adding this information to the documentation. We were wondering should we use ENABLE, nRESET or maybe SYSTEMOFF for what we wanted but did not find enough information for getting the first experiment right.&lt;br /&gt;&lt;br /&gt;We are hardly the only ones trying to use the nRF9160 for a very low-power design in this way.&amp;nbsp;Seems that if we want to connect to the nRF9160 GPIO pins&amp;nbsp;things that require a pull-up: to avoid leakage when ENABLE is pulled down, need to add a switch to the pin that disconnects&amp;nbsp;the pin from the pull-up&amp;nbsp;when ENABLE is down.&amp;nbsp;&lt;br /&gt;&lt;br /&gt;Now I have at hand a setup that allows easy testing of the &amp;quot;snapshot&amp;quot; question:&amp;nbsp;&lt;/p&gt;
&lt;ol&gt;
&lt;li&gt;Our&amp;nbsp;device starts with nRF9160 disabled, ENABLE low&lt;/li&gt;
&lt;li&gt;I configure the pin in the nRF52840 as an input with pull-up. The line goes to about 1V,&amp;nbsp;&lt;/li&gt;
&lt;li&gt;Turn on the nRF9160 ENABLE, the pin (&lt;span&gt;P0.25&lt;/span&gt;) goes to high-Z state and the line goes to 1.8V with the pullup&lt;/li&gt;
&lt;li&gt;Turn off the nRF9160 ENABLE, the pin returns to about 1V, half way between the pull-up and the ESD diode &amp;quot;pull-down&amp;quot;&lt;/li&gt;
&lt;li&gt;Configure the nRF52840 pin as disconnected: power consumption reduces about 30uA&lt;/li&gt;
&lt;/ol&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: nRF9160 GPIO pin leakage/pull-down problem</title><link>https://devzone.nordicsemi.com/thread/295072?ContentTypeID=1</link><pubDate>Thu, 18 Feb 2021 12:05:52 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:03f20608-aa58-4614-a0d1-ca1c6443619b</guid><dc:creator>JONATHAN LL</dc:creator><description>&lt;p&gt;Additional info:&lt;br /&gt;&lt;span&gt;Leakage current on GPIO pin is like in picture below in case VDD_GPIO is at 0V (and it&amp;#39;s impedance is low)&lt;br /&gt;&lt;img src="https://devzone.nordicsemi.com/resized-image/__size/320x240/__key/communityserver-discussions-components-files/4/0574.pastedimage1613649887072v3.png" alt=" " /&gt;&lt;br /&gt;Putting a series resistor between nRF9160 and nRF52840 with size &amp;gt;&amp;gt;internal pullup (=&amp;gt; propose &amp;gt;100kohm) can make nRF52 internal pullup work. But reset control from nRF91 will not work properly and there will be some leakage current flowing in the situation where nRF9160 is missing supply voltages.&lt;br /&gt;&lt;br /&gt;Is this &lt;span style="font-size:12px;"&gt;sufficient&lt;/span&gt;&amp;nbsp;&lt;span style="font-size:12px;"&gt;information&lt;/span&gt;&amp;nbsp;or are there more questions ?&lt;br /&gt;&lt;br /&gt;Regards,&lt;br /&gt;Jonathan&lt;/span&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: nRF9160 GPIO pin leakage/pull-down problem</title><link>https://devzone.nordicsemi.com/thread/294151?ContentTypeID=1</link><pubDate>Fri, 12 Feb 2021 12:16:44 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:401de5db-4e36-4b6b-8589-6e9f84873d85</guid><dc:creator>JONATHAN LL</dc:creator><description>&lt;p&gt;Hi Pertti,&lt;br /&gt;&lt;br /&gt;Response form he R&amp;amp;D;&lt;br /&gt;&lt;span&gt;When enable is turned down, the internal power is turned off from the nRF9160 module. Because there is no operating voltage on the SoC, nRF9120, the ESD protection diodes loads the pins and therefore it only rises to diode threshold level.&lt;/span&gt;&lt;strong&gt;&lt;br /&gt;&lt;br /&gt;&lt;/strong&gt;And a request for more information,&amp;nbsp;&lt;span&gt;It seemed that pulling ENABLE down after this leaves the reset line at 1.8V. Our system does not boot if the pinreset is enabled as the nRESET voltage is too low and the nRF52840 remains in the reset state.&lt;/span&gt;&lt;br /&gt;&lt;span&gt;Does the level remain at 1.8V permanently or is that 1.8V just a &amp;quot;snapshot&amp;quot; of the situation?&lt;/span&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: nRF9160 GPIO pin leakage/pull-down problem</title><link>https://devzone.nordicsemi.com/thread/293419?ContentTypeID=1</link><pubDate>Mon, 08 Feb 2021 17:49:35 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:70c5e6f2-5305-4b21-8236-7118ee705594</guid><dc:creator>Pertti Kasanen</dc:creator><description>&lt;p&gt;If we go through the whole setup how the MCUs are powered: the schematics part we should separate as a private ticket - would need to share and explain quite a lot of functionality.&lt;br /&gt;&lt;br /&gt;The connection between the P0.25 and nRESET pins has only a 100nF capacitor to the GND. (In some applications it will also have a reset button tied to this same line.)&amp;nbsp;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: nRF9160 GPIO pin leakage/pull-down problem</title><link>https://devzone.nordicsemi.com/thread/293408?ContentTypeID=1</link><pubDate>Mon, 08 Feb 2021 16:35:54 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:3c702b21-7cc4-4217-9d5c-40b5531b911b</guid><dc:creator>JONATHAN LL</dc:creator><description>&lt;p&gt;Hi Pertti,&lt;br /&gt;&lt;br /&gt;&lt;/p&gt;
[quote user=""]I did not find this nRF9160 behavior documented anywhere. Is this the correct interpretation? Is there any difference if we switched to another pin in nRF9160? (The&amp;nbsp;P0.25 has also TRACE3 function -&amp;nbsp;seems unlikely but&amp;nbsp;possible that it could interfere). Is there some workaround for this that would allow the nRF9160 GPIO pin to be connected to&amp;nbsp;the nRESET of the nRF52840 - when nRF9160 ENABLE is kept low at boot?[/quote]
&lt;p&gt;&amp;nbsp;I will ask our R&amp;amp;D to clarify behaviour of the nrf9160.&amp;nbsp;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;Is sharing the schematic of the nrf9160 something you are willing to do in a public ticket?&amp;nbsp;&lt;br /&gt;&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></channel></rss>