<?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: LPC804 pins default to output pull-up at reset in LPC Microcontrollers</title>
    <link>https://community.nxp.com/t5/LPC-Microcontrollers/LPC804-pins-default-to-output-pull-up-at-reset/m-p/1558996#M50816</link>
    <description>&lt;P&gt;Hi,&lt;/P&gt;
&lt;P&gt;As the following pic I copied from UM11065.pdf, when the weak pull-up is enabled, the pin will be in high logic. when the weak pull-down is enabled, the pin will be in low logic. Unfortunately, in default, the weak pull-up is enabled, the pin is in high logic as you have observed.&lt;/P&gt;
&lt;P&gt;You have to connect an external pull-down resistor(5~10K ohm) to the pin so that the pin is in low logic.&lt;/P&gt;
&lt;P&gt;Hope it can help you&lt;/P&gt;
&lt;P&gt;BR&lt;/P&gt;
&lt;P&gt;XiangJun Rong&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="xiangjun_rong_0-1669253629877.png" style="width: 400px;"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/201530iEFF327B44DD128BD/image-size/medium?v=v2&amp;amp;px=400" role="button" title="xiangjun_rong_0-1669253629877.png" alt="xiangjun_rong_0-1669253629877.png" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Thu, 24 Nov 2022 01:37:43 GMT</pubDate>
    <dc:creator>xiangjun_rong</dc:creator>
    <dc:date>2022-11-24T01:37:43Z</dc:date>
    <item>
      <title>LPC804 pins default to output pull-up at reset</title>
      <link>https://community.nxp.com/t5/LPC-Microcontrollers/LPC804-pins-default-to-output-pull-up-at-reset/m-p/1558271#M50797</link>
      <description>&lt;P&gt;A project using LPC804 found a problem, its PWM pin outputs a pulse waveform between power-on reset and execution of the PWM initial function.&lt;/P&gt;&lt;P&gt;Then I erase MCU flash and measure idle pins waveform, which are also output pull-up. This is different from the description in the user manual, all GPIO pins default to inputs at reset.&lt;/P&gt;&lt;P&gt;Could you please support this problem, thank you!&lt;/P&gt;</description>
      <pubDate>Wed, 23 Nov 2022 06:54:25 GMT</pubDate>
      <guid>https://community.nxp.com/t5/LPC-Microcontrollers/LPC804-pins-default-to-output-pull-up-at-reset/m-p/1558271#M50797</guid>
      <dc:creator>nora_zhao</dc:creator>
      <dc:date>2022-11-23T06:54:25Z</dc:date>
    </item>
    <item>
      <title>Re: LPC804 pins default to output pull-up at reset</title>
      <link>https://community.nxp.com/t5/LPC-Microcontrollers/LPC804-pins-default-to-output-pull-up-at-reset/m-p/1558274#M50798</link>
      <description>&lt;P&gt;The following show the pulse waveform after power-on reset. Red is MCU VDD and yellow is PWM output.&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Snipaste_2022-11-23_14-58-15.png" style="width: 999px;"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/201363i041A15FFE686B716/image-size/large?v=v2&amp;amp;px=999" role="button" title="Snipaste_2022-11-23_14-58-15.png" alt="Snipaste_2022-11-23_14-58-15.png" /&gt;&lt;/span&gt;&lt;/P&gt;</description>
      <pubDate>Wed, 23 Nov 2022 07:01:09 GMT</pubDate>
      <guid>https://community.nxp.com/t5/LPC-Microcontrollers/LPC804-pins-default-to-output-pull-up-at-reset/m-p/1558274#M50798</guid>
      <dc:creator>nora_zhao</dc:creator>
      <dc:date>2022-11-23T07:01:09Z</dc:date>
    </item>
    <item>
      <title>Re: LPC804 pins default to output pull-up at reset</title>
      <link>https://community.nxp.com/t5/LPC-Microcontrollers/LPC804-pins-default-to-output-pull-up-at-reset/m-p/1558375#M50804</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt;
