<?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>MCUXpresso IDEのトピックRe: GPIO interrupt of RT1060</title>
    <link>https://community.nxp.com/t5/MCUXpresso-IDE/GPIO-interrupt-of-RT1060/m-p/1379464#M7641</link>
    <description>&lt;P&gt;I've checked the setting of IMR, and confirmed only GPIO1_IO20 is set (value 0x0x00100000). I also tried to disable the IMR of GPIO1_21 everytime when receiving the interrupt in the ISR handler, but still the interrupt mask of GPIO1_IO21 is set after inputing the signal sequence as above a few times.&amp;nbsp;&lt;/P&gt;&lt;P&gt;It doesn't happen every time, but happens after a few tests.&lt;/P&gt;</description>
    <pubDate>Wed, 01 Dec 2021 07:33:00 GMT</pubDate>
    <dc:creator>vikingyuan</dc:creator>
    <dc:date>2021-12-01T07:33:00Z</dc:date>
    <item>
      <title>GPIO interrupt of RT1060</title>
      <link>https://community.nxp.com/t5/MCUXpresso-IDE/GPIO-interrupt-of-RT1060/m-p/1378870#M7635</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;I'm testing the GPIO interrupts with 2 pins of J23 on the MIMXRT1060-EVK board:&lt;/P&gt;&lt;P&gt;pin3(&lt;SPAN&gt;GPIO_AD_B1_04/GPIO1_IO20)&amp;nbsp; and pin&lt;/SPAN&gt;4 pin (&lt;SPAN&gt;GPIO_AD_B1_05/GPIO1_IO21)&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;GPIO_AD_B1_04(GPIO1_IO20) is set as an&amp;nbsp;&lt;/SPAN&gt;interrupt pin, GPIO_AD_B1_05(GPIO1_IO21) is set as a general GPIO input pin.&lt;/P&gt;&lt;P&gt;gpio_pin_config_t sw_config = {&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; kGPIO_DigitalInput,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 0,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp;&amp;nbsp; kGPIO_IntFallingEdge,&lt;/P&gt;&lt;P&gt;};&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; EnableIRQ(GPIO1_Combined_16_31_IRQn);&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; GPIO_PinInit(GPIO1, 20, &amp;amp;sw_config);&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; GPIO_PortEnableInterrupts(GPIO1, 1U &amp;lt;&amp;lt; 20);&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Interrupt_Handler()&lt;/P&gt;&lt;P&gt;{&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; GPIO_GetPinsInterruptFlags(GPIO1);&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; GPIO_PortClearInterruptFlags(GPIO1, 1U &amp;lt;&amp;lt; 20);&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; SDK_ISR_EXIT_BARRIER;&lt;/P&gt;&lt;P&gt;}&lt;/P&gt;&lt;P&gt;I check the interrupt flags by calling&amp;nbsp;GPIO_GetPinsInterruptFlags(GPIO1) in the ISR handler. Only bit 20 (e.g. 0xff133ff0)should be set when getting the interrupt flag. However, sometimes bit 21(e.g. 0xff333ff0) is also set. Is it expected?&lt;/P&gt;&lt;P&gt;The signal sequence is like below, yellow signal is GPIO1_IO20, blue signal is GPIO1_IO21.&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="gpio_interrupt_20211129a.bmp" style="width: 968px;"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/163575i1551A55870FE083F/image-size/large?v=v2&amp;amp;px=999" role="button" title="gpio_interrupt_20211129a.bmp" alt="gpio_interrupt_20211129a.bmp" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Tue, 30 Nov 2021 10:43:50 GMT</pubDate>
      <guid>https://community.nxp.com/t5/MCUXpresso-IDE/GPIO-interrupt-of-RT1060/m-p/1378870#M7635</guid>
      <dc:creator>vikingyuan</dc:creator>
      <dc:date>2021-11-30T10:43:50Z</dc:date>
    </item>
    <item>
      <title>Re: GPIO interrupt of RT1060</title>
      <link>https://community.nxp.com/t5/MCUXpresso-IDE/GPIO-interrupt-of-RT1060/m-p/1379441#M7640</link>
      <description>&lt;P&gt;Hi,&lt;BR /&gt;Thank you for your interest in NXP Semiconductor products and for the opportunity to serve you.&lt;BR /&gt;I don't think we can jump to the conclusion that the GPIO1_IO21 triggers an interrupt.&lt;BR /&gt;The bit in ISR can be 1, it won't trigger an interrupt if the corresponding bit is 0 in the IMR register, just as the figure shows.&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="jeremyzhou_0-1638342476760.png" style="width: 400px;"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/163704i7C63F8C3A76DD6F0/image-size/medium?v=v2&amp;amp;px=400" role="button" title="jeremyzhou_0-1638342476760.png" alt="jeremyzhou_0-1638342476760.png" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;&lt;BR /&gt;Have a great day,&lt;BR /&gt;TIC&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&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;</description>
      <pubDate>Wed, 01 Dec 2021 07:08:09 GMT</pubDate>
      <guid>https://community.nxp.com/t5/MCUXpresso-IDE/GPIO-interrupt-of-RT1060/m-p/1379441#M7640</guid>
      <dc:creator>jeremyzhou</dc:creator>
      <dc:date>2021-12-01T07:08:09Z</dc:date>
    </item>
    <item>
      <title>Re: GPIO interrupt of RT1060</title>
      <link>https://community.nxp.com/t5/MCUXpresso-IDE/GPIO-interrupt-of-RT1060/m-p/1379464#M7641</link>
      <description>&lt;P&gt;I've checked the setting of IMR, and confirmed only GPIO1_IO20 is set (value 0x0x00100000). I also tried to disable the IMR of GPIO1_21 everytime when receiving the interrupt in the ISR handler, but still the interrupt mask of GPIO1_IO21 is set after inputing the signal sequence as above a few times.&amp;nbsp;&lt;/P&gt;&lt;P&gt;It doesn't happen every time, but happens after a few tests.&lt;/P&gt;</description>
      <pubDate>Wed, 01 Dec 2021 07:33:00 GMT</pubDate>
      <guid>https://community.nxp.com/t5/MCUXpresso-IDE/GPIO-interrupt-of-RT1060/m-p/1379464#M7641</guid>
      <dc:creator>vikingyuan</dc:creator>
      <dc:date>2021-12-01T07:33:00Z</dc:date>
    </item>
    <item>
      <title>Re: GPIO interrupt of RT1060</title>
      <link>https://community.nxp.com/t5/MCUXpresso-IDE/GPIO-interrupt-of-RT1060/m-p/1379581#M7642</link>
      <description>&lt;P&gt;Hi,&lt;BR /&gt;Thanks for your reply.&lt;BR /&gt;Can you explain the below sentence, as I'm a bit confused?&lt;/P&gt;
