<?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: S32K11x SM 5.6.6 - NVIC or interrupts? in SafeAssure Community (Archived)</title>
    <link>https://community.nxp.com/t5/SafeAssure-Community-Archived/S32K11x-SM-5-6-6-NVIC-or-interrupts/m-p/934443#M92</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello Catosh,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Both ways should be checked (The NVIC and the peripheral interrupt). The [SM_100] checks interrupt status while [SM_098] is ensure correct NVIC functionality. This means the application should detect an NVIC failure. E.g. no interrupt, continuous interrupt, missed interrupt, delayed interrupt. etc.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Best Regards,&lt;/P&gt;&lt;P&gt;Atzel Collazo&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Tue, 30 Jul 2019 14:13:44 GMT</pubDate>
    <dc:creator>atzelcollazo</dc:creator>
    <dc:date>2019-07-30T14:13:44Z</dc:date>
    <item>
      <title>S32K11x SM 5.6.6 - NVIC or interrupts?</title>
      <link>https://community.nxp.com/t5/SafeAssure-Community-Archived/S32K11x-SM-5-6-6-NVIC-or-interrupts/m-p/934442#M91</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi All,&amp;nbsp;&lt;/P&gt;&lt;P&gt;I have many questions about assumptions from SM rev. 4. Let's start with NVIC section:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;&amp;nbsp;[SM_100], implementation hint&lt;/STRONG&gt;: "A possible way to detect spurious interrupts is to check corresponding interrupt status in the interrupt status register (polling) of the related peripheral before executing the Interrupt Service Routine (ISR) service code"&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;For me it's not clear if I have to monitor the pending status of the NVIC or of interrupt flags set in the peripheral register.&amp;nbsp;&lt;/P&gt;&lt;P&gt;If a I am going to poll for the interrupt flags in a peripheral register, I must also keep track of:&lt;/P&gt;&lt;P&gt;global interrupt enable\disable bit status (cpsid/cpsie)&lt;/P&gt;&lt;P&gt;and Interrupt enabled in NVIC (peripheral)&lt;/P&gt;&lt;P&gt;Furthermore, shall I monitor periodically the critical interrupts in polling (e.g while loop and if irq present execute callback) or just poll the irq registers of the peripheral in the callback provided in VTOR before executing some code?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;And what's the difference between the implementation hint of [SM_098]?&lt;/P&gt;&lt;P&gt;K.R.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Luca.&amp;nbsp;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 17 Jul 2019 14:44:29 GMT</pubDate>
      <guid>https://community.nxp.com/t5/SafeAssure-Community-Archived/S32K11x-SM-5-6-6-NVIC-or-interrupts/m-p/934442#M91</guid>
      <dc:creator>Catosh</dc:creator>
      <dc:date>2019-07-17T14:44:29Z</dc:date>
    </item>
    <item>
      <title>Re: S32K11x SM 5.6.6 - NVIC or interrupts?</title>
      <link>https://community.nxp.com/t5/SafeAssure-Community-Archived/S32K11x-SM-5-6-6-NVIC-or-interrupts/m-p/934443#M92</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello Catosh,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Both ways should be checked (The NVIC and the peripheral interrupt). The [SM_100] checks interrupt status while [SM_098] is ensure correct NVIC functionality. This means the application should detect an NVIC failure. E.g. no interrupt, continuous interrupt, missed interrupt, delayed interrupt. etc.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Best Regards,&lt;/P&gt;&lt;P&gt;Atzel Collazo&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 30 Jul 2019 14:13:44 GMT</pubDate>
      <guid>https://community.nxp.com/t5/SafeAssure-Community-Archived/S32K11x-SM-5-6-6-NVIC-or-interrupts/m-p/934443#M92</guid>
      <dc:creator>atzelcollazo</dc:creator>
      <dc:date>2019-07-30T14:13:44Z</dc:date>
    </item>
  </channel>
</rss>

