<?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>S32KのトピックInterrupt handling in S32K116 using quick start guide startup file</title>
    <link>https://community.nxp.com/t5/S32K/Interrupt-handling-in-S32K116-using-quick-start-guide-startup/m-p/1025557#M6364</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello All,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I am using S32K116 micro controller with startup.s provided by quick start guide. On this I have a following question.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;When I am in a interrupt service routine, say if there is a another interrupt occuring, I do not see that interrupt in pending interrupt list of NVIC. Also wanted to know if core interrupts are disabled when current interrupt is being served?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;From .s file , I do not see any nesting of Interrupts handling.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;attaching startup.s file.&amp;nbsp;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Fri, 22 Nov 2019 08:33:54 GMT</pubDate>
    <dc:creator>jayashreepasane</dc:creator>
    <dc:date>2019-11-22T08:33:54Z</dc:date>
    <item>
      <title>Interrupt handling in S32K116 using quick start guide startup file</title>
      <link>https://community.nxp.com/t5/S32K/Interrupt-handling-in-S32K116-using-quick-start-guide-startup/m-p/1025557#M6364</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello All,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I am using S32K116 micro controller with startup.s provided by quick start guide. On this I have a following question.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;When I am in a interrupt service routine, say if there is a another interrupt occuring, I do not see that interrupt in pending interrupt list of NVIC. Also wanted to know if core interrupts are disabled when current interrupt is being served?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;From .s file , I do not see any nesting of Interrupts handling.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;attaching startup.s file.&amp;nbsp;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 22 Nov 2019 08:33:54 GMT</pubDate>
      <guid>https://community.nxp.com/t5/S32K/Interrupt-handling-in-S32K116-using-quick-start-guide-startup/m-p/1025557#M6364</guid>
      <dc:creator>jayashreepasane</dc:creator>
      <dc:date>2019-11-22T08:33:54Z</dc:date>
    </item>
    <item>
      <title>Re: Interrupt handling in S32K116 using quick start guide startup file</title>
      <link>https://community.nxp.com/t5/S32K/Interrupt-handling-in-S32K116-using-quick-start-guide-startup/m-p/1025558#M6365</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello&amp;nbsp;&lt;A class="jx-jive-macro-user" href="https://community.nxp.com/people/jayashreepasane"&gt;jayashreepasane&lt;/A&gt;,&lt;/P&gt;&lt;P&gt;The S32K1xx derivatives (ARM Cortex M0+ core) have four interrupt priority levels.&lt;BR /&gt; &lt;span class="lia-inline-image-display-wrapper" image-alt="pastedImage_2.png"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/95153iCD896FE9DB256A28/image-size/large?v=v2&amp;amp;px=999" role="button" title="pastedImage_2.png" alt="pastedImage_2.png" /&gt;&lt;/span&gt;&lt;BR /&gt;Depending on the priority levels of the interrupts, one interrupt can preempt another or become pending.&lt;BR /&gt;Please see the &lt;A href="https://static.docs.arm.com/ddi0419/d/DDI0419D_armv6m_arm.pdf"&gt;ARM®v6-M Architecture Reference Manual&lt;/A&gt;&lt;BR /&gt;&lt;STRONG&gt;B1.3.2 Exceptions&lt;/STRONG&gt;&lt;BR /&gt;&lt;STRONG&gt;Priority levels, execution priority, exception entry, and execution preemption&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;BR, Daniel&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 26 Nov 2019 13:23:57 GMT</pubDate>
      <guid>https://community.nxp.com/t5/S32K/Interrupt-handling-in-S32K116-using-quick-start-guide-startup/m-p/1025558#M6365</guid>
      <dc:creator>danielmartynek</dc:creator>
      <dc:date>2019-11-26T13:23:57Z</dc:date>
    </item>
    <item>
      <title>Re: Interrupt handling in S32K116 using quick start guide startup file</title>
      <link>https://community.nxp.com/t5/S32K/Interrupt-handling-in-S32K116-using-quick-start-guide-startup/m-p/1025559#M6366</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello Daniel,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thank you for the reply.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;For example, I am generating an LPIT (low power time interrupt) every 1ms, at the 5th interrupt ( meaning here 5ms I call a function which takes more than 1ms), what happens to the next interrupt of same priority level interrupt here?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I do not see this interrupt in pending ISR list, thats why I added this question.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Jayashree P&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 28 Nov 2019 11:05:56 GMT</pubDate>
      <guid>https://community.nxp.com/t5/S32K/Interrupt-handling-in-S32K116-using-quick-start-guide-startup/m-p/1025559#M6366</guid>
      <dc:creator>jayashreepasane</dc:creator>
      <dc:date>2019-11-28T11:05:56Z</dc:date>
    </item>
    <item>
      <title>Re: Interrupt handling in S32K116 using quick start guide startup file</title>
      <link>https://community.nxp.com/t5/S32K/Interrupt-handling-in-S32K116-using-quick-start-guide-startup/m-p/1025560#M6367</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello Jayashree,&lt;/P&gt;&lt;P&gt;When exactly do you clear the LPIT Interrupt flag?&lt;BR /&gt;You would need clear the flag before the LPIT interrupt is asserted again.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;BR, Daniel&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 02 Dec 2019 13:31:21 GMT</pubDate>
      <guid>https://community.nxp.com/t5/S32K/Interrupt-handling-in-S32K116-using-quick-start-guide-startup/m-p/1025560#M6367</guid>
      <dc:creator>danielmartynek</dc:creator>
      <dc:date>2019-12-02T13:31:21Z</dc:date>
    </item>
    <item>
      <title>Re: Interrupt handling in S32K116 using quick start guide startup file</title>
      <link>https://community.nxp.com/t5/S32K/Interrupt-handling-in-S32K116-using-quick-start-guide-startup/m-p/1025561#M6368</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello Daniel,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;First thing that I do in interrupt routine is to clear LPIT interrupt flag.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks,&lt;/P&gt;&lt;P&gt;Jayashree P&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 02 Dec 2019 13:35:49 GMT</pubDate>
      <guid>https://community.nxp.com/t5/S32K/Interrupt-handling-in-S32K116-using-quick-start-guide-startup/m-p/1025561#M6368</guid>
      <dc:creator>jayashreepasane</dc:creator>
      <dc:date>2019-12-02T13:35:49Z</dc:date>
    </item>
    <item>
      <title>Re: Interrupt handling in S32K116 using quick start guide startup file</title>
      <link>https://community.nxp.com/t5/S32K/Interrupt-handling-in-S32K116-using-quick-start-guide-startup/m-p/1025562#M6369</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;&lt;SPAN style="color: #51626f; background-color: #ffffff;"&gt;Jayashree P,&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #51626f; background-color: #ffffff;"&gt;If you clear the LPIT flag of the 5th interrupt before the 6th LPIT interrupt gets triggered, then, at the end of the 5th ISR, you should see NVIC_ISPR[20] == 1.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #51626f; background-color: #ffffff;"&gt;If not, please share your project.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #51626f; background-color: #ffffff;"&gt;Thank you,&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #51626f; background-color: #ffffff;"&gt;Daniel&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 02 Dec 2019 14:43:48 GMT</pubDate>
      <guid>https://community.nxp.com/t5/S32K/Interrupt-handling-in-S32K116-using-quick-start-guide-startup/m-p/1025562#M6369</guid>
      <dc:creator>danielmartynek</dc:creator>
      <dc:date>2019-12-02T14:43:48Z</dc:date>
    </item>
    <item>
      <title>Re: Interrupt handling in S32K116 using quick start guide startup file</title>
      <link>https://community.nxp.com/t5/S32K/Interrupt-handling-in-S32K116-using-quick-start-guide-startup/m-p/1025563#M6370</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello Daniel,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thank you for providing the input, Becasue LPIT was disabled in the debug mode, pending ISR was not seen. Now at the end of the 5th ISR I see there is a pending interrupt.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks,&lt;/P&gt;&lt;P&gt;Jayashree P&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 03 Dec 2019 12:52:53 GMT</pubDate>
      <guid>https://community.nxp.com/t5/S32K/Interrupt-handling-in-S32K116-using-quick-start-guide-startup/m-p/1025563#M6370</guid>
      <dc:creator>jayashreepasane</dc:creator>
      <dc:date>2019-12-03T12:52:53Z</dc:date>
    </item>
  </channel>
</rss>

