<?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>NRF51DK disable transmission</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/19442/nrf51dk-disable-transmission</link><description>I am using the ble_app_uart on the nrf51dk.RX is always enabled.I want to enable TX when data is to be transmitted and then disable it again. 
 I am using 
 NRF_UART0-&amp;gt;TASKS_STOPTX = 1; 
 to disable transmission. 
 But when i use 
 NRF_UART0-&amp;gt;TASKS_STARTTX</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Fri, 03 Feb 2017 13:24:33 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/19442/nrf51dk-disable-transmission" /><item><title>RE: NRF51DK disable transmission</title><link>https://devzone.nordicsemi.com/thread/75521?ContentTypeID=1</link><pubDate>Fri, 03 Feb 2017 13:24:33 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:254115f5-8c5b-4384-a974-15ae0238756a</guid><dc:creator>FormerMember</dc:creator><description>&lt;p&gt;ble_app_uart uses the UART module (app_uart) for the UART communication. The UART module uses the UART driver, nrf_drv_uart.&lt;/p&gt;
&lt;p&gt;When I test the bare UART example in the &amp;quot;peripheral&amp;quot; folder, which also uses the UART module, it seems like writing directly to the register to doesn&amp;#39;t work..&lt;/p&gt;
&lt;p&gt;However, calling nrf_drv_uart_tx_abort() should stop TX,  and nrf_drv_uart_tx() should start TX.  To call the nrf_drv_uart_xx functions, you will need the instance structure (or a pointer to it). I haven&amp;#39;t tested it, but it&amp;#39;s worth a try.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>