<?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: KL82 SDK 2.3.1 examples with interrupt not firing</title>
    <link>https://community.nxp.com/t5/Kinetis-Microcontrollers/KL82-SDK-2-3-1-examples-with-interrupt-not-firing/m-p/785978#M47836</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Marc:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Since there is no interrupt source for CMP0, we need to map the interrupt to INTMUX0. yes, you are right.&lt;/P&gt;&lt;P&gt;Thank you very much for your sharing.&lt;/P&gt;&lt;P&gt;&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, 11 Jul 2018 07:12:58 GMT</pubDate>
    <dc:creator>danielchen</dc:creator>
    <dc:date>2018-07-11T07:12:58Z</dc:date>
    <item>
      <title>KL82 SDK 2.3.1 examples with interrupt not firing</title>
      <link>https://community.nxp.com/t5/Kinetis-Microcontrollers/KL82-SDK-2-3-1-examples-with-interrupt-not-firing/m-p/785977#M47835</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I think i found an error in the current SDK 2.3.1 build for the KL82 chips:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Affects:&lt;/P&gt;&lt;P&gt;Every sample&amp;nbsp;using an interrupt with an IRQ &amp;gt;31, cf.&amp;nbsp;KL82P121M72SF0RM page 73ff.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Problem:&lt;/P&gt;&lt;P&gt;Interrupt cannot be enabled and will not fire as the NVIC doenst&amp;nbsp;supports&amp;nbsp;IRQs&amp;gt;31.&lt;/P&gt;&lt;P&gt;E.g. EnableIRQ(CMP0_IRQn) will return an error flag, indicating that the interrupt cannot be enabled.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Solution:&lt;/P&gt;&lt;P&gt;Use INTMUX0 to map the interrupt to one of the INTMUX interrupts.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Example:&lt;/P&gt;&lt;P&gt;// set up the routing of CMP0 interrupt to the INTMUX0 interrupt.&lt;/P&gt;&lt;P&gt;INTMUX_Init(INTMUX0);&lt;BR /&gt; INTMUX_EnableInterrupt(INTMUX0,0,CMP0_IRQn); // CH0&lt;BR /&gt;EnableIRQ(INTMUX0_0_IRQn);&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;// handler&lt;/P&gt;&lt;P&gt;void INTMUX0_0_IRQHandler(void);&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I hope this helps someone.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Cheers,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Marc&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 06 Jul 2018 14:18:56 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Kinetis-Microcontrollers/KL82-SDK-2-3-1-examples-with-interrupt-not-firing/m-p/785977#M47835</guid>
      <dc:creator>marcwillem</dc:creator>
      <dc:date>2018-07-06T14:18:56Z</dc:date>
    </item>
    <item>
      <title>Re: KL82 SDK 2.3.1 examples with interrupt not firing</title>
      <link>https://community.nxp.com/t5/Kinetis-Microcontrollers/KL82-SDK-2-3-1-examples-with-interrupt-not-firing/m-p/785978#M47836</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Marc:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Since there is no interrupt source for CMP0, we need to map the interrupt to INTMUX0. yes, you are right.&lt;/P&gt;&lt;P&gt;Thank you very much for your sharing.&lt;/P&gt;&lt;P&gt;&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, 11 Jul 2018 07:12:58 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Kinetis-Microcontrollers/KL82-SDK-2-3-1-examples-with-interrupt-not-firing/m-p/785978#M47836</guid>
      <dc:creator>danielchen</dc:creator>
      <dc:date>2018-07-11T07:12:58Z</dc:date>
    </item>
  </channel>
</rss>

