<?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>Question about uart transfer buffer</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/68531/question-about-uart-transfer-buffer</link><description>So, I am developing an application where I will use uart to transmit some data from the PC to the nrf board. The issue is that the data I am transferring is quite large (64KB). I have written a code that would work in terms of communication, but I seriously</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Thu, 19 Nov 2020 13:28:25 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/68531/question-about-uart-transfer-buffer" /><item><title>RE: Question about uart transfer buffer</title><link>https://devzone.nordicsemi.com/thread/280910?ContentTypeID=1</link><pubDate>Thu, 19 Nov 2020 13:28:25 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:2079b307-903c-4626-abce-47f62787d66e</guid><dc:creator>Simonr</dc:creator><description>&lt;p&gt;The only thing limiting the buffer sizes are the available RAM in your device, but usually 256 is sufficient for both TX and RX buffers. You say that you have a suspicion that some data is lost, are you not able to see what you send and receive and make sure that these match in content and size?&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><item><title>RE: Question about uart transfer buffer</title><link>https://devzone.nordicsemi.com/thread/280748?ContentTypeID=1</link><pubDate>Thu, 19 Nov 2020 06:08:02 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:c2f33f23-4f56-473f-b3ba-0d76997e7d73</guid><dc:creator>Jinyue Zhu</dc:creator><description>&lt;p&gt;As a follow up, the baudrate I am using is 115200. On the PC end, the pyserial library is used to communicate with nRF through uart. Specifically, I am loading the data as a byte array (of size 64KB) and that gets send through uart by the function pyserial.write().&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;I am wondering what&amp;#39;s the maximum buffer size allowed for Rx and Tx. Or should I slow down the baud rate? For now, it seems like when I am transmitting large sized data, the board cannot handle them in time and thus data were lost in the process. Thanks&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>