<?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>UART communication FIFO error</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/53106/uart-communication-fifo-error</link><description>OS in development environment ：Windows7 HARD :(Taiyo Yuden)EBSHSN Series Evaluation Board : Central / Peripherals CPU :(Nordic) nRF52832 / ARMR Cortex-M4F 32 bit processor 28-pin Land Grid Array / 15GPIOs / SWD Soft Ver:nRF5_SDK_15.3.0_59ac345 
 Because</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Thu, 17 Oct 2019 08:47:09 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/53106/uart-communication-fifo-error" /><item><title>RE: UART communication FIFO error</title><link>https://devzone.nordicsemi.com/thread/215437?ContentTypeID=1</link><pubDate>Thu, 17 Oct 2019 08:47:09 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:31f87877-b7f8-4f6f-867c-05383dbf8a8d</guid><dc:creator>yokokawa</dc:creator><description>&lt;p&gt;1) How do I set the UART reception interrupt when using &amp;ldquo;nrfx_uarte.c&amp;rdquo;?&lt;br /&gt;2) Please let me know the maximum value of &amp;ldquo;size_tlength&amp;rdquo; of &amp;ldquo;nrfx_uarte_tx ()&amp;rdquo; and &amp;ldquo;nrfx_uarte_tx ()&amp;rdquo;.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: UART communication FIFO error</title><link>https://devzone.nordicsemi.com/thread/215397?ContentTypeID=1</link><pubDate>Thu, 17 Oct 2019 03:41:12 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:0503056a-86a6-4e27-a409-6eec89ab4e82</guid><dc:creator>Nguyen Hoan Hoang</dc:creator><description>&lt;p&gt;&lt;a href="https://github.com/IOsonata/IOsonata/tree/master/Python"&gt;https://github.com/IOsonata/IOsonata/tree/master/Python&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;on PC. &amp;nbsp;modify the code to select your COM port. &amp;nbsp;Require python3&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: UART communication FIFO error</title><link>https://devzone.nordicsemi.com/thread/215396?ContentTypeID=1</link><pubDate>Thu, 17 Oct 2019 03:35:46 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:38f683a0-0be9-4e58-8ba5-41de1cb83304</guid><dc:creator>yokokawa</dc:creator><description>&lt;p&gt;Thank you very much. The contents of &amp;ldquo;UartSdkPrbsTx.c&amp;rdquo; were confirmed.&lt;br /&gt;The sending method was listed, but the receiving method was not listed.&lt;br /&gt;Is there a sample program that can be used as a reference for UARTE reception?&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: UART communication FIFO error</title><link>https://devzone.nordicsemi.com/thread/215391?ContentTypeID=1</link><pubDate>Thu, 17 Oct 2019 01:15:41 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:75e686f2-f068-4469-bb6b-10e55219ee54</guid><dc:creator>Nguyen Hoan Hoang</dc:creator><description>&lt;p&gt;here&amp;nbsp;&lt;a href="https://github.com/IOsonata/IOsonata/blob/master/ARM/Nordic/exemples/UartSdkPrbsTx.c"&gt;https://github.com/IOsonata/IOsonata/blob/master/ARM/Nordic/exemples/UartSdkPrbsTx.c&lt;/a&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: UART communication FIFO error</title><link>https://devzone.nordicsemi.com/thread/215390?ContentTypeID=1</link><pubDate>Thu, 17 Oct 2019 01:00:36 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:7819e731-d2a4-47d5-a117-6cb53e82fd60</guid><dc:creator>yokokawa</dc:creator><description>&lt;p&gt;&lt;span&gt;Is there a sample program that uses &amp;quot;nrfx_uart.C&amp;quot;? &lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;Please introduce the sample program.&lt;/span&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: UART communication FIFO error</title><link>https://devzone.nordicsemi.com/thread/215356?ContentTypeID=1</link><pubDate>Wed, 16 Oct 2019 14:39:08 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:ffc003a7-794d-499f-b43c-b6e003e6b489</guid><dc:creator>Nguyen Hoan Hoang</dc:creator><description>&lt;p&gt;As I already suggested, &amp;nbsp;you can use Nordic nrfx_uart driver instead of app_uart.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: UART communication FIFO error</title><link>https://devzone.nordicsemi.com/thread/215185?ContentTypeID=1</link><pubDate>Wed, 16 Oct 2019 02:21:24 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:30b63ac6-7199-4329-a1af-5900d94d8e34</guid><dc:creator>yokokawa</dc:creator><description>&lt;p&gt;&amp;quot;Error Action (Central)&amp;quot;&lt;br /&gt;When 2kbyte communication is performed, an error occurs at the following position regardless of the UART flow control.&lt;br /&gt;(&amp;quot;App_fifo_put()&amp;quot; of &amp;quot;ble_app_uart_c&amp;quot; during UART transmission))&lt;/p&gt;
