<?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>Is this robust? NRF52840 1.8v low power mode driving RGB LED from 3.3v</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/75124/is-this-robust-nrf52840-1-8v-low-power-mode-driving-rgb-led-from-3-3v</link><description>It would be great to get some reassurance on this design. Is it ok for production i.e. is robust and within limits? 
 I am successfully driving an smd rgb led by sinking 2ma current into the GPIO pins of an NRF52840 that is running at 1.8v. 
 The LEDs</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Mon, 17 May 2021 15:08:51 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/75124/is-this-robust-nrf52840-1-8v-low-power-mode-driving-rgb-led-from-3-3v" /><item><title>RE: Is this robust? NRF52840 1.8v low power mode driving RGB LED from 3.3v</title><link>https://devzone.nordicsemi.com/thread/309977?ContentTypeID=1</link><pubDate>Mon, 17 May 2021 15:08:51 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:f26aad52-1f99-4d81-8a5d-8660d86881ae</guid><dc:creator>JustinL</dc:creator><description>&lt;p&gt;I prototyped your original design this morning and it worked like a charm!!&amp;nbsp;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Is this robust? NRF52840 1.8v low power mode driving RGB LED from 3.3v</title><link>https://devzone.nordicsemi.com/thread/309973?ContentTypeID=1</link><pubDate>Mon, 17 May 2021 14:32:00 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:2cf8a10a-1434-4e3a-94ea-b9186e1dcda8</guid><dc:creator>hmolesworth</dc:creator><description>&lt;p&gt;Very welcome. Since you are going to experiment, how about trying this minimalist single-LED driver:&lt;/p&gt;
