<?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>nRF52832 GPIO state at no input power (Vdd)</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/70699/nrf52832-gpio-state-at-no-input-power-vdd</link><description>Hello. 
 
 I wanted to know what the gpio state when no power is connected to the device. 
 
 I have connected a RTC battery to one of the ADC channels via a series 100K resistor, for monitoring the cell voltage in operation. But I noticed when the device</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Wed, 07 Apr 2021 12:58:58 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/70699/nrf52832-gpio-state-at-no-input-power-vdd" /><item><title>RE: nRF52832 GPIO state at no input power (Vdd)</title><link>https://devzone.nordicsemi.com/thread/303524?ContentTypeID=1</link><pubDate>Wed, 07 Apr 2021 12:58:58 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:22462aa9-016f-4e6a-b307-6a32e1164704</guid><dc:creator>ketiljo</dc:creator><description>&lt;p&gt;Sounds reasonable. If the nominal voltage of the battery is 3.0 V, is should quickly go down to that level and stay there until the battery is depleted.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: nRF52832 GPIO state at no input power (Vdd)</title><link>https://devzone.nordicsemi.com/thread/302237?ContentTypeID=1</link><pubDate>Sat, 27 Mar 2021 06:34:27 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:6da0f3e8-9015-4d9a-b2dc-a6498dc8a34d</guid><dc:creator>Brosnan</dc:creator><description>&lt;p&gt;So what is noticed now is the battery discharges quickly to 3.0V from 3.2V and then stays at that voltage. Observing this on all units (after 1+month) with the 10M ohms resistor in series.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: nRF52832 GPIO state at no input power (Vdd)</title><link>https://devzone.nordicsemi.com/thread/302164?ContentTypeID=1</link><pubDate>Fri, 26 Mar 2021 14:23:53 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:7e1af8bd-3da6-4a18-941a-152392a7e0a7</guid><dc:creator>ketiljo</dc:creator><description>&lt;p&gt;Does the battery discharge at all after a while?&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: nRF52832 GPIO state at no input power (Vdd)</title><link>https://devzone.nordicsemi.com/thread/302041?ContentTypeID=1</link><pubDate>Fri, 26 Mar 2021 04:33:52 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:7569ffb6-7cf6-46e1-abb8-6b3908227c3e</guid><dc:creator>Brosnan</dc:creator><description>&lt;p&gt;Is there a possibility that the cell discharge characteristics are into play here? Like the battery will discharge from 3.28V to 3.0V faster and then stay at 3.0V for most of it capacity?&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: nRF52832 GPIO state at no input power (Vdd)</title><link>https://devzone.nordicsemi.com/thread/301933?ContentTypeID=1</link><pubDate>Thu, 25 Mar 2021 14:06:11 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:bce9dfb7-2dc2-43a2-bf8b-a75ea7b53f1f</guid><dc:creator>ketiljo</dc:creator><description>&lt;p&gt;There must be a considerable current draw to drain the battery this fast, and if the resistor is indeed 10M ohm, the current must go somewhere else.&amp;nbsp;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: nRF52832 GPIO state at no input power (Vdd)</title><link>https://devzone.nordicsemi.com/thread/301572?ContentTypeID=1</link><pubDate>Wed, 24 Mar 2021 04:46:24 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:fae558d8-533e-4de5-ad06-3854d0b810e6</guid><dc:creator>Brosnan</dc:creator><description>&lt;p&gt;Do&amp;nbsp;you think of anything else happening here?&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: nRF52832 GPIO state at no input power (Vdd)</title><link>https://devzone.nordicsemi.com/thread/301494?ContentTypeID=1</link><pubDate>Tue, 23 Mar 2021 15:02:23 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:993ee800-b8f5-4777-ae64-f6dc93336c53</guid><dc:creator>ketiljo</dc:creator><description>&lt;p&gt;Sorry, a typo, it should of course be ~300 nA.&amp;nbsp;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: nRF52832 GPIO state at no input power (Vdd)</title><link>https://devzone.nordicsemi.com/thread/301490?ContentTypeID=1</link><pubDate>Tue, 23 Mar 2021 14:49:47 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:10c4e20e-0809-44cc-bca6-d3b4f4d91e6b</guid><dc:creator>Brosnan</dc:creator><description>&lt;p&gt;Yes double checked the value, it is 10M. By the way how did you get 900uA through the 10M if it was shorted. The battery voltage is ~3.2V, hence I was considering 3.2/10000000 = 320nA.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: nRF52832 GPIO state at no input power (Vdd)</title><link>https://devzone.nordicsemi.com/thread/301475?ContentTypeID=1</link><pubDate>Tue, 23 Mar 2021 14:30:11 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:8c41f6e8-8bf7-4661-ba7f-6811de7803cb</guid><dc:creator>ketiljo</dc:creator><description>&lt;p&gt;That was strange. With a 10M ohm resistor, even if the pin is shorted to ground, you will have a current of ~900 nA. After 4 days, it has used ~29 µAh of the battery capacity. Are you sure the resistor is 10M ohm and not 10k ohm. 10k ohm will be about right after 4 days.&amp;nbsp;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: nRF52832 GPIO state at no input power (Vdd)</title><link>https://devzone.nordicsemi.com/thread/301461?ContentTypeID=1</link><pubDate>Tue, 23 Mar 2021 13:59:47 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:cbc700e4-0bac-4210-9f19-bc2219e93302</guid><dc:creator>Brosnan</dc:creator><description>&lt;p&gt;Hi Ketiljo,&lt;/p&gt;
