<?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>Kinetis Microcontrollers中的主题 Re: About nested hardware timer interrupt on K21</title>
    <link>https://community.nxp.com/t5/Kinetis-Microcontrollers/About-nested-hardware-timer-interrupt-on-K21/m-p/508332#M31986</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Rahul:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I think the ISR should be as short as possible, and be executed as quickly as possible. You should try to avoid calling long and time consuming subroutines in ISRs. There is a while loop in your isr, I guess maybe problem is there.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards&lt;/P&gt;&lt;P&gt;Daniel&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Mon, 09 May 2016 07:57:34 GMT</pubDate>
    <dc:creator>danielchen</dc:creator>
    <dc:date>2016-05-09T07:57:34Z</dc:date>
    <item>
      <title>About nested hardware timer interrupt on K21</title>
      <link>https://community.nxp.com/t5/Kinetis-Microcontrollers/About-nested-hardware-timer-interrupt-on-K21/m-p/508329#M31983</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi All,&lt;/P&gt;&lt;P style="min-height: 8pt; padding: 0px;"&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I am trying to use hardware timer interrupt in nested way for my project, So when I am going in VLPS mode I am initializing and starting timer 1 interrupt for waking up out of VLPS.&lt;/P&gt;&lt;P style="min-height: 8pt; padding: 0px;"&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;And in timer 1 ISR I am enabling timer 2 and running a while loop, In timer 2 ISR I am again going in VLPS mode.&lt;/P&gt;&lt;P style="min-height: 8pt; padding: 0px;"&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;What I am observing is I am successfully waking up hitting timer 1 ISR and initializing timer 2 interrupt, running in while loop of timer 1 ISR. But I am not hitting to timer 2 ISR after timeout of timer 2 rather the core remains in while loop of timer 1 ISR.&lt;/P&gt;&lt;P style="min-height: 8pt; padding: 0px;"&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Please find attached snap shot of code I am using, any suggestions?&lt;/P&gt;&lt;P style="min-height: 8pt; padding: 0px;"&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thanks,&lt;/P&gt;&lt;P&gt;Rahul&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;Original Attachment has been moved to: &lt;A _jive_internal="true" href="https://community.nxp.com/docs/DOC-337454"&gt;timer_intr.c.zip&lt;/A&gt;&lt;/STRONG&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 15 Apr 2016 11:24:24 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Kinetis-Microcontrollers/About-nested-hardware-timer-interrupt-on-K21/m-p/508329#M31983</guid>
      <dc:creator>rahulhirve</dc:creator>
      <dc:date>2016-04-15T11:24:24Z</dc:date>
    </item>
    <item>
      <title>Re: About nested hardware timer interrupt on K21</title>
      <link>https://community.nxp.com/t5/Kinetis-Microcontrollers/About-nested-hardware-timer-interrupt-on-K21/m-p/508330#M31984</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Rahul&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;which MQX version you are using, MQX 4.2 or&amp;nbsp; MQX for KSDK?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards&lt;/P&gt;&lt;P&gt;Daniel&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 20 Apr 2016 22:24:51 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Kinetis-Microcontrollers/About-nested-hardware-timer-interrupt-on-K21/m-p/508330#M31984</guid>
      <dc:creator>danielchen</dc:creator>
      <dc:date>2016-04-20T22:24:51Z</dc:date>
    </item>
    <item>
      <title>Re: About nested hardware timer interrupt on K21</title>
      <link>https://community.nxp.com/t5/Kinetis-Microcontrollers/About-nested-hardware-timer-interrupt-on-K21/m-p/508331#M31985</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Daniel,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I am using MQX 4.1.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks,&lt;/P&gt;&lt;P&gt;Rahul&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 21 Apr 2016 03:24:35 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Kinetis-Microcontrollers/About-nested-hardware-timer-interrupt-on-K21/m-p/508331#M31985</guid>
      <dc:creator>rahulhirve</dc:creator>
      <dc:date>2016-04-21T03:24:35Z</dc:date>
    </item>
    <item>
      <title>Re: About nested hardware timer interrupt on K21</title>
      <link>https://community.nxp.com/t5/Kinetis-Microcontrollers/About-nested-hardware-timer-interrupt-on-K21/m-p/508332#M31986</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Rahul:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I think the ISR should be as short as possible, and be executed as quickly as possible. You should try to avoid calling long and time consuming subroutines in ISRs. There is a while loop in your isr, I guess maybe problem is there.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards&lt;/P&gt;&lt;P&gt;Daniel&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 09 May 2016 07:57:34 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Kinetis-Microcontrollers/About-nested-hardware-timer-interrupt-on-K21/m-p/508332#M31986</guid>
      <dc:creator>danielchen</dc:creator>
      <dc:date>2016-05-09T07:57:34Z</dc:date>
    </item>
  </channel>
</rss>

