<?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: Multiplex configured the GPIO_ AD0 as a normal GPIO  (RT1011) in i.MX RT Crossover MCUs</title>
    <link>https://community.nxp.com/t5/i-MX-RT-Crossover-MCUs/Multiplex-configured-the-GPIO-AD0-as-a-normal-GPIO-RT1011/m-p/1644247#M24882</link>
    <description>&lt;P&gt;Hi, Raul,&lt;/P&gt;&lt;P&gt;Thanks for the detailed explanation, this topic has been resolved.&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;Best regards!&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Thu, 04 May 2023 04:53:03 GMT</pubDate>
    <dc:creator>TOM888</dc:creator>
    <dc:date>2023-05-04T04:53:03Z</dc:date>
    <item>
      <title>Multiplex configured the GPIO_ AD0 as a normal GPIO  (RT1011)</title>
      <link>https://community.nxp.com/t5/i-MX-RT-Crossover-MCUs/Multiplex-configured-the-GPIO-AD0-as-a-normal-GPIO-RT1011/m-p/1642179#M24849</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;On the RT1011 chip, I want to multiplex configure the GPIO_ AD0 as a normal GPIO port to output the high or low electrical Level. Could you please provide me an example or some reference documents.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thanks.&lt;/P&gt;</description>
      <pubDate>Fri, 28 Apr 2023 10:10:20 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-RT-Crossover-MCUs/Multiplex-configured-the-GPIO-AD0-as-a-normal-GPIO-RT1011/m-p/1642179#M24849</guid>
      <dc:creator>TOM888</dc:creator>
      <dc:date>2023-04-28T10:10:20Z</dc:date>
    </item>
    <item>
      <title>Re: Multiplex configured the GPIO_ AD0 as a normal GPIO  (RT1011)</title>
      <link>https://community.nxp.com/t5/i-MX-RT-Crossover-MCUs/Multiplex-configured-the-GPIO-AD0-as-a-normal-GPIO-RT1011/m-p/1642426#M24851</link>
      <description>&lt;P class="lia-align-justify"&gt;Hello &lt;a href="https://community.nxp.com/t5/user/viewprofilepage/user-id/216251"&gt;@TOM888&lt;/a&gt;,&lt;/P&gt;
&lt;P class="lia-align-justify"&gt;You could choose the GPIO functionality like follows:&lt;/P&gt;
&lt;P class="lia-align-justify"&gt;&lt;U&gt;MCUXpresso IDE ConfigTools (MCUXpresso ConfigTools)&lt;/U&gt;&lt;/P&gt;
&lt;UL&gt;
&lt;LI&gt;First, import an SDK example or create a new project.&lt;/LI&gt;
&lt;LI&gt;Second, go to Pins view in ConfigTools&lt;/LI&gt;
&lt;/UL&gt;
&lt;P class="lia-align-justify"&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="RaulRomero_0-1682709489901.png" style="width: 400px;"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/221277i4116C3FF2D8270D8/image-size/medium?v=v2&amp;amp;px=400" role="button" title="RaulRomero_0-1682709489901.png" alt="RaulRomero_0-1682709489901.png" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;UL&gt;
&lt;LI class="lia-align-justify"&gt;Then, choose the project you are working with.&lt;/LI&gt;
&lt;/UL&gt;
&lt;P class="lia-align-justify"&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="RaulRomero_1-1682709489903.png" style="width: 400px;"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/221278i98C049B016D3880F/image-size/medium?v=v2&amp;amp;px=400" role="button" title="RaulRomero_1-1682709489903.png" alt="RaulRomero_1-1682709489903.png" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;UL&gt;
&lt;LI class="lia-align-justify"&gt;After that, search for GPIO_AD0's pins&lt;/LI&gt;
&lt;/UL&gt;
&lt;P class="lia-align-justify"&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="RaulRomero_2-1682709489905.png" style="width: 400px;"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/221279i6F84A5F4F0ADE668/image-size/medium?v=v2&amp;amp;px=400" role="button" title="RaulRomero_2-1682709489905.png" alt="RaulRomero_2-1682709489905.png" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;UL&gt;
&lt;LI class="lia-align-justify"&gt;Next, select the pins one by one and choose the pin functionality you want to use.&lt;/LI&gt;
&lt;/UL&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="RaulRomero_3-1682709489911.png" style="width: 400px;"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/221280i790C90DE393D7587/image-size/medium?v=v2&amp;amp;px=400" role="button" title="RaulRomero_3-1682709489911.png" alt="RaulRomero_3-1682709489911.png" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P class="lia-align-justify"&gt;Note: You could modify some pin's characteristics in Routing Details&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="RaulRomero_4-1682709489915.png" style="width: 400px;"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/221281iD3F5FB8813112C95/image-size/medium?v=v2&amp;amp;px=400" role="button" title="RaulRomero_4-1682709489915.png" alt="RaulRomero_4-1682709489915.png" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;UL&gt;
&lt;LI class="lia-align-justify"&gt;Finally, update your code and go back to your workspace.&lt;/LI&gt;
&lt;/UL&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="RaulRomero_5-1682709489917.png" style="width: 400px;"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/221282i49D56B2D1226709B/image-size/medium?v=v2&amp;amp;px=400" role="button" title="RaulRomero_5-1682709489917.png" alt="RaulRomero_5-1682709489917.png" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="RaulRomero_6-1682709489918.png" style="width: 400px;"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/221283i14858F0DBF484068/image-size/medium?v=v2&amp;amp;px=400" role="button" title="RaulRomero_6-1682709489918.png" alt="RaulRomero_6-1682709489918.png" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;&lt;U&gt;MCUXpresso IDE (Code)&lt;/U&gt;&lt;/P&gt;
&lt;P class="lia-align-justify"&gt;You could change or choose the functionality of each one of the GPIO_AD0 pins changing the IOMUXC and GPIO registers. In the following example, we show you how to write the GPIO_AD0_9 to GPIO1: GPIOMUX_IO23 as &lt;EM&gt;Output&lt;/EM&gt;:&lt;/P&gt;
&lt;P class="lia-align-justify"&gt;&lt;EM&gt;pin_mux.c&lt;/EM&gt;&lt;/P&gt;
&lt;LI-CODE lang="markup"&gt;/* GPIO configuration of ADC12_4 on GPIO_AD_09 (pin 48) */
 gpio_pin_config_t ADC12_4_config = {
     .direction = kGPIO_DigitalOutput,
     .outputLogic = 0U,
     .interruptMode = kGPIO_NoIntmode
};

