<?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>[nRF SDK]Disabling nRF Async UART at run time</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/92758/nrf-sdk-disabling-nrf-async-uart-at-run-time</link><description>Hi, 
 The nRF UART running over the ASYNC interface consumes a lot of current even when not in use. As ours is a battery-operated device we intended to disable UART when not in use. 
 And enable dynamically as required. Please suggest a way to get this</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Tue, 11 Oct 2022 11:29:41 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/92758/nrf-sdk-disabling-nrf-async-uart-at-run-time" /><item><title>RE: [nRF SDK]Disabling nRF Async UART at run time</title><link>https://devzone.nordicsemi.com/thread/390241?ContentTypeID=1</link><pubDate>Tue, 11 Oct 2022 11:29:41 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:656fe080-da98-4828-a484-6a2095b278c5</guid><dc:creator>J&amp;#248;rgen Holmefjord</dc:creator><description>&lt;p&gt;Hi,&lt;/p&gt;
&lt;p&gt;You can use the APIs &lt;a href="https://developer.nordicsemi.com/nRF_Connect_SDK/doc/2.1.0/zephyr/hardware/peripherals/uart.html#c.uart_rx_disable"&gt;uart_rx_disable&lt;/a&gt;&lt;span&gt;() and &lt;a href="https://developer.nordicsemi.com/nRF_Connect_SDK/doc/2.1.0/zephyr/hardware/peripherals/uart.html#c.uart_rx_enable"&gt;uart_rx_enable&lt;/a&gt;() to dynamically stop and start the async UART during runtime. The TX should generally not be an issue, as it will stop once the transfer is done, but there is also a&amp;nbsp;&lt;a href="https://developer.nordicsemi.com/nRF_Connect_SDK/doc/2.1.0/zephyr/hardware/peripherals/uart.html#c.uart_tx_abort"&gt;uart_tx_abort&lt;/a&gt;() API that can be used for stopping transfers.&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>