<?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 init issue in i.MX RT Crossover MCUs</title>
    <link>https://community.nxp.com/t5/i-MX-RT-Crossover-MCUs/GPIO-init-issue/m-p/1002482#M6123</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Yes the GPIO3 Clock is enabled. I have other GPIOs on port3 that are toggling fine.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Wed, 29 Jan 2020 02:04:48 GMT</pubDate>
    <dc:creator>farid_mabrouk</dc:creator>
    <dc:date>2020-01-29T02:04:48Z</dc:date>
    <item>
      <title>GPIO init issue</title>
      <link>https://community.nxp.com/t5/i-MX-RT-Crossover-MCUs/GPIO-init-issue/m-p/1002479#M6120</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I found out that adding the line if code below to this function &lt;STRONG&gt;BOARD_InitPins()&lt;/STRONG&gt;, makes my program fail. And while I try to debug I get this error message: please see attached.&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;&amp;nbsp;&amp;nbsp; &lt;STRONG&gt;&amp;nbsp;&amp;nbsp; IOMUXC_SetPinMux(&lt;/STRONG&gt;&lt;BR /&gt;&lt;STRONG&gt;&amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; IOMUXC_GPIO_EMC_39_GPIO8_IO25,&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; /* GPIO_EMC_39 is configured as GPIO3_IO25 */&lt;/STRONG&gt;&lt;BR /&gt;&lt;STRONG&gt;&amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 0U);&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Any clue why this is happening? &lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sat, 25 Jan 2020 02:24:54 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-RT-Crossover-MCUs/GPIO-init-issue/m-p/1002479#M6120</guid>
      <dc:creator>farid_mabrouk</dc:creator>
      <dc:date>2020-01-25T02:24:54Z</dc:date>
    </item>
    <item>
      <title>Re: GPIO init issue</title>
      <link>https://community.nxp.com/t5/i-MX-RT-Crossover-MCUs/GPIO-init-issue/m-p/1002480#M6121</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Can anybody comment? Thank you!&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 28 Jan 2020 06:31:14 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-RT-Crossover-MCUs/GPIO-init-issue/m-p/1002480#M6121</guid>
      <dc:creator>farid_mabrouk</dc:creator>
      <dc:date>2020-01-28T06:31:14Z</dc:date>
    </item>
    <item>
      <title>Re: GPIO init issue</title>
      <link>https://community.nxp.com/t5/i-MX-RT-Crossover-MCUs/GPIO-init-issue/m-p/1002481#M6122</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Have you enabled clocks to GPIO3 (in CCM_CCGR2)?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Mark&lt;/P&gt;&lt;P&gt;&lt;EM&gt;[uTasker project developer for Kinetis and i.MX RT]&lt;/EM&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 28 Jan 2020 20:28:05 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-RT-Crossover-MCUs/GPIO-init-issue/m-p/1002481#M6122</guid>
      <dc:creator>mjbcswitzerland</dc:creator>
      <dc:date>2020-01-28T20:28:05Z</dc:date>
    </item>
    <item>
      <title>Re: GPIO init issue</title>
      <link>https://community.nxp.com/t5/i-MX-RT-Crossover-MCUs/GPIO-init-issue/m-p/1002482#M6123</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Yes the GPIO3 Clock is enabled. I have other GPIOs on port3 that are toggling fine.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 29 Jan 2020 02:04:48 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-RT-Crossover-MCUs/GPIO-init-issue/m-p/1002482#M6123</guid>
      <dc:creator>farid_mabrouk</dc:creator>
      <dc:date>2020-01-29T02:04:48Z</dc:date>
    </item>
    <item>
      <title>Re: GPIO init issue</title>
      <link>https://community.nxp.com/t5/i-MX-RT-Crossover-MCUs/GPIO-init-issue/m-p/1002483#M6124</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Andre,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Looks like you are using the incorrect macro. Please use &lt;STRONG&gt;IOMUXC_GPIO_EMC_39_GPIO3_IO25&lt;/STRONG&gt; instead of &lt;STRONG&gt;IOMUXC_GPIO_EMC_39_GPIO8_IO25&lt;/STRONG&gt;.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Best regards,&lt;/P&gt;&lt;P&gt;Felipe&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 04 Feb 2020 22:54:04 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-RT-Crossover-MCUs/GPIO-init-issue/m-p/1002483#M6124</guid>
      <dc:creator>FelipeGarcia</dc:creator>
      <dc:date>2020-02-04T22:54:04Z</dc:date>
    </item>
    <item>
      <title>Re: GPIO init issue</title>
      <link>https://community.nxp.com/t5/i-MX-RT-Crossover-MCUs/GPIO-init-issue/m-p/1002484#M6125</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thank you for your reply. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I tried adding the line of my code below again to my project and still makes me get the same error as I did before: &lt;/P&gt;&lt;P&gt;&lt;STRONG&gt; IOMUXC_SetPinMux(&lt;/STRONG&gt;&lt;BR /&gt;&lt;STRONG&gt;&amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; IOMUXC_GPIO_EMC_39_GPIO3_IO25,&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; /* GPIO_EMC_39 is configured as GPIO3_IO25 */&lt;/STRONG&gt;&lt;BR /&gt;&lt;STRONG&gt;&amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 0U);&lt;/STRONG&gt;&lt;/P&gt;&lt;P style="min-height: 8pt; padding: 0px;"&gt;&amp;nbsp;I tried adding this line of code also to all the sample projects that comes with the MCUXpresso, and they still fail giving me the same error. The only thing I am doing different here is that I am booting from the SDRAM and that pin is not used in my SDRAM interface. &lt;/P&gt;&lt;P style="min-height: 8pt; padding: 0px;"&gt;&lt;/P&gt;&lt;P style="min-height: 8pt; padding: 0px;"&gt;Can anyone try to run any example code, and add the above line of code to the &amp;nbsp;BOARD_InitPins() function, and also try booting from SDRAM and see if you get same error as mine.&lt;/P&gt;&lt;P style="min-height: 8pt; padding: 0px;"&gt;&lt;/P&gt;&lt;P style="min-height: 8pt; padding: 0px;"&gt;Thank you!&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 06 Feb 2020 07:26:24 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-RT-Crossover-MCUs/GPIO-init-issue/m-p/1002484#M6125</guid>
      <dc:creator>farid_mabrouk</dc:creator>
      <dc:date>2020-02-06T07:26:24Z</dc:date>
    </item>
    <item>
      <title>Re: GPIO init issue</title>
      <link>https://community.nxp.com/t5/i-MX-RT-Crossover-MCUs/GPIO-init-issue/m-p/1002485#M6126</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello Andre,&lt;/P&gt;&lt;P&gt;are you using the SDRAM configuration?&lt;/P&gt;&lt;P&gt;If I run the hello world project from internal RAM (in EWARM it's the debug configuration) everything works fine. If I switch to the sdram_debug configuration first I get the error message&lt;/P&gt;&lt;BLOCKQUOTE class="jive_macro_quote jive-quote jive_text_macro"&gt;An MPU or Execute Never (XN) default memory map access violation has occurred on an instruction fetch (CFSR.IACCVIOL, MMFAR).&lt;/BLOCKQUOTE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I don't know which project and board you are using I just tried the hello world project for RT1050. I imported the&amp;nbsp;evkbimxrt1050_sdram_ini_dcd.c file to MCUXpresso Config tools. If you take a look at the Device Configuration Data the GPIO_EMC_39 gets initialized&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/102263iEED1C54A69C6D744/image-size/large?v=v2&amp;amp;px=999" title="pastedImage_3.png" alt="pastedImage_3.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;so maybe the SEMC controller needs the EMC_39 (in MCUXpresso Config Pins Tool the label is&amp;nbsp;SEMC_DQS). Maybe that is your problem?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Kind regards,&lt;/P&gt;&lt;P&gt;Stefan&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 06 Feb 2020 11:08:18 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-RT-Crossover-MCUs/GPIO-init-issue/m-p/1002485#M6126</guid>
      <dc:creator>imxrtuser</dc:creator>
      <dc:date>2020-02-06T11:08:18Z</dc:date>
    </item>
    <item>
      <title>Re: GPIO init issue</title>
      <link>https://community.nxp.com/t5/i-MX-RT-Crossover-MCUs/GPIO-init-issue/m-p/1002486#M6127</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I am using iMX RT1060. I just don't see that pin connected anywhere in my schematics to SDRAM. It configured to be an output GPIO. Anyone tech support comments? &lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 06 Feb 2020 17:49:29 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-RT-Crossover-MCUs/GPIO-init-issue/m-p/1002486#M6127</guid>
      <dc:creator>farid_mabrouk</dc:creator>
      <dc:date>2020-02-06T17:49:29Z</dc:date>
    </item>
    <item>
      <title>Re: GPIO init issue</title>
      <link>https://community.nxp.com/t5/i-MX-RT-Crossover-MCUs/GPIO-init-issue/m-p/1002487#M6128</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Did you initialize GPIO using &lt;STRONG&gt;GPIO_PinInit&lt;/STRONG&gt;?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Felipe&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 13 Feb 2020 16:26:25 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-RT-Crossover-MCUs/GPIO-init-issue/m-p/1002487#M6128</guid>
      <dc:creator>FelipeGarcia</dc:creator>
      <dc:date>2020-02-13T16:26:25Z</dc:date>
    </item>
  </channel>
</rss>

