<?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>nRF52840 VBUS state when on battery power</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/45246/nrf52840-vbus-state-when-on-battery-power</link><description>Hello, 
 I have custom board with nRF52840. Most of the time It works on USB power, but it also has a battery. It has some peripherals that powered via USB too (LED w2812b array). When USB is disconnected I want it to go to power save mode, so I need</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Tue, 09 Apr 2019 15:50:34 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/45246/nrf52840-vbus-state-when-on-battery-power" /><item><title>RE: nRF52840 VBUS state when on battery power</title><link>https://devzone.nordicsemi.com/thread/181142?ContentTypeID=1</link><pubDate>Tue, 09 Apr 2019 15:50:34 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:c0a5ed97-d9df-40c3-beec-a778df861b2b</guid><dc:creator>Stian R&amp;#248;ed Hafskjold</dc:creator><description>&lt;p&gt;Ok, then I don&amp;#39;t know what the problem is. But in general if you remove the power to an external device, you must also disconnect the data lines between the nRF52 chip and the external device, otherwise you might power the external peripheral through the data lines.&lt;/p&gt;
&lt;p&gt;What you can do is to set all GPIOs on the nRF52 to inputs, then they will all be disconnected, and you can be sure that no leakage current is going out from the GPIOs. If you still see 2.5V on the 5V line there must be something external to the nRF52 that is leaking.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: nRF52840 VBUS state when on battery power</title><link>https://devzone.nordicsemi.com/thread/181082?ContentTypeID=1</link><pubDate>Tue, 09 Apr 2019 13:22:14 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:2ce0b0bb-269f-4124-a262-528be56b9c07</guid><dc:creator>ilia</dc:creator><description>&lt;p&gt;I use an array of&amp;nbsp;&lt;span&gt;w2812b RGB LEDs. They are controlled via commands. I use SPIM to deliver commands. LED changes its color after receiving a command, and stays in this state until it receives command with new color. Particular command is basically a sequence of bits representing RGB color bytes.&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;I don&amp;#39;t think that leakage occurs in the LEDs, because even if all LEDs are physically disconnected, I have current around 2.5V on the power pin for those LEDs.&lt;/span&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: nRF52840 VBUS state when on battery power</title><link>https://devzone.nordicsemi.com/thread/181071?ContentTypeID=1</link><pubDate>Tue, 09 Apr 2019 13:07:36 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:6fe8ffdc-9eca-47b8-a4f6-bd1e8083e0af</guid><dc:creator>Stian R&amp;#248;ed Hafskjold</dc:creator><description>&lt;p&gt;Can you describe the LEDs you are using? Is it just normal LEDs you control by pulling the GPIOs high or low, or is it a more fancy RGB LED you control with commands? Like your &amp;quot;black color&amp;quot; command..? If the data bus between the nRF chip and the LEDs are still active there&amp;#39;s a good chance that these are pulling up the 5V power line to the LEDs.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: nRF52840 VBUS state when on battery power</title><link>https://devzone.nordicsemi.com/thread/181060?ContentTypeID=1</link><pubDate>Tue, 09 Apr 2019 12:54:40 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:addabda6-01ab-4cc4-ba8a-ea21750cbaa1</guid><dc:creator>Stian R&amp;#248;ed Hafskjold</dc:creator><description>&lt;p&gt;I think you should try to remove one component after another to see where the leakage current goes.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: nRF52840 VBUS state when on battery power</title><link>https://devzone.nordicsemi.com/thread/179899?ContentTypeID=1</link><pubDate>Wed, 03 Apr 2019 08:10:38 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:b71b2adc-26c6-4ee3-950d-ac3d77043657</guid><dc:creator>ilia</dc:creator><description>&lt;p&gt;I have control over the LEDs signal input pin, and not over the power pin. To turn off the LEDs I just send &amp;quot;black color&amp;quot; signal. But it should not be necessary if there is no power on the LEDs power pin.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: nRF52840 VBUS state when on battery power</title><link>https://devzone.nordicsemi.com/thread/179896?ContentTypeID=1</link><pubDate>Wed, 03 Apr 2019 07:57:33 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:d59ce32f-169e-4859-9e47-f7a2a240ccdb</guid><dc:creator>ilia</dc:creator><description>&lt;p&gt;Here it is. It uses Fanstel BT840F module.&lt;img alt=" " src="https://devzone.nordicsemi.com/resized-image/__size/1040x1691/__key/communityserver-discussions-components-files/4/8030.s2.jpg" /&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: nRF52840 VBUS state when on battery power</title><link>https://devzone.nordicsemi.com/thread/179755?ContentTypeID=1</link><pubDate>Tue, 02 Apr 2019 12:14:36 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:6bed714f-8d35-43e8-afd2-19249c793d93</guid><dc:creator>Stian R&amp;#248;ed Hafskjold</dc:creator><description>&lt;p&gt;I can&amp;#39;t see anything obviously wrong with the regulator design. The diode D1 should prevent any leakage back from 3.3V to 5V.&lt;/p&gt;
&lt;p&gt;How do you turn off the LEDs? Are you pulling the GPIOs high?&lt;/p&gt;
&lt;p&gt;Can you post the rest of the schematics, including the nRF52 and the GPIOs. Thanks&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: nRF52840 VBUS state when on battery power</title><link>https://devzone.nordicsemi.com/thread/179561?ContentTypeID=1</link><pubDate>Mon, 01 Apr 2019 15:18:40 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:8df60172-42af-43de-b72e-38a55f7d985d</guid><dc:creator>ilia</dc:creator><description>&lt;p&gt;That is good.&lt;/p&gt;
&lt;p&gt;I am wondering where is the mistake. Maybe I missed something in the power schematic? Is schematic from my previous reply looks good for you?&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: nRF52840 VBUS state when on battery power</title><link>https://devzone.nordicsemi.com/thread/179524?ContentTypeID=1</link><pubDate>Mon, 01 Apr 2019 13:25:05 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:a358ddea-1ee3-4360-b5a7-712f77e5bdae</guid><dc:creator>Stian R&amp;#248;ed Hafskjold</dc:creator><description>&lt;p&gt;There&amp;#39;s no internal leakage from the VDD domain back to the VBUS pin in the nRF52840 chip.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: nRF52840 VBUS state when on battery power</title><link>https://devzone.nordicsemi.com/thread/178772?ContentTypeID=1</link><pubDate>Wed, 27 Mar 2019 17:00:47 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:3747c60a-79cb-4006-91f6-bbc5e1538d99</guid><dc:creator>ilia</dc:creator><description>&lt;p&gt;Here is the power supply part. LEDs are connected to the 5v line&lt;/p&gt;
&lt;p&gt;&lt;img alt=" " src="https://devzone.nordicsemi.com/resized-image/__size/1040x240/__key/communityserver-discussions-components-files/4/Annotation-2019_2D00_03_2D00_27-185631.png" /&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: nRF52840 VBUS state when on battery power</title><link>https://devzone.nordicsemi.com/thread/178628?ContentTypeID=1</link><pubDate>Wed, 27 Mar 2019 11:12:25 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:b2cae094-1f06-455e-97ce-efddee2ce1b2</guid><dc:creator>Stian R&amp;#248;ed Hafskjold</dc:creator><description>&lt;p&gt;Can you please post the schematics? To which pins have you connected the battery and the USB power? Thanks&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: nRF52840 VBUS state when on battery power</title><link>https://devzone.nordicsemi.com/thread/178015?ContentTypeID=1</link><pubDate>Mon, 25 Mar 2019 08:48:51 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:9b4b11b5-3ad4-4fab-a863-35e96d80f3bc</guid><dc:creator>ilia</dc:creator><description>&lt;p&gt;Hello,&lt;/p&gt;
&lt;p&gt;I found this schematic of VBUS&lt;/p&gt;
&lt;p&gt;&lt;img alt=" " src="https://devzone.nordicsemi.com/cfs-file/__key/communityserver-discussions-components-files/4/usb_5F00_reg.svg" /&gt;&lt;/p&gt;
&lt;p&gt;What is the internal structure of LDO here?&lt;/p&gt;
&lt;p&gt;&lt;span&gt;If I have connected battery (and disconnected USB cable), then I have power on 3.3v line. Does that mean that I will have power on 5v line too?&lt;/span&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>