<?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: MIMXRT1050 __disable_irq() Not Working in i.MX RT Crossover MCUs</title>
    <link>https://community.nxp.com/t5/i-MX-RT-Crossover-MCUs/MIMXRT1050-disable-irq-Not-Working/m-p/909824#M3221</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;After you do the disable, your program continues. I wouldn't be surprised if milisec() or TestButton() re-enables.&amp;nbsp;&lt;/P&gt;&lt;P&gt;Try following the disable with something like "while(1)/*EMPTY*/; // Spin until we reset".&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Sun, 13 Oct 2019 10:49:02 GMT</pubDate>
    <dc:creator>brucemckenney</dc:creator>
    <dc:date>2019-10-13T10:49:02Z</dc:date>
    <item>
      <title>MIMXRT1050 __disable_irq() Not Working</title>
      <link>https://community.nxp.com/t5/i-MX-RT-Crossover-MCUs/MIMXRT1050-disable-irq-Not-Working/m-p/909822#M3219</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 am working on a project using the MIMXRT1050 board with Kielv5 Pro Edition. I am using Keil RTOS2 and when I try to use the&amp;nbsp;__disable_irq() function, nothing happens. I have went into debug mode and checked the disassembly file and it does show that the&amp;nbsp;__disable_irq() function is masking the CPSID to disable interrupts.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I am currently using the&amp;nbsp;&lt;SPAN&gt;__disable_irq() function to test my watchdog timer interrupt, in which the board will reset if the wdog is not refreshed. The wdog is set up to reset the board after 10 seconds of no refresh which means if I call the&amp;nbsp;__disable_irq() function, after 10 seconds the board will reset.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;I think that the&amp;nbsp;__disable_irq() function is working correctly but maybe something is causing&amp;nbsp;the interrupts to be re-enabled right away, or maybe the&amp;nbsp;__disable_irq() function is just not working.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;Does anyone know why the&amp;nbsp;__disable_irq() function is not working correctly?&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;Here are some pictures of my code if it helps:&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="pastedImage_3.png"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/91371i5F1970A384C905C8/image-size/large?v=v2&amp;amp;px=999" role="button" title="pastedImage_3.png" alt="pastedImage_3.png" /&gt;&lt;/span&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="pastedImage_4.png"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/91413iD3A225722B68802F/image-size/large?v=v2&amp;amp;px=999" role="button" title="pastedImage_4.png" alt="pastedImage_4.png" /&gt;&lt;/span&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="pastedImage_5.png"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/91453iBB86F021A5F0D5B1/image-size/large?v=v2&amp;amp;px=999" role="button" title="pastedImage_5.png" alt="pastedImage_5.png" /&gt;&lt;/span&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;Regards,&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;Kamal&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 11 Oct 2019 19:00:15 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-RT-Crossover-MCUs/MIMXRT1050-disable-irq-Not-Working/m-p/909822#M3219</guid>
      <dc:creator>kamal1</dc:creator>
      <dc:date>2019-10-11T19:00:15Z</dc:date>
    </item>
    <item>
      <title>Re: MIMXRT1050 __disable_irq() Not Working</title>
      <link>https://community.nxp.com/t5/i-MX-RT-Crossover-MCUs/MIMXRT1050-disable-irq-Not-Working/m-p/909823#M3220</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi &lt;A _jive_internal="true" data-content-finding="Community" data-userid="339325" data-username="kamal@bocasystems.com" href="https://community.nxp.com/people/kamal@bocasystems.com"&gt;Kamal Nasif&lt;/A&gt; ,&lt;/P&gt;&lt;P&gt;Thank you for your interest in NXP Semiconductor products and for the opportunity to serve you.&lt;BR /&gt;It seems a bit weird.&lt;BR /&gt;Whether you had tried to do the same testing on the wdog01 project in the SDK library. If not, please give a try.&lt;/P&gt;&lt;P&gt;Have a great day,&lt;BR /&gt;TIC&lt;/P&gt;&lt;P style="min- padding: 0px;"&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;-------------------------------------------------------------------------------&lt;BR /&gt;Note:&lt;BR /&gt;- If this post answers your question, please click the "Mark Correct" button. Thank you!&lt;/P&gt;&lt;P style="min- padding: 0px;"&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;- We are following threads for 7 weeks after the last post, later replies are ignored&lt;BR /&gt; Please open a new thread and refer to the closed one, if you have a related question at a later point in time.&lt;BR /&gt;-------------------------------------------------------------------------------&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sat, 12 Oct 2019 10:13:49 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-RT-Crossover-MCUs/MIMXRT1050-disable-irq-Not-Working/m-p/909823#M3220</guid>
      <dc:creator>jeremyzhou</dc:creator>
      <dc:date>2019-10-12T10:13:49Z</dc:date>
    </item>
    <item>
      <title>Re: MIMXRT1050 __disable_irq() Not Working</title>
      <link>https://community.nxp.com/t5/i-MX-RT-Crossover-MCUs/MIMXRT1050-disable-irq-Not-Working/m-p/909824#M3221</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;After you do the disable, your program continues. I wouldn't be surprised if milisec() or TestButton() re-enables.&amp;nbsp;&lt;/P&gt;&lt;P&gt;Try following the disable with something like "while(1)/*EMPTY*/; // Spin until we reset".&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sun, 13 Oct 2019 10:49:02 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-RT-Crossover-MCUs/MIMXRT1050-disable-irq-Not-Working/m-p/909824#M3221</guid>
      <dc:creator>brucemckenney</dc:creator>
      <dc:date>2019-10-13T10:49:02Z</dc:date>
    </item>
  </channel>
</rss>

