<?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>How to wakeup the nRF52480 on USB power up event from sleep/low power mode?</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/85237/how-to-wakeup-the-nrf52480-on-usb-power-up-event-from-sleep-low-power-mode</link><description>I&amp;#39;m using a custom battery operated board with the nRF52840, when there is no GPIO events for a specified time period, the device goes to a hibernate mode using the __WFE, to save battery power. 
 Im trying to figure out the best way to wakeup the device</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Thu, 03 Mar 2022 20:38:11 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/85237/how-to-wakeup-the-nrf52480-on-usb-power-up-event-from-sleep-low-power-mode" /><item><title>RE: How to wakeup the nRF52480 on USB power up event from sleep/low power mode?</title><link>https://devzone.nordicsemi.com/thread/356151?ContentTypeID=1</link><pubDate>Thu, 03 Mar 2022 20:38:11 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:b05ea1a6-3655-4ee3-b19a-38531c8ef27c</guid><dc:creator>J&amp;#248;rgen Holmefjord</dc:creator><description>&lt;p&gt;It is recommended to not enable the USBD peripheral until after the VBUS voltage have been detected. See&amp;nbsp;&lt;a title="USBD power-up sequence" href="https://infocenter.nordicsemi.com/topic/ps_nrf52840/usbd.html?cp=4_0_0_5_34_3#concept_usb_power"&gt;USBD power-up sequence&lt;/a&gt;.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: How to wakeup the nRF52480 on USB power up event from sleep/low power mode?</title><link>https://devzone.nordicsemi.com/thread/355621?ContentTypeID=1</link><pubDate>Tue, 01 Mar 2022 15:19:19 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:315956d4-0be4-4cfc-a910-32721cbaa87f</guid><dc:creator>tordown97</dc:creator><description>&lt;p&gt;Hi,&lt;/p&gt;
&lt;p&gt;Yes I need to go back to __WFE after a status LED is lit if the USB is plugged in and I want to avoid a chip reset.&lt;/p&gt;
&lt;p&gt;Also, to make&amp;nbsp;&lt;strong&gt;nrf_drv_power_usbevt_init() &lt;/strong&gt;to capture&amp;nbsp;&lt;strong&gt;NRFX_POWER_USB_EVT_DETECTED&amp;nbsp;&lt;/strong&gt;the USB peripheral should be enabled before entering the __WFE right?&lt;/p&gt;
&lt;p&gt;Thanks&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: How to wakeup the nRF52480 on USB power up event from sleep/low power mode?</title><link>https://devzone.nordicsemi.com/thread/355606?ContentTypeID=1</link><pubDate>Tue, 01 Mar 2022 14:54:43 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:88b89f4f-2bb0-4d10-9202-dac2df830f4d</guid><dc:creator>J&amp;#248;rgen Holmefjord</dc:creator><description>&lt;p&gt;Hi,&lt;/p&gt;
&lt;p&gt;Do you require the device to stay in System ON/__WFE mode? It is possible to wake the chip from the lowest power mode (System OFF) by both GPIO and&amp;nbsp;from d&lt;span&gt;etecting a&amp;nbsp;&lt;/span&gt;&lt;a href="https://infocenter.nordicsemi.com/topic/ps_nrf52840/power.html?cp=4_0_0_4_2_2#unique_506524919"&gt;valid USB voltage&lt;/a&gt;&lt;span&gt;&amp;nbsp;on the VBUS pin. Wakeup from System OFF will cause the chip to reset, and you need to do any initialization again. See&amp;nbsp;&lt;a title="USB supply" href="https://infocenter.nordicsemi.com/topic/ps_nrf52840/power.html?cp=4_0_0_4_2_1#power_usb_supply"&gt;USB supply&lt;/a&gt;&amp;nbsp;for more information about how this works.&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;If you want to stay in System ON mode, the method you describe would be the best option.&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;Best regards,&lt;br /&gt;Jørgen&lt;/span&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>