<?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>Low Power UART migration</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/34692/low-power-uart-migration</link><description>Dear All, 
 Currently I&amp;#39;m developing a BLE module that will be useful by its uart service and will use nrf51822. Nordic provided an example based on sdk 6.1 for low power operation. I&amp;#39;m trying to migrate it to the newer SDK to take advantage of the DFU</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Thu, 24 May 2018 13:21:29 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/34692/low-power-uart-migration" /><item><title>RE: Low Power UART migration</title><link>https://devzone.nordicsemi.com/thread/133260?ContentTypeID=1</link><pubDate>Thu, 24 May 2018 13:21:29 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:08489296-3e65-49d1-9a01-e554b43396e1</guid><dc:creator>Kenneth</dc:creator><description>&lt;p&gt;Hi,&lt;/p&gt;
&lt;p&gt;So the problem here is in essence that the current consumption is high after calling:&lt;/p&gt;
&lt;p&gt;NRF_UART0-&amp;gt;TASKS_STARTRX = 1;&amp;nbsp;&lt;/p&gt;
&lt;p&gt;And the current consumption will go low only when calling:&lt;/p&gt;
&lt;p&gt;NRF_UART0-&amp;gt;TASKS_STOPRX = 1;&lt;/p&gt;
&lt;p&gt;This means that you need some way for the application running on the nRF51822 to know/detect when to&amp;nbsp;START and STOP the UART RX. The UART TX is no problem to use at any time, as it will only draw current while active transmitting data over UART.&lt;/p&gt;
&lt;p&gt;My suggestion here is for the peer device to set a pin high or low when there is data to transmit to the nRF51822, then the application running on the nRF51822 can START and STOP the UART RX by calling above tasks to control the power consumption. It may for instance be possible by peer device using hardware flow control, then the nRF51822 can use the RTS pin as a normal GPIO input pin to know when to START and STOP the UART RX. In such case the application will use a software implementation of the flow control (for instance set CTS when there is TX data to send, and use RTS as input to start and stop RX data), instead of the hardware flow control.&amp;nbsp;&lt;/p&gt;
&lt;p&gt;Best regards,&lt;br /&gt;Kenneth&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>