<?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: Extern irq on TWRMCF52259 in MQX Software Solutions</title>
    <link>https://community.nxp.com/t5/MQX-Software-Solutions/Extern-irq-on-TWRMCF52259/m-p/155421#M750</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Sorry for my delayed response.&lt;/P&gt;&lt;P&gt;Unfortunately there's no solution for IRQ7 other than doing polling on this pin (once configured as GPIO instead of IRQ).&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;However IRQ1 is not&amp;nbsp; for Ethernet but for USB, so if you do not use USB, or if the signal USB_ALT_CLK is not always mandatory (I dont't know) you should be able to reuse it as IRQ1&lt;/P&gt;&lt;P&gt;Also IRQ3 and IRQ5 are used by Ethernet for PHY management through FEC_MDIO / FEC_MDC signals. However I'm not sure they are mandatory if you don't do some special PHY management.&lt;/P&gt;&lt;P&gt;Check the 52259 microcontroller documentation to make sure.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Fri, 25 May 2012 16:36:57 GMT</pubDate>
    <dc:creator>trailman</dc:creator>
    <dc:date>2012-05-25T16:36:57Z</dc:date>
    <item>
      <title>Extern irq on TWRMCF52259</title>
      <link>https://community.nxp.com/t5/MQX-Software-Solutions/Extern-irq-on-TWRMCF52259/m-p/155412#M741</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;In the reference manual, in the eport chapter, I have ridden there are up to eight interrupt pins. There are only four extern IRQ (IRQ7,IRQ5,IRQ3,IRQ1), so which are the other four?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;And in the TWRMCF52259, what pin can I use for an extern interrupt? The switches aren't connected to this pins.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thanks&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 15 Oct 2010 15:38:33 GMT</pubDate>
      <guid>https://community.nxp.com/t5/MQX-Software-Solutions/Extern-irq-on-TWRMCF52259/m-p/155412#M741</guid>
      <dc:creator>Awera</dc:creator>
      <dc:date>2010-10-15T15:38:33Z</dc:date>
    </item>
    <item>
      <title>Re: Extern irq on TWRMCF52259</title>
      <link>https://community.nxp.com/t5/MQX-Software-Solutions/Extern-irq-on-TWRMCF52259/m-p/155413#M742</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;There are just 4 interrupts. The other 4 are considered as dummy, nowhere connected. So the RM should say that there are only 4 external IRQs.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 18 Oct 2010 16:47:53 GMT</pubDate>
      <guid>https://community.nxp.com/t5/MQX-Software-Solutions/Extern-irq-on-TWRMCF52259/m-p/155413#M742</guid>
      <dc:creator>JuroV</dc:creator>
      <dc:date>2010-10-18T16:47:53Z</dc:date>
    </item>
    <item>
      <title>Re: Extern irq on TWRMCF52259</title>
      <link>https://community.nxp.com/t5/MQX-Software-Solutions/Extern-irq-on-TWRMCF52259/m-p/155414#M743</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thanks JuroV&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I have another question. Do you know which is the size of MQX? Just MQX (without programs, just libraries,kernel...). I have seen&amp;nbsp; the .xmap file of some projects but always it's the same:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;# Memory map:&lt;BR /&gt;&amp;nbsp; v_addr&amp;nbsp;&amp;nbsp; p_addr&amp;nbsp;&amp;nbsp; size&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; name&lt;BR /&gt;&amp;nbsp; 10000000 10000000 00000400 .vectors&amp;nbsp;&amp;nbsp; vectorrom&lt;BR /&gt;&amp;nbsp; 10000400 10000400 00000018 .cfmprotect cfmprotrom&lt;BR /&gt;&amp;nbsp; 10000420 10000420 0000AEE4 .main_application rom&lt;BR /&gt;&amp;nbsp; 00000420 00000420 0007FBE0&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; flashx&lt;BR /&gt;&amp;nbsp; 20000000 20000000 000000B0 .main_application_data ram&lt;BR /&gt;&amp;nbsp; 200000B0 200000B0 00000000 .kernel_data ram&lt;BR /&gt;&amp;nbsp; 2000FFF0 2000FFF0 00000000 .end_of_kernel_data end_of_kd&lt;BR /&gt;&amp;nbsp; 2000FA00 2000FA00 00000000 .boot_stack bstack&lt;BR /&gt;&amp;nbsp; 2000FBFF 2000FBFF 00000000 .end_of_boot_stack end_bstack&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thanks for your help&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 18 Oct 2010 17:00:32 GMT</pubDate>
      <guid>https://community.nxp.com/t5/MQX-Software-Solutions/Extern-irq-on-TWRMCF52259/m-p/155414#M743</guid>
      <dc:creator>Awera</dc:creator>
      <dc:date>2010-10-18T17:00:32Z</dc:date>
    </item>
    <item>
      <title>Re: Extern irq on TWRMCF52259</title>
      <link>https://community.nxp.com/t5/MQX-Software-Solutions/Extern-irq-on-TWRMCF52259/m-p/155415#M744</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;It depends how you configured MQX, it can be from kilobytes to tens of kilobytes. You should review the while xmap file, where you can see also code and data placement, not only sections and linker constants.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 19 Oct 2010 22:35:25 GMT</pubDate>
      <guid>https://community.nxp.com/t5/MQX-Software-Solutions/Extern-irq-on-TWRMCF52259/m-p/155415#M744</guid>
      <dc:creator>JuroV</dc:creator>
      <dc:date>2010-10-19T22:35:25Z</dc:date>
    </item>
    <item>
      <title>Re: Extern irq on TWRMCF52259</title>
      <link>https://community.nxp.com/t5/MQX-Software-Solutions/Extern-irq-on-TWRMCF52259/m-p/155416#M745</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thank you very much&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;When I call the function _mem_alloc(bytes), should I see the size of this block in the XMAP file?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I read the pointer to the adress where it allocates the block but it doesn't appear in the file.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thanks&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 20 Oct 2010 16:01:15 GMT</pubDate>
      <guid>https://community.nxp.com/t5/MQX-Software-Solutions/Extern-irq-on-TWRMCF52259/m-p/155416#M745</guid>
      <dc:creator>Awera</dc:creator>
      <dc:date>2010-10-20T16:01:15Z</dc:date>
    </item>
    <item>
      <title>Re: Extern irq on TWRMCF52259</title>
      <link>https://community.nxp.com/t5/MQX-Software-Solutions/Extern-irq-on-TWRMCF52259/m-p/155417#M746</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Mem allocation is dynamic allocation, i.e. it allocates from some dedicated space (called heap) for your application. In xmap file, you cannot see these variables.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 01 Nov 2010 21:51:06 GMT</pubDate>
      <guid>https://community.nxp.com/t5/MQX-Software-Solutions/Extern-irq-on-TWRMCF52259/m-p/155417#M746</guid>
      <dc:creator>JuroV</dc:creator>
      <dc:date>2010-11-01T21:51:06Z</dc:date>
    </item>
    <item>
      <title>Re: Extern irq on TWRMCF52259</title>
      <link>https://community.nxp.com/t5/MQX-Software-Solutions/Extern-irq-on-TWRMCF52259/m-p/155418#M747</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thanks for your help. Your replies help me a lot.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 02 Nov 2010 15:05:57 GMT</pubDate>
      <guid>https://community.nxp.com/t5/MQX-Software-Solutions/Extern-irq-on-TWRMCF52259/m-p/155418#M747</guid>
      <dc:creator>Awera</dc:creator>
      <dc:date>2010-11-02T15:05:57Z</dc:date>
    </item>
    <item>
      <title>Re: Extern irq on TWRMCF52259</title>
      <link>https://community.nxp.com/t5/MQX-Software-Solutions/Extern-irq-on-TWRMCF52259/m-p/155419#M748</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;An &lt;STRONG&gt;IMPORTANT&lt;/STRONG&gt; thing to know : &lt;STRONG&gt;IRQ7 can not be used safely with MQX&lt;/STRONG&gt; because this a level 7 interrupt and then can not be masked. In this case, MQX (and any other OS) is unable to protect its critical sections of code.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Unfortunately, I designed a board with a MCF52259 and used IRQ7 (PNQ7 pin) because I did not find any warning about that in the docs. After experiencing some MQX lockups I contacted the MQX support that explained that to me. As my design was already made, I had to use polling on this pin (reconfigured as a GPIO) to workaround the problem.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 07 Mar 2011 02:03:31 GMT</pubDate>
      <guid>https://community.nxp.com/t5/MQX-Software-Solutions/Extern-irq-on-TWRMCF52259/m-p/155419#M748</guid>
      <dc:creator>trailman</dc:creator>
      <dc:date>2011-03-07T02:03:31Z</dc:date>
    </item>
    <item>
      <title>Re: Extern irq on TWRMCF52259</title>
      <link>https://community.nxp.com/t5/MQX-Software-Solutions/Extern-irq-on-TWRMCF52259/m-p/155420#M749</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Dear Trailman,&lt;/P&gt;&lt;P&gt;Did you get any solution on IR7 (PNQ7) pin?&lt;/P&gt;&lt;P&gt;Unfortunately, I have designed a board with MCF52259 which uses IR7 too &lt;IMG alt=":smileysad:" class="emoticon emoticon-smileysad" id="smileysad" src="http://freescale.i.lithium.com/i/smilies/16x16_smiley-sad.gif" title="Smiley Sad" /&gt;&lt;/P&gt;&lt;P&gt;I want to use ethernet feature of MQX by using same schematic as M52259demo board (Uses KSZ8041 ethernet IC). The M52259Demo uses all other interrupt pins (IRQ1, IRQ3 and&amp;nbsp; IRQ5) for ethernet IC. So, I have no choice to use external interrupt. I have to use IRQ7&lt;/P&gt;&lt;P&gt;Does any suggestion about using external interrupt?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 05 Mar 2012 23:57:23 GMT</pubDate>
      <guid>https://community.nxp.com/t5/MQX-Software-Solutions/Extern-irq-on-TWRMCF52259/m-p/155420#M749</guid>
      <dc:creator>MuratGunal</dc:creator>
      <dc:date>2012-03-05T23:57:23Z</dc:date>
    </item>
    <item>
      <title>Re: Extern irq on TWRMCF52259</title>
      <link>https://community.nxp.com/t5/MQX-Software-Solutions/Extern-irq-on-TWRMCF52259/m-p/155421#M750</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Sorry for my delayed response.&lt;/P&gt;&lt;P&gt;Unfortunately there's no solution for IRQ7 other than doing polling on this pin (once configured as GPIO instead of IRQ).&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;However IRQ1 is not&amp;nbsp; for Ethernet but for USB, so if you do not use USB, or if the signal USB_ALT_CLK is not always mandatory (I dont't know) you should be able to reuse it as IRQ1&lt;/P&gt;&lt;P&gt;Also IRQ3 and IRQ5 are used by Ethernet for PHY management through FEC_MDIO / FEC_MDC signals. However I'm not sure they are mandatory if you don't do some special PHY management.&lt;/P&gt;&lt;P&gt;Check the 52259 microcontroller documentation to make sure.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 25 May 2012 16:36:57 GMT</pubDate>
      <guid>https://community.nxp.com/t5/MQX-Software-Solutions/Extern-irq-on-TWRMCF52259/m-p/155421#M750</guid>
      <dc:creator>trailman</dc:creator>
      <dc:date>2012-05-25T16:36:57Z</dc:date>
    </item>
  </channel>
</rss>

