<?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>FDS Update Effecting UART Transmit</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/28217/fds-update-effecting-uart-transmit</link><description>I&amp;#39;ve noticed that if I have data queued to go out over the uart (using app_uart_fifo) if I do an fds_record_update the UART TX is effected. You can see what&amp;#39;s happening in the logic analyzer screenshot below. The FDS line goes high when fds_record_update</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Thu, 14 Dec 2017 20:39:41 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/28217/fds-update-effecting-uart-transmit" /><item><title>RE: FDS Update Effecting UART Transmit</title><link>https://devzone.nordicsemi.com/thread/111448?ContentTypeID=1</link><pubDate>Thu, 14 Dec 2017 20:39:41 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:360c7437-f368-412d-beca-cc2b2ba1b98e</guid><dc:creator>J&amp;#248;rgen Holmefjord</dc:creator><description>&lt;p&gt;You might be using the EasyDMA, but if you look at the IRQ handler implementation in app_uart_fifo library, you can see that only a single byte is setup for transfer at a time:&lt;/p&gt;
&lt;pre&gt;&lt;code&gt;case NRF_DRV_UART_EVT_TX_DONE:
// Get next byte from FIFO.
if (app_fifo_get(&amp;amp;m_tx_fifo, tx_buffer) == NRF_SUCCESS)
{
	(void)nrf_drv_uart_tx(&amp;amp;app_uart_inst, tx_buffer, 1);
}
&lt;/code&gt;&lt;/pre&gt;
&lt;p&gt;If a higher priority task is blocking the library, the IRQ handler will not be able to setup transfer of a new byte until the higher priority task is done.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: FDS Update Effecting UART Transmit</title><link>https://devzone.nordicsemi.com/thread/111447?ContentTypeID=1</link><pubDate>Mon, 11 Dec 2017 20:26:10 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:b9fd2155-6e1e-4149-8f6c-04f8809a9225</guid><dc:creator>jsample</dc:creator><description>&lt;p&gt;I&amp;#39;m using the nRF52 and I thought I had it setup to use EasyDMA, but maybe its not configured correctly.  I have UART_EASY_DMA_SUPPORT and UART0_CONFIG_USE_EASY_DMA set to 1 in sdk_config.h.&lt;/p&gt;
&lt;p&gt;Also, I just noticed the nrf_serial library - would that be better to use than app_uart?&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: FDS Update Effecting UART Transmit</title><link>https://devzone.nordicsemi.com/thread/111446?ContentTypeID=1</link><pubDate>Mon, 11 Dec 2017 13:13:20 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:aae40204-4ba4-4e27-a3bd-719f7e0f7a98</guid><dc:creator>J&amp;#248;rgen Holmefjord</dc:creator><description>&lt;p&gt;Are you using nRF51 or nRF52 series? The app_uart_fifo library cannot transmitt during flash operations, as it will transmitt a single byte from the FIFO at the time. If you are using nRF52 series, you can setup the UART driver to use &lt;a href="http://infocenter.nordicsemi.com/topic/com.nordic.infocenter.nrf52832.ps.v1.1/uarte.html?cp=2_1_0_34_1#concept_l5y_hcm_wr"&gt;EasyDMA&lt;/a&gt; to transmitt data during flash operations. Note that you will have to start the transfer first, or trigger it using &lt;a href="http://infocenter.nordicsemi.com/topic/com.nordic.infocenter.nrf52832.ps.v1.1/ppi.html?cp=2_1_0_21#concept_sxf_21l_1s"&gt;PPI&lt;/a&gt;.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>