<?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>Serial Port 1 on the DS89C4X0</title><link>https://community.arm.com/developer/tools-software/tools/f/keil-forum/18456/serial-port-1-on-the-ds89c4x0</link><description> Hello!! I&amp;#39;m trying to configure the serial port 1 in a DS89C450 8051-based ucontroller. I want to use it with its associated irq. I configure all, and simulate it. When I force an RI_1 or TI_1 flag, the program jumps to the IRQ, but when finish, the</description><dc:language>en-US</dc:language><generator>Telligent Community 10</generator><item><title>RE: Serial Port 1 on the DS89C4X0</title><link>https://community.arm.com/thread/96897?ContentTypeID=1</link><pubDate>Wed, 26 Jan 2005 14:23:23 GMT</pubDate><guid isPermaLink="false">dd9e70c8-6d3c-4c71-b136-2456382a7b5c:c00d8a1e-6b05-42d3-bc0b-8c82bd346d50</guid><dc:creator>Andy Neil</dc:creator><description>&lt;p&gt;That&amp;#39;s the ISR - but what about all the other setup stuff:&lt;br /&gt;
 * Mode;&lt;br /&gt;
 * Baud Rate;&lt;br /&gt;
 * Enable the Interrupts;&lt;br /&gt;
 * Enable the receiver;&lt;br /&gt;
etc, etc,...&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Serial Port 1 on the DS89C4X0</title><link>https://community.arm.com/thread/96888?ContentTypeID=1</link><pubDate>Wed, 26 Jan 2005 13:52:13 GMT</pubDate><guid isPermaLink="false">dd9e70c8-6d3c-4c71-b136-2456382a7b5c:3a169d87-a91f-4bc6-878a-02216f90bb6e</guid><dc:creator>erik  malund</dc:creator><description>&lt;p&gt;v need be volatile/static or some such thing.&lt;br /&gt;
&lt;br /&gt;
Erik&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Serial Port 1 on the DS89C4X0</title><link>https://community.arm.com/thread/73019?ContentTypeID=1</link><pubDate>Wed, 26 Jan 2005 11:35:36 GMT</pubDate><guid isPermaLink="false">dd9e70c8-6d3c-4c71-b136-2456382a7b5c:76ac9748-2b51-4d01-b8f4-dd4de2999122</guid><dc:creator>Jesus Echavarria</dc:creator><description>&lt;p&gt;In C. There&amp;#39;s the ISR routine. Is the same that I&amp;#39;ve got for the serial 0 (changing RI_0, TI_0 and SBUF0). The one with the serial 0 works Ok&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
void serial_int1 (void) interrupt 6 using 2&lt;br /&gt;
{&lt;br /&gt;
unsigned char v;&lt;br /&gt;
&lt;br /&gt;
if (RI_1)&lt;br /&gt;
 {&lt;br /&gt;
 v = SBUF1;&lt;br /&gt;
 RI_1 = 0;&lt;br /&gt;
 }&lt;br /&gt;
if (TI_1)&lt;br /&gt;
 {&lt;br /&gt;
 TI_1 = 0;&lt;br /&gt;
 SBUF1 = v;&lt;br /&gt;
 }&lt;br /&gt;
}&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Serial Port 1 on the DS89C4X0</title><link>https://community.arm.com/thread/43493?ContentTypeID=1</link><pubDate>Wed, 26 Jan 2005 10:20:34 GMT</pubDate><guid isPermaLink="false">dd9e70c8-6d3c-4c71-b136-2456382a7b5c:ce7e249e-0673-4aff-93c5-feb2b1a2a193</guid><dc:creator>erik  malund</dc:creator><description>&lt;p&gt;language (assembler/C) ?&lt;br /&gt;
&lt;br /&gt;
Erik&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>