<?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のトピックRe: Control GPIO In IMX8ULP EVK9</title>
    <link>https://community.nxp.com/t5/i-MX-Processors/Control-GPIO-In-IMX8ULP-EVK9/m-p/1973590#M229660</link>
    <description>&lt;P&gt;Hello&amp;nbsp;&lt;a href="https://community.nxp.com/t5/user/viewprofilepage/user-id/219345"&gt;@dhruvinrajpura&lt;/a&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;I hope you are doing well.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Sure, I tested on the i.MX8ULP EKV (PTF20, PTF29 and PTE6):&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Alejandro_Salas_0-1728935848022.png" style="width: 400px;"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/304588i7A0BF502A811012E/image-size/medium?v=v2&amp;amp;px=400" role="button" title="Alejandro_Salas_0-1728935848022.png" alt="Alejandro_Salas_0-1728935848022.png" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Please see the attached patch to add gpios on imx8ulp. You must change the pads for your EVK9, just changing&amp;nbsp;PTF10, PTF27 and PTF20 instead of&amp;nbsp;PTF20, PTF29 and PTE6.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Then, you will be able to use the gpioset command:&lt;/P&gt;
&lt;LI-CODE lang="markup"&gt;root@imx8ulpevk:~# gpioset -c 3 6=0
^C
root@imx8ulpevk:~# gpioset -c 4 20=0
^C
root@imx8ulpevk:~# gpioset -c 4 29=0&lt;/LI-CODE&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Best regards,&lt;/P&gt;
&lt;P&gt;Salas.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Mon, 14 Oct 2024 20:10:20 GMT</pubDate>
    <dc:creator>Manuel_Salas</dc:creator>
    <dc:date>2024-10-14T20:10:20Z</dc:date>
    <item>
      <title>Control GPIO In IMX8ULP EVK9</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/Control-GPIO-In-IMX8ULP-EVK9/m-p/1973023#M229607</link>
      <description>&lt;P&gt;Hello,&lt;/P&gt;&lt;P&gt;I'm using IMX8ULP EVK9 and i have one onboard&amp;nbsp;RGB LED, now i want to control from command (A- Core) how can i do? RGB LED is connected with PTF10, PTF27, PTF20.&lt;/P&gt;&lt;P&gt;If i need to change in DTS file please provide patch so i can apply.&lt;/P&gt;&lt;P&gt;Thanks in advance&lt;/P&gt;</description>
      <pubDate>Mon, 14 Oct 2024 06:23:18 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/Control-GPIO-In-IMX8ULP-EVK9/m-p/1973023#M229607</guid>
      <dc:creator>dhruvinrajpura</dc:creator>
      <dc:date>2024-10-14T06:23:18Z</dc:date>
    </item>
    <item>
      <title>Re: Control GPIO In IMX8ULP EVK9</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/Control-GPIO-In-IMX8ULP-EVK9/m-p/1973590#M229660</link>
      <description>&lt;P&gt;Hello&amp;nbsp;&lt;a href="https://community.nxp.com/t5/user/viewprofilepage/user-id/219345"&gt;@dhruvinrajpura&lt;/a&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;I hope you are doing well.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Sure, I tested on the i.MX8ULP EKV (PTF20, PTF29 and PTE6):&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Alejandro_Salas_0-1728935848022.png" style="width: 400px;"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/304588i7A0BF502A811012E/image-size/medium?v=v2&amp;amp;px=400" role="button" title="Alejandro_Salas_0-1728935848022.png" alt="Alejandro_Salas_0-1728935848022.png" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Please see the attached patch to add gpios on imx8ulp. You must change the pads for your EVK9, just changing&amp;nbsp;PTF10, PTF27 and PTF20 instead of&amp;nbsp;PTF20, PTF29 and PTE6.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Then, you will be able to use the gpioset command:&lt;/P&gt;
