<?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: MQX interrupt demistify in MQX Software Solutions</title>
    <link>https://community.nxp.com/t5/MQX-Software-Solutions/MQX-interrupt-demistify/m-p/181684#M2836</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Martin,&lt;/P&gt;&lt;P&gt;This document does not give details of the latency due to the "_int_default_isr" executing user ISR.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I am assuming that when user ISR is registered by "_int_install_kernel_isr", the latency is(close to) as in the processor data sheet. While this can be done by adding some C code to the default_ISR, I want to ensure that I am not reinventing the wheel.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Best regards&lt;BR /&gt;Sarma&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Fri, 06 Jan 2017 06:28:59 GMT</pubDate>
    <dc:creator>csmgsarma</dc:creator>
    <dc:date>2017-01-06T06:28:59Z</dc:date>
    <item>
      <title>MQX interrupt demistify</title>
      <link>https://community.nxp.com/t5/MQX-Software-Solutions/MQX-interrupt-demistify/m-p/181682#M2834</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello,&lt;/P&gt;&lt;P&gt;I have been experimenting with MQX for a while. I had a difficulty understanding interrupt mechanism in detail. I searched the forum too. I see many people had similar issues. Would freescale please make a good description and several demo project to explain it in detail?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;If we use MQX's native interrupt mechanism it seems a bit easier but there are issues with it as well. lwgpio for instance, only a single function can be registered for many pins on a single port. This needs to be explained too.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;if we are going to use interrupts out of MQX mechanism. It is becoming totally blurry.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I also find task priorities and interrupt priorities mixture confusing.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I hope one can explain the issue in detail.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Mehmet&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 20 Nov 2012 16:03:56 GMT</pubDate>
      <guid>https://community.nxp.com/t5/MQX-Software-Solutions/MQX-interrupt-demistify/m-p/181682#M2834</guid>
      <dc:creator>mehmetekici</dc:creator>
      <dc:date>2012-11-20T16:03:56Z</dc:date>
    </item>
    <item>
      <title>Re: MQX interrupt demistify</title>
      <link>https://community.nxp.com/t5/MQX-Software-Solutions/MQX-interrupt-demistify/m-p/181683#M2835</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello Mehmet,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;MQX interrupt mechanism is described in the MQX User's Guide, chapter 3.9 Handling Interrupts and Exceptions.&lt;BR /&gt;Users need to get familiar with the information in it.&lt;BR /&gt;I admit it is missing implementation details for Kinetis.&lt;/P&gt;&lt;P&gt;From MQX user's perspective on Kinetis, I describe the implementation details in the attached document.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;For the lwgpio, the Kinetis PORT module generates a single interrupt that asserts when the interrupt status flag is set for any enabled interrupt for that port.&lt;/P&gt;&lt;P&gt;Thus, we get into this vector by any enabled PORTx interrupt, and so we need to test PORTx_ISFR register in the interrupt service routine to find out, which pin of that port causes the interrupt request. (or, alternatively, lwgpio_int_get_flag() checks ISF bit of the specified PORTx_PCRn register).&lt;/P&gt;&lt;P&gt;&lt;SPAN class="mce_paste_marker"&gt;&lt;/SPAN&gt; &lt;/P&gt;&lt;P&gt;&lt;SPAN class="mce_paste_marker"&gt;Regards,&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN class="mce_paste_marker"&gt;Martin&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 27 Nov 2012 09:46:00 GMT</pubDate>
      <guid>https://community.nxp.com/t5/MQX-Software-Solutions/MQX-interrupt-demistify/m-p/181683#M2835</guid>
      <dc:creator>Martin_</dc:creator>
      <dc:date>2012-11-27T09:46:00Z</dc:date>
    </item>
    <item>
      <title>Re: MQX interrupt demistify</title>
      <link>https://community.nxp.com/t5/MQX-Software-Solutions/MQX-interrupt-demistify/m-p/181684#M2836</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Martin,&lt;/P&gt;&lt;P&gt;This document does not give details of the latency due to the "_int_default_isr" executing user ISR.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I am assuming that when user ISR is registered by "_int_install_kernel_isr", the latency is(close to) as in the processor data sheet. While this can be done by adding some C code to the default_ISR, I want to ensure that I am not reinventing the wheel.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Best regards&lt;BR /&gt;Sarma&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 06 Jan 2017 06:28:59 GMT</pubDate>
      <guid>https://community.nxp.com/t5/MQX-Software-Solutions/MQX-interrupt-demistify/m-p/181684#M2836</guid>
      <dc:creator>csmgsarma</dc:creator>
      <dc:date>2017-01-06T06:28:59Z</dc:date>
    </item>
  </channel>
</rss>

