<?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: port direction change to output causes current spike in LPC Microcontrollers</title>
    <link>https://community.nxp.com/t5/LPC-Microcontrollers/port-direction-change-to-output-causes-current-spike/m-p/532594#M10440</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;STRONG&gt;Content originally posted in LPCWare by nxp_apps on Thu May 01 11:38:43 MST 2014&lt;/STRONG&gt;&lt;BR /&gt;&lt;SPAN&gt;Hi,&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Can you re-run the experiment with P0.22 disconnected from the 5K resistor and small FET gate?&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Do you see this occurring on another port pin?&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Thanks.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;nxp_support&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Wed, 15 Jun 2016 19:33:19 GMT</pubDate>
    <dc:creator>lpcware</dc:creator>
    <dc:date>2016-06-15T19:33:19Z</dc:date>
    <item>
      <title>port direction change to output causes current spike</title>
      <link>https://community.nxp.com/t5/LPC-Microcontrollers/port-direction-change-to-output-causes-current-spike/m-p/532593#M10439</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;STRONG&gt;Content originally posted in LPCWare by mspahr on Fri Apr 11 12:20:46 MST 2014&lt;/STRONG&gt;&lt;BR /&gt;&lt;SPAN&gt;Port direction change causes current spike.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;LPC11U35FET48/501&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;When P0,22 direction is changed to output, there is a large current spike&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;on VCC.&amp;nbsp; It sags my 3.3V VCC supply to 3V.&amp;nbsp; It is less than 1uS in duration.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;It then takes my 25mA power supply 100uS to fully recover.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;The processor is normally running about 11mA so I am guessing it spikes to &lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;greater than 25mA.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;None of the other 11 GPIOs that are set to outputs do this.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;P0,22 has a 5K resistor to ground and a small FET gate.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Before the direction change, the IOCON is set to 0x80 (set to GPIO, no pull-up).&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;The data register is set to 0.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;I have scoped the P0,22 at the time of the direction change and it is always&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;low, before, during, and after the direction change.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;I can subsequently set P0,22 high and low and it causes no current spike.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;This has been seen on multiple boards so it is not just a bad chip.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 15 Jun 2016 19:33:19 GMT</pubDate>
      <guid>https://community.nxp.com/t5/LPC-Microcontrollers/port-direction-change-to-output-causes-current-spike/m-p/532593#M10439</guid>
      <dc:creator>lpcware</dc:creator>
      <dc:date>2016-06-15T19:33:19Z</dc:date>
    </item>
    <item>
      <title>Re: port direction change to output causes current spike</title>
      <link>https://community.nxp.com/t5/LPC-Microcontrollers/port-direction-change-to-output-causes-current-spike/m-p/532594#M10440</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;STRONG&gt;Content originally posted in LPCWare by nxp_apps on Thu May 01 11:38:43 MST 2014&lt;/STRONG&gt;&lt;BR /&gt;&lt;SPAN&gt;Hi,&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Can you re-run the experiment with P0.22 disconnected from the 5K resistor and small FET gate?&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Do you see this occurring on another port pin?&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Thanks.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;nxp_support&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 15 Jun 2016 19:33:19 GMT</pubDate>
      <guid>https://community.nxp.com/t5/LPC-Microcontrollers/port-direction-change-to-output-causes-current-spike/m-p/532594#M10440</guid>
      <dc:creator>lpcware</dc:creator>
      <dc:date>2016-06-15T19:33:19Z</dc:date>
    </item>
  </channel>
</rss>