&lt;p&gt;&lt;pre class="ui-code" data-mode="c_cpp"&gt;//       VDD 1.8V--#--  Schottky
//                 |    Diode
//                 |    |\  (         |\  |LED 1
//                 |    | \ )         | \ |       +------+
//                 +----|  )----#-----|  )--------[ R1   ]---+
//                      | / (   |     | / |       +------+   |
//                      |/  )   |     |/  |                  |
//                              |                            |
//                            -----                          |
//                            -----                          |
//                              |Boost                 Drive |
//                              |                            |
//   LED 1 Drive/Boost ---------+----------------------------+&lt;/pre&gt;&lt;/p&gt;
&lt;p&gt;It saves an i/o pin, but might not work as well. For both schemes remember to sample the 3.3 volts if that is drawn from a battery where the voltage droops over the lifetime of the battery, for example a coin cell. The trick is to use a lookup table for the PWM adjustment as the battery droops from 3.4 volts down to 2.4 volts. If the voltage stays constant then no need for adjustment.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Is this robust? NRF52840 1.8v low power mode driving RGB LED from 3.3v</title><link>https://devzone.nordicsemi.com/thread/309946?ContentTypeID=1</link><pubDate>Mon, 17 May 2021 07:46:55 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:f481b7ad-93b1-4f9b-8879-9c56b0f80470</guid><dc:creator>JustinL</dc:creator><description>&lt;p&gt;The rest of the ICs need 1.8v pwr and IO so no option to avoid that. I do get the 1.8v &amp;quot;free&amp;quot; anyway from the battery management IC.&amp;nbsp;&lt;br /&gt;&lt;br /&gt;Unless I hear differently from the Nordic Engineers on Tuesday, I think I will go with your diode and cap suggestion. I will prototype that up today.&amp;nbsp;&lt;br /&gt;&lt;br /&gt;Thanks for sharing your experience. It is a real help.&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;cheers&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Is this robust? NRF52840 1.8v low power mode driving RGB LED from 3.3v</title><link>https://devzone.nordicsemi.com/thread/309890?ContentTypeID=1</link><pubDate>Sat, 15 May 2021 18:45:42 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:9a56046c-a46d-4816-869f-915316badd95</guid><dc:creator>hmolesworth</dc:creator><description>&lt;p&gt;Tight board space? Why use a 1.8 volt regulator, unless it is required for other components. The nRF52 internal runs at 1.3 volts, just the i/o uses the 1.8 volts. If you can avoid the 1.8 it avoids the associated Iq in sleep/shelf mode plus a huge shielded inductor and regulator and beating synchronous noise. I designed a medical patch and did the same but measurements showed that chucking that out helped overall battery consumption; AFE and the like used 1.8 volt for i/o but 2.7 volts for analogue circuits. A 1.8 volt Flash is a different kettle of fish, however.&lt;/p&gt;
&lt;p&gt;Usually it is preferable to drive the 3.3 volt regulator from an i/o pin which has an external disabling pull-up or pull-down as needed; always disabled except when 3.3 volt power required. The issue with 3.3 volt being present but not nRF52 VDD is that the io pins power up the nRF52 via the internal schottky clamp diodes. The leakage through an LED (say 100nA) with a voltage differential too small to light is sufficient to stop the nRF52 reset and brown out functionality working correctly until of course all voltages decay to zero (that can take a long time)..&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Is this robust? NRF52840 1.8v low power mode driving RGB LED from 3.3v</title><link>https://devzone.nordicsemi.com/thread/309859?ContentTypeID=1</link><pubDate>Fri, 14 May 2021 16:51:32 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:f051369a-8737-4915-984d-6fd6021bed50</guid><dc:creator>JustinL</dc:creator><description>&lt;p&gt;Thanks for the reply and the cool diode and cap PWM solution. That is tempting despite the very tight board space I have (it is a wearable device).&lt;br /&gt;&lt;br /&gt;Does it make any difference that the 3.3v line is always disabled whenever the NRF52840 is powered down?&lt;br /&gt;&lt;br /&gt;I don&amp;#39;t specifically manage the power up/down sequence between this line and the NRF52840 VDD so there could be transient periods on power-up or down when the above is not true. But I could actually enable the 3.3v LDO via the NRF52840 and ensure it was always off until NRF52840 is fired up.&lt;br /&gt;&lt;br /&gt;Is the back drive issue during normal operation in my setup or is it only an issue when NRF52840 VDD goes to zero? I guess I don&amp;#39;t understand&amp;nbsp;the back drive issue. If the NRF52840 had VDD 3.3v this design would be fine (that is how the NRF52840 dongle schematic is setup) and the voltage drop of the LEDs should keep the voltage at the pin below VDD.&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;Thanks again&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Is this robust? NRF52840 1.8v low power mode driving RGB LED from 3.3v</title><link>https://devzone.nordicsemi.com/thread/309855?ContentTypeID=1</link><pubDate>Fri, 14 May 2021 15:42:22 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:df6e271c-d35c-4cf1-999f-2601acc315c9</guid><dc:creator>hmolesworth</dc:creator><description>&lt;p&gt;Not ok, there will be issues with back-drive and power sequencing; I will let Nordic engineers detail why.&lt;/p&gt;
&lt;p&gt;There are at least three options to solve your issue:&lt;/p&gt;
&lt;ul&gt;
&lt;li&gt;Add a FET to the output port for each LED using the 3.3 volt rail&lt;/li&gt;
&lt;li&gt;Add an ideal diode to drive eaach LED (expensive)&lt;/li&gt;
&lt;li&gt;Boost the 1.8 volt VDD voltage to all the LEDs, no FET required&lt;/li&gt;
&lt;/ul&gt;
&lt;p&gt;A simple voltage-doubler works to nearly double the 1.8 volts to (say) 3 volts. Normally that would require two diodes and two capacitors, but since the LED is already a diode and LEDs work quite nicely with pulsed (PWM) drive. only a single diode and capacitor are required. The simplest circuit requires a PWM signal and a separate active-low drive for each LED.&lt;/p&gt;
&lt;p&gt;&lt;pre class="ui-code" data-mode="c_cpp"&gt;//       VDD 1.8V--#--  Schottky
//                 |    Diode
//                 |    |\  (         |\  |LED 1
//                 |    | \ )         | \ |       +------+
//                 +----|  )----#-----|  )--------[ R1   ]-----+
//                      | / (   |     | / |       +------+     |
//                      |/  )   |     |/  |                    |
//                              |                              |
//                              |     |\  |LED 2               |
//                              |     | \ |       +------+     |
//                              #-----|  )--------[ R2   ]--+  |
//                              |     | / |       +------+  |  |
//                              |     |/  |                 |  |
//                            -----                         |  |
//                            -----                         |  |
//                              |                           |  |
//                              |                           |  |
//   PWM Boost   ---------------+                           |  |
//                                                          |  |
//   LED 2 Drive -------------------------------------------+  |
//   LED 1 Drive ----------------------------------------------+&lt;/pre&gt;&lt;/p&gt;
&lt;p&gt;Say 10uF with a pulse rate of a few kHz; control brightness by the series resistor to the LEDs or also pulse the LED drives. The series resistor depends on the types of LEDs, usually a few hundred Ohms.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Is this robust? NRF52840 1.8v low power mode driving RGB LED from 3.3v</title><link>https://devzone.nordicsemi.com/thread/309812?ContentTypeID=1</link><pubDate>Fri, 14 May 2021 13:54:10 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:597075c0-fbec-4e28-9d2f-3a2921aba92f</guid><dc:creator>Albrecht Markus Schellenberger</dc:creator><description>&lt;p&gt;Hello Justin,&lt;/p&gt;
&lt;p&gt;Due to public holidays in Norway, our experts are out of office until Tuesday. We will come back to you as soon as possible.&lt;/p&gt;
&lt;p&gt;I apologise for any inconvenience caused.&lt;/p&gt;
&lt;p&gt;Regards,&lt;/p&gt;
&lt;p&gt;Markus&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>