<?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>i.MX ProcessorsのトピックRe: imx8qm Interrupt Handling for Cortex M4 core</title>
    <link>https://community.nxp.com/t5/i-MX-Processors/imx8qm-Interrupt-Handling-for-Cortex-M4-core/m-p/1240537#M170357</link>
    <description>&lt;P&gt;Unfortunately AUDIO_GPT0 and AUDIO_GPT1 &lt;STRONG&gt;cannot be set&lt;/STRONG&gt; with &lt;STRONG&gt;different priorities&lt;/STRONG&gt;. These interrupts are grouped into one interrupt steer and then this interrupt steer is routed to NVIC IRQ 38. The interrupt priorities are controlled by NVIC - for NVIC interrupts are one IRQ.&lt;/P&gt;</description>
    <pubDate>Thu, 04 Mar 2021 21:58:15 GMT</pubDate>
    <dc:creator>jimmychan</dc:creator>
    <dc:date>2021-03-04T21:58:15Z</dc:date>
    <item>
      <title>imx8qm Interrupt Handling for Cortex M4 core</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/imx8qm-Interrupt-Handling-for-Cortex-M4-core/m-p/1228021#M169158</link>
      <description>&lt;P&gt;Hi,&lt;BR /&gt;&lt;BR /&gt;I am trying to understand the interrupt routing to Cortex M4_0 core and how interrupt priorities are handled.&lt;/P&gt;&lt;P&gt;My current understanding is that Cortex M4 subsystem has two level of interrupts.&lt;BR /&gt;Level 1 (IRQn 0 to 51) are local to Cortex M4 subsystem and they are 1:1 mapped to NVIC channels.&lt;BR /&gt;Level 2 are external to Cortex M4 subsystem and they not 1:1 mapped to NVIC channel. Instead the are divided into 8 groups, 64 interrupts each group and are mapped to 8 NVIC channels i.e. IRQn 32 to IRQn 39. That means that external interrupts like AUDIO_GPT0 and&amp;nbsp;AUDIO_GPT1 will be mapped to same NVIC IRQn 38. If my understanding is correct then I have following questions.&lt;/P&gt;&lt;P&gt;Q1: Is there still a way we can route&amp;nbsp;AUDIO_GPT0 and&amp;nbsp;AUDIO_GPT1 to different NVIC channel?&amp;nbsp; &amp;nbsp;&amp;nbsp;&lt;BR /&gt;Q2: Can I have different interrupt priority levels for&amp;nbsp;AUDIO_GPT0 and&amp;nbsp;AUDIO_GPT1?&lt;/P&gt;&lt;P&gt;We have to support AUTOSAR OS on Cortex M4 core. AUTOSAR OS has different priorities for CATEGORY 1 and CATEGORY 2 interrupts.&amp;nbsp;&lt;BR /&gt;&lt;BR /&gt;Q3: If answer to Q1 and Q2 is 'NO' then how can I use&amp;nbsp;AUDIO_GPT0 as CATEGORY 1 and&amp;nbsp;AUDIO_GPT1 as CATEGORY 2 at the same time? I am asking this to check if you have seen such a use case before and if you have a workaround for this.&lt;/P&gt;&lt;P&gt;Thanks&lt;/P&gt;</description>
      <pubDate>Mon, 08 Feb 2021 14:06:12 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/imx8qm-Interrupt-Handling-for-Cortex-M4-core/m-p/1228021#M169158</guid>
      <dc:creator>sohaib_sulehri</dc:creator>
      <dc:date>2021-02-08T14:06:12Z</dc:date>
    </item>
    <item>
      <title>Re: imx8qm Interrupt Handling for Cortex M4 core</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/imx8qm-Interrupt-Handling-for-Cortex-M4-core/m-p/1240537#M170357</link>
      <description>&lt;P&gt;Unfortunately AUDIO_GPT0 and AUDIO_GPT1 &lt;STRONG&gt;cannot be set&lt;/STRONG&gt; with &lt;STRONG&gt;different priorities&lt;/STRONG&gt;. These interrupts are grouped into one interrupt steer and then this interrupt steer is routed to NVIC IRQ 38. The interrupt priorities are controlled by NVIC - for NVIC interrupts are one IRQ.&lt;/P&gt;</description>
      <pubDate>Thu, 04 Mar 2021 21:58:15 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/imx8qm-Interrupt-Handling-for-Cortex-M4-core/m-p/1240537#M170357</guid>
      <dc:creator>jimmychan</dc:creator>
      <dc:date>2021-03-04T21:58:15Z</dc:date>
    </item>
  </channel>
</rss>

