<?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: imx.6 GPIO</title>
    <link>https://community.nxp.com/t5/i-MX-Processors/imx-6-GPIO/m-p/151358#M1200</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;You can use the IO Mux tool to quickly visualize what each mapping represents.&lt;/P&gt;&lt;P&gt;From what I can see, going from&amp;nbsp;&lt;SPAN style="background-color: #ffffff; color: #51626f; font-weight: normal;"&gt;&lt;EM&gt;&lt;STRONG&gt;0x1b0b0&lt;/STRONG&gt; &lt;/EM&gt;&lt;/SPAN&gt;&lt;SPAN style="color: #51626f; background-color: #ffffff; font-weight: normal;"&gt;to&amp;nbsp;&lt;/SPAN&gt;&lt;SPAN style="color: #51626f; background-color: #ffffff; border: 0px;"&gt;&lt;EM style="border: 0px; font-weight: bold;"&gt;&lt;STRONG&gt;0x110b0&amp;nbsp;&lt;/STRONG&gt;&lt;/EM&gt;&lt;/SPAN&gt;is actually 100k pull up to 100k pull down and pull mode to keep mode.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Tue, 14 Mar 2017 20:01:58 GMT</pubDate>
    <dc:creator>fkilleen</dc:creator>
    <dc:date>2017-03-14T20:01:58Z</dc:date>
    <item>
      <title>imx.6 GPIO</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/imx-6-GPIO/m-p/151353#M1195</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;I am using sysfs(linux L3.0.15_12.04.01_ER_source)&amp;nbsp; to set a GPIO as an output with the following commands:&lt;/P&gt;&lt;P&gt;echo 163 &amp;gt; /sys/class/gpio/export&lt;/P&gt;&lt;P&gt;echo out &amp;gt; /sys/class/gpio/gpio163/direction&lt;/P&gt;&lt;P&gt;echo 1 &amp;gt; /sys/class/gpio/gpio163/value&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I measured the output voltage and it works correctly. The problem is that when I do cat "/sys/class/gpio/gpio163/value". It always returns 0. Any ideas?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I was digging through the gpio driver and the gpio value is read from&amp;nbsp; &lt;A href="http://www.cs.fsu.edu/%7Ebaker/devices/lxr/http/ident?i=GPIO_PSR"&gt;GPIO_PSR&lt;/A&gt;. If I read GPIOX_PSR with memtool also returns 0. Reading GPIO_DR returns the correct value. I am new to the imx.6 family. Is this normal?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks,&lt;/P&gt;&lt;P&gt;&lt;SPAN class="mce_paste_marker"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 25 Oct 2012 13:34:26 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/imx-6-GPIO/m-p/151353#M1195</guid>
      <dc:creator>akea</dc:creator>
      <dc:date>2012-10-25T13:34:26Z</dc:date>
    </item>
    <item>
      <title>Re: imx.6 GPIO</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/imx-6-GPIO/m-p/151354#M1196</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;hi, Ake,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;It is normal.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;For imx6 GPIO function：&lt;/P&gt;&lt;P&gt;GPIO Read Mode：Read value from data register/pad status register（PSR）&lt;/P&gt;&lt;P&gt;GPIO Write Mode：Write value to data register (GPIO_DR).&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;If GDIR[n] is set and IOMUXC input mode is GPIO, then reading DR[n] returns the contents of DR[n].&lt;/P&gt;&lt;P&gt;If GDIR[n] is cleared and IOMUXC input mode is GPIO, then reading DR[n] returns the corresponding input signal‘s value.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks，&lt;/P&gt;&lt;P&gt;Andy&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 09 Nov 2012 02:14:15 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/imx-6-GPIO/m-p/151354#M1196</guid>
      <dc:creator>DuanFugang</dc:creator>
      <dc:date>2012-11-09T02:14:15Z</dc:date>
    </item>
    <item>
      <title>Re: imx.6 GPIO</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/imx-6-GPIO/m-p/151355#M1197</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Fugang,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I want change mode of GPIO1 from ESAI to GPIO,&lt;/P&gt;&lt;P&gt;how we can write/read value of IOMUXC_SW_MUX_CTL_PAD_GPIO01 register by software or terminal. i'm using I.MX6Q&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks and regard,&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 15 Sep 2014 09:21:21 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/imx-6-GPIO/m-p/151355#M1197</guid>
      <dc:creator>luongnguyen</dc:creator>
      <dc:date>2014-09-15T09:21:21Z</dc:date>
    </item>
    <item>
      <title>Re: imx.6 GPIO</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/imx-6-GPIO/m-p/151356#M1198</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 am using iMX6SLEVK.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I want to use &lt;STRONG&gt;MX6SL_PAD_EPDC_D7_GPIO_1_14&lt;/STRONG&gt; as GPIO.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I am also using the above method which Antonio has mentioned, but I am not seeing any voltage on this pin (&lt;STRONG&gt;SOC Pin C15&lt;/STRONG&gt;).&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Can you please let me know how to configure this as output.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I have even tried to add this pin to the &lt;STRONG&gt;arch/arm/boot/dts/imx6sl-evk.dts&lt;/STRONG&gt; - hoggrp and have tried with values 0x80000000 and 0x1b0b0, but still no use.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Please do let me know if I need to check anything else.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks,&lt;BR /&gt;Sunny&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 20 Aug 2015 10:44:38 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/imx-6-GPIO/m-p/151356#M1198</guid>
      <dc:creator>bhayani_sunny</dc:creator>
      <dc:date>2015-08-20T10:44:38Z</dc:date>
    </item>
    <item>
      <title>Re: imx.6 GPIO</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/imx-6-GPIO/m-p/151357#M1199</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 am able to configure the GPIO from userspace from &lt;STRONG&gt;/sys/class/gpio&lt;/STRONG&gt;.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I did changes in the &lt;STRONG&gt;arch/arm/boot/dts/imx6sl-evk.dts&lt;/STRONG&gt; file.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I added the below lines in the &lt;STRONG&gt;hoggrp&lt;/STRONG&gt; for &lt;STRONG&gt;iomuxc&lt;/STRONG&gt; group:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;STRONG&gt;MX6SL_PAD_EPDC_D7__GPIO1_IO14&lt;/STRONG&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;STRONG&gt;0x110b0&lt;/STRONG&gt;&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;STRONG&gt;MX6SL_PAD_EPDC_D6__GPIO1_IO13&lt;/STRONG&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;STRONG&gt;0x110b0&lt;/STRONG&gt;&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;But can anybody please let me know, what the above values mean. Because I tried to use this pins with the values --&amp;gt;0x1b0b0 and 0x80000000, but it was not working for me.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Then I referred to the BSP Porting Guide for iMX6SL and there it is mentioned that the values corresponds to Hysteresis, Pull up/Pull down, etc but I am not able to see exact bit mappings for the above values.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;It would be great if someone can point me out to the values.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks,&lt;/P&gt;&lt;P&gt;Sunny&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 20 Aug 2015 13:41:03 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/imx-6-GPIO/m-p/151357#M1199</guid>
      <dc:creator>bhayani_sunny</dc:creator>
      <dc:date>2015-08-20T13:41:03Z</dc:date>
    </item>
    <item>
      <title>Re: imx.6 GPIO</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/imx-6-GPIO/m-p/151358#M1200</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;You can use the IO Mux tool to quickly visualize what each mapping represents.&lt;/P&gt;&lt;P&gt;From what I can see, going from&amp;nbsp;&lt;SPAN style="background-color: #ffffff; color: #51626f; font-weight: normal;"&gt;&lt;EM&gt;&lt;STRONG&gt;0x1b0b0&lt;/STRONG&gt; &lt;/EM&gt;&lt;/SPAN&gt;&lt;SPAN style="color: #51626f; background-color: #ffffff; font-weight: normal;"&gt;to&amp;nbsp;&lt;/SPAN&gt;&lt;SPAN style="color: #51626f; background-color: #ffffff; border: 0px;"&gt;&lt;EM style="border: 0px; font-weight: bold;"&gt;&lt;STRONG&gt;0x110b0&amp;nbsp;&lt;/STRONG&gt;&lt;/EM&gt;&lt;/SPAN&gt;is actually 100k pull up to 100k pull down and pull mode to keep mode.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 14 Mar 2017 20:01:58 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/imx-6-GPIO/m-p/151358#M1200</guid>
      <dc:creator>fkilleen</dc:creator>
      <dc:date>2017-03-14T20:01:58Z</dc:date>
    </item>
  </channel>
</rss>

