<?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>several wake up gpio interrupt</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/49986/several-wake-up-gpio-interrupt</link><description>Hi everybody! 
 We have a problem with our product. It is based on nrf52832. 
 We used heart rate example in the SDK. MCU sleeps after a while if it is not connected. We have a touch switch and the switch wakes up the MCU. On the other hand ther is a</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Wed, 24 Jul 2019 12:26:03 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/49986/several-wake-up-gpio-interrupt" /><item><title>RE: several wake up gpio interrupt</title><link>https://devzone.nordicsemi.com/thread/200282?ContentTypeID=1</link><pubDate>Wed, 24 Jul 2019 12:26:03 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:261e3078-977d-4b81-8175-601ab609f8d2</guid><dc:creator>Tai</dc:creator><description>&lt;p&gt;Thanks &lt;span class="emoticon" data-url="https://devzone.nordicsemi.com/cfs-file/__key/system/emoji/1f642.svg" title="Slight smile"&gt;&amp;#x1f642;&lt;/span&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: several wake up gpio interrupt</title><link>https://devzone.nordicsemi.com/thread/200214?ContentTypeID=1</link><pubDate>Wed, 24 Jul 2019 08:14:50 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:c54fd2c2-ce9f-4c88-98a5-29317ad0170c</guid><dc:creator>J&amp;#248;rgen Holmefjord</dc:creator><description>&lt;p&gt;Yes, the internal pull resistors will be active during system OFF.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: several wake up gpio interrupt</title><link>https://devzone.nordicsemi.com/thread/200212?ContentTypeID=1</link><pubDate>Wed, 24 Jul 2019 08:07:17 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:3b8be584-030f-4f96-9bdd-33883d45aa70</guid><dc:creator>Tai</dc:creator><description>&lt;p&gt;Thanks&amp;nbsp;J&amp;oslash;rgen for your relpy.&lt;/p&gt;