&lt;LI-CODE lang="markup"&gt;root@imx8ulpevk:~# gpioset -c 3 6=0
^C
root@imx8ulpevk:~# gpioset -c 4 20=0
^C
root@imx8ulpevk:~# gpioset -c 4 29=0&lt;/LI-CODE&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Best regards,&lt;/P&gt;
&lt;P&gt;Salas.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Mon, 14 Oct 2024 20:10:20 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/Control-GPIO-In-IMX8ULP-EVK9/m-p/1973590#M229660</guid>
      <dc:creator>Manuel_Salas</dc:creator>
      <dc:date>2024-10-14T20:10:20Z</dc:date>
    </item>
    <item>
      <title>Re: Control GPIO In IMX8ULP EVK9</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/Control-GPIO-In-IMX8ULP-EVK9/m-p/1973900#M229680</link>
      <description>&lt;P&gt;Hello,&lt;/P&gt;&lt;P&gt;Thanks for quick response.&lt;/P&gt;&lt;P&gt;I have applied patch and it's working, now i'm able to control LED. Now i want to control LED using PWM signal so how can i?&lt;BR /&gt;&lt;BR /&gt;Thanks&lt;/P&gt;</description>
      <pubDate>Tue, 15 Oct 2024 06:11:15 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/Control-GPIO-In-IMX8ULP-EVK9/m-p/1973900#M229680</guid>
      <dc:creator>dhruvinrajpura</dc:creator>
      <dc:date>2024-10-15T06:11:15Z</dc:date>
    </item>
    <item>
      <title>Re: Control GPIO In IMX8ULP EVK9</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/Control-GPIO-In-IMX8ULP-EVK9/m-p/1974593#M229723</link>
      <description>&lt;P&gt;Hello&amp;nbsp;&lt;a href="https://community.nxp.com/t5/user/viewprofilepage/user-id/219345"&gt;@dhruvinrajpura&lt;/a&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;As i.MX8ULP has not a dedicated PWM modules you must to try with TPM modules. One can try to the&amp;nbsp;&lt;A href="https://github.com/nxp-imx/linux-imx/blob/lf-6.6.y/drivers/pwm/pwm-imx-tpm.c" target="_self"&gt;pwm-imx-tpm.c&lt;/A&gt;&amp;nbsp;driver.&lt;/P&gt;
&lt;P&gt;Another solution is using RPMSG, control the PWM signal from Cortex M with RPMSG from Cortex A processor.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Best regards&lt;/P&gt;
&lt;P&gt;Salas.&lt;/P&gt;</description>
      <pubDate>Tue, 15 Oct 2024 20:32:03 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/Control-GPIO-In-IMX8ULP-EVK9/m-p/1974593#M229723</guid>
      <dc:creator>Manuel_Salas</dc:creator>
      <dc:date>2024-10-15T20:32:03Z</dc:date>
    </item>
    <item>
      <title>Re: Control GPIO In IMX8ULP EVK9</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/Control-GPIO-In-IMX8ULP-EVK9/m-p/1974860#M229740</link>
      <description>&lt;P&gt;Hello,&lt;/P&gt;&lt;P&gt;I want to use TPM module in A core, please provide patch to enable TPM module and also provide command to conrol pwm signal from user space.&lt;/P&gt;&lt;P&gt;Also I have two pushbutton on IMX8ULP EVK9 for A core which is SW4 and SW2. SW4 is connected with PTF26 and SW2 is connected with PTE17. I have attached patch which i applied to enable PTF26 and PTE17. To get status of pin i'm using "gpioget -c 4 26" command, but all time i'm getting following log:&lt;BR /&gt;&lt;BR /&gt;&lt;/P&gt;&lt;DIV&gt;root@imx8ulp-9x9-lpddr4-evk:~# gpioget -c 4 26&lt;/DIV&gt;&lt;DIV&gt;"26"=active&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV&gt;I checked voltage changes on gpio pin using multimeter and i got as expected output.&lt;/DIV&gt;&lt;DIV&gt;let us know if any changes need to required to get status of pushbutton.&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV&gt;Thanks&lt;/DIV&gt;</description>
      <pubDate>Wed, 16 Oct 2024 06:28:17 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/Control-GPIO-In-IMX8ULP-EVK9/m-p/1974860#M229740</guid>
      <dc:creator>dhruvinrajpura</dc:creator>
      <dc:date>2024-10-16T06:28:17Z</dc:date>
    </item>
  </channel>
</rss>

