<?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: Isr on MQX Lite in MQX Software Solutions</title>
    <link>https://community.nxp.com/t5/MQX-Software-Solutions/Isr-on-MQX-Lite/m-p/323549#M10312</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;HI &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Processor Expert has build-in knowledge about all microcontroller units and integrated peripherals. The microcontroller units and peripherals are encapsulated into configurable components. When you use PE, it will generate code and ISRs automatically.&amp;nbsp; it can work. You can change the isr if you like.&amp;nbsp; If you do not use PE, you can use _int_install_isr to install an ISR maually.&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;Have a nice day:)&lt;BR /&gt;Daniel&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;-----------------------------------------------------------------------------------------------------------------------&lt;BR /&gt;Note: If this post answers your question, please click the Correct Answer button. Thank you!&lt;BR /&gt;-----------------------------------------------------------------------------------------------------------------------&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Wed, 23 Jul 2014 05:48:50 GMT</pubDate>
    <dc:creator>danielchen</dc:creator>
    <dc:date>2014-07-23T05:48:50Z</dc:date>
    <item>
      <title>Isr on MQX Lite</title>
      <link>https://community.nxp.com/t5/MQX-Software-Solutions/Isr-on-MQX-Lite/m-p/323548#M10311</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi All,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I created a little program with a periodical timer interrupt with PEx. And this works fine!&lt;/P&gt;&lt;P&gt;But, reading the User Guide and the RM of MQX Lite, I saw then saying that I should install isr on MQX, not just create that.&lt;/P&gt;&lt;P&gt;So, I installed an isr with the follow code:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;PRE __default_attr="c++" __jive_macro_name="code" class="jive_text_macro jive_macro_code _jivemacro_uid_14060547282301299" jivemacro_uid="_14060547282301299"&gt;
&lt;P&gt;uint_32 timer_ptr;&lt;/P&gt;
&lt;P&gt;_int_install_isr(LDD_ivIndex_INT_TPM2&amp;nbsp; , (INT_ISR_FPTR)TI1_OnInterrupt, &amp;amp;timer_ptr);&lt;/P&gt;
&lt;/PRE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;And the interrupt event stays with the same code, generated by PEx&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;PRE __default_attr="c++" __jive_macro_name="code" class="_jivemacro_uid_14060550592014373 jive_text_macro jive_macro_code" jivemacro_uid="_14060550592014373"&gt;
&lt;P&gt;void TI1_OnInterrupt(void)&lt;/P&gt;
&lt;P&gt;{&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;SPAN style="font-size: 10pt; line-height: 1.5em;"&gt;Bit1_NegVal();&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;}&lt;/P&gt;
&lt;/PRE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;After install the isr, the timer interrupt occurs everytime, without compare with counter.&lt;/P&gt;&lt;P&gt;Someone know what's happening? &lt;/P&gt;&lt;P&gt;Thanks alot,&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 22 Jul 2014 18:57:55 GMT</pubDate>
      <guid>https://community.nxp.com/t5/MQX-Software-Solutions/Isr-on-MQX-Lite/m-p/323548#M10311</guid>
      <dc:creator>wendersonolivei</dc:creator>
      <dc:date>2014-07-22T18:57:55Z</dc:date>
    </item>
    <item>
      <title>Re: Isr on MQX Lite</title>
      <link>https://community.nxp.com/t5/MQX-Software-Solutions/Isr-on-MQX-Lite/m-p/323549#M10312</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;HI &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Processor Expert has build-in knowledge about all microcontroller units and integrated peripherals. The microcontroller units and peripherals are encapsulated into configurable components. When you use PE, it will generate code and ISRs automatically.&amp;nbsp; it can work. You can change the isr if you like.&amp;nbsp; If you do not use PE, you can use _int_install_isr to install an ISR maually.&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;Have a nice day:)&lt;BR /&gt;Daniel&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;-----------------------------------------------------------------------------------------------------------------------&lt;BR /&gt;Note: If this post answers your question, please click the Correct Answer button. Thank you!&lt;BR /&gt;-----------------------------------------------------------------------------------------------------------------------&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 23 Jul 2014 05:48:50 GMT</pubDate>
      <guid>https://community.nxp.com/t5/MQX-Software-Solutions/Isr-on-MQX-Lite/m-p/323549#M10312</guid>
      <dc:creator>danielchen</dc:creator>
      <dc:date>2014-07-23T05:48:50Z</dc:date>
    </item>
  </channel>
</rss>

