<?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 application won&amp;#39;t completely run without power applied to VBUS</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/74754/nrf52840-application-won-t-completely-run-without-power-applied-to-vbus</link><description>We&amp;#39;ve developed an application based on nRF52840 (via Raytac module MDBT50Q), utilizing the Adafruit Feather Express Bootloader as our basis to simplify the development. Our application uses an external display driver with touch screen controller to interact</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Wed, 02 Mar 2022 14:19:30 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/74754/nrf52840-application-won-t-completely-run-without-power-applied-to-vbus" /><item><title>RE: nRF52840 application won't completely run without power applied to VBUS</title><link>https://devzone.nordicsemi.com/thread/355845?ContentTypeID=1</link><pubDate>Wed, 02 Mar 2022 14:19:30 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:82b84910-c17e-4264-b76c-ba8b4918be17</guid><dc:creator>Dan Halbert</dc:creator><description>&lt;p&gt;amaul, did you ever&amp;nbsp;figure out a fix for this? It appears someone else may be having the same problem.&lt;/p&gt;
&lt;p&gt;&lt;a href="https://devzone.nordicsemi.com/f/nordic-q-a/83266/spim3-not-work-standalone"&gt;https://devzone.nordicsemi.com/f/nordic-q-a/83266/spim3-not-work-standalone&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;Sigurd, see that as well. This seems like some kind of peripheral hw issue. Has Nordic looked at this further?&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: nRF52840 application won't completely run without power applied to VBUS</title><link>https://devzone.nordicsemi.com/thread/328061?ContentTypeID=1</link><pubDate>Sat, 04 Sep 2021 19:31:16 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:0000a32a-ba51-4256-98f1-37bd2ec99e86</guid><dc:creator>Dan Halbert</dc:creator><description>&lt;p&gt;Are you using SPIM3? We are seeing what appears to be the same problem in CircuitPython, which allocates SPIM3 first. On USB power it works; on battery power there is no SPI clock present. See&amp;nbsp;&lt;a href="https://github.com/adafruit/circuitpython/issues/5233."&gt;github.com/.../5233.&lt;/a&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: nRF52840 application won't completely run without power applied to VBUS</title><link>https://devzone.nordicsemi.com/thread/311260?ContentTypeID=1</link><pubDate>Mon, 24 May 2021 16:16:49 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:89eabbcb-65d2-4ee0-a7b9-149163c647f8</guid><dc:creator>amaul</dc:creator><description>&lt;p&gt;Unfortunately no, working through the firmware still.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: nRF52840 application won't completely run without power applied to VBUS</title><link>https://devzone.nordicsemi.com/thread/310995?ContentTypeID=1</link><pubDate>Fri, 21 May 2021 10:28:23 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:9ddb3c89-506d-4644-b870-457dceedc2e8</guid><dc:creator>Sigurd</dc:creator><description>[quote userid="104055" url="~/f/nordic-q-a/74754/nrf52840-application-won-t-completely-run-without-power-applied-to-vbus/309081#309081"]I&amp;#39;ll need to check with the BSP on&amp;nbsp;&lt;span&gt;APP_USBD_EVT_POWER_READY or APP_USBD_EVT_POWER_DETECTED. &amp;nbsp;I don&amp;#39;t&amp;nbsp;specifically call those.&lt;/span&gt;[/quote]
&lt;p&gt;Did you make any progress on this?&lt;/p&gt;
&lt;p&gt;Is the issue resolved?&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: nRF52840 application won't completely run without power applied to VBUS</title><link>https://devzone.nordicsemi.com/thread/309081?ContentTypeID=1</link><pubDate>Mon, 10 May 2021 20:24:19 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:b7721717-ec01-47b4-9093-be6d8f972396</guid><dc:creator>amaul</dc:creator><description>&lt;p&gt;SPI signals are obviously coming through with VBUS powered. &amp;nbsp;With VBUS disconnected the only signal that I&amp;nbsp;have a heartbeat&amp;nbsp;on is Chip Select. MISO, MOSI and CLK are low and do not even trip a trigger acquisition. &amp;nbsp;Signal&amp;nbsp;frequency doesn&amp;#39;t really match the working configuration, but I supposed that would be expected. &amp;nbsp;Logic level and voltage level looks correct. &amp;nbsp;I&amp;#39;ll need to check with the BSP on&amp;nbsp;&lt;span&gt;APP_USBD_EVT_POWER_READY or APP_USBD_EVT_POWER_DETECTED. &amp;nbsp;I don&amp;#39;t&amp;nbsp;specifically call those.&lt;/span&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: nRF52840 application won't completely run without power applied to VBUS</title><link>https://devzone.nordicsemi.com/thread/309068?ContentTypeID=1</link><pubDate>Mon, 10 May 2021 17:51:53 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:6be59bfa-a5de-4b20-b10b-7834925cfbc8</guid><dc:creator>Sigurd</dc:creator><description>[quote user="amaul"]&amp;nbsp;I need to probe the lines to confirm, but I&amp;nbsp;presume that would tell me there is an issue in the software, correct?[/quote]
&lt;p&gt;&amp;nbsp;Yes, most likely, i.e. SPI commands are not sent/received, but it could also indicate HW issues if there is a change in voltage level used for &amp;quot;logical 1&amp;quot;/&amp;quot;high level&amp;quot;. You might want to check you firmware code as well, to see that you are not waiting for USBD events like&amp;nbsp;APP_USBD_EVT_POWER_READY or APP_USBD_EVT_POWER_DETECTED before starting the display.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: nRF52840 application won't completely run without power applied to VBUS</title><link>https://devzone.nordicsemi.com/thread/309041?ContentTypeID=1</link><pubDate>Mon, 10 May 2021 15:11:11 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:678f1a46-8497-4e4e-97f2-fc807c214a07</guid><dc:creator>amaul</dc:creator><description>&lt;p&gt;Yeah that&amp;#39;s where I&amp;#39;m at. &amp;nbsp;I have confirmed 3.3V using our onboard and external power supply.&lt;/p&gt;
&lt;p&gt;Yes, the display is controller over SPI. &amp;nbsp;I need to probe the lines to confirm, but I&amp;nbsp;presume that would tell me there is an issue in the software, correct? &amp;nbsp;I have placed a delay in the code to reset the display driver well after the nordic chip boots but that did not fix the issue.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: nRF52840 application won't completely run without power applied to VBUS</title><link>https://devzone.nordicsemi.com/thread/309036?ContentTypeID=1</link><pubDate>Mon, 10 May 2021 14:55:28 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:ce8ecd8d-c2fa-4fc1-9e58-53526f6e48c7</guid><dc:creator>Sigurd</dc:creator><description>[quote user="amaul"]Both are powered by the same 3.3V supply,[/quote]
&lt;p&gt;&amp;nbsp;Ok, so VBUS should not affect this ? Have you checked that it&amp;#39;s 3.3V when VBUS is both connected and not connected?&lt;/p&gt;
&lt;p&gt;You control the display from the nRF52840 using SPI? Have you probed the lines, and checked if there is any difference&amp;nbsp;&lt;span&gt;when VBUS is both connected and not connected?&amp;nbsp;e.g.&amp;nbsp;what data is sent over SPI, and the voltage on the SPI lines&lt;/span&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: nRF52840 application won't completely run without power applied to VBUS</title><link>https://devzone.nordicsemi.com/thread/309008?ContentTypeID=1</link><pubDate>Mon, 10 May 2021 13:46:29 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:99ce3ff9-d524-4513-8b5e-02bd42f6e5a2</guid><dc:creator>amaul</dc:creator><description>&lt;p&gt;Thanks for getting back to me. &amp;nbsp;Below should be the requested information. &amp;nbsp;For the most part the design is straight out of reference designs.&lt;/p&gt;
&lt;p&gt;Display Driver Circuit:&lt;/p&gt;
&lt;p&gt;&lt;img src="https://devzone.nordicsemi.com/resized-image/__size/320x240/__key/communityserver-discussions-components-files/4/Screen-Shot-2021_2D00_05_2D00_10-at-7.35.17-AM.png" alt=" " /&gt;&lt;/p&gt;
&lt;p&gt;Microcontroller:&lt;/p&gt;
&lt;p&gt;&lt;img src="https://devzone.nordicsemi.com/resized-image/__size/320x240/__key/communityserver-discussions-components-files/4/Screen-Shot-2021_2D00_05_2D00_10-at-7.42.45-AM.png" alt=" " /&gt;&lt;/p&gt;
&lt;p&gt;Both are powered by the same 3.3V supply, the micro having power through a ferrite bead. &amp;nbsp;No sequencing of power.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: nRF52840 application won't completely run without power applied to VBUS</title><link>https://devzone.nordicsemi.com/thread/308607?ContentTypeID=1</link><pubDate>Thu, 06 May 2021 16:49:14 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:64cf360d-434f-4718-b35b-b5e52b3382d3</guid><dc:creator>Sigurd</dc:creator><description>&lt;p&gt;Hi,&lt;/p&gt;
[quote user=""]Our first circuit configuration was this, which matched one of the modes (or so we thought)[/quote]
&lt;p&gt;&amp;nbsp;Yes, this seems to be similar to&amp;nbsp;reference circuitry configuration no. 3 :&amp;nbsp;&lt;a href="https://infocenter.nordicsemi.com/index.jsp?topic=%2Fps_nrf52840%2Fref_circuitry.html&amp;amp;anchor=unique_655538765"&gt;https://infocenter.nordicsemi.com/index.jsp?topic=%2Fps_nrf52840%2Fref_circuitry.html&amp;amp;anchor=unique_655538765&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
[quote user=""]Our application uses an external display driver with touch screen controller to&amp;nbsp;interact with the user.[/quote]
&lt;p&gt;&amp;nbsp;Could you upload the&amp;nbsp;schematic that shows how this display driver/touch screen is powered, and connected to the nRF52840?&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>