<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>topic Re: TimerA0 in Classic/Legacy CodeWarrior</title>
    <link>https://community.nxp.com/t5/Classic-Legacy-CodeWarrior/TimerA0/m-p/160665#M2685</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Found at CPU Bean that there is a TA0 Peripheral Clock that must be set as well. It sets TA0 bit from SIM_PCE1 register, and PE does it at&amp;nbsp;PE_low_level_init().&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;The configuration of the timer was ok, but SIM_PCE1´s TA0 bit was not set.&amp;nbsp;I couldnt even find a word about it in the Quad Timer Section.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Till next!&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Tks.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Wed, 11 Mar 2009 21:20:15 GMT</pubDate>
    <dc:creator>AJPinotti</dc:creator>
    <dc:date>2009-03-11T21:20:15Z</dc:date>
    <item>
      <title>TimerA0</title>
      <link>https://community.nxp.com/t5/Classic-Legacy-CodeWarrior/TimerA0/m-p/160664#M2684</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I wanna run a simple timer to control timeouts, but I don´t wanna use Interrupts. I am trying to configure the register to make the timer run, but it doesn´t.&lt;/P&gt;&lt;P&gt;I am doing as follows:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;void DL_Timer_Initial_Sb(void)&lt;BR /&gt;{&lt;BR /&gt;&amp;nbsp;/* TMRA0_CTRL: CM=001,PCS=1110,SCS=0,ONCE=0,LENGTH=0,DIR=0,Co_INIT=0,OM=0 */&lt;BR /&gt;&amp;nbsp;TMRA0_CTRL=0x3C00;&lt;BR /&gt;&amp;nbsp;/* TMRA0_SCTRL: TCF=0,TCFIE=0,TOF=0,TOFIE=0,IEF=0,IEFIE=0,IPS=0,INPUT=0,Capture_Mode=0,MSTR=0,EEOF=0,VAL=0,FORCE=0,OPS=0,OEN=0 */&lt;BR /&gt;&amp;nbsp;TMRA0_SCTRL=0x0000;&lt;BR /&gt;&amp;nbsp;TMRA_ENBL=0x0001;&lt;BR /&gt;}&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I already tried to use the exact same functions PE gives, but it just doesn´t work. PE code is to big and uses interrupts.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;What´s is going wrong?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Tks a lot.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Alexandre&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 11 Mar 2009 03:30:07 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Classic-Legacy-CodeWarrior/TimerA0/m-p/160664#M2684</guid>
      <dc:creator>AJPinotti</dc:creator>
      <dc:date>2009-03-11T03:30:07Z</dc:date>
    </item>
    <item>
      <title>Re: TimerA0</title>
      <link>https://community.nxp.com/t5/Classic-Legacy-CodeWarrior/TimerA0/m-p/160665#M2685</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Found at CPU Bean that there is a TA0 Peripheral Clock that must be set as well. It sets TA0 bit from SIM_PCE1 register, and PE does it at&amp;nbsp;PE_low_level_init().&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;The configuration of the timer was ok, but SIM_PCE1´s TA0 bit was not set.&amp;nbsp;I couldnt even find a word about it in the Quad Timer Section.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Till next!&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Tks.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 11 Mar 2009 21:20:15 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Classic-Legacy-CodeWarrior/TimerA0/m-p/160665#M2685</guid>
      <dc:creator>AJPinotti</dc:creator>
      <dc:date>2009-03-11T21:20:15Z</dc:date>
    </item>
  </channel>
</rss>

