<?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: How to toggle a GPIO Pin in I.Mx8mmini</title>
    <link>https://community.nxp.com/t5/i-MX-Processors/How-to-toggle-a-GPIO-Pin-in-I-Mx8mmini/m-p/945107#M141377</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi.,&lt;/P&gt;&lt;P&gt;Attachment is missing&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Wed, 24 Jul 2019 10:16:20 GMT</pubDate>
    <dc:creator>santhosh2</dc:creator>
    <dc:date>2019-07-24T10:16:20Z</dc:date>
    <item>
      <title>How to toggle a GPIO Pin in I.Mx8mmini</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/How-to-toggle-a-GPIO-Pin-in-I-Mx8mmini/m-p/945104#M141374</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi, &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I want to &amp;nbsp;toggle a GPIO Pin in I.Mx8mmini to control read write operation. How to write a simple application code to do this&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards&lt;/P&gt;&lt;P&gt;Santhosh Kumar S&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 19 Jul 2019 05:51:34 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/How-to-toggle-a-GPIO-Pin-in-I-Mx8mmini/m-p/945104#M141374</guid>
      <dc:creator>santhosh2</dc:creator>
      <dc:date>2019-07-19T05:51:34Z</dc:date>
    </item>
    <item>
      <title>Re: How to toggle a GPIO Pin in I.Mx8mmini</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/How-to-toggle-a-GPIO-Pin-in-I-Mx8mmini/m-p/945105#M141375</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello Santhosh Kumar S,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;You can try the way&amp;nbsp;as following:&lt;/P&gt;&lt;P&gt;1. Make sure the pad mux is GPIO ALT in dts.&lt;/P&gt;&lt;P&gt;2. Linux Userspace Naming Conversion&lt;/P&gt;&lt;P&gt;Linux gpio number = (gpio_bank - 1) * 32 + gpio_bit&lt;/P&gt;&lt;P&gt;For example, for gpiom_n, num=32 * (m-1) + n.&lt;/P&gt;&lt;P&gt;3. Input command to your Linux console&lt;/P&gt;&lt;P&gt;/* export gpio */&lt;/P&gt;&lt;P&gt;echo num &amp;gt; /sys/class/gpio/export&lt;/P&gt;&lt;P&gt;/* set the direction of gpio as output */&lt;/P&gt;&lt;P&gt;echo out &amp;gt; /sys/class/gpio/gpio[num]/direction&lt;/P&gt;&lt;P&gt;/* output low level */&lt;/P&gt;&lt;P&gt;echo 0 &amp;gt; /sys/class/gpio/gpio[num]/value&lt;/P&gt;&lt;P&gt;/* output high level&amp;nbsp;*/&lt;/P&gt;&lt;P&gt;echo&amp;nbsp;1 &amp;gt; /sys/class/gpio/gpio[num]/value&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Best Regards,&lt;/P&gt;&lt;P&gt;Peter&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 19 Jul 2019 06:41:02 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/How-to-toggle-a-GPIO-Pin-in-I-Mx8mmini/m-p/945105#M141375</guid>
      <dc:creator>peter_tian</dc:creator>
      <dc:date>2019-07-19T06:41:02Z</dc:date>
    </item>
    <item>
      <title>Re: How to toggle a GPIO Pin in I.Mx8mmini</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/How-to-toggle-a-GPIO-Pin-in-I-Mx8mmini/m-p/945106#M141376</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Santhosh&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;one can refer to sect.2.1.6 General Purpose Input/Output (GPIO)&lt;/P&gt;&lt;P&gt;attached Linux Manual.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Best regards&lt;BR /&gt;igor&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 19 Jul 2019 06:55:04 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/How-to-toggle-a-GPIO-Pin-in-I-Mx8mmini/m-p/945106#M141376</guid>
      <dc:creator>igorpadykov</dc:creator>
      <dc:date>2019-07-19T06:55:04Z</dc:date>
    </item>
    <item>
      <title>Re: How to toggle a GPIO Pin in I.Mx8mmini</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/How-to-toggle-a-GPIO-Pin-in-I-Mx8mmini/m-p/945107#M141377</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi.,&lt;/P&gt;&lt;P&gt;Attachment is missing&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 24 Jul 2019 10:16:20 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/How-to-toggle-a-GPIO-Pin-in-I-Mx8mmini/m-p/945107#M141377</guid>
      <dc:creator>santhosh2</dc:creator>
      <dc:date>2019-07-24T10:16:20Z</dc:date>
    </item>
  </channel>
</rss>

