<?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>89C51 serial interrupt handling erro</title><link>https://community.arm.com/developer/tools-software/tools/f/keil-forum/38661/89c51-serial-interrupt-handling-erro</link><description> 
technical people, 

 
when I tried to write a menu to 89C51, with header correct header
file, 100% sure I correctly sent the baud rate for hyperterminal
program in computer to communicate. I turn on serial interrupt buy
setting EA=1 &amp;amp; ES=1; I clear</description><dc:language>en-US</dc:language><generator>Telligent Community 10</generator><item><title>RE: 89C51 serial interrupt handling erro</title><link>https://community.arm.com/thread/90213?ContentTypeID=1</link><pubDate>Thu, 14 Jan 2010 05:18:52 GMT</pubDate><guid isPermaLink="false">dd9e70c8-6d3c-4c71-b136-2456382a7b5c:19efd04c-c55b-435b-a463-c86f2dd66751</guid><dc:creator>&amp;#178;erik malund</dc:creator><description>&lt;p&gt;&lt;p&gt;
&lt;i&gt;You are clearing the TI as well as RI flag in serial
interrupt.&lt;br /&gt;
Before doing this disable all interrupt, in ISR, then do whatever you
want and at the end of ISR again Enable serial interrupt.&lt;/i&gt;&lt;/p&gt;

&lt;p&gt;
this qualifies as the blind leading the deaf.&lt;/p&gt;

&lt;p&gt;
Why on earth would you disable an interrupt for a period of time
where it can not activate anyhow?&lt;/p&gt;

&lt;p&gt;
Erik&lt;/p&gt;
&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: 89C51 serial interrupt handling erro</title><link>https://community.arm.com/thread/90212?ContentTypeID=1</link><pubDate>Wed, 13 Jan 2010 23:21:24 GMT</pubDate><guid isPermaLink="false">dd9e70c8-6d3c-4c71-b136-2456382a7b5c:35413946-07a0-4016-88f7-48c359d736ff</guid><dc:creator>Andy Neil</dc:creator><description>&lt;p&gt;&lt;p&gt;
... to disable interrupts in the ISR.&lt;/p&gt;

&lt;p&gt;
Have you looked at the interrupt-driven serial IO example in the
downloads section of this very website?&lt;/p&gt;
&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: 89C51 serial interrupt handling erro</title><link>https://community.arm.com/thread/57570?ContentTypeID=1</link><pubDate>Wed, 13 Jan 2010 22:27:02 GMT</pubDate><guid isPermaLink="false">dd9e70c8-6d3c-4c71-b136-2456382a7b5c:d6a2fa57-7c62-4b32-b193-2bfa60b25179</guid><dc:creator>Shital B</dc:creator><description>&lt;p&gt;&lt;p&gt;
hi Steve,&lt;/p&gt;

&lt;p&gt;
You are clearing the TI as well as RI flag in serial
interrupt.&lt;br /&gt;
Before doing this disable all interrupt, in ISR, then do whatever you
want and at the end of ISR again Enable serial interrupt.&lt;/p&gt;
&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>