&lt;P&gt;"&lt;SPAN&gt;but still the interrupt mask of GPIO1_IO21 is set after inputing the signal sequence as above a few times.&amp;nbsp;&lt;/SPAN&gt;"&lt;BR /&gt;Have a great day,&lt;BR /&gt;TIC&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&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;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 01 Dec 2021 09:59:12 GMT</pubDate>
      <guid>https://community.nxp.com/t5/MCUXpresso-IDE/GPIO-interrupt-of-RT1060/m-p/1379581#M7642</guid>
      <dc:creator>jeremyzhou</dc:creator>
      <dc:date>2021-12-01T09:59:12Z</dc:date>
    </item>
    <item>
      <title>Re: GPIO interrupt of RT1060</title>
      <link>https://community.nxp.com/t5/MCUXpresso-IDE/GPIO-interrupt-of-RT1060/m-p/1379589#M7643</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;&amp;nbsp; Sorry, which sentence is unclear?&lt;/P&gt;</description>
      <pubDate>Wed, 01 Dec 2021 09:36:15 GMT</pubDate>
      <guid>https://community.nxp.com/t5/MCUXpresso-IDE/GPIO-interrupt-of-RT1060/m-p/1379589#M7643</guid>
      <dc:creator>vikingyuan</dc:creator>
      <dc:date>2021-12-01T09:36:15Z</dc:date>
    </item>
  </channel>
</rss>