/* Initialize GPIO functionality on GPIO_AD_09 (pin 48) */
GPIO_PinInit(GPIO1, 23U, &amp;amp;ADC12_4_config);

IOMUXC_SetPinMux(IOMUXC_GPIO_AD_09_GPIOMUX_IO23, 0U);
IOMUXC_GPR-&amp;gt;GPR26 = ((IOMUXC_GPR-&amp;gt;GPR26 &amp;amp; (~(BOARD_INITPINS_IOMUXC_GPR_GPR26_GPIO_SEL_MASK))) | IOMUXC_GPR_GPR26_GPIO_SEL(0x00U));&lt;/LI-CODE&gt;
&lt;P class="lia-align-justify"&gt;&lt;EM&gt;pin_mux.h&lt;/EM&gt;&lt;/P&gt;
&lt;LI-CODE lang="markup"&gt;#define BOARD_INITPINS_IOMUXC_GPR_GPR26_GPIO_SEL_MASK 0x800000U /*!&amp;lt; Select GPIO1 or GPIO2: affected bits mask */

/* GPIO_AD_09 (number 48), ADC12_4/JTAG_TDO/J55[6]/J26[4] */
/* Routed pin properties */
#define BOARD_INITPINS_ADC12_4_PERIPHERAL    GPIO1   /*!&amp;lt; Peripheral name */
#define BOARD_INITPINS_ADC12_4_SIGNAL       gpiomux_io   /*!&amp;lt; Signal name */
#define BOARD_INITPINS_ADC12_4_CHANNEL          23U   /*!&amp;lt; Signal channel */

&lt;/LI-CODE&gt;
&lt;P class="lia-align-justify"&gt;Let us know if this helps you.&lt;/P&gt;
&lt;P class="lia-align-justify"&gt;Best regards, Raul.&lt;/P&gt;</description>
      <pubDate>Fri, 28 Apr 2023 19:26:37 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-RT-Crossover-MCUs/Multiplex-configured-the-GPIO-AD0-as-a-normal-GPIO-RT1011/m-p/1642426#M24851</guid>
      <dc:creator>RaRo</dc:creator>
      <dc:date>2023-04-28T19:26:37Z</dc:date>
    </item>
    <item>
      <title>Re: Multiplex configured the GPIO_ AD0 as a normal GPIO  (RT1011)</title>
      <link>https://community.nxp.com/t5/i-MX-RT-Crossover-MCUs/Multiplex-configured-the-GPIO-AD0-as-a-normal-GPIO-RT1011/m-p/1644247#M24882</link>
      <description>&lt;P&gt;Hi, Raul,&lt;/P&gt;&lt;P&gt;Thanks for the detailed explanation, this topic has been resolved.&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;Best regards!&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Thu, 04 May 2023 04:53:03 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-RT-Crossover-MCUs/Multiplex-configured-the-GPIO-AD0-as-a-normal-GPIO-RT1011/m-p/1644247#M24882</guid>
      <dc:creator>TOM888</dc:creator>
      <dc:date>2023-05-04T04:53:03Z</dc:date>
    </item>
  </channel>
</rss>

