<?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: ERROR ABOUT I.MX6Q GPIO TEST in i.MX Processors</title>
    <link>https://community.nxp.com/t5/i-MX-Processors/ERROR-ABOUT-I-MX6Q-GPIO-TEST/m-p/545244#M85745</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="QQ图片20160823112712.png"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/2792i93F557284451B81D/image-size/large?v=v2&amp;amp;px=999" role="button" title="QQ图片20160823112712.png" alt="QQ图片20160823112712.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Hi &lt;/P&gt;&lt;P&gt;Biyong&lt;/P&gt;&lt;P&gt;I got it.&lt;/P&gt;&lt;P&gt;Tks for your reply. I'm a newer to linux devicetree.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Tue, 23 Aug 2016 03:29:04 GMT</pubDate>
    <dc:creator>浩卢</dc:creator>
    <dc:date>2016-08-23T03:29:04Z</dc:date>
    <item>
      <title>ERROR ABOUT I.MX6Q GPIO TEST</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/ERROR-ABOUT-I-MX6Q-GPIO-TEST/m-p/545233#M85734</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've got some questions when I test I.mx6q gpio throgh the &lt;SPAN style="color: #51626f; font-family: arial, helvetica, 'helvetica neue', verdana, sans-serif; font-size: 14px;"&gt;GPIO-SYSFS feature.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;As a picture you can see below，&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="gpio_ctrl.png"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/1548iE725630A91C80844/image-size/large?v=v2&amp;amp;px=999" role="button" title="gpio_ctrl.png" alt="gpio_ctrl.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;No matter I input 1 or 0 into gpio199 value , the result is 0.&lt;/P&gt;&lt;P&gt;Pls hlep me ,tks.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;*Notice ： I've add this pin as gpio into pinctrl_hog in imx6qdl-sabresd.dtsi.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 22 Aug 2016 00:24:08 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/ERROR-ABOUT-I-MX6Q-GPIO-TEST/m-p/545233#M85734</guid>
      <dc:creator>浩卢</dc:creator>
      <dc:date>2016-08-22T00:24:08Z</dc:date>
    </item>
    <item>
      <title>Re: ERROR ABOUT I.MX6Q GPIO TEST</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/ERROR-ABOUT-I-MX6Q-GPIO-TEST/m-p/545234#M85735</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;echo out ../direction means that pad is configured&lt;/P&gt;&lt;P&gt;as output and one can check its signal with oscilloscope.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Best regards&lt;/P&gt;&lt;P&gt;igor&lt;/P&gt;&lt;P&gt;-----------------------------------------------------------------------------------------------------------------------&lt;/P&gt;&lt;P&gt;Note: If this post answers your question, please click the Correct Answer button. Thank you!&lt;/P&gt;&lt;P&gt;-----------------------------------------------------------------------------------------------------------------------&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 22 Aug 2016 03:30:15 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/ERROR-ABOUT-I-MX6Q-GPIO-TEST/m-p/545234#M85735</guid>
      <dc:creator>igorpadykov</dc:creator>
      <dc:date>2016-08-22T03:30:15Z</dc:date>
    </item>
    <item>
      <title>Re: ERROR ABOUT I.MX6Q GPIO TEST</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/ERROR-ABOUT-I-MX6Q-GPIO-TEST/m-p/545235#M85736</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Have you set the SION bit? &lt;/P&gt;&lt;P&gt;Please check the following ticket.&lt;/P&gt;&lt;P&gt;&lt;A href="https://community.freescale.com/message/598834#598834" title="https://community.freescale.com/message/598834#598834"&gt;Simple GPIO Example - quandry | NXP Community&lt;/A&gt; &lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 22 Aug 2016 05:01:52 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/ERROR-ABOUT-I-MX6Q-GPIO-TEST/m-p/545235#M85736</guid>
      <dc:creator>BiyongSUN</dc:creator>
      <dc:date>2016-08-22T05:01:52Z</dc:date>
    </item>
    <item>
      <title>Re: ERROR ABOUT I.MX6Q GPIO TEST</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/ERROR-ABOUT-I-MX6Q-GPIO-TEST/m-p/545236#M85737</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I've set&lt;/P&gt;&lt;P&gt;#define MX6QDL_PAD_GPIO_1__GPIO1_IO01&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 0x224 0x5f4 0x000 0x5 0x1&lt;/P&gt;&lt;P&gt;in the file imx6q-pinfunc.h&lt;/P&gt;&lt;P&gt;and set&lt;/P&gt;&lt;P&gt;MX6QDL_PAD_GPIO_1__GPIO1_IO01 0x80000000&lt;/P&gt;&lt;P&gt;in the file imx6qdl-sabresd.dtsi.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;when I echo "0 or 1" &amp;gt; /sys/class/gpio/gpio1/value ,I can see the voltage changed 0-&amp;gt;3V3 by using the multimeter .&lt;/P&gt;&lt;P&gt;But when I read the value (cat /sys/class/gpio/gpio1/value) , the result is always 0.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The gpio test is ok by used linux kernel-3.0.101.&lt;/P&gt;&lt;P&gt;@&lt;A class="jx-jive-macro-user" href="https://community.nxp.com/people/igorpadykov"&gt;igorpadykov&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="QQ图片20160822163928.png"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/2618i4E912F0F4AF2BBB6/image-size/large?v=v2&amp;amp;px=999" role="button" title="QQ图片20160822163928.png" alt="QQ图片20160822163928.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 22 Aug 2016 08:33:28 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/ERROR-ABOUT-I-MX6Q-GPIO-TEST/m-p/545236#M85737</guid>
      <dc:creator>浩卢</dc:creator>
      <dc:date>2016-08-22T08:33:28Z</dc:date>
    </item>
    <item>
      <title>Re: ERROR ABOUT I.MX6Q GPIO TEST</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/ERROR-ABOUT-I-MX6Q-GPIO-TEST/m-p/545237#M85738</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;please set echo in ../direction means that pad is configured&lt;/P&gt;&lt;P&gt;as input and then set input externally.&lt;/P&gt;&lt;P&gt;&lt;A href="https://www.kernel.org/doc/Documentation/gpio/sysfs.txt" title="https://www.kernel.org/doc/Documentation/gpio/sysfs.txt"&gt;https://www.kernel.org/doc/Documentation/gpio/sysfs.txt&lt;/A&gt; &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;~igor&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 22 Aug 2016 09:53:45 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/ERROR-ABOUT-I-MX6Q-GPIO-TEST/m-p/545237#M85738</guid>
      <dc:creator>igorpadykov</dc:creator>
      <dc:date>2016-08-22T09:53:45Z</dc:date>
    </item>
    <item>
      <title>Re: ERROR ABOUT I.MX6Q GPIO TEST</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/ERROR-ABOUT-I-MX6Q-GPIO-TEST/m-p/545238#M85739</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Tks for your reply.&lt;/P&gt;&lt;P&gt;Since I set the GPIO1 input type (echo in &amp;gt; direction).&lt;/P&gt;&lt;P&gt;When I pull up GPIO1&amp;nbsp; ,I can read result 1 from (cat /sys/class/gpio/gpio1/value).&lt;/P&gt;&lt;P&gt;When I pull down GPIO1 ,I can read result 0 from (cat /sys/class/gpio/gpio1/value).&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="QQ图片20160822182321.png"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/2928iF2E7F2CF42537BB8/image-size/large?v=v2&amp;amp;px=999" role="button" title="QQ图片20160822182321.png" alt="QQ图片20160822182321.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;So,it works ok when the gpio set input type.&lt;/P&gt;&lt;P&gt;But why it doesn't work when the gpio set output type?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 22 Aug 2016 10:25:35 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/ERROR-ABOUT-I-MX6Q-GPIO-TEST/m-p/545238#M85739</guid>
      <dc:creator>浩卢</dc:creator>
      <dc:date>2016-08-22T10:25:35Z</dc:date>
    </item>
    <item>
      <title>Re: ERROR ABOUT I.MX6Q GPIO TEST</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/ERROR-ABOUT-I-MX6Q-GPIO-TEST/m-p/545239#M85740</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I find the gpio expand by i2c can work fine.&lt;/P&gt;&lt;P&gt;You can see picture as below.&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="QQ图片20160822185330.png"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/3045iD44C8058D7CEF5F2/image-size/large?v=v2&amp;amp;px=999" role="button" title="QQ图片20160822185330.png" alt="QQ图片20160822185330.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 22 Aug 2016 10:54:21 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/ERROR-ABOUT-I-MX6Q-GPIO-TEST/m-p/545239#M85740</guid>
      <dc:creator>浩卢</dc:creator>
      <dc:date>2016-08-22T10:54:21Z</dc:date>
    </item>
    <item>
      <title>Re: ERROR ABOUT I.MX6Q GPIO TEST</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/ERROR-ABOUT-I-MX6Q-GPIO-TEST/m-p/545240#M85741</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Again here.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Have you set the SION bit?&amp;nbsp; "SION"&lt;/P&gt;&lt;P&gt;Please check the following ticket.&lt;/P&gt;&lt;P&gt;&lt;A class="jive-link-external-small" href="https://community.nxp.com/external-link.jspa?url=https%3A%2F%2Fcommunity.freescale.com%2Fmessage%2F598834%23598834" rel="nofollow" target="_blank"&gt;Simple GPIO Example - quandry | NXP Community&lt;/A&gt; &lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 23 Aug 2016 02:14:25 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/ERROR-ABOUT-I-MX6Q-GPIO-TEST/m-p/545240#M85741</guid>
      <dc:creator>BiyongSUN</dc:creator>
      <dc:date>2016-08-23T02:14:25Z</dc:date>
    </item>
    <item>
      <title>Re: ERROR ABOUT I.MX6Q GPIO TEST</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/ERROR-ABOUT-I-MX6Q-GPIO-TEST/m-p/545241#M85742</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Because in the i2c, it set the SION bit. as loopback clock.&lt;/P&gt;&lt;P&gt;When you change the fuction to GPIO. The SION still there.&lt;/P&gt;&lt;P&gt;Please check the SION bit.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 23 Aug 2016 02:16:24 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/ERROR-ABOUT-I-MX6Q-GPIO-TEST/m-p/545241#M85742</guid>
      <dc:creator>BiyongSUN</dc:creator>
      <dc:date>2016-08-23T02:16:24Z</dc:date>
    </item>
    <item>
      <title>Re: ERROR ABOUT I.MX6Q GPIO TEST</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/ERROR-ABOUT-I-MX6Q-GPIO-TEST/m-p/545242#M85743</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Please read the &lt;A class="jive-link-external-small" href="https://community.nxp.com/external-link.jspa?url=https%3A%2F%2Fcommunity.freescale.com%2Fmessage%2F598834%23598834" rel="nofollow" target="_blank"&gt;Simple GPIO Example - quandry | NXP Community&lt;/A&gt; &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;In the ticket, some one also have quetion exactly the same like you.&lt;/P&gt;&lt;P&gt;And in the ticket, it gives an answer and also test in the i.MX6UL board.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 23 Aug 2016 02:17:56 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/ERROR-ABOUT-I-MX6Q-GPIO-TEST/m-p/545242#M85743</guid>
      <dc:creator>BiyongSUN</dc:creator>
      <dc:date>2016-08-23T02:17:56Z</dc:date>
    </item>
    <item>
      <title>Re: ERROR ABOUT I.MX6Q GPIO TEST</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/ERROR-ABOUT-I-MX6Q-GPIO-TEST/m-p/545243#M85744</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I cut from&amp;nbsp; &lt;A href="https://community.nxp.com/thread/381277"&gt;Simple GPIO Example - quandry&lt;/A&gt;&amp;nbsp; some for you.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="Untitled.png"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/2646i19A0AEC41DB81495/image-size/large?v=v2&amp;amp;px=999" role="button" title="Untitled.png" alt="Untitled.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 23 Aug 2016 02:26:25 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/ERROR-ABOUT-I-MX6Q-GPIO-TEST/m-p/545243#M85744</guid>
      <dc:creator>BiyongSUN</dc:creator>
      <dc:date>2016-08-23T02:26:25Z</dc:date>
    </item>
    <item>
      <title>Re: ERROR ABOUT I.MX6Q GPIO TEST</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/ERROR-ABOUT-I-MX6Q-GPIO-TEST/m-p/545244#M85745</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="QQ图片20160823112712.png"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/2792i93F557284451B81D/image-size/large?v=v2&amp;amp;px=999" role="button" title="QQ图片20160823112712.png" alt="QQ图片20160823112712.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Hi &lt;/P&gt;&lt;P&gt;Biyong&lt;/P&gt;&lt;P&gt;I got it.&lt;/P&gt;&lt;P&gt;Tks for your reply. I'm a newer to linux devicetree.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 23 Aug 2016 03:29:04 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/ERROR-ABOUT-I-MX6Q-GPIO-TEST/m-p/545244#M85745</guid>
      <dc:creator>浩卢</dc:creator>
      <dc:date>2016-08-23T03:29:04Z</dc:date>
    </item>
  </channel>
</rss>

