<?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>i.MX Processors中的主题 IM8MM: Need help for GPIO control</title>
    <link>https://community.nxp.com/t5/i-MX-Processors/IM8MM-Need-help-for-GPIO-control/m-p/1751268#M215142</link>
    <description>&lt;P&gt;Hi Expert!&lt;/P&gt;&lt;P&gt;&lt;FONT face="georgia,palatino"&gt;We are using IMX8-mini device.&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&lt;FONT face="georgia,palatino"&gt;We are dealing with GPIO pins control. &lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;On IMX8mini has gpio's that gpio5-8 and gpio5-9 pins.&lt;/P&gt;&lt;P&gt;We are trying to control that pins using command input. When we do &lt;EM&gt;&lt;STRONG&gt;gpioset -c gpiochip5 8=0&lt;/STRONG&gt;&lt;/EM&gt; then status was not changing for that. Observed on &lt;EM&gt;&lt;STRONG&gt;gpioinfo &lt;/STRONG&gt;&lt;/EM&gt;status was not changed.&lt;/P&gt;&lt;P&gt;Used commands:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;LI-SPOILER&gt;&lt;P&gt;&lt;FONT face="book antiqua,palatino"&gt;&lt;EM&gt;gpioset -c gpiochip5 8=0&lt;/EM&gt;&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&lt;FONT face="book antiqua,palatino"&gt;&lt;EM&gt;gpioset -c gpiochip5 9=0&lt;/EM&gt;&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&lt;FONT face="book antiqua,palatino"&gt;&lt;EM&gt;gpioset -c gpiochip5 9=1&lt;/EM&gt;&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;&lt;FONT face="book antiqua,palatino"&gt;gpioset -c gpiochip5 8=1&lt;BR /&gt;&lt;BR /&gt;&lt;/FONT&gt;&lt;/EM&gt;&lt;FONT face="book antiqua,palatino"&gt;&lt;FONT face="georgia,palatino"&gt;this above commands are used for gpio testing. also did activelow option using -l&lt;/FONT&gt;&lt;/FONT&gt;&lt;FONT face="book antiqua,palatino"&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;/FONT&gt;&lt;FONT face="georgia,palatino"&gt;&lt;FONT face="book antiqua, palatino"&gt;When we observed on multimeter that value of&amp;nbsp; supply voltage not changing. Supply voltage not changing means state are not working properly right?&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT face="book antiqua, palatino"&gt;Is there any option is there for to control gpio ? or &lt;/FONT&gt;anything&lt;FONT face="book antiqua, palatino"&gt;&amp;nbsp;we missed in process to test control ?&lt;/FONT&gt;&lt;BR /&gt;&lt;BR /&gt;When we used below command it was changed status.&lt;BR /&gt;&lt;BR /&gt;&lt;FONT face="mingliu,biaukai"&gt;&lt;EM&gt;gpioset -c gpiochip5 -l 8=0&amp;nbsp;&lt;/EM&gt;&lt;/FONT&gt;&lt;BR /&gt;&lt;BR /&gt;above command was terminated automatically we need to terminate is that right behavior?&lt;BR /&gt;Please share exact procedure for nxp chipset mini8mp gpio control test.&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;Thanks,&lt;BR /&gt;&lt;BR /&gt;Suraj.&lt;BR /&gt;&lt;BR /&gt;&lt;/FONT&gt;&lt;EM&gt;&lt;FONT face="book antiqua,palatino"&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;/FONT&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;/EM&gt;&lt;/P&gt;&lt;/LI-SPOILER&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Thu, 02 Nov 2023 15:49:32 GMT</pubDate>
    <dc:creator>Suraj714</dc:creator>
    <dc:date>2023-11-02T15:49:32Z</dc:date>
    <item>
      <title>IM8MM: Need help for GPIO control</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/IM8MM-Need-help-for-GPIO-control/m-p/1751268#M215142</link>
      <description>&lt;P&gt;Hi Expert!&lt;/P&gt;&lt;P&gt;&lt;FONT face="georgia,palatino"&gt;We are using IMX8-mini device.&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&lt;FONT face="georgia,palatino"&gt;We are dealing with GPIO pins control. &lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;On IMX8mini has gpio's that gpio5-8 and gpio5-9 pins.&lt;/P&gt;&lt;P&gt;We are trying to control that pins using command input. When we do &lt;EM&gt;&lt;STRONG&gt;gpioset -c gpiochip5 8=0&lt;/STRONG&gt;&lt;/EM&gt; then status was not changing for that. Observed on &lt;EM&gt;&lt;STRONG&gt;gpioinfo &lt;/STRONG&gt;&lt;/EM&gt;status was not changed.&lt;/P&gt;&lt;P&gt;Used commands:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;LI-SPOILER&gt;&lt;P&gt;&lt;FONT face="book antiqua,palatino"&gt;&lt;EM&gt;gpioset -c gpiochip5 8=0&lt;/EM&gt;&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&lt;FONT face="book antiqua,palatino"&gt;&lt;EM&gt;gpioset -c gpiochip5 9=0&lt;/EM&gt;&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&lt;FONT face="book antiqua,palatino"&gt;&lt;EM&gt;gpioset -c gpiochip5 9=1&lt;/EM&gt;&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;&lt;FONT face="book antiqua,palatino"&gt;gpioset -c gpiochip5 8=1&lt;BR /&gt;&lt;BR /&gt;&lt;/FONT&gt;&lt;/EM&gt;&lt;FONT face="book antiqua,palatino"&gt;&lt;FONT face="georgia,palatino"&gt;this above commands are used for gpio testing. also did activelow option using -l&lt;/FONT&gt;&lt;/FONT&gt;&lt;FONT face="book antiqua,palatino"&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;/FONT&gt;&lt;FONT face="georgia,palatino"&gt;&lt;FONT face="book antiqua, palatino"&gt;When we observed on multimeter that value of&amp;nbsp; supply voltage not changing. Supply voltage not changing means state are not working properly right?&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT face="book antiqua, palatino"&gt;Is there any option is there for to control gpio ? or &lt;/FONT&gt;anything&lt;FONT face="book antiqua, palatino"&gt;&amp;nbsp;we missed in process to test control ?&lt;/FONT&gt;&lt;BR /&gt;&lt;BR /&gt;When we used below command it was changed status.&lt;BR /&gt;&lt;BR /&gt;&lt;FONT face="mingliu,biaukai"&gt;&lt;EM&gt;gpioset -c gpiochip5 -l 8=0&amp;nbsp;&lt;/EM&gt;&lt;/FONT&gt;&lt;BR /&gt;&lt;BR /&gt;above command was terminated automatically we need to terminate is that right behavior?&lt;BR /&gt;Please share exact procedure for nxp chipset mini8mp gpio control test.&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;Thanks,&lt;BR /&gt;&lt;BR /&gt;Suraj.&lt;BR /&gt;&lt;BR /&gt;&lt;/FONT&gt;&lt;EM&gt;&lt;FONT face="book antiqua,palatino"&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;/FONT&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;/EM&gt;&lt;/P&gt;&lt;/LI-SPOILER&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Thu, 02 Nov 2023 15:49:32 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/IM8MM-Need-help-for-GPIO-control/m-p/1751268#M215142</guid>
      <dc:creator>Suraj714</dc:creator>
      <dc:date>2023-11-02T15:49:32Z</dc:date>
    </item>
    <item>
      <title>Re: IM8MM: Need help for GPIO control</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/IM8MM-Need-help-for-GPIO-control/m-p/1752186#M215234</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt;
