<?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 Converting a data line to GPIO during run-time in i.MX Processors</title>
    <link>https://community.nxp.com/t5/i-MX-Processors/Converting-a-data-line-to-GPIO-during-run-time/m-p/1224292#M168765</link>
    <description>&lt;P&gt;Hello,&lt;/P&gt;&lt;P&gt;Is it practically feasible to turn a data line (e.g. certain UART TX and RX as well as SD2 CLK, CMD, and D0-D3 lines) to GPIO lines that can be tri-stated?&amp;nbsp; The goal is to put those pins to tristate/hi impedance which I think can be done by converting them to GPIO.&amp;nbsp; I do know that these data lines' configuration are set in the device tree like its MUX function, pullups, etc, and that configuration is carried out when the kernel is initialized.&amp;nbsp; Those data lines are being used for the entire session of the device and I'm told they have to be tristated just before turning off.&amp;nbsp; I'm using Android 7.1 in an iMX6DL processor.&lt;/P&gt;&lt;P&gt;Hoping for a response.&amp;nbsp; Thank you.&lt;/P&gt;&lt;P&gt;Alvin&lt;/P&gt;</description>
    <pubDate>Tue, 02 Feb 2021 01:41:30 GMT</pubDate>
    <dc:creator>aabitria_</dc:creator>
    <dc:date>2021-02-02T01:41:30Z</dc:date>
    <item>
      <title>Converting a data line to GPIO during run-time</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/Converting-a-data-line-to-GPIO-during-run-time/m-p/1224292#M168765</link>
      <description>&lt;P&gt;Hello,&lt;/P&gt;&lt;P&gt;Is it practically feasible to turn a data line (e.g. certain UART TX and RX as well as SD2 CLK, CMD, and D0-D3 lines) to GPIO lines that can be tri-stated?&amp;nbsp; The goal is to put those pins to tristate/hi impedance which I think can be done by converting them to GPIO.&amp;nbsp; I do know that these data lines' configuration are set in the device tree like its MUX function, pullups, etc, and that configuration is carried out when the kernel is initialized.&amp;nbsp; Those data lines are being used for the entire session of the device and I'm told they have to be tristated just before turning off.&amp;nbsp; I'm using Android 7.1 in an iMX6DL processor.&lt;/P&gt;&lt;P&gt;Hoping for a response.&amp;nbsp; Thank you.&lt;/P&gt;&lt;P&gt;Alvin&lt;/P&gt;</description>
      <pubDate>Tue, 02 Feb 2021 01:41:30 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/Converting-a-data-line-to-GPIO-during-run-time/m-p/1224292#M168765</guid>
      <dc:creator>aabitria_</dc:creator>
      <dc:date>2021-02-02T01:41:30Z</dc:date>
    </item>
    <item>
      <title>Re: Converting a data line to GPIO during run-time</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/Converting-a-data-line-to-GPIO-during-run-time/m-p/1226911#M168996</link>
      <description>&lt;P&gt;Hello,&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;There is no pad setting to set the pin as tri-state.&lt;/P&gt;
&lt;P&gt;For the details of PAD setting, please refer to the Reference Manual and search the "IOMUXC_SW_PAD_CTL_PAD".&lt;/P&gt;</description>
      <pubDate>Fri, 05 Feb 2021 07:45:40 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/Converting-a-data-line-to-GPIO-during-run-time/m-p/1226911#M168996</guid>
      <dc:creator>jimmychan</dc:creator>
      <dc:date>2021-02-05T07:45:40Z</dc:date>
    </item>
    <item>
      <title>Re: Converting a data line to GPIO during run-time</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/Converting-a-data-line-to-GPIO-during-run-time/m-p/1228637#M169214</link>
      <description>&lt;P&gt;Hello&amp;nbsp;&lt;a href="https://community.nxp.com/t5/user/viewprofilepage/user-id/1422"&gt;@jimmychan&lt;/a&gt;&amp;nbsp;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thanks for the reply.&amp;nbsp; I think the part about tri-state is now known.&amp;nbsp; Just turn the GPIO into input, that's what I found from some NXP questions.&lt;/P&gt;&lt;P&gt;However, the question&amp;nbsp;&lt;SPAN&gt;of how to turn a data line (e.g. certain UART TX and RX as well as SD2 CLK, CMD, and D0-D3 lines) initialized using device tree settings to GPIO lines still remains.&amp;nbsp; Is this possible in Linux or Android?&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Tue, 09 Feb 2021 08:35:50 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/Converting-a-data-line-to-GPIO-during-run-time/m-p/1228637#M169214</guid>
      <dc:creator>aabitria_</dc:creator>
      <dc:date>2021-02-09T08:35:50Z</dc:date>
    </item>
    <item>
      <title>Re: Converting a data line to GPIO during run-time</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/Converting-a-data-line-to-GPIO-during-run-time/m-p/1229293#M169298</link>
      <description>&lt;P&gt;You may try this:&lt;/P&gt;
&lt;P&gt;&lt;A href="https://community.nxp.com/t5/i-MX-Processors/Runtime-pinmux-i-MX6SX/m-p/575614" target="_blank"&gt;https://community.nxp.com/t5/i-MX-Processors/Runtime-pinmux-i-MX6SX/m-p/575614&lt;/A&gt;&lt;/P&gt;</description>
      <pubDate>Wed, 10 Feb 2021 12:33:31 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/Converting-a-data-line-to-GPIO-during-run-time/m-p/1229293#M169298</guid>
      <dc:creator>jimmychan</dc:creator>
      <dc:date>2021-02-10T12:33:31Z</dc:date>
    </item>
  </channel>
</rss>

