<?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 reduce serial port power consumption?</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/110130/how-to-reduce-serial-port-power-consumption</link><description>I want to know if enabling serial port flow control can reduce serial port power consumption? Alternatively, using app_uard_close when there is no data transmission can reduce power consumption？I use nrf52832</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Mon, 15 Apr 2024 08:29:52 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/110130/how-to-reduce-serial-port-power-consumption" /><item><title>RE: How to reduce serial port power consumption?</title><link>https://devzone.nordicsemi.com/thread/478674?ContentTypeID=1</link><pubDate>Mon, 15 Apr 2024 08:29:52 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:6188bffa-5c1b-4e81-9941-5399660e03b8</guid><dc:creator>Priyanka</dc:creator><description>&lt;p&gt;Hi,&lt;/p&gt;
&lt;p&gt;In order to implement serial port reception, you can take a look at the part 2 of the &lt;a href="https://devzone.nordicsemi.com/guides/short-range-guides/b/bluetooth-low-energy/posts/merging-two-ble-examples-together#:~:text=3.%20Changes%20to%20project%20and%20main.c%20to%20add%20uart"&gt;merging two BLE examples blog here&lt;/a&gt;.&lt;/p&gt;
&lt;p&gt;First the necessary header files are included (app_uart.h and nrf_uart.h). After this, add app_uart_fifo and app_fifo source file to you project and the header file to your include path. Then you can use the&amp;nbsp;&lt;em&gt;uart_init&lt;/em&gt;() and &lt;em&gt;uart_event_handle&lt;/em&gt;() from the ble_app_uart sample.&lt;/p&gt;
&lt;p&gt;Then you can use the&amp;nbsp;&lt;a href="https://academy.nordicsemi.com/courses/nrf-connect-sdk-fundamentals/lessons/lesson-4-serial-communication-uart/topic/uart-driver/#:~:text=To%20start%20receiving%2C%20call%20the%20uart_rx_enable()%20function%2C%20and%20pass%20the%20address%20of%20the%20receive%20buffer."&gt;uart_rx_enable()&lt;/a&gt; function to start receiving.&lt;/p&gt;
&lt;p&gt;-Priyanka&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: How to reduce serial port power consumption?</title><link>https://devzone.nordicsemi.com/thread/478417?ContentTypeID=1</link><pubDate>Fri, 12 Apr 2024 01:36:43 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:1d184fd7-f2ab-4b8b-bd71-fbed7c76775e</guid><dc:creator>fomm</dc:creator><description>&lt;p&gt;Do you mean to set the RX pin of UART to GPIO input for waking up 52832？&lt;/p&gt;
&lt;p&gt;Your suggestion seems to be the same as this case：&lt;a title="case" href="https://devzone.nordicsemi.com/f/nordic-q-a/49220/wakeup-the-nrf51422-with-uart-pins"&gt;https://devzone.nordicsemi.com/f/nordic-q-a/49220/wakeup-the-nrf51422-with-uart-pins&lt;/a&gt;.&lt;/p&gt;
&lt;p&gt;But there are some errors in the original case that need to be resolved.&lt;/p&gt;
&lt;p&gt;Do you have any detailed suggestions to guide me on how to implement serial port reception on the basis of ble-app_uart_c?I am using SDK 17.0.1.&amp;nbsp;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: How to reduce serial port power consumption?</title><link>https://devzone.nordicsemi.com/thread/478298?ContentTypeID=1</link><pubDate>Thu, 11 Apr 2024 11:52:43 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:7cb584e1-68f1-4e1e-a07c-fb8e6c046716</guid><dc:creator>Priyanka</dc:creator><description>&lt;p&gt;Hi,&lt;/p&gt;
&lt;p&gt;When you enable serial port flow control, this can&amp;nbsp;help you to maybe manage, when the UART is active. This can help in reducing the power consumption, because you will only need to keep the UART active when there is data transmission.&amp;nbsp;&lt;/p&gt;
&lt;p&gt;Also, using app_uart_close() can help in reducing power consumption. But by just calling the app_uart_close function, you might not be able to disable the UART. You might also need to set the RX pin as input too after this.&lt;/p&gt;
&lt;p&gt;Regards,&lt;/p&gt;
&lt;p&gt;Priyanka&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>