<?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 Open drain behaviour for alternative pin functions? in LPC Microcontrollers</title>
    <link>https://community.nxp.com/t5/LPC-Microcontrollers/Open-drain-behaviour-for-alternative-pin-functions/m-p/521290#M4109</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;STRONG&gt;Content originally posted in LPCWare by pwuertz on Fri Oct 11 09:03:37 MST 2013&lt;/STRONG&gt;&lt;BR /&gt;&lt;SPAN&gt;Using the PINMODE and PINMODE_OD registers on the LPC1769 I can set an output pin to open-drain mode, which works fine with a pin's default GPIO function. In one of my applications I tried to use the pin P1.22 as an output of the timer match register MAT1.0 in open drain mode. However, the open drain mode seems to be ignored once I switch from GPIO to the MAT1.0 function.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Is this the intended behavior? The user manual (UM10360 Page 105) kind of gave me the impression that the pin mode is independent from the selected function&lt;/SPAN&gt;&lt;BR /&gt;&lt;HR /&gt;&lt;SPAN style="color: #0000ff;"&gt;&lt;STRONG&gt;Quote: &lt;/STRONG&gt;&lt;BR /&gt;The on-chip pull-up/pull-down resistor can be selected for every port pin regardless of the&lt;BR /&gt;function on this pin...&lt;/SPAN&gt;&lt;HR /&gt;&lt;SPAN&gt; Does open drain only work for the GPIO function?&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Wed, 15 Jun 2016 17:49:32 GMT</pubDate>
    <dc:creator>lpcware</dc:creator>
    <dc:date>2016-06-15T17:49:32Z</dc:date>
    <item>
      <title>Open drain behaviour for alternative pin functions?</title>
      <link>https://community.nxp.com/t5/LPC-Microcontrollers/Open-drain-behaviour-for-alternative-pin-functions/m-p/521290#M4109</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;STRONG&gt;Content originally posted in LPCWare by pwuertz on Fri Oct 11 09:03:37 MST 2013&lt;/STRONG&gt;&lt;BR /&gt;&lt;SPAN&gt;Using the PINMODE and PINMODE_OD registers on the LPC1769 I can set an output pin to open-drain mode, which works fine with a pin's default GPIO function. In one of my applications I tried to use the pin P1.22 as an output of the timer match register MAT1.0 in open drain mode. However, the open drain mode seems to be ignored once I switch from GPIO to the MAT1.0 function.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Is this the intended behavior? The user manual (UM10360 Page 105) kind of gave me the impression that the pin mode is independent from the selected function&lt;/SPAN&gt;&lt;BR /&gt;&lt;HR /&gt;&lt;SPAN style="color: #0000ff;"&gt;&lt;STRONG&gt;Quote: &lt;/STRONG&gt;&lt;BR /&gt;The on-chip pull-up/pull-down resistor can be selected for every port pin regardless of the&lt;BR /&gt;function on this pin...&lt;/SPAN&gt;&lt;HR /&gt;&lt;SPAN&gt; Does open drain only work for the GPIO function?&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 15 Jun 2016 17:49:32 GMT</pubDate>
      <guid>https://community.nxp.com/t5/LPC-Microcontrollers/Open-drain-behaviour-for-alternative-pin-functions/m-p/521290#M4109</guid>
      <dc:creator>lpcware</dc:creator>
      <dc:date>2016-06-15T17:49:32Z</dc:date>
    </item>
    <item>
      <title>Re: Open drain behaviour for alternative pin functions?</title>
      <link>https://community.nxp.com/t5/LPC-Microcontrollers/Open-drain-behaviour-for-alternative-pin-functions/m-p/521291#M4110</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 just had similar open drain-issues for the I2C interfaces.&lt;/P&gt;&lt;P&gt;According to the latest Errata for LPC176x the OD-registers only works for pins in GPIO-mode.&lt;/P&gt;&lt;P&gt;If the pin is used for any other function the OD-register is overridden and is only set when the interface demands it.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards&lt;/P&gt;&lt;P&gt;Mike&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 20 Sep 2016 14:57:59 GMT</pubDate>
      <guid>https://community.nxp.com/t5/LPC-Microcontrollers/Open-drain-behaviour-for-alternative-pin-functions/m-p/521291#M4110</guid>
      <dc:creator>mikaelstolt</dc:creator>
      <dc:date>2016-09-20T14:57:59Z</dc:date>
    </item>
  </channel>
</rss>

