<?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>nrf5340 uart rx buffer size increasing</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/86245/nrf5340-uart-rx-buffer-size-increasing</link><description>Hi 
 I am using NRF5340 chip in my custom board to communicate serially with an external device whose data length is more than 128 bytes. 
 The chip can receive 243 bytes of the external device in two bursts. The total number of data bytes is correct</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Mon, 28 Mar 2022 15:15:46 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/86245/nrf5340-uart-rx-buffer-size-increasing" /><item><title>RE: nrf5340 uart rx buffer size increasing</title><link>https://devzone.nordicsemi.com/thread/360356?ContentTypeID=1</link><pubDate>Mon, 28 Mar 2022 15:15:46 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:4527d94a-920e-43cf-a07f-e42db0b9f64d</guid><dc:creator>saeed mahvis</dc:creator><description>&lt;p&gt;Hi&lt;/p&gt;
&lt;p&gt;Actually in nrf5340 there is a parameter&amp;nbsp;UART_BUF_SIZE which is defined by default equal to 256. I couldn&amp;#39;t find any explicit&lt;/p&gt;
&lt;p&gt;definition for rx buffer size for nrf5340. I think this parameter is for both rx and tx buffer sizes each one equal to 128 which in&lt;/p&gt;
&lt;p&gt;total makes 256.&lt;/p&gt;
&lt;p&gt;Any how by doubling this number to 512 my problem was solved and the chip could receive more than 200 bytes in one turn&lt;/p&gt;
&lt;p&gt;and there is no data corruption any more.&lt;/p&gt;
&lt;p&gt;B.R.&amp;nbsp;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: nrf5340 uart rx buffer size increasing</title><link>https://devzone.nordicsemi.com/thread/360252?ContentTypeID=1</link><pubDate>Mon, 28 Mar 2022 11:11:13 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:7f1f2c28-771a-4d6d-8a57-6ecc404009ec</guid><dc:creator>Vidar Berg</dc:creator><description>&lt;p&gt;Hello,&lt;/p&gt;
&lt;p&gt;Please include relevant code so I can see how you are processing the receive buffer.&lt;/p&gt;
&lt;p&gt;Best regards,&lt;/p&gt;
&lt;p&gt;Vidar&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>