<?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>S32GのトピックRe: S32G274A-RDB2 board yocto image GPIO set error</title>
    <link>https://community.nxp.com/t5/S32G/S32G274A-RDB2-board-yocto-image-GPIO-set-error/m-p/1673543#M3783</link>
    <description>hi &lt;a href="https://community.nxp.com/t5/user/viewprofilepage/user-id/204248"&gt;@MayanksPatel&lt;/a&gt;&lt;BR /&gt;Thank you for reply,&lt;BR /&gt;I did set as you say, it works by gpioset command,&lt;BR /&gt;Further question, how can i use gpios in c program, which headers should i use, i am suffering to find documentation about yocto and this board programming in yocto manner.&lt;BR /&gt;Best,</description>
    <pubDate>Wed, 21 Jun 2023 10:25:28 GMT</pubDate>
    <dc:creator>0xEC</dc:creator>
    <dc:date>2023-06-21T10:25:28Z</dc:date>
    <item>
      <title>S32G274A-RDB2 board yocto image GPIO set error</title>
      <link>https://community.nxp.com/t5/S32G/S32G274A-RDB2-board-yocto-image-GPIO-set-error/m-p/1672828#M3756</link>
      <description>&lt;P&gt;Hi everyone,&lt;/P&gt;&lt;P&gt;I am trying to get familiar with yocto on s32g274a-rdb2 board. I built an image and deploy it into sdcard works with u-boot, kernel etc. I am trying to control user led on the board which is connected to GPIO95, whenever i try to set GPIO by using following command on target:&lt;/P&gt;&lt;P&gt;&amp;gt;&amp;gt;&amp;nbsp;&lt;EM&gt;&lt;STRONG&gt;echo 95 &amp;gt; /sys/class/gpio/export&lt;/STRONG&gt;&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;i got following error message:&lt;/P&gt;&lt;P&gt;&amp;gt;&amp;gt; &lt;EM&gt;&lt;STRONG&gt;invalid argument&lt;/STRONG&gt;&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;does anyone use GPIOs in s32g274a-rdb2 board from a53 core in yocto manner?&lt;/P&gt;&lt;P&gt;thanks in advance,&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Tue, 20 Jun 2023 15:14:23 GMT</pubDate>
      <guid>https://community.nxp.com/t5/S32G/S32G274A-RDB2-board-yocto-image-GPIO-set-error/m-p/1672828#M3756</guid>
      <dc:creator>0xEC</dc:creator>
      <dc:date>2023-06-20T15:14:23Z</dc:date>
    </item>
    <item>
      <title>Re: S32G274A-RDB2 board yocto image GPIO set error</title>
      <link>https://community.nxp.com/t5/S32G/S32G274A-RDB2-board-yocto-image-GPIO-set-error/m-p/1673518#M3782</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="https://community.nxp.com/t5/user/viewprofilepage/user-id/202062"&gt;@0xEC&lt;/a&gt;,&lt;/P&gt;