&lt;P&gt;As the following pic I copied from the UM11065.pdf, during/after Reset, almost all pins are in GPIO input state with on-chip pull-up resistor enabled, that is why you see high logic for the PWM pins during/after Reset before you initialize the pin.&lt;/P&gt;
&lt;P&gt;I suppose that you have to connect external 5K~10K ohm pull-down resistor for the PWM pins, this is common practice in order to keep the PWM pins low.&lt;/P&gt;
&lt;P&gt;Hope it can help you&lt;/P&gt;
&lt;P&gt;BR&lt;/P&gt;
&lt;P&gt;XiangJun Rong&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="xiangjun_rong_0-1669194067571.png" style="width: 400px;"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/201390i80791B8C40871022/image-size/medium?v=v2&amp;amp;px=400" role="button" title="xiangjun_rong_0-1669194067571.png" alt="xiangjun_rong_0-1669194067571.png" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 23 Nov 2022 09:05:23 GMT</pubDate>
      <guid>https://community.nxp.com/t5/LPC-Microcontrollers/LPC804-pins-default-to-output-pull-up-at-reset/m-p/1558375#M50804</guid>
      <dc:creator>xiangjun_rong</dc:creator>
      <dc:date>2022-11-23T09:05:23Z</dc:date>
    </item>
    <item>
      <title>Re: LPC804 pins default to output pull-up at reset</title>
      <link>https://community.nxp.com/t5/LPC-Microcontrollers/LPC804-pins-default-to-output-pull-up-at-reset/m-p/1558425#M50808</link>
      <description>&lt;P&gt;&lt;SPAN class=""&gt;Hi &lt;SPAN&gt;XiangJun&lt;/SPAN&gt;, &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN class=""&gt;Thanks for your answer, but I'm still a little confused.&amp;nbsp;&lt;/SPAN&gt;&lt;SPAN class=""&gt; the following pictures I copied from the UM11065.pdf. &lt;/SPAN&gt;&lt;SPAN class=""&gt;If the port state is an input state at reset, the port internally internal circuit is connected to&amp;nbsp;&lt;/SPAN&gt;&lt;SPAN class=""&gt;a Schmidt trigger, it will be a high resistance input state and should not have a pull-up level output.&amp;nbsp;&lt;SPAN&gt;Why does the port direction have a lower priority than the output state?&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN class=""&gt;&lt;SPAN&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Snipaste_2022-11-23_17-41-51.png" style="width: 999px;"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/201402i6C8BDD64E30D75F2/image-size/large?v=v2&amp;amp;px=999" role="button" title="Snipaste_2022-11-23_17-41-51.png" alt="Snipaste_2022-11-23_17-41-51.png" /&gt;&lt;/span&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Snipaste_2022-11-23_18-01-50.png" style="width: 999px;"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/201403i53D95477C6D41706/image-size/large?v=v2&amp;amp;px=999" role="button" title="Snipaste_2022-11-23_18-01-50.png" alt="Snipaste_2022-11-23_18-01-50.png" /&gt;&lt;/span&gt;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Wed, 23 Nov 2022 10:19:06 GMT</pubDate>
      <guid>https://community.nxp.com/t5/LPC-Microcontrollers/LPC804-pins-default-to-output-pull-up-at-reset/m-p/1558425#M50808</guid>
      <dc:creator>nora_zhao</dc:creator>
      <dc:date>2022-11-23T10:19:06Z</dc:date>
    </item>
    <item>
      <title>Re: LPC804 pins default to output pull-up at reset</title>
      <link>https://community.nxp.com/t5/LPC-Microcontrollers/LPC804-pins-default-to-output-pull-up-at-reset/m-p/1558996#M50816</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt;
&lt;P&gt;As the following pic I copied from UM11065.pdf, when the weak pull-up is enabled, the pin will be in high logic. when the weak pull-down is enabled, the pin will be in low logic. Unfortunately, in default, the weak pull-up is enabled, the pin is in high logic as you have observed.&lt;/P&gt;
&lt;P&gt;You have to connect an external pull-down resistor(5~10K ohm) to the pin so that the pin is in low logic.&lt;/P&gt;
&lt;P&gt;Hope it can help you&lt;/P&gt;
&lt;P&gt;BR&lt;/P&gt;
&lt;P&gt;XiangJun Rong&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="xiangjun_rong_0-1669253629877.png" style="width: 400px;"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/201530iEFF327B44DD128BD/image-size/medium?v=v2&amp;amp;px=400" role="button" title="xiangjun_rong_0-1669253629877.png" alt="xiangjun_rong_0-1669253629877.png" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Thu, 24 Nov 2022 01:37:43 GMT</pubDate>
      <guid>https://community.nxp.com/t5/LPC-Microcontrollers/LPC804-pins-default-to-output-pull-up-at-reset/m-p/1558996#M50816</guid>
      <dc:creator>xiangjun_rong</dc:creator>
      <dc:date>2022-11-24T01:37:43Z</dc:date>
    </item>
    <item>
      <title>Re: LPC804 pins default to output pull-up at reset</title>
      <link>https://community.nxp.com/t5/LPC-Microcontrollers/LPC804-pins-default-to-output-pull-up-at-reset/m-p/1561871#M50881</link>
      <description>&lt;P&gt;Understand, thanks for your reply, and suggestion on the external circuit.&lt;/P&gt;</description>
      <pubDate>Wed, 30 Nov 2022 08:26:20 GMT</pubDate>
      <guid>https://community.nxp.com/t5/LPC-Microcontrollers/LPC804-pins-default-to-output-pull-up-at-reset/m-p/1561871#M50881</guid>
      <dc:creator>nora_zhao</dc:creator>
      <dc:date>2022-11-30T08:26:20Z</dc:date>
    </item>
  </channel>
</rss>

