<?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: IMX6 1-Wire Pin Config Not Working</title>
    <link>https://community.nxp.com/t5/i-MX-Processors/IMX6-1-Wire-Pin-Config-Not-Working/m-p/1024268#M151357</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thanks Igor, &lt;BR /&gt;&lt;BR /&gt;I have attempted this and it does not make a difference. Is there anyway to find where it is being set?&lt;/P&gt;&lt;P&gt;I have tried debugging in the Linux function that parses the device trees and shows the correct value being set and also doesn't have a second entry for the pin.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Sun, 24 Nov 2019 22:45:27 GMT</pubDate>
    <dc:creator>nicholash</dc:creator>
    <dc:date>2019-11-24T22:45:27Z</dc:date>
    <item>
      <title>IMX6 1-Wire Pin Config Not Working</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/IMX6-1-Wire-Pin-Config-Not-Working/m-p/1024266#M151355</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'm trying to get the 1-wire GPIO driver that bit-bangs 1-wire working under Linux. The problem I have is that I can't seem to set the pin to open-drain mode. I have the following entries in my device tree:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;BLOCKQUOTE class="jive_macro_quote jive-quote jive_text_macro"&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; onewire {&lt;BR /&gt;&amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp;compatible = "w1-gpio";&lt;BR /&gt;&amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp;pinctrl-names = "w1grp";&lt;BR /&gt;&amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp;pinctrl-0 = &amp;lt;&amp;amp;pinctrl_w1&amp;gt;;&lt;BR /&gt;&amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp;gpios = &amp;lt;&amp;amp;gpio1 27 0&amp;gt;;&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; linux,open-drain;&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; status = "okay";&lt;BR /&gt;&amp;nbsp;&amp;nbsp; &amp;nbsp;};&lt;/P&gt;&lt;/BLOCKQUOTE&gt;&lt;BLOCKQUOTE class="jive_macro_quote jive-quote jive_text_macro"&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; pinctrl_w1: w1grp {&lt;BR /&gt;&amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp;fsl,pins = &amp;lt;&lt;BR /&gt;&amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp;MX6UL_PAD_UART3_RTS_B__GPIO1_IO27&amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 0x4001b8b1&lt;BR /&gt;&amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;gt;;&lt;BR /&gt;&amp;nbsp;&amp;nbsp; &amp;nbsp;};&lt;/P&gt;&lt;/BLOCKQUOTE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I can drive it down but it's still definitely in push-pull mode from watching the pin on the oscilloscope. (Sharp edges and I can see the 1-wire device trying to pull it done.&lt;/P&gt;&lt;P&gt;Is there anything else I need to set to make this work?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 22 Nov 2019 01:34:29 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/IMX6-1-Wire-Pin-Config-Not-Working/m-p/1024266#M151355</guid>
      <dc:creator>nicholash</dc:creator>
      <dc:date>2019-11-22T01:34:29Z</dc:date>
    </item>
    <item>
      <title>Re: IMX6 1-Wire Pin Config Not Working</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/IMX6-1-Wire-Pin-Config-Not-Working/m-p/1024267#M151356</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Nick&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;one can try to clear bit12 PKE&amp;nbsp; - 0 PKE_0_Pull_Keeper_Disabled, described in&lt;/P&gt;&lt;P&gt;sect.30.5.203 SW_PAD_CTL_PAD_UART3_RTS_B SW PAD Control&lt;BR /&gt;Register (IOMUXC_SW_PAD_CTL_PAD_UART3_RTS_B)&lt;/P&gt;&lt;P&gt;&lt;A href="https://www.nxp.com/webapp/Download?colCode=IMX6ULRM" target="_blank"&gt;&lt;STRONG&gt;i.MX 6UltraLite Applications Processor Reference Manual &lt;/STRONG&gt;&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Best regards&lt;BR /&gt;igor&lt;BR /&gt;-----------------------------------------------------------------------------------------------------------------------&lt;BR /&gt;Note: If this post answers your question, please click the Correct Answer button. Thank you!&lt;BR /&gt;-----------------------------------------------------------------------------------------------------------------------&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 22 Nov 2019 05:20:39 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/IMX6-1-Wire-Pin-Config-Not-Working/m-p/1024267#M151356</guid>
      <dc:creator>igorpadykov</dc:creator>
      <dc:date>2019-11-22T05:20:39Z</dc:date>
    </item>
    <item>
      <title>Re: IMX6 1-Wire Pin Config Not Working</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/IMX6-1-Wire-Pin-Config-Not-Working/m-p/1024268#M151357</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thanks Igor, &lt;BR /&gt;&lt;BR /&gt;I have attempted this and it does not make a difference. Is there anyway to find where it is being set?&lt;/P&gt;&lt;P&gt;I have tried debugging in the Linux function that parses the device trees and shows the correct value being set and also doesn't have a second entry for the pin.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sun, 24 Nov 2019 22:45:27 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/IMX6-1-Wire-Pin-Config-Not-Working/m-p/1024268#M151357</guid>
      <dc:creator>nicholash</dc:creator>
      <dc:date>2019-11-24T22:45:27Z</dc:date>
    </item>
    <item>
      <title>Re: IMX6 1-Wire Pin Config Not Working</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/IMX6-1-Wire-Pin-Config-Not-Working/m-p/1024269#M151358</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Nick&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;one can try to set it with jtag, for example in uboot.&lt;/P&gt;&lt;P&gt;Also this may be hardware issue, such as shortening with other signal.&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>Mon, 25 Nov 2019 04:18:57 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/IMX6-1-Wire-Pin-Config-Not-Working/m-p/1024269#M151358</guid>
      <dc:creator>igorpadykov</dc:creator>
      <dc:date>2019-11-25T04:18:57Z</dc:date>
    </item>
    <item>
      <title>Re: IMX6 1-Wire Pin Config Not Working</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/IMX6-1-Wire-Pin-Config-Not-Working/m-p/1024270#M151359</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Igor, &lt;BR /&gt;&lt;BR /&gt;I configured it to work in uBoot and got it to successfully configure the pin and use the chip.&lt;/P&gt;&lt;P&gt;I've decided not to further debug why it does not work in Linux, uBoot fits my use case better.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 27 Nov 2019 23:17:58 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/IMX6-1-Wire-Pin-Config-Not-Working/m-p/1024270#M151359</guid>
      <dc:creator>nicholash</dc:creator>
      <dc:date>2019-11-27T23:17:58Z</dc:date>
    </item>
  </channel>
</rss>