&lt;P&gt;Thank you for reaching out to us.&lt;/P&gt;
&lt;P&gt;you can not toggle GPIO directly because there were gpio controllers available on the board and through that controller, you can change the value of a particular GPIO.&lt;/P&gt;
&lt;P&gt;By default, in the Yocto build&amp;nbsp;libgpiod library included by using, you can change the value of GPIO.&lt;/P&gt;
&lt;P&gt;Please refer to "S32G2_LinuxBSP_33.0_User_Manual.pdf Chapter-20" for more detail.&lt;/P&gt;
&lt;P&gt;Please use the below command which will turn on GPIO95 for 10 seconds.&lt;/P&gt;
&lt;P&gt;sudo gpioset --mode=time --sec=10 gpiochip0 95=0 //Turn ON GREEN LED&amp;nbsp;&lt;/P&gt;
&lt;P&gt;sudo gpioset --mode=time --sec=10 gpiochip0 95=1//Turn OFF GREEN LED&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Hope this helps you.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Thanks,&lt;/P&gt;
&lt;P&gt;Mayank s Patel&lt;/P&gt;</description>
      <pubDate>Wed, 21 Jun 2023 09:53:44 GMT</pubDate>
      <guid>https://community.nxp.com/t5/S32G/S32G274A-RDB2-board-yocto-image-GPIO-set-error/m-p/1673518#M3782</guid>
      <dc:creator>MayanksPatel</dc:creator>
      <dc:date>2023-06-21T09:53:44Z</dc:date>
    </item>
    <item>
      <title>Re: S32G274A-RDB2 board yocto image GPIO set error</title>
      <link>https://community.nxp.com/t5/S32G/S32G274A-RDB2-board-yocto-image-GPIO-set-error/m-p/1673543#M3783</link>
      <description>hi &lt;a href="https://community.nxp.com/t5/user/viewprofilepage/user-id/204248"&gt;@MayanksPatel&lt;/a&gt;&lt;BR /&gt;Thank you for reply,&lt;BR /&gt;I did set as you say, it works by gpioset command,&lt;BR /&gt;Further question, how can i use gpios in c program, which headers should i use, i am suffering to find documentation about yocto and this board programming in yocto manner.&lt;BR /&gt;Best,</description>
      <pubDate>Wed, 21 Jun 2023 10:25:28 GMT</pubDate>
      <guid>https://community.nxp.com/t5/S32G/S32G274A-RDB2-board-yocto-image-GPIO-set-error/m-p/1673543#M3783</guid>
      <dc:creator>0xEC</dc:creator>
      <dc:date>2023-06-21T10:25:28Z</dc:date>
    </item>
    <item>
      <title>Re: S32G274A-RDB2 board yocto image GPIO set error</title>
      <link>https://community.nxp.com/t5/S32G/S32G274A-RDB2-board-yocto-image-GPIO-set-error/m-p/1673547#M3785</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="https://community.nxp.com/t5/user/viewprofilepage/user-id/202062"&gt;@0xEC&lt;/a&gt;&amp;nbsp;,&lt;/P&gt;
&lt;P&gt;One way by which you use those commands using a system call from the c Program.&lt;/P&gt;
&lt;P&gt;system(command(GPIO Set Command)).&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 21 Jun 2023 10:30:34 GMT</pubDate>
      <guid>https://community.nxp.com/t5/S32G/S32G274A-RDB2-board-yocto-image-GPIO-set-error/m-p/1673547#M3785</guid>
      <dc:creator>MayanksPatel</dc:creator>
      <dc:date>2023-06-21T10:30:34Z</dc:date>
    </item>
    <item>
      <title>Re: S32G274A-RDB2 board yocto image GPIO set error</title>
      <link>https://community.nxp.com/t5/S32G/S32G274A-RDB2-board-yocto-image-GPIO-set-error/m-p/1673548#M3786</link>
      <description>Ok &lt;a href="https://community.nxp.com/t5/user/viewprofilepage/user-id/204248"&gt;@MayanksPatel&lt;/a&gt; thank you,&lt;BR /&gt;Best,</description>
      <pubDate>Wed, 21 Jun 2023 10:32:25 GMT</pubDate>
      <guid>https://community.nxp.com/t5/S32G/S32G274A-RDB2-board-yocto-image-GPIO-set-error/m-p/1673548#M3786</guid>
      <dc:creator>0xEC</dc:creator>
      <dc:date>2023-06-21T10:32:25Z</dc:date>
    </item>
    <item>
      <title>Re: S32G274A-RDB2 board yocto image GPIO set error</title>
      <link>https://community.nxp.com/t5/S32G/S32G274A-RDB2-board-yocto-image-GPIO-set-error/m-p/1822416#M6170</link>
      <description>&lt;P&gt;I want to access GPIO ports from my c++ application for S32G3 board. Can anyone help me with which library and header files I should include from the bsp-sdk&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 06 Mar 2024 10:54:06 GMT</pubDate>
      <guid>https://community.nxp.com/t5/S32G/S32G274A-RDB2-board-yocto-image-GPIO-set-error/m-p/1822416#M6170</guid>
      <dc:creator>ankit0812</dc:creator>
      <dc:date>2024-03-06T10:54:06Z</dc:date>
    </item>
  </channel>
</rss>

