<?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>nrf52 GPIO sink &amp;amp; source current</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/24415/nrf52-gpio-sink-source-current</link><description>Hi, I&amp;#39;m contemplating ways to drive a small RGB LED matrix with the nrf52832 in a really space-tight project. Ideally without any external components. I&amp;#39;ts maybe around 40 RGBs (5x8 grid, 120 individual LEDs to drive). 
 Charlieplexing would be best</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Sun, 20 Aug 2017 23:22:27 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/24415/nrf52-gpio-sink-source-current" /><item><title>RE: nrf52 GPIO sink &amp; source current</title><link>https://devzone.nordicsemi.com/thread/96163?ContentTypeID=1</link><pubDate>Sun, 20 Aug 2017 23:22:27 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:dbc1f916-3857-4b66-9e63-529745d83d93</guid><dc:creator>Roger Clark</dc:creator><description>&lt;p&gt;Unless you get a response from Nordic contradicting their own spec, you would have to assume that the max current is the total of both current supplied and sinked.&lt;/p&gt;
&lt;p&gt;Both of these would probably cause the same amount of internal heating, which is probably why there is a limit&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: nrf52 GPIO sink &amp; source current</title><link>https://devzone.nordicsemi.com/thread/96161?ContentTypeID=1</link><pubDate>Sat, 19 Aug 2017 10:04:14 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:5e55de22-1291-42c2-b9f2-fc78efc77c70</guid><dc:creator>dingari</dc:creator><description>&lt;p&gt;Which leads to the original question. If I source current through a pin and sink it through another pin, does that take twice the current from the max GPIO current?&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: nrf52 GPIO sink &amp; source current</title><link>https://devzone.nordicsemi.com/thread/96162?ContentTypeID=1</link><pubDate>Sat, 19 Aug 2017 01:06:21 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:2e239e2d-d70a-4e1a-b8fc-8ea910ba3b63</guid><dc:creator>Roger Clark</dc:creator><description>&lt;p&gt;Well, just arrange your software to keep track of how many LED&amp;#39;s its turned on and don&amp;#39;t exceed the max current for the whole MCU and the individual pin current.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: nrf52 GPIO sink &amp; source current</title><link>https://devzone.nordicsemi.com/thread/96160?ContentTypeID=1</link><pubDate>Fri, 18 Aug 2017 15:27:16 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:ace8a79d-7251-44d0-9b64-7f2c1e6ab1ac</guid><dc:creator>dingari</dc:creator><description>&lt;p&gt;It&amp;#39;s not really intended to work like a standard matrix display, simply an array of LEDs which can indicate different things. All LEDs will never be lit at the same time, at most a single column (wired intelligently, only a single LED is on at any given moment). Considering I&amp;#39;ve got some low-power SMD LEDs visible in broad daylight at ~1mA, the more and more I think this won&amp;#39;t be a problem. I&amp;#39;ll have to do some tests though.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: nrf52 GPIO sink &amp; source current</title><link>https://devzone.nordicsemi.com/thread/96158?ContentTypeID=1</link><pubDate>Fri, 18 Aug 2017 01:09:16 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:c8278e31-1324-4b2c-8446-e5b767fec645</guid><dc:creator>Roger Clark</dc:creator><description>&lt;p&gt;Yes. They are larger and far more expensive.&lt;/p&gt;
&lt;p&gt;Perhaps you can find some sort of LED matrix device which has the LEDs and drivers built it, as you won&amp;#39;t be able to drive all the LEDS directly from an nRF5x MCU as they cant supply the necessary current, and still have the LED&amp;#39;s visible under normal lighting conditions.&lt;/p&gt;
&lt;p&gt;Re:Sincing vs sourcing current&lt;/p&gt;
&lt;p&gt;Its because there are more GND pins on the MCU package than Vcc pins.&lt;/p&gt;
&lt;p&gt;Though in your case, you simply can&amp;#39;t drive that many leds with only 15mA&lt;/p&gt;
&lt;p&gt;Perhaps you should consider using a small OLED screen instead of LEDs&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: nrf52 GPIO sink &amp; source current</title><link>https://devzone.nordicsemi.com/thread/96157?ContentTypeID=1</link><pubDate>Thu, 17 Aug 2017 08:26:14 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:f80e5a24-a53f-4950-ba25-ad0584fe2fc5</guid><dc:creator>dingari</dc:creator><description>&lt;p&gt;@Roger Clark, I&amp;#39;ve not considered addressable LEDs that much, since they are just a bit too large (typically 2-3mm wide). I&amp;#39;m aiming at 0603 (1.6mm wide) or even 0404 (1mm wide) LEDs to fit them into the volume of the product.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: nrf52 GPIO sink &amp; source current</title><link>https://devzone.nordicsemi.com/thread/96159?ContentTypeID=1</link><pubDate>Wed, 16 Aug 2017 22:40:21 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:58660cd1-1b82-452c-932e-ea6262275075</guid><dc:creator>Roger Clark</dc:creator><description>&lt;p&gt;Have you considered using addressable LEDs aka Neopixels&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>