<?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>GPIO and UART with low power consumption?</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/28439/gpio-and-uart-with-low-power-consumption</link><description>I am trying to run below 10 uA with code below while GPIO and uart are on. Sleep mode is applied (below 10 uA), and only wakes up when button is pressed (can be higher amps) 
 lfclk_config();
rtc_config();	
gpio_init();
 
 uint32_t err_code; 
 const</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Wed, 20 Dec 2017 09:47:24 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/28439/gpio-and-uart-with-low-power-consumption" /><item><title>RE: GPIO and UART with low power consumption?</title><link>https://devzone.nordicsemi.com/thread/112340?ContentTypeID=1</link><pubDate>Wed, 20 Dec 2017 09:47:24 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:8623442d-e840-41f2-beac-668587d28025</guid><dc:creator>Hung Bui</dc:creator><description>&lt;p&gt;300uA sounds correct as the UART peripheral requires HFCLK and if you run HFCLK with the 64MHz crystal current consumption will be ~250uA. If you let UART running with RX task the 250+uA will constantly consumed.
You can think of other way to disable RX when not needed, for example software flow control, or use an extra GPIO pin to signal it.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: GPIO and UART with low power consumption?</title><link>https://devzone.nordicsemi.com/thread/112339?ContentTypeID=1</link><pubDate>Tue, 19 Dec 2017 14:39:57 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:a25a4ad9-ebed-4dfc-aef5-8a3239288787</guid><dc:creator>Nate</dc:creator><description>&lt;p&gt;That&amp;#39;s the CPU without EasyDMA.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: GPIO and UART with low power consumption?</title><link>https://devzone.nordicsemi.com/thread/112338?ContentTypeID=1</link><pubDate>Tue, 19 Dec 2017 11:48:32 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:8d402e26-f94f-4f3a-8bad-00bb382bf99f</guid><dc:creator>Hung Bui</dc:creator><description>&lt;p&gt;300ua is when you use EasyDMA or when you use CPU ?
Depends on how often you do UART communication it could get to 300uA with the CPU. With EasyDMA it actually should be higher.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: GPIO and UART with low power consumption?</title><link>https://devzone.nordicsemi.com/thread/112341?ContentTypeID=1</link><pubDate>Mon, 18 Dec 2017 19:23:30 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:c82c7b75-21d4-44be-b8ed-1a198e495999</guid><dc:creator>Nate</dc:creator><description>&lt;p&gt;I saw commits that I thought said it took more for EasyDMA, In order to get the currents down I went to the driver level and implemented custom enabling and disabling. When on I couldn&amp;#39;t get it below 300ua&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: GPIO and UART with low power consumption?</title><link>https://devzone.nordicsemi.com/thread/112337?ContentTypeID=1</link><pubDate>Tue, 12 Dec 2017 12:16:32 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:fdee9fe3-9b28-47a4-bda9-95422936d8ea</guid><dc:creator>Hung Bui</dc:creator><description>&lt;p&gt;@Nate: Have you looked at the spec on current consumption for EasyDMA ? It&amp;#39;s actually lower power consumption to use the CPU to handle UART shortly.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: GPIO and UART with low power consumption?</title><link>https://devzone.nordicsemi.com/thread/112336?ContentTypeID=1</link><pubDate>Tue, 05 Dec 2017 21:04:16 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:db7bb973-9d05-46fe-bfd9-ca509c46e46d</guid><dc:creator>Nate</dc:creator><description>&lt;p&gt;Did you figure this out? I am running into the same issues with power and the uart and my numbers are almost the same as  yours as far as power with the uart enabled and disabled&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: GPIO and UART with low power consumption?</title><link>https://devzone.nordicsemi.com/thread/112334?ContentTypeID=1</link><pubDate>Mon, 17 Jul 2017 12:16:14 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:723fbcc7-2d97-4b49-b82d-c5f1fab427f5</guid><dc:creator>Hung Bui</dc:creator><description>&lt;p&gt;Please have a look at the nRF52 product spec at chapter 10 and chapter 35.2&lt;/p&gt;
&lt;p&gt;To disable EasyDMA on the UART driver, turn off UART0_CONFIG_USE_EASY_DMA in sdk_config.h as told &lt;a href="http://infocenter.nordicsemi.com/topic/com.nordic.infocenter.sdk5.v13.0.0/hardware_driver_uart.html?cp=4_0_1_2_18_0#uart_configuration"&gt;here&lt;/a&gt;.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: GPIO and UART with low power consumption?</title><link>https://devzone.nordicsemi.com/thread/112333?ContentTypeID=1</link><pubDate>Fri, 14 Jul 2017 09:16:29 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:ad331a73-6794-41d8-bd24-1c778bdb4432</guid><dc:creator>HelloWorld</dc:creator><description>&lt;p&gt;what does EASYDMA do exactly? and where can i disable it?&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: GPIO and UART with low power consumption?</title><link>https://devzone.nordicsemi.com/thread/112335?ContentTypeID=1</link><pubDate>Wed, 12 Jul 2017 10:47:52 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:383bf3fc-07f7-45b3-a596-c80d434db49c</guid><dc:creator>Hung Bui</dc:creator><description>&lt;p&gt;Hi again,&lt;/p&gt;
&lt;p&gt;Another tip is to disable EASYDMA , it can consume a lot of power compare to letting the CPU handle the incoming data.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: GPIO and UART with low power consumption?</title><link>https://devzone.nordicsemi.com/thread/112332?ContentTypeID=1</link><pubDate>Tue, 11 Jul 2017 10:55:02 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:9edf73dc-5567-4cc3-9f6e-0db8b6c4481f</guid><dc:creator>Hung Bui</dc:creator><description>&lt;p&gt;Hi,&lt;/p&gt;
&lt;p&gt;If you have a look at app_uart_init() which is called by APP_UART_FIFO_INIT, you can find that nrf_drv_uart_rx_enable() is called by default.&lt;/p&gt;
&lt;p&gt;With RX enabled the UART will keep the 16Mhz oscillator running and the regulators in addition.&lt;/p&gt;
&lt;p&gt;Have you tried to call nrf_drv_uart_rx_disable() after you call APP_UART_FIFO_INIT to put the UART in idle mode ?&lt;/p&gt;
&lt;p&gt;What exactly inside the gpioi_init() ? Do you use GPIOTE pin interrupt ?&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>