&lt;P&gt;Thank you for your interest in NXP Semiconductor products,&lt;/P&gt;
&lt;P&gt;Did you add the GPIOs to the device tree and recompiled again? Could you share your device tree?&lt;/P&gt;
&lt;P&gt;Regards&lt;/P&gt;</description>
      <pubDate>Fri, 03 Nov 2023 21:27:33 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/IM8MM-Need-help-for-GPIO-control/m-p/1752186#M215234</guid>
      <dc:creator>JosephAtNXP</dc:creator>
      <dc:date>2023-11-03T21:27:33Z</dc:date>
    </item>
    <item>
      <title>Re: IM8MM: Need help for GPIO control</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/IM8MM-Need-help-for-GPIO-control/m-p/1752317#M215245</link>
      <description>&lt;P&gt;Use&lt;STRONG&gt; --mode=wait&lt;/STRONG&gt; with gpioset commands. Because, gpioset allocates the gpio line and drives it only until it exits. Then the line is deallocated an returns to its defalt state.&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Sat, 04 Nov 2023 23:49:53 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/IM8MM-Need-help-for-GPIO-control/m-p/1752317#M215245</guid>
      <dc:creator>ddbug</dc:creator>
      <dc:date>2023-11-04T23:49:53Z</dc:date>
    </item>
    <item>
      <title>Re: IM8MM: Need help for GPIO control</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/IM8MM-Need-help-for-GPIO-control/m-p/1753653#M215388</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt;
