<?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>using TL0 and TL1</title><link>https://community.arm.com/developer/tools-software/tools/f/keil-forum/17551/using-tl0-and-tl1</link><description> This is a cut down version of my program. This should gives the basic idea of what I&amp;#39;m doing which is counting pulses using (T0) and (T1) and comparing them to each other. The problem I&amp;#39;m having is that TL1 is not counting it acts like it timing. 
 </description><dc:language>en-US</dc:language><generator>Telligent Community 10</generator><item><title>RE: using TL0 and TL1</title><link>https://community.arm.com/thread/72435?ContentTypeID=1</link><pubDate>Thu, 22 Apr 2004 00:18:46 GMT</pubDate><guid isPermaLink="false">dd9e70c8-6d3c-4c71-b136-2456382a7b5c:1bc84729-7d07-4a3d-bc9d-eb9fdb107f03</guid><dc:creator>glenn thacker</dc:creator><description>&lt;p&gt;Thank you Mark for the info. My program is now controlling like a champ.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: using TL0 and TL1</title><link>https://community.arm.com/thread/42064?ContentTypeID=1</link><pubDate>Wed, 21 Apr 2004 20:00:54 GMT</pubDate><guid isPermaLink="false">dd9e70c8-6d3c-4c71-b136-2456382a7b5c:539d9922-2e1d-4bca-a975-5a26b8f5334f</guid><dc:creator>Mark H</dc:creator><description>&lt;p&gt;Hi Glenn,&lt;br /&gt;
&lt;br /&gt;
the line &amp;#39;TMOD = (TMOD &amp;amp; 0xF0) | 0x05;&amp;#39; only sets T0/MO0 as a counter, you need to replace this line with:-&lt;br /&gt;
&lt;br /&gt;
TMOD = 0x55;&lt;br /&gt;
&lt;br /&gt;
so that both T0 and T1 are now initialised with the same settings.&lt;br /&gt;
&lt;br /&gt;
Mark.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>