<?xml version="1.0" encoding="UTF-8" ?>
<?xml-stylesheet type="text/xsl" href="https://community.arm.com/utility/feedstylesheets/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/"><channel><title>Uart interrupt, 512 bytes limit???</title><link>https://community.arm.com/developer/tools-software/tools/f/keil-forum/17574/uart-interrupt-512-bytes-limit</link><description> I have de C51 v4.0. My program implements a uart interrupt (CON1). If in come data stream is 600 bytes, to the Uart, it loss 88 bytes, only de firts 512 bytes are detected; but if then arrived other 600 bytes, it loss another 88 bytes but capture 1024</description><dc:language>en-US</dc:language><generator>Telligent Community 10</generator><item><title>RE: Uart interrupt, 512 bytes limit???</title><link>https://community.arm.com/thread/96303?ContentTypeID=1</link><pubDate>Fri, 30 Apr 2004 07:45:17 GMT</pubDate><guid isPermaLink="false">dd9e70c8-6d3c-4c71-b136-2456382a7b5c:0d795f23-c7c5-4877-89a5-bcfd07d60bba</guid><dc:creator>Mike Basalo</dc:creator><description>&lt;p&gt;I use interrupt.&lt;br /&gt;
&lt;br /&gt;
The baudrate is 9600.&lt;br /&gt;
&lt;br /&gt;
The cristal is 22.1184 MHz.&lt;br /&gt;
&lt;br /&gt;
The counter is a data tipe.&lt;br /&gt;
&lt;br /&gt;
The program only use de IIC bus (no interrupts) for write in a LCD the counter value.&lt;br /&gt;
&lt;br /&gt;
No XRAM.&lt;br /&gt;
&lt;br /&gt;
The program non stops. If arrived 500 bytes, i have 500 interrupts but if arrived 513 bytes i have 512 interrupts.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Uart interrupt, 512 bytes limit???</title><link>https://community.arm.com/thread/86761?ContentTypeID=1</link><pubDate>Fri, 30 Apr 2004 07:38:17 GMT</pubDate><guid isPermaLink="false">dd9e70c8-6d3c-4c71-b136-2456382a7b5c:097c6911-3bee-4e8e-b598-959fad007f75</guid><dc:creator>Andy Neil</dc:creator><description>&lt;p&gt;Are you using interrupts, or polling?&lt;br /&gt;
&lt;br /&gt;
What speed is the data?&lt;br /&gt;
&lt;br /&gt;
What speed is the processor?&lt;br /&gt;
&lt;br /&gt;
Where is your counter stored - DATA (fastest &amp;amp; smallest code), IDATA, PDATA, or XDATA (slowest &amp;amp; largest code)&lt;br /&gt;
&lt;br /&gt;
What else is your system doing?&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Uart interrupt, 512 bytes limit???</title><link>https://community.arm.com/thread/42146?ContentTypeID=1</link><pubDate>Fri, 30 Apr 2004 07:04:00 GMT</pubDate><guid isPermaLink="false">dd9e70c8-6d3c-4c71-b136-2456382a7b5c:276594b8-9ff9-448b-aca9-b0f99640029d</guid><dc:creator>Mike Basalo</dc:creator><description>&lt;p&gt;I dont have a buffer, only a counter (int couter) increasing 1 with each arrived byte, but counter stops in 512. If transcurs a time and more bytes are arrived the counter goes to 1024,....&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Uart interrupt, 512 bytes limit???</title><link>https://community.arm.com/thread/42128?ContentTypeID=1</link><pubDate>Fri, 30 Apr 2004 07:00:02 GMT</pubDate><guid isPermaLink="false">dd9e70c8-6d3c-4c71-b136-2456382a7b5c:ec02ea70-2eab-43c8-bad2-b234df2f6d70</guid><dc:creator>Andy Neil</dc:creator><description>&lt;p&gt;&lt;i&gt;&amp;quot;is&amp;#39;t a limit in uart?&amp;quot;&lt;/i&gt;&lt;br /&gt;
&lt;br /&gt;
Certainly not!&lt;br /&gt;
&lt;br /&gt;
It must be the way you buffer (or fail to buffer) the data.&lt;br /&gt;
&lt;br /&gt;
I use the interrupt-driven circular-buffered scheme show in the Keil example:&lt;br /&gt;
&lt;a href="http://www.keil.com/download/docs71.asp"&gt;http://www.keil.com/download/docs/intsio.zip.asp&lt;/a&gt;&lt;br /&gt;
&lt;a href="http://www.keil.com/download/docs200.asp"&gt;http://www.keil.com/download/docs/intsio2.zip.asp&lt;/a&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>