&lt;P&gt;I don't see any DTS attached, you have to change it because they are UART3 flow control.&lt;/P&gt;
&lt;P style="margin: 0in; font-family: Arial; font-size: 12.0pt;"&gt;Which are used in EVK as UART flow control signals mapped to J1003.&lt;/P&gt;
&lt;P style="margin: 0in; font-family: Arial; font-size: 12.0pt;"&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="josephlinares_3-1699379866422.png" style="width: 999px;"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/248847i4B68E4272F7D1E82/image-size/large?v=v2&amp;amp;px=999" role="button" title="josephlinares_3-1699379866422.png" alt="josephlinares_3-1699379866422.png" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P style="margin: 0in; font-family: Arial; font-size: 12.0pt;"&gt;In dtsi, they are used as UART 3 pins.&lt;/P&gt;
&lt;P style="margin: 0in; line-height: 14pt; font-family: Arial; font-size: 12.0pt;"&gt;&amp;nbsp;&lt;/P&gt;
&lt;LI-CODE lang="markup"&gt;pinctrl_uart3: uart3grp {
        fsl,pins = &amp;lt;
            MX8MM_IOMUXC_ECSPI1_SCLK_UART3_DCE_RX           0x140
            MX8MM_IOMUXC_ECSPI1_MOSI_UART3_DCE_TX           0x140
            MX8MM_IOMUXC_ECSPI1_SS0_UART3_DCE_RTS_B         0x140
            MX8MM_IOMUXC_ECSPI1_MISO_UART3_DCE_CTS_B        0x140
        &amp;gt;;
};

&amp;amp;uart3 {
    pinctrl-names = "default";
    pinctrl-0 = &amp;lt;&amp;amp;pinctrl_uart3&amp;gt;;
    assigned-clocks = &amp;lt;&amp;amp;clk IMX8MM_CLK_UART3&amp;gt;;
    assigned-clock-parents = &amp;lt;&amp;amp;clk IMX8MM_SYS_PLL1_80M&amp;gt;;
    fsl,uart-has-rtscts;
    status = "okay";
};&lt;/LI-CODE&gt;
&lt;P style="margin: 0in; font-family: Arial; font-size: 12.0pt;"&gt;&amp;nbsp;&lt;/P&gt;
&lt;P style="margin: 0in; font-family: Arial; font-size: 12.0pt;"&gt;If you made the changes properly, you should be able to set and clear the GPIO signals with these commands:&lt;/P&gt;
&lt;LI-CODE lang="markup"&gt;#command to turn off the led
root@imx8mnevk:~# echo 0 &amp;gt;&amp;gt; /sys/class/leds/yellow\:status/brightness
#command to turn on the led
root@imx8mnevk:~# echo 1 &amp;gt;&amp;gt; /sys/class/leds/yellow\:status/brightness&lt;/LI-CODE&gt;
&lt;P style="margin: 0in; font-family: Arial; font-size: 12.0pt;"&gt;Regards,&lt;/P&gt;</description>
      <pubDate>Tue, 07 Nov 2023 18:00:35 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/IM8MM-Need-help-for-GPIO-control/m-p/1753653#M215388</guid>
      <dc:creator>JosephAtNXP</dc:creator>
      <dc:date>2023-11-07T18:00:35Z</dc:date>
    </item>
  </channel>
</rss>

