<?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: Real time interrupt problem in CodeWarrior for MCU</title>
    <link>https://community.nxp.com/t5/CodeWarrior-for-MCU/Real-time-interrupt-problem/m-p/206811#M7979</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;**bleep**.. i forgot that&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;thank you so much&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Mon, 23 May 2011 08:45:11 GMT</pubDate>
    <dc:creator>kayji</dc:creator>
    <dc:date>2011-05-23T08:45:11Z</dc:date>
    <item>
      <title>Real time interrupt problem</title>
      <link>https://community.nxp.com/t5/CodeWarrior-for-MCU/Real-time-interrupt-problem/m-p/206809#M7977</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;hello.&lt;/P&gt;&lt;P&gt;Recently I'm making a embedded module using a real time interrupt.&lt;/P&gt;&lt;P&gt;Problem is if I call a real time service routine, main function doesn't work any more. I mean, the code after the code which can enable a real time interrupt&amp;nbsp; can't be executed.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;This is my code.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;//// real time service routine ///&lt;/P&gt;&lt;P&gt;#pragma CODE_SEG __NEAR_SEG NON_BANKED&lt;BR /&gt;interrupt void RTI_ISR(void){&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;BR /&gt;&amp;nbsp; main_routine();&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&lt;BR /&gt;&amp;nbsp;}&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;// function//&lt;/P&gt;&lt;P&gt;void main_routine(void) { functions();}&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;// main function //&lt;/P&gt;&lt;P&gt;void main{&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;some codes;&lt;/P&gt;&lt;P&gt;EnableInterrupts;&lt;/P&gt;&lt;P&gt;codes that don't work any more;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;}&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I think routine is working well but only that codes have a trouble. what's wrong with my code?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 16 May 2011 22:26:35 GMT</pubDate>
      <guid>https://community.nxp.com/t5/CodeWarrior-for-MCU/Real-time-interrupt-problem/m-p/206809#M7977</guid>
      <dc:creator>kayji</dc:creator>
      <dc:date>2011-05-16T22:26:35Z</dc:date>
    </item>
    <item>
      <title>Re: Real time interrupt problem</title>
      <link>https://community.nxp.com/t5/CodeWarrior-for-MCU/Real-time-interrupt-problem/m-p/206810#M7978</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Kayji,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I suspect that you are not clearing the real-time interrupt-flag, and therefore executing the ISR repeatably.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Are you writing a one to RTIACK?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 17 May 2011 01:57:23 GMT</pubDate>
      <guid>https://community.nxp.com/t5/CodeWarrior-for-MCU/Real-time-interrupt-problem/m-p/206810#M7978</guid>
      <dc:creator>rocco</dc:creator>
      <dc:date>2011-05-17T01:57:23Z</dc:date>
    </item>
    <item>
      <title>Re: Real time interrupt problem</title>
      <link>https://community.nxp.com/t5/CodeWarrior-for-MCU/Real-time-interrupt-problem/m-p/206811#M7979</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;**bleep**.. i forgot that&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;thank you so much&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 23 May 2011 08:45:11 GMT</pubDate>
      <guid>https://community.nxp.com/t5/CodeWarrior-for-MCU/Real-time-interrupt-problem/m-p/206811#M7979</guid>
      <dc:creator>kayji</dc:creator>
      <dc:date>2011-05-23T08:45:11Z</dc:date>
    </item>
  </channel>
</rss>

