<?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>Why SMOD does not work</title><link>https://community.arm.com/developer/tools-software/tools/f/keil-forum/37398/why-smod-does-not-work</link><description> 
When I configure uart communication of ADE7169 device(enhanced
8052 core),I encountered a problem that comment out or not the code
(MOV PCON,#80H ;Here is not wor)(line 5) 
does not affect uart&amp;#39;s baud.But as document description,SMOD (PCON
MSB) will</description><dc:language>en-US</dc:language><generator>Telligent Community 10</generator><item><title>RE: Why SMOD does not work</title><link>https://community.arm.com/thread/113136?ContentTypeID=1</link><pubDate>Wed, 22 Aug 2007 19:26:57 GMT</pubDate><guid isPermaLink="false">dd9e70c8-6d3c-4c71-b136-2456382a7b5c:ec885936-6851-48c1-8182-16cd55169e3e</guid><dc:creator>jiong cao</dc:creator><description>&lt;p&gt;&lt;p&gt;
Thank Russ Cooper very much.&lt;/p&gt;
&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Why SMOD does not work</title><link>https://community.arm.com/thread/99555?ContentTypeID=1</link><pubDate>Tue, 21 Aug 2007 21:20:07 GMT</pubDate><guid isPermaLink="false">dd9e70c8-6d3c-4c71-b136-2456382a7b5c:337ccca0-9d8e-4cac-8f0e-3b708f664159</guid><dc:creator>Russ Cooper</dc:creator><description>&lt;p&gt;&lt;p&gt;
Look very closely at the data sheet. Figure 78 and the surrounding
text indicate that SMOD has no effect if you are using Timer 2 to
generate the baud rate.&lt;/p&gt;

&lt;p&gt;
-- Russ&lt;/p&gt;
&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Why SMOD does not work</title><link>https://community.arm.com/thread/75396?ContentTypeID=1</link><pubDate>Tue, 21 Aug 2007 18:49:30 GMT</pubDate><guid isPermaLink="false">dd9e70c8-6d3c-4c71-b136-2456382a7b5c:93eae505-ec40-46b6-b2c7-8a1aaaf14b46</guid><dc:creator>jiong cao</dc:creator><description>&lt;p&gt;&lt;p&gt;
My keil version is 808a.&lt;br /&gt;
I am sure that PCON MSB(SMOD) is asserted.I open peripherals -&amp;gt;
serial.In this windows SMOD1 will be changed if I add such code(mov
PCON,#80h;)in my program.But Transmit Baudrate and Receive Baudrate
looks like no change if I add such code.&lt;/p&gt;

&lt;p&gt;
The showned value in &amp;quot;serial channel&amp;quot; has been doubled,isn&amp;#39;t
it?Or, When SMOD1 = 1,real uart baudrate equals Baudrate showned in
&amp;quot;serial Channel&amp;quot; windows times 2.Am I right?&lt;/p&gt;

&lt;p&gt;
I want to set uart work at mode2,Tranmit Baudrate and Receive
Baudrate depends on timer2.My code above is correct or not? Thanks in
advance!&lt;/p&gt;
&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Why SMOD does not work</title><link>https://community.arm.com/thread/51052?ContentTypeID=1</link><pubDate>Tue, 21 Aug 2007 03:21:11 GMT</pubDate><guid isPermaLink="false">dd9e70c8-6d3c-4c71-b136-2456382a7b5c:cf77d2e6-1da5-4e85-ae59-158b5712df2b</guid><dc:creator>ImPer Westermark</dc:creator><description>&lt;p&gt;&lt;p&gt;
I haven&amp;#39;t looked at the data sheet for your chip, but if your goal
is to set the most significant bit of PCON, are you sure that it is
ok to at the same time clear the other 7 bits?&lt;/p&gt;
&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>