<?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 voltage on open drain IO</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/62467/high-voltage-on-open-drain-io</link><description>Hi, 
 Can we give a voltage more than VDD+0.3V on an open drain high impedance configured IO pin? By open drain, I mean: 
 nrf_gpio_cfg(pin_num, NRF_GPIO_PIN_DIR_OUTPUT, NRF_GPIO_PIN_INPUT_DISCONNECT, NRF_GPIO_PIN_NOPULL, GPIO_PIN_CNF_DRIVE_S0D1, NRF_GPIO_PIN_NOSENSE</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Mon, 22 Jun 2020 13:02:12 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/62467/high-voltage-on-open-drain-io" /><item><title>RE: High voltage on open drain IO</title><link>https://devzone.nordicsemi.com/thread/256189?ContentTypeID=1</link><pubDate>Mon, 22 Jun 2020 13:02:12 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:5cd4d867-0c2f-44b0-b020-2456fe1acef4</guid><dc:creator>ketiljo</dc:creator><description>&lt;p&gt;What&amp;#39;s the current flowing into the pin?&lt;/p&gt;
&lt;p&gt;It&amp;#39;s not the CPU that&amp;#39;s the problem here but the current that goes through the ESD protection diode. If the current is high enough, you will lift the VDD net as well.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: High voltage on open drain IO</title><link>https://devzone.nordicsemi.com/thread/256103?ContentTypeID=1</link><pubDate>Mon, 22 Jun 2020 07:20:05 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:a33acd63-4340-4c13-83ca-e40f71d191ba</guid><dc:creator>chethans</dc:creator><description>&lt;p&gt;&lt;a href="https://devzone.nordicsemi.com/members/ketiljo"&gt;ketiljo&lt;/a&gt; Can you please provide clarification on this?&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: High voltage on open drain IO</title><link>https://devzone.nordicsemi.com/thread/254876?ContentTypeID=1</link><pubDate>Mon, 15 Jun 2020 06:53:11 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:cacacaee-59f6-4ce8-af48-d3a41aa47a9a</guid><dc:creator>chethans</dc:creator><description>&lt;p&gt;Thanks Dmitry for the details.&lt;/p&gt;
&lt;p&gt;We are using Lithium Thionyl Chloride batteries which usually does not go beyond 3.7V.&lt;/p&gt;
&lt;p&gt;With a diode, we are seeing a 3.4v- 3.5v on the adc line and current increase of about 1-2uA. This is with the pin configured as Hi-Z.&lt;/p&gt;
&lt;p&gt;Another query on this: is there a risk of controller hanging/ going to some unknown state when voltage on any pin goes beyond VDD+03V?&lt;/p&gt;
&lt;p&gt;If a pin goes to higher voltage (&amp;gt;VDD+0.3) and then returns to normal voltage (&amp;lt;= VDD), what are the risks here?&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: High voltage on open drain IO</title><link>https://devzone.nordicsemi.com/thread/254830?ContentTypeID=1</link><pubDate>Sat, 13 Jun 2020 11:40:44 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:967d16ff-2bd0-4f9c-b5bd-9be81e0ccf64</guid><dc:creator>Dmitry</dc:creator><description>[quote userid="85690" url="~/f/nordic-q-a/62467/high-voltage-on-open-drain-io/254828"]So the ESD diode clamps the voltage? Something like this[/quote]
&lt;p&gt;Yes (the cathode of ESD protection diode is tied to VDD). The regulator is not still running, so it&amp;#39;s output is 0V, and you have 0.3V at enable pin - your circuit is in a deadlock...&lt;/p&gt;
[quote userid="85690" url="~/f/nordic-q-a/62467/high-voltage-on-open-drain-io/254828"]The circuit gets started up with strong pull up or a diode on R1. Would this damage the IO pin or the controller?[/quote]
&lt;p&gt;Is your battery is LiPo (it can have 3.6-4.2V at output) or you&amp;#39;re sure that it&amp;#39;s output not higher than 3.6V? In first case, you will have a high current leakage from battery through R1 and ESD diode to VDD - it may cause damage (a diode with high voltage drop instead of R1 can help). In second case&amp;nbsp;there shouldn&amp;#39;t be&amp;nbsp;any damage, as voltage at your IO pin is VDD+0.3. You may encounter a higher current consumption than you expected, and you loose the ability to measure battery voltage with ADC.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: High voltage on open drain IO</title><link>https://devzone.nordicsemi.com/thread/254828?ContentTypeID=1</link><pubDate>Sat, 13 Jun 2020 09:14:34 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:3e9c3229-b444-4c32-b980-9647615fbdbe</guid><dc:creator>chethans</dc:creator><description>&lt;p&gt;So the ESD diode clamps the voltage? Something like this:&lt;/p&gt;
&lt;p&gt;&lt;img alt=" " src="https://devzone.nordicsemi.com/resized-image/__size/320x240/__key/communityserver-discussions-components-files/4/ESD_5F00_Clamp.png" /&gt;&lt;/p&gt;
&lt;p&gt;Can you please elaborate on the complex start up?&lt;/p&gt;
&lt;p&gt;The circuit gets started up with strong pull up or a diode on R1. Would this damage the IO pin or the controller?&lt;/p&gt;
&lt;p&gt;Thank you,&lt;/p&gt;
&lt;p&gt;Chethan&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: High voltage on open drain IO</title><link>https://devzone.nordicsemi.com/thread/254826?ContentTypeID=1</link><pubDate>Sat, 13 Jun 2020 08:52:15 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:4a588a1c-7bc7-49ad-8ac6-0ae0aa1dda82</guid><dc:creator>Turbo J</dc:creator><description>[quote userid="85690" url="~/f/nordic-q-a/62467/high-voltage-on-open-drain-io/254825"]But with NRF52833 in picture, the voltage gets held up at 0.3V-0.5V.[/quote]
&lt;p&gt;That would be correct with NRF chips VDD at 0 Volt (LDO off).&lt;/p&gt;
&lt;p&gt;You will need a more complex startup curcuit here.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: High voltage on open drain IO</title><link>https://devzone.nordicsemi.com/thread/254825?ContentTypeID=1</link><pubDate>Sat, 13 Jun 2020 08:43:53 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:4d9c73db-8de0-4761-b39b-45ce405898b9</guid><dc:creator>chethans</dc:creator><description>&lt;p&gt;Ok. Thanks for the clarification Dmitry and ketiljo.&lt;/p&gt;
&lt;p&gt;To give you more idea on the issue, here is our configuration:&lt;/p&gt;
&lt;p&gt;&lt;img alt=" " src="https://devzone.nordicsemi.com/resized-image/__size/320x240/__key/communityserver-discussions-components-files/4/IO_5F00_Config.png" /&gt;&lt;/p&gt;
&lt;p&gt;We operate on a 3.6V battery, which goes to a resistor divider. The output of resistor divider is about 2/3rd of the battery voltage.&lt;/p&gt;
&lt;p&gt;The output of voltage divider is fed to the enable pin of regulator and the adc pin (AIN0) of NRF52833. The output of regulator is configured to be for 3.3V.&lt;/p&gt;
&lt;p&gt;Ideally, the voltage divider should give us 2.4V with 3.6V battery.&amp;nbsp;This works fine without NRF52833 connected.&lt;/p&gt;
&lt;p&gt;But with NRF52833 in picture, the voltage gets held up at 0.3V-0.5V.&lt;/p&gt;
&lt;p&gt;What could be the reason for this?&lt;/p&gt;
&lt;p&gt;Is the state of IO pin during startup causing the voltage to be clamped?&lt;/p&gt;
&lt;p&gt;We were thinking of bypassing this issue by shorting R1. But with the above behaviour, there might be more serious issues which can effect long term operation.&lt;/p&gt;
&lt;p&gt;Thank you,&lt;/p&gt;
&lt;p&gt;Chethan&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: High voltage on open drain IO</title><link>https://devzone.nordicsemi.com/thread/254668?ContentTypeID=1</link><pubDate>Fri, 12 Jun 2020 10:38:22 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:6e737fea-75d5-41f9-98f1-89ee5e9b87df</guid><dc:creator>ketiljo</dc:creator><description>&lt;p&gt;Correct. The ESD diodes will start to conduct of the GPIO voltage is VDD+0.3 V. If you have a series resistor, the current will be limited and the voltage is clamped to VDD+0.3 V on&amp;nbsp; the pin. Depending on the size of the resistor, this is fine. But of you pull the voltage higher than spec, you will start to lift the whole VDD net as well, and the current through the ESD diode will become to high and may damage the structure in the GPIO.&amp;nbsp;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: High voltage on open drain IO</title><link>https://devzone.nordicsemi.com/thread/254554?ContentTypeID=1</link><pubDate>Thu, 11 Jun 2020 15:47:00 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:1c33c977-2562-42c1-ad23-631e665a2546</guid><dc:creator>Dmitry</dc:creator><description>&lt;p&gt;Hi&amp;nbsp;&lt;span&gt;Chethan,&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;A voltage higher than VDD+0.3V coming from external chip will pass through an internal ESD protection diode and can damage the nRF chip if the signal is strong enough, despite of pin configuration. If there&amp;#39;s only 3.6V coming from pull-up resistor, the bus will be clamped by nRF chip at 2.6-2.8V level - the damage is unlikely but other weird things can happen, nobody can guarantee a stable behavior in this case.&lt;/p&gt;
&lt;p&gt;See also&amp;nbsp;&lt;a href="https://devzone.nordicsemi.com/f/nordic-q-a/37006/nrf52832-maximum-gpio-input-voltage"&gt;this&lt;/a&gt;&amp;nbsp;answer.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>