<?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>GPIO high drive on nRF52, any limitations?</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/17668/gpio-high-drive-on-nrf52-any-limitations</link><description>I have a rather unique problem. I want to control an &amp;quot;old-fashioned&amp;quot; DPDT relay using nRF52 GPIO lines. I&amp;#39;m trying to accomplish this task without adding a power transistor circuit to my design. (My prototype board is already a mess of solder puddles</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Tue, 13 Dec 2016 17:52:03 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/17668/gpio-high-drive-on-nrf52-any-limitations" /><item><title>RE: GPIO high drive on nRF52, any limitations?</title><link>https://devzone.nordicsemi.com/thread/67968?ContentTypeID=1</link><pubDate>Tue, 13 Dec 2016 17:52:03 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:e42e86ad-5e19-41d3-b9bf-de19a6c471c3</guid><dc:creator>Ladasky</dc:creator><description>&lt;p&gt;Thank you Mr. Bauck, that was very helpful information.&lt;/p&gt;
&lt;p&gt;It would appear that the nRF52 actually has a lower current driving limit than the nRF51.  That&amp;#39;s fine, I&amp;#39;m sure most people don&amp;#39;t need much current driving capability, and it can always be added.&lt;/p&gt;
&lt;p&gt;A few weeks ago while I was waiting for your reply, I found some NPN transistors to drive the relay.  It appears that I need two of them, since the relay is a latching type.  I tried to drive those transistors with GPIO.  But I didn&amp;#39;t have flyback diodes in my first circuit.  And it appears that I actually damaged an nRF52 DK board with this circuit.  Oops.  Live and learn.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: GPIO high drive on nRF52, any limitations?</title><link>https://devzone.nordicsemi.com/thread/67967?ContentTypeID=1</link><pubDate>Tue, 06 Dec 2016 13:57:08 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:1dbd7cba-4bf8-4903-854a-3bf2bf1e8e84</guid><dc:creator>Ole Bauck</dc:creator><description>&lt;p&gt;Hi,&lt;/p&gt;
&lt;p&gt;You should use a MOSFET transistor. A SOT-23 transistor does not take much space. Driving a relay directly from the gpio pin will drive the gpio pin out of spec when it comes to current. We recommend 15mA total max current on the nRF52 gpio pins. This can be on one pin if you want. If you go outside this we cannot guarantee the stability of the device. We also recommend that you sink current rather than source, because there are more ground pads on the device than VDD pads.&lt;/p&gt;
&lt;p&gt;Regarding the figure, you are reading it the other way. This figure tells you the pad voltage when you are sinking current. If you sink 25mA the pad voltage will be 3V, as 25mA is the absolute maximum current you can sink from a pin. If you want 2V on the pin you can sink 20mA, but again this is not recommended, especially when doing this on two pins.&lt;/p&gt;
&lt;p&gt;Here is a related case discussing nRF52 max gpio current: &lt;a href="https://devzone.nordicsemi.com/question/72102/max-gpio-current-for-nrf52/."&gt;devzone.nordicsemi.com/.../.&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;You will have to make room for that transistor. And also don&amp;#39;t forget to add a flyback diode across the relay input.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>