&lt;p&gt;Thanks for your help on the original problem. I have a new problem now related to this one. The coin cell I connect to the to the RTC and the ADC (via 10M ohms) is still seeming to be draining fast when the device is not powered.&lt;/p&gt;
&lt;p&gt;I put in a fresh cell at 3.28V in a device and within 4 days it had dropped to 3.17V while the device was never used. Have noticed this on 6 devices up till now who all were put with fresh batteries at the same time and they depleted around the same voltage after 4 days.&lt;/p&gt;
&lt;p&gt;The cell type is a CR1220 with nominal capacity of 36mAh.&lt;/p&gt;
&lt;p&gt;The cell seems to be draining via the ADC path as I have other devices which don&amp;#39;t have the ADC connection at all and there the cell voltage is still 3.25V after several months of the board staying off.&lt;/p&gt;
&lt;p&gt;What can be happening here?&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: nRF52832 GPIO state at no input power (Vdd)</title><link>https://devzone.nordicsemi.com/thread/290525?ContentTypeID=1</link><pubDate>Thu, 21 Jan 2021 13:03:50 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:d9226c6a-fa38-4bdd-8512-a6effa535bbb</guid><dc:creator>ketiljo</dc:creator><description>&lt;p&gt;The idea is the same, to use a large resistor and charge the capacitor&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: nRF52832 GPIO state at no input power (Vdd)</title><link>https://devzone.nordicsemi.com/thread/290460?ContentTypeID=1</link><pubDate>Thu, 21 Jan 2021 11:01:55 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:794b504b-a9bb-488c-9085-b82904334e62</guid><dc:creator>Brosnan</dc:creator><description>&lt;p&gt;Thanks Ketiljo,&lt;/p&gt;
&lt;p&gt;I&amp;#39;ll try this out. Just want to mention that the cell voltage is 3.2V at full charge, hence i&amp;#39;m not using a resistor divider.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: nRF52832 GPIO state at no input power (Vdd)</title><link>https://devzone.nordicsemi.com/thread/290438?ContentTypeID=1</link><pubDate>Thu, 21 Jan 2021 10:11:01 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:746dc263-6f2b-48c3-9027-fa20f4a48c91</guid><dc:creator>ketiljo</dc:creator><description>&lt;p&gt;You can use a large resistor like this if you place a capacitor on the ADC input. The idea here is to let the capacitor charge up slowly and let the ADC measure the voltage over the capacitor instead. See this blogpost:&amp;nbsp;&lt;a href="https://devzone.nordicsemi.com/nordic/nordic-blog/b/blog/posts/measuring-lithium-battery-voltage-with-nrf52"&gt;https://devzone.nordicsemi.com/nordic/nordic-blog/b/blog/posts/measuring-lithium-battery-voltage-with-nrf52&lt;/a&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: nRF52832 GPIO state at no input power (Vdd)</title><link>https://devzone.nordicsemi.com/thread/290302?ContentTypeID=1</link><pubDate>Wed, 20 Jan 2021 14:34:42 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:66bf8b49-fa79-4955-8708-f4a0f43b32f8</guid><dc:creator>Brosnan</dc:creator><description>&lt;p&gt;Thanks for your response Ketiljo,&lt;/p&gt;
&lt;p&gt;What should I do to prevent this from happening. I want to monitor the battery voltage when the board is powered. And not drain when the board is unpowered.&lt;/p&gt;
&lt;p&gt;I have increased the resistor value to 10M ohms, but was thinking if this will degrade the accuracy of the measurement.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: nRF52832 GPIO state at no input power (Vdd)</title><link>https://devzone.nordicsemi.com/thread/290234?ContentTypeID=1</link><pubDate>Wed, 20 Jan 2021 12:19:34 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:9553d2cf-44f5-4704-b0dc-8f789f674c9f</guid><dc:creator>ketiljo</dc:creator><description>&lt;p&gt;There are ESD protection diodes to VDD that will start to conduct and drain the battery trough the resistor. So the GPIO should be considered pulled low when the device is not powered.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>