<?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: GPIO Interrupt error in i.MX Processors</title>
    <link>https://community.nxp.com/t5/i-MX-Processors/GPIO-Interrupt-error/m-p/1362770#M182226</link>
    <description>&lt;P&gt;Hi Prady&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;for gpio interrupt example one can look at&amp;nbsp; ../demo_apps/blinking_imx_demo/gpio_ctrl.c&lt;/P&gt;
&lt;UL style="box-sizing: border-box; margin-top: 0.5em; margin-bottom: 0px; padding: 0px; list-style-type: none; color: #64798a; font-family: Arial, sans-serif; font-size: 16px; font-style: normal; font-variant-ligatures: normal; font-variant-caps: normal; font-weight: 400; letter-spacing: normal; orphans: 2; text-align: left; text-indent: 0px; text-transform: none; white-space: normal; widows: 2; word-spacing: 0px; -webkit-text-stroke-width: 0px; background-color: #f6f7f8; text-decoration-style: initial; text-decoration-color: initial;"&gt;
&lt;LI style="box-sizing: border-box; margin-bottom: 0.5em; position: relative; padding: 5px 5px 5px 25px;"&gt;&lt;A class="" style="box-sizing: border-box; background-color: transparent; color: #215bd6; text-decoration: none; cursor: pointer;" href="https://www.nxp.com/webapp/Download?colCode=FreeRTOS_iMX7D_1.0.1_WIN&amp;amp;appType=license&amp;amp;location=null" target="_blank"&gt;Windows Installer: i.MX 7Dual/Solo FreeRTOS BSP for Cortex-M4&lt;/A&gt;&lt;/LI&gt;
&lt;/UL&gt;
&lt;P&gt;Pay attention to function NVIC_EnableIRQ(BOARD_GPIO_KEY_IRQ_NUM),&lt;BR /&gt;BOARD_GPIO_KEY_IRQ_NUM can be found in board.h.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Best regards&lt;BR /&gt;igor&lt;/P&gt;</description>
    <pubDate>Wed, 27 Oct 2021 23:28:17 GMT</pubDate>
    <dc:creator>igorpadykov</dc:creator>
    <dc:date>2021-10-27T23:28:17Z</dc:date>
    <item>
      <title>GPIO Interrupt error</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/GPIO-Interrupt-error/m-p/1362338#M182196</link>
      <description>&lt;P&gt;Hi Community,&amp;nbsp;&lt;/P&gt;&lt;P&gt;Am working on imx7 dual board. Am having problem with configuring GPIO falling edge interrupt. Could someone help me with this problem?&lt;BR /&gt;Am using this for FreeRTOS&lt;BR /&gt;Here is my configuration.&amp;nbsp;&lt;BR /&gt;1. pins.c - in this file, I have configured GPIO 63 in alt 5 mode.&amp;nbsp;&lt;/P&gt;&lt;P&gt;gpio_config_t gpio_Unknown1 = {&lt;BR /&gt;"SODIMM 63", /* name */&lt;BR /&gt;&amp;amp;IOMUXC_SW_MUX_CTL_PAD_ENET1_RGMII_RD2, /* muxReg */&lt;BR /&gt;5, /* muxConfig */&lt;BR /&gt;&amp;amp;IOMUXC_SW_PAD_CTL_PAD_ENET1_RGMII_RD2, /* padReg */&lt;BR /&gt;IOMUXC_SW_PAD_CTL_PAD_ENET1_RGMII_RD2_PS(2) | /* padConfig */&lt;BR /&gt;IOMUXC_SW_PAD_CTL_PAD_ENET1_RGMII_RD2_PE_MASK |&lt;BR /&gt;IOMUXC_SW_PAD_CTL_PAD_ENET1_RGMII_RD2_HYS_MASK,&lt;BR /&gt;GPIO7, /* base */&lt;BR /&gt;2&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;2. in board.h - I have added these lines - GPIO_Unknown1 is my config for port 63&lt;/P&gt;&lt;P&gt;#define BOARD_GPIO_UNKNOWN1_RDC_PDAP rdcPdapGpio7&lt;BR /&gt;#define BOARD_GPIO_UNKNOWN1_CONFIG (&amp;amp;gpio_Unknown1)&lt;BR /&gt;#define BOARD_GPIO_UNKNOWN1_IRQ GPIO7_INT15_0_IRQn&lt;BR /&gt;#define BOARD_GPIO_UNKNOWN1_HANDLER GPIO7_INT15_0_Handler&lt;/P&gt;&lt;P&gt;3. and in main.c am trying to toggle other port.&amp;nbsp;&lt;/P&gt;&lt;P&gt;int readpin63;&lt;BR /&gt;readpin63 = GPIO_ReadPinInput(gpio_Unknown1.base, gpio_Unknown1.pin);&lt;BR /&gt;&lt;BR /&gt;if (readpin63)&lt;BR /&gt;{&lt;BR /&gt;GPIO_WritePinOutput(gpio_Unknown2.base, gpio_Unknown2.pin, 1);&lt;BR /&gt;vTaskDelay(blinkingInterval);&lt;BR /&gt;GPIO_WritePinOutput(gpio_Unknown2.base, gpio_Unknown2.pin, 0);&lt;BR /&gt;vTaskDelay(blinkingInterval);&lt;/P&gt;&lt;P&gt;Am I missing something or the way am doing is wrong?&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 27 Oct 2021 09:34:54 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/GPIO-Interrupt-error/m-p/1362338#M182196</guid>
      <dc:creator>prady7</dc:creator>
      <dc:date>2021-10-27T09:34:54Z</dc:date>
    </item>
    <item>
      <title>Re: GPIO Interrupt error</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/GPIO-Interrupt-error/m-p/1362770#M182226</link>
      <description>&lt;P&gt;Hi Prady&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;for gpio interrupt example one can look at&amp;nbsp; ../demo_apps/blinking_imx_demo/gpio_ctrl.c&lt;/P&gt;
&lt;UL style="box-sizing: border-box; margin-top: 0.5em; margin-bottom: 0px; padding: 0px; list-style-type: none; color: #64798a; font-family: Arial, sans-serif; font-size: 16px; font-style: normal; font-variant-ligatures: normal; font-variant-caps: normal; font-weight: 400; letter-spacing: normal; orphans: 2; text-align: left; text-indent: 0px; text-transform: none; white-space: normal; widows: 2; word-spacing: 0px; -webkit-text-stroke-width: 0px; background-color: #f6f7f8; text-decoration-style: initial; text-decoration-color: initial;"&gt;
&lt;LI style="box-sizing: border-box; margin-bottom: 0.5em; position: relative; padding: 5px 5px 5px 25px;"&gt;&lt;A class="" style="box-sizing: border-box; background-color: transparent; color: #215bd6; text-decoration: none; cursor: pointer;" href="https://www.nxp.com/webapp/Download?colCode=FreeRTOS_iMX7D_1.0.1_WIN&amp;amp;appType=license&amp;amp;location=null" target="_blank"&gt;Windows Installer: i.MX 7Dual/Solo FreeRTOS BSP for Cortex-M4&lt;/A&gt;&lt;/LI&gt;
&lt;/UL&gt;
&lt;P&gt;Pay attention to function NVIC_EnableIRQ(BOARD_GPIO_KEY_IRQ_NUM),&lt;BR /&gt;BOARD_GPIO_KEY_IRQ_NUM can be found in board.h.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Best regards&lt;BR /&gt;igor&lt;/P&gt;</description>
      <pubDate>Wed, 27 Oct 2021 23:28:17 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/GPIO-Interrupt-error/m-p/1362770#M182226</guid>
      <dc:creator>igorpadykov</dc:creator>
      <dc:date>2021-10-27T23:28:17Z</dc:date>
    </item>
  </channel>
</rss>

