<?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: RT1050 Cortex M7 Pin Configuration Internal Pull Up/Down Help in i.MX RT Crossover MCUs</title>
    <link>https://community.nxp.com/t5/i-MX-RT-Crossover-MCUs/RT1050-Cortex-M7-Pin-Configuration-Internal-Pull-Up-Down-Help/m-p/1287743#M14550</link>
    <description>&lt;P&gt;Hello,&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;STRONG&gt;How can I configure the pin as an input and have an internal pull-up resistor?&lt;/STRONG&gt;&lt;/P&gt;
&lt;P&gt;You need to make the proper configurations in the IOMUXC_SW_PAD_CTL register of the desired pin. Let's say that you want to configure pin GPIO_B0_09. For this, you need to modify the register IOMUXC_SW_PAD_CTL_PAD_GPIO_B0_09. Besides setting the corresponding value in the PUS bits, you also need to set the PUE and PKE bit to 1.&lt;/P&gt;
&lt;P&gt;You also need to verify that you select the correct MUX_MODE in register&amp;nbsp;IOMUXC_SW_MUX_CTL_PAD.&lt;/P&gt;
&lt;P&gt;&lt;STRONG&gt;If the pin is set up with an internal pull-up and I probe that pin, will I see it as high? And low when pulled down?&lt;/STRONG&gt;&lt;/P&gt;
&lt;P&gt;Yes.&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Regards,&lt;BR /&gt;Victor&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Fri, 04 Jun 2021 21:18:35 GMT</pubDate>
    <dc:creator>victorjimenez</dc:creator>
    <dc:date>2021-06-04T21:18:35Z</dc:date>
    <item>
      <title>RT1050 Cortex M7 Pin Configuration Internal Pull Up/Down Help</title>
      <link>https://community.nxp.com/t5/i-MX-RT-Crossover-MCUs/RT1050-Cortex-M7-Pin-Configuration-Internal-Pull-Up-Down-Help/m-p/1286342#M14514</link>
      <description>&lt;P&gt;Hello,&lt;/P&gt;&lt;P&gt;I will have an open processor pin on my custom board. This pin will be an input and I want to configure it to have an internal pull up resistor to avoid leaving it floating.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I set the pin as in input in the pinmux.c using the following code:&lt;/P&gt;&lt;P&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;gpio_pin_config_t sw_config = {kGPIO_DigitalInput, 0, kGPIO_NoIntmode};&lt;/P&gt;&lt;P&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;GPIO_PinInit(GPIO2, 05, &amp;amp;sw_config);&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Then I tried to adjust the IOMUXC, but I did not see any changes when probing the pin:&lt;/P&gt;&lt;P&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; #define IOMUXC_GPIO_B0_05_GPIO2_IO05 0x401F8150U, 0x5U, 0, 0, 0x401F8340U&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;OL&gt;&lt;LI&gt;How can I configure the pin as an input and have an internal pull up resistor?&lt;/LI&gt;&lt;LI&gt;If the pin is set up with an internal pull up and I probe that pin, will I see it as high? And low when pulled down?&lt;/LI&gt;&lt;/OL&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 02 Jun 2021 20:46:26 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-RT-Crossover-MCUs/RT1050-Cortex-M7-Pin-Configuration-Internal-Pull-Up-Down-Help/m-p/1286342#M14514</guid>
      <dc:creator>kamal1</dc:creator>
      <dc:date>2021-06-02T20:46:26Z</dc:date>
    </item>
    <item>
      <title>Re: RT1050 Cortex M7 Pin Configuration Internal Pull Up/Down Help</title>
      <link>https://community.nxp.com/t5/i-MX-RT-Crossover-MCUs/RT1050-Cortex-M7-Pin-Configuration-Internal-Pull-Up-Down-Help/m-p/1287743#M14550</link>
      <description>&lt;P&gt;Hello,&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;STRONG&gt;How can I configure the pin as an input and have an internal pull-up resistor?&lt;/STRONG&gt;&lt;/P&gt;
&lt;P&gt;You need to make the proper configurations in the IOMUXC_SW_PAD_CTL register of the desired pin. Let's say that you want to configure pin GPIO_B0_09. For this, you need to modify the register IOMUXC_SW_PAD_CTL_PAD_GPIO_B0_09. Besides setting the corresponding value in the PUS bits, you also need to set the PUE and PKE bit to 1.&lt;/P&gt;
&lt;P&gt;You also need to verify that you select the correct MUX_MODE in register&amp;nbsp;IOMUXC_SW_MUX_CTL_PAD.&lt;/P&gt;
&lt;P&gt;&lt;STRONG&gt;If the pin is set up with an internal pull-up and I probe that pin, will I see it as high? And low when pulled down?&lt;/STRONG&gt;&lt;/P&gt;
&lt;P&gt;Yes.&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Regards,&lt;BR /&gt;Victor&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Fri, 04 Jun 2021 21:18:35 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-RT-Crossover-MCUs/RT1050-Cortex-M7-Pin-Configuration-Internal-Pull-Up-Down-Help/m-p/1287743#M14550</guid>
      <dc:creator>victorjimenez</dc:creator>
      <dc:date>2021-06-04T21:18:35Z</dc:date>
    </item>
  </channel>
</rss>