&lt;p&gt;My question is: if we do not use external pull-up or down resistor at a GPIO, is it possible to use LOW or HIGH SENSE to wake up the MCU? I mean can we use internal pull-up or down resistor during system off?&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: several wake up gpio interrupt</title><link>https://devzone.nordicsemi.com/thread/200129?ContentTypeID=1</link><pubDate>Tue, 23 Jul 2019 15:02:51 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:f3d2248e-2356-48f3-a21d-2c0abdaba94a</guid><dc:creator>J&amp;#248;rgen Holmefjord</dc:creator><description>&lt;p&gt;Hi,&lt;/p&gt;
&lt;p&gt;You should be able to configure any GPIO with either LOW or HIGH SENSE functionality before going to System OFF mode:&lt;/p&gt;
&lt;p&gt;&lt;span&gt;Please have a look at the documentation of&amp;nbsp;&lt;a href="https://infocenter.nordicsemi.com/topic/com.nordic.infocenter.sdk5.v15.3.0/group__nrf__gpio__hal.html#ga91f72be8204a892956fa5d5dd59c32b2"&gt;nrf_gpio_cfg_sense_input&lt;/a&gt;().&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><item><title>RE: several wake up gpio interrupt</title><link>https://devzone.nordicsemi.com/thread/200128?ContentTypeID=1</link><pubDate>Tue, 23 Jul 2019 15:01:28 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:6d815a80-8276-4e99-acf2-22b2779671f2</guid><dc:creator>Dmitry</dc:creator><description>&lt;p&gt;Hi,&lt;/p&gt;
&lt;p&gt;you can use several GPIO to wake up - call nrf_drv_cfg_sense_input() with NRF_GPIO_PIN_SENSE_LOW or&amp;nbsp;NRF_GPIO_PIN_SENSE_HIGH, whatever you need, for both pins.&lt;/p&gt;
&lt;p&gt;If you have no external pull-up, you should enable internal one, the button won&amp;#39;t work without pull-up.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: several wake up gpio interrupt</title><link>https://devzone.nordicsemi.com/thread/200112?ContentTypeID=1</link><pubDate>Tue, 23 Jul 2019 14:13:47 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:86b78d7f-706b-49e0-8da6-1306d3407f06</guid><dc:creator>Tai</dc:creator><description>&lt;p&gt;Anybody has an idea?&lt;/p&gt;
&lt;p&gt;Is it possible to use several GPIOs for waking up without pull-up or pull-down?&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: several wake up gpio interrupt</title><link>https://devzone.nordicsemi.com/thread/199685?ContentTypeID=1</link><pubDate>Mon, 22 Jul 2019 08:24:27 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:e5d15ca5-9178-4244-9155-0c9d7144f296</guid><dc:creator>Tai</dc:creator><description>&lt;p&gt;Hi Havard,&lt;/p&gt;
&lt;p&gt;Thanks for your reply.&amp;nbsp;&lt;/p&gt;
&lt;p&gt;I have a nrf52832 with a battery. I used a button to GND like the button of thingy 52 to wake up the circuit. I have not used any pull-up or pull-down for this button. So I need to sysem off and wake it up with this button.&lt;/p&gt;
&lt;p&gt;Moreover, I have a battery charger working with a USB port. The nrf52832 recives a signal when&amp;nbsp;the USB is plugged in. I need to wake up the MCU in this case as well to manage charging process and LEDs.&lt;/p&gt;
&lt;p&gt;Is it possible to wake up the nrf52832 with two signals:&amp;nbsp;&lt;/p&gt;
&lt;p&gt;1- Button to GND without pull&lt;/p&gt;
&lt;p&gt;2- High signal from USB port&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: several wake up gpio interrupt</title><link>https://devzone.nordicsemi.com/thread/199367?ContentTypeID=1</link><pubDate>Thu, 18 Jul 2019 21:01:55 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:9ee664b2-bb30-4332-bc8a-1aa35108c31b</guid><dc:creator>H&amp;#229;vard</dc:creator><description>&lt;p&gt;Hi Tai, unfortunately, your description is a bit unclear to me. You have an nRF52. It goes to sleep. There is a switch that wakes up the chip. There is also a battery and a charger somewhere, but how do they relate to the switch? Is the switch just a high signal to a gpio, like a button on the devkit? Or does the switch do more? Are there two different wake up sources? Two different power sources? (Withouth the battery, is the chip powered at all?)&lt;/p&gt;
&lt;p&gt;The nRF52832 does not have a USB peripheral.&amp;nbsp;&lt;/p&gt;
&lt;p&gt;The nRF52840 does, &lt;a href="https://infocenter.nordicsemi.com/topic/ps_nrf52840/power.html?cp=3_0_0_4_2_2#unique_1227688711"&gt;and can use it to wake from SYSTEM OFF.&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;In either case, &amp;quot;sleep mode&amp;quot; mode you would be looking to go from is SYSTEM OFF.&lt;/p&gt;
&lt;p&gt;If you look at the link above, I&amp;#39;m sure you can attach some hardware to detect the battery using a gpio, or&amp;nbsp;the low power comparator.&lt;/p&gt;
&lt;p&gt;In addition to the button 1 (default to wake up our BLE examples), you can set up other events as wake-up sources. See threads like these:&lt;/p&gt;
&lt;p&gt;&lt;a href="https://devzone.nordicsemi.com/f/nordic-q-a/19859/system-off-and-gpiote/77243#77243"&gt;https://devzone.nordicsemi.com/f/nordic-q-a/19859/system-off-and-gpiote/77243#77243&lt;/a&gt;.&lt;/p&gt;
&lt;p&gt;&lt;a href="https://devzone.nordicsemi.com/f/nordic-q-a/36475/nrf52832-go-system-off-low-power-mode-and-wakeup-by-gpio/140687#140687"&gt;https://devzone.nordicsemi.com/f/nordic-q-a/36475/nrf52832-go-system-off-low-power-mode-and-wakeup-by-gpio/140687#140687&lt;/a&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>