&lt;p&gt;In the answer below, it was suggested to use &amp;quot;uart_nrf5x.c&amp;quot;. Is there a way to improve using the program provided by nordic?&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: UART communication FIFO error</title><link>https://devzone.nordicsemi.com/thread/215183?ContentTypeID=1</link><pubDate>Wed, 16 Oct 2019 01:15:13 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:5436a0aa-f468-41e8-92b3-69f047c77b09</guid><dc:creator>Nguyen Hoan Hoang</dc:creator><description>&lt;p&gt;The usage examples are here&amp;nbsp;&lt;a href="https://github.com/IOsonata/IOsonata/tree/master/exemples/uart"&gt;https://github.com/IOsonata/IOsonata/tree/master/exemples/uart&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;Follow library source organization&amp;nbsp;&lt;a href="https://github.com/IOsonata/IOsonata"&gt;https://github.com/IOsonata/IOsonata&lt;/a&gt;&amp;nbsp;to setup working folder tree&lt;/p&gt;
&lt;p&gt;Follow these blog pages for more details :&amp;nbsp;&lt;/p&gt;
&lt;p&gt;&lt;a href="http://embeddedsoftdev.blogspot.com"&gt;http://embeddedsoftdev.blogspot.com&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;&lt;a href="http://embeddedsoftdev.blogspot.com/p/ehal-nrf51.html"&gt;http://embeddedsoftdev.blogspot.com/p/ehal-nrf51.html&lt;/a&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: UART communication FIFO error</title><link>https://devzone.nordicsemi.com/thread/215182?ContentTypeID=1</link><pubDate>Wed, 16 Oct 2019 00:58:53 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:4483f060-c138-45d0-b10a-67a1e286ab34</guid><dc:creator>yokokawa</dc:creator><description>&lt;pre class="tw-data-text tw-text-large tw-ta" id="tw-target-text" dir="ltr"&gt;&lt;span lang="en"&gt;1) What are the usage limits for uart_nrf5x.c?
2) Please tell me how to install &amp;quot;ble_app_uart_c&amp;quot; and &amp;quot;ble_app_uart&amp;quot;.
Thank you very much.&lt;/span&gt;&lt;/pre&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: UART communication FIFO error</title><link>https://devzone.nordicsemi.com/thread/215178?ContentTypeID=1</link><pubDate>Wed, 16 Oct 2019 00:18:46 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:40fc5821-eead-4667-81b2-e46a154c2bc7</guid><dc:creator>Nguyen Hoan Hoang</dc:creator><description>&lt;p&gt;That is because the fifo is full and the byte is dropped. &amp;nbsp;That is why in my test, you see lots of drops with app_uart.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: UART communication FIFO error</title><link>https://devzone.nordicsemi.com/thread/215176?ContentTypeID=1</link><pubDate>Wed, 16 Oct 2019 00:13:31 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:ba718ebd-7a9c-476d-aa1e-5a55655563d5</guid><dc:creator>yokokawa</dc:creator><description>&lt;p&gt;&amp;quot;Error Action (Central)&amp;quot;&lt;br /&gt;When 2kbyte communication is performed, an error occurs at the following position regardless of the UART flow control.&lt;br /&gt;(&amp;quot;App_fifo_put()&amp;quot; of &amp;quot;ble_app_uart_c&amp;quot; during UART transmission))&lt;br /&gt;I don&amp;#39;t understand the cause.How can I measure or confirm the cause?&lt;/p&gt;
&lt;p&gt;&lt;img src="https://devzone.nordicsemi.com/resized-image/__size/320x240/__key/communityserver-discussions-components-files/4/Debug20191015_2D00_C_5F00_FlowOnOff_5F00_TxFifoErr_5F00_.png" alt=" " /&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: UART communication FIFO error</title><link>https://devzone.nordicsemi.com/thread/214454?ContentTypeID=1</link><pubDate>Thu, 10 Oct 2019 16:39:30 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:4e8f2f74-575f-41e3-9712-bfc5fb79fbf6</guid><dc:creator>Nguyen Hoan Hoang</dc:creator><description>&lt;p&gt;On the UART side, &amp;nbsp;app_uart is not recommended for your test. &amp;nbsp;nrfx_uart works better. &amp;nbsp;IOsonata library is much better&amp;nbsp;&lt;a href="https://github.com/IOsonata/IOsonata/blob/master/ARM/Nordic/src/uart_nrf5x.cpp"&gt;https://github.com/IOsonata/IOsonata/blob/master/ARM/Nordic/src/uart_nrf5x.cpp&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;here are comparisons : tests performed on PCA10040. &amp;nbsp;nRF52 UART &amp;nbsp;Tx to PC (python Rx) via jlink uart bridge &amp;nbsp;&lt;/p&gt;
&lt;p&gt;app_uart C only drops a lot: ~ 69965 Bytes/s&lt;/p&gt;
&lt;p&gt;&lt;img alt=" " src="https://devzone.nordicsemi.com/resized-image/__size/320x240/__key/communityserver-discussions-components-files/4/app_5F00_uart_5F00_fifo.png" /&gt;&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;nrfx_uart C only with DMA better : 75753 Bytes/s, no drop&lt;/p&gt;
&lt;p&gt;&lt;img alt=" " src="https://devzone.nordicsemi.com/resized-image/__size/320x240/__key/communityserver-discussions-components-files/4/uart_5F00_dma_5F00_nrfx_5F00_driver.png" /&gt;&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;IOSonata C++ object oriented UART no DMA : 86607 Bytes/s&amp;nbsp;&lt;/p&gt;
&lt;p&gt;&lt;img alt=" " src="https://devzone.nordicsemi.com/resized-image/__size/320x240/__key/communityserver-discussions-components-files/4/uart_5F00_no_5F00_dma_5F00_iosonata.png" /&gt;&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;IOsonata C++ object oriented with DMA : 100000 Bytes/s. &amp;nbsp;Few drops via jlink. No drop via &lt;a href="http://embeddedsoftdev.blogspot.com/p/idap-link.html"&gt;IDAP-Link&lt;/a&gt; or FTDI.&amp;nbsp;&lt;/p&gt;
&lt;p&gt;&lt;img alt=" " src="https://devzone.nordicsemi.com/resized-image/__size/320x240/__key/communityserver-discussions-components-files/4/uart_5F00_dma_5F00_iosonata.png" /&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: UART communication FIFO error</title><link>https://devzone.nordicsemi.com/thread/214424?ContentTypeID=1</link><pubDate>Thu, 10 Oct 2019 14:10:44 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:765326ef-be65-48a9-9afa-fcab58e302b8</guid><dc:creator>Simon</dc:creator><description>[quote user=""]If 2kbyte data is transmitted continuously, a FIFO error will occur regardless of whether or not flow control is performed with the UART.&lt;br /&gt;Please tell me how to take measures.[/quote]
&lt;p&gt;&amp;nbsp;Could you&amp;nbsp;provide&amp;nbsp;some more information? What function causes the error and what kind of error does the function return?&lt;/p&gt;
&lt;p&gt;This video will help you figure it out:&lt;/p&gt;
&lt;p&gt;&lt;a href="https://www.youtube.com/watch?v=uP8RYgYGRvI&amp;amp;amp;list=PLx_tBuQ_KSqGHmzdEL2GWEOeix-S5rgTV&amp;amp;amp;index=7"&gt;www.youtube.com/watch&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;Best regards,&lt;/p&gt;
&lt;p&gt;Simon&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>