<?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: imx287 GPIO default value</title>
    <link>https://community.nxp.com/t5/i-MX-Processors/imx287-GPIO-default-value/m-p/754234#M117351</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Aditya,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;You can program the GPIO at the initialization of the board it takes minimun time.&amp;nbsp;&lt;/P&gt;&lt;P style="color: #51626f; background-color: #ffffff; border: 0px;"&gt;&lt;/P&gt;&lt;P style="color: #51626f; background-color: #ffffff; border: 0px;"&gt;First you need to export the GPIO you want to test to the user space:&lt;/P&gt;&lt;PRE class=""&gt;echo XX &amp;gt; /sys/class/gpio/export&lt;/PRE&gt;&lt;P style="color: #51626f; background-color: #ffffff; border: 0px;"&gt;XX shall be determined by the following algorithm:&lt;/P&gt;&lt;PRE class=""&gt;&lt;P style="border: 0px; font-weight: inherit;"&gt;GPIOA_[B] is the GPIO you want to export, where "A" is the GPIO bank and "B" is the offset of the pin in the bank.

if the first available GPIO bank is 0 // (iMX.28, for example)
&amp;nbsp;&amp;nbsp;&amp;nbsp; XX = A*32 + B;
else // first GPIO bank is 1
&amp;nbsp;&amp;nbsp;&amp;nbsp; XX = (A-1)*32 + B;&lt;/P&gt;&lt;/PRE&gt;&lt;P&gt;Regards&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Thu, 04 Jan 2018 16:47:45 GMT</pubDate>
    <dc:creator>Bio_TICFSL</dc:creator>
    <dc:date>2018-01-04T16:47:45Z</dc:date>
    <item>
      <title>imx287 GPIO default value</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/imx287-GPIO-default-value/m-p/754233#M117350</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;hi,&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;1. I am working on imx287 custom board using Linux-2.6.35.3&lt;/P&gt;&lt;P&gt;2. How can I keep the gpio value to be low by default.&lt;/P&gt;&lt;P&gt;3. After Restart my gpio are at high state 3.3v&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;-Thanks&lt;/P&gt;&lt;P&gt;Aditya&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 02 Jan 2018 05:36:00 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/imx287-GPIO-default-value/m-p/754233#M117350</guid>
      <dc:creator>adityapatil</dc:creator>
      <dc:date>2018-01-02T05:36:00Z</dc:date>
    </item>
    <item>
      <title>Re: imx287 GPIO default value</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/imx287-GPIO-default-value/m-p/754234#M117351</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Aditya,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;You can program the GPIO at the initialization of the board it takes minimun time.&amp;nbsp;&lt;/P&gt;&lt;P style="color: #51626f; background-color: #ffffff; border: 0px;"&gt;&lt;/P&gt;&lt;P style="color: #51626f; background-color: #ffffff; border: 0px;"&gt;First you need to export the GPIO you want to test to the user space:&lt;/P&gt;&lt;PRE class=""&gt;echo XX &amp;gt; /sys/class/gpio/export&lt;/PRE&gt;&lt;P style="color: #51626f; background-color: #ffffff; border: 0px;"&gt;XX shall be determined by the following algorithm:&lt;/P&gt;&lt;PRE class=""&gt;&lt;P style="border: 0px; font-weight: inherit;"&gt;GPIOA_[B] is the GPIO you want to export, where "A" is the GPIO bank and "B" is the offset of the pin in the bank.

if the first available GPIO bank is 0 // (iMX.28, for example)
&amp;nbsp;&amp;nbsp;&amp;nbsp; XX = A*32 + B;
else // first GPIO bank is 1
&amp;nbsp;&amp;nbsp;&amp;nbsp; XX = (A-1)*32 + B;&lt;/P&gt;&lt;/PRE&gt;&lt;P&gt;Regards&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 04 Jan 2018 16:47:45 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/imx287-GPIO-default-value/m-p/754234#M117351</guid>
      <dc:creator>Bio_TICFSL</dc:creator>
      <dc:date>2018-01-04T16:47:45Z</dc:date>
    </item>
  </channel>
</rss>

