<?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: Toggle GPIO from S32G2 linux image in S32G</title>
    <link>https://community.nxp.com/t5/S32G/Toggle-GPIO-from-S32G2-linux-image/m-p/1993645#M11705</link>
    <description>&lt;P&gt;Hello, &lt;a href="https://community.nxp.com/t5/user/viewprofilepage/user-id/225130"&gt;@Vishnu3&lt;/a&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Thanks for your post.&lt;/P&gt;
&lt;P&gt;May I know which version BSP you are working with? based on BSP33?&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;BR&lt;/P&gt;
&lt;P&gt;Chenyin&lt;/P&gt;</description>
    <pubDate>Wed, 13 Nov 2024 10:50:03 GMT</pubDate>
    <dc:creator>chenyin_h</dc:creator>
    <dc:date>2024-11-13T10:50:03Z</dc:date>
    <item>
      <title>Toggle GPIO from S32G2 linux image</title>
      <link>https://community.nxp.com/t5/S32G/Toggle-GPIO-from-S32G2-linux-image/m-p/1993386#M11702</link>
      <description>&lt;P&gt;Hi all,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I am using the fsl-auto-image and i would like to write a c file which can be used to toggle the LED pins (using libgpiod) on my S32G-VNP development board. Any resources are also fine. I am looking for a basic template snippet, I don't need the whole code as I am fairly new to embedded linux.&lt;/P&gt;&lt;P&gt;I have already taken a look at the GPIO section in the NXP linux BSP 33 pdf but those only show the library APIs that needs to be called from the terminal.&lt;/P&gt;&lt;P&gt;Also, is it just the code or do I have to also make changes in the dts?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;a href="https://community.nxp.com/t5/user/viewprofilepage/user-id/24163"&gt;@chenyin_h&lt;/a&gt;&amp;nbsp; tagging you because you have been always so very helpful.&lt;BR /&gt;&lt;BR /&gt;Best,&lt;/P&gt;&lt;P&gt;Vishnu&lt;/P&gt;</description>
      <pubDate>Wed, 13 Nov 2024 06:14:44 GMT</pubDate>
      <guid>https://community.nxp.com/t5/S32G/Toggle-GPIO-from-S32G2-linux-image/m-p/1993386#M11702</guid>
      <dc:creator>Vishnu3</dc:creator>
      <dc:date>2024-11-13T06:14:44Z</dc:date>
    </item>
    <item>
      <title>Re: Toggle GPIO from S32G2 linux image</title>
      <link>https://community.nxp.com/t5/S32G/Toggle-GPIO-from-S32G2-linux-image/m-p/1993645#M11705</link>
      <description>&lt;P&gt;Hello, &lt;a href="https://community.nxp.com/t5/user/viewprofilepage/user-id/225130"&gt;@Vishnu3&lt;/a&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Thanks for your post.&lt;/P&gt;
&lt;P&gt;May I know which version BSP you are working with? based on BSP33?&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;BR&lt;/P&gt;
&lt;P&gt;Chenyin&lt;/P&gt;</description>
      <pubDate>Wed, 13 Nov 2024 10:50:03 GMT</pubDate>
      <guid>https://community.nxp.com/t5/S32G/Toggle-GPIO-from-S32G2-linux-image/m-p/1993645#M11705</guid>
      <dc:creator>chenyin_h</dc:creator>
      <dc:date>2024-11-13T10:50:03Z</dc:date>
    </item>
    <item>
      <title>Re: Toggle GPIO from S32G2 linux image</title>
      <link>https://community.nxp.com/t5/S32G/Toggle-GPIO-from-S32G2-linux-image/m-p/1993765#M11707</link>
      <description>&lt;P&gt;Hi Chenyin,&lt;/P&gt;&lt;P&gt;The BSP image I'm using is version 42. I've been referring to the document version 33, since I couldn't find the document for the latest version.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Best,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Vishnu&lt;/P&gt;</description>
      <pubDate>Wed, 13 Nov 2024 14:03:19 GMT</pubDate>
      <guid>https://community.nxp.com/t5/S32G/Toggle-GPIO-from-S32G2-linux-image/m-p/1993765#M11707</guid>
      <dc:creator>Vishnu3</dc:creator>
      <dc:date>2024-11-13T14:03:19Z</dc:date>
    </item>
    <item>
      <title>Re: Toggle GPIO from S32G2 linux image</title>
      <link>https://community.nxp.com/t5/S32G/Toggle-GPIO-from-S32G2-linux-image/m-p/1994180#M11715</link>
      <description>&lt;P&gt;Hello, &lt;a href="https://community.nxp.com/t5/user/viewprofilepage/user-id/225130"&gt;@Vishnu3&lt;/a&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Thanks for your reply.&lt;/P&gt;
&lt;P&gt;On BSP, the &lt;SPAN class="fontstyle0"&gt;libgpiod-tools&lt;/SPAN&gt; is supported, which could be used to control the GPIO from user space. directly execute the command from shell could display and control the GPIO status.&lt;/P&gt;
&lt;P&gt;If these commands could not fully fulfill your requirements, I suggest reference the code of libgpiod,&amp;nbsp; to&amp;nbsp; apply your own modification on it if needed.&lt;/P&gt;
&lt;P&gt;&lt;A href="https://github.com/brgl/libgpiod" target="_blank"&gt;https://github.com/brgl/libgpiod&lt;/A&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;BR&lt;/P&gt;
&lt;P&gt;Chenyin&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Thu, 14 Nov 2024 03:01:44 GMT</pubDate>
      <guid>https://community.nxp.com/t5/S32G/Toggle-GPIO-from-S32G2-linux-image/m-p/1994180#M11715</guid>
      <dc:creator>chenyin_h</dc:creator>
      <dc:date>2024-11-14T03:01:44Z</dc:date>
    </item>
  </channel>
</rss>

