<?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>LPC MicrocontrollersのトピックRe: LPC4078 LQFP100: GPIO p0.28 not working</title>
    <link>https://community.nxp.com/t5/LPC-Microcontrollers/LPC4078-LQFP100-GPIO-p0-28-not-working/m-p/547164#M13444</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;STRONG&gt;Content originally posted in LPCWare by TKoe on Fri Dec 04 10:01:15 MST 2015&lt;/STRONG&gt;&lt;BR /&gt;&lt;HR /&gt;&lt;SPAN style="color: #0000ff;"&gt;&lt;STRONG&gt;Quote: &lt;/STRONG&gt;&lt;BR /&gt;the same thing works fine on a LPC4088 QSB&lt;/SPAN&gt;&lt;HR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Interesting, because according to the UM chapters 22.1 (I²C -&amp;gt; Basic Configuration) and also 7.3.8 (IO config -&amp;gt; IOCON registers -&amp;gt; I2C modes) neither of those pins should be able to output a high level without an external pull-up resistor.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Why this isn't mentioned (or at least referenced) in table 89 is beyond me though.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Edit: I apparently also love responding to dead threads. My excuse is that it was already on top of the thread list :P&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Wed, 15 Jun 2016 18:32:33 GMT</pubDate>
    <dc:creator>lpcware</dc:creator>
    <dc:date>2016-06-15T18:32:33Z</dc:date>
    <item>
      <title>LPC4078 LQFP100: GPIO p0.28 not working</title>
      <link>https://community.nxp.com/t5/LPC-Microcontrollers/LPC4078-LQFP100-GPIO-p0-28-not-working/m-p/547162#M13442</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;STRONG&gt;Content originally posted in LPCWare by gjwep on Fri Nov 06 10:00:27 MST 2015&lt;/STRONG&gt;&lt;BR /&gt;&lt;SPAN&gt;Hello,&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;I am trying to configure P0.27 and P0.28 as output ports on a LPC4078 LQFP100 (custom board). Per UM these two are "Type I IOCON registers" which inherit some behavior from the I2C functions available on them. I configured P0.27 according to UM table 88 and can change its pin state as expected. However, P0.28 doesn't want to play and neither SETing it through code nor changing it manually in the debugger affects the PIN state of 0 (verified with voltmeter). There is no external pull-down attached to the pin. Behavior confirmed with a second board of the same build (LPC4078 LQFP100). &lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Initializations and toggling of pin state shown for both P0.27 (which works) and P0.28 (which doesn't):&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;TABLE border="1"&gt;&lt;TBODY&gt;&lt;TR&gt;&lt;TD bgcolor="#cacaca"&gt; &lt;PRE&gt;
...
Chip_GPIO_Init(LPC_GPIO);
Chip_IOCON_Init(LPC_IOCON);

//p0.27
Chip_IOCON_PinMuxSet(LPC_IOCON, 0, 27, (IOCON_FUNC0));&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 
Chip_GPIO_SetPinDIR(LPC_GPIO, 0, 27, true);
Chip_GPIO_SetPinOutLow(LPC_GPIO, 0, 27);&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; //stays low (default)
Chip_GPIO_SetPinOutHigh(LPC_GPIO, 0, 27);&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; //switches to high OK

//p0.28
Chip_IOCON_PinMuxSet(LPC_IOCON, 0, 28, (IOCON_FUNC0)); 
Chip_GPIO_SetPinDIR(LPC_GPIO, 0, 28, true);
Chip_GPIO_SetPinOutLow(LPC_GPIO, 0, 28);&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; //stays low (default)
Chip_GPIO_SetPinOutHigh(LPC_GPIO, 0, 28);&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; //STAYS LOW
...
&lt;/PRE&gt; &lt;/TD&gt;&lt;/TR&gt;&lt;/TBODY&gt;&lt;/TABLE&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;What am I missing? &lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Thanks in advance,&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;gj&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 15 Jun 2016 18:32:30 GMT</pubDate>
      <guid>https://community.nxp.com/t5/LPC-Microcontrollers/LPC4078-LQFP100-GPIO-p0-28-not-working/m-p/547162#M13442</guid>
      <dc:creator>lpcware</dc:creator>
      <dc:date>2016-06-15T18:32:30Z</dc:date>
    </item>
    <item>
      <title>Re: LPC4078 LQFP100: GPIO p0.28 not working</title>
      <link>https://community.nxp.com/t5/LPC-Microcontrollers/LPC4078-LQFP100-GPIO-p0-28-not-working/m-p/547163#M13443</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;STRONG&gt;Content originally posted in LPCWare by gjwep on Fri Nov 06 10:26:24 MST 2015&lt;/STRONG&gt;&lt;BR /&gt;&lt;SPAN&gt;I should have added that the same thing works fine on a LPC4088 QSB (which uses a different package LPC408x). &lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 15 Jun 2016 18:32:31 GMT</pubDate>
      <guid>https://community.nxp.com/t5/LPC-Microcontrollers/LPC4078-LQFP100-GPIO-p0-28-not-working/m-p/547163#M13443</guid>
      <dc:creator>lpcware</dc:creator>
      <dc:date>2016-06-15T18:32:31Z</dc:date>
    </item>
    <item>
      <title>Re: LPC4078 LQFP100: GPIO p0.28 not working</title>
      <link>https://community.nxp.com/t5/LPC-Microcontrollers/LPC4078-LQFP100-GPIO-p0-28-not-working/m-p/547164#M13444</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;STRONG&gt;Content originally posted in LPCWare by TKoe on Fri Dec 04 10:01:15 MST 2015&lt;/STRONG&gt;&lt;BR /&gt;&lt;HR /&gt;&lt;SPAN style="color: #0000ff;"&gt;&lt;STRONG&gt;Quote: &lt;/STRONG&gt;&lt;BR /&gt;the same thing works fine on a LPC4088 QSB&lt;/SPAN&gt;&lt;HR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Interesting, because according to the UM chapters 22.1 (I²C -&amp;gt; Basic Configuration) and also 7.3.8 (IO config -&amp;gt; IOCON registers -&amp;gt; I2C modes) neither of those pins should be able to output a high level without an external pull-up resistor.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Why this isn't mentioned (or at least referenced) in table 89 is beyond me though.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Edit: I apparently also love responding to dead threads. My excuse is that it was already on top of the thread list :P&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 15 Jun 2016 18:32:33 GMT</pubDate>
      <guid>https://community.nxp.com/t5/LPC-Microcontrollers/LPC4078-LQFP100-GPIO-p0-28-not-working/m-p/547164#M13444</guid>
      <dc:creator>lpcware</dc:creator>
      <dc:date>2016-06-15T18:32:33Z</dc:date>
    </item>
    <item>
      <title>Re: LPC4078 LQFP100: GPIO p0.28 not working</title>
      <link>https://community.nxp.com/t5/LPC-Microcontrollers/LPC4078-LQFP100-GPIO-p0-28-not-working/m-p/547165#M13445</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;STRONG&gt;Content originally posted in LPCWare by gjwep on Sat Jan 09 11:45:35 MST 2016&lt;/STRONG&gt;&lt;BR /&gt;&lt;SPAN&gt;TKoe, &lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Long ago but thanks anyway. This indeed works fine with external PU. I agree that table 89 would require a hint... &lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;gj&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 15 Jun 2016 18:32:33 GMT</pubDate>
      <guid>https://community.nxp.com/t5/LPC-Microcontrollers/LPC4078-LQFP100-GPIO-p0-28-not-working/m-p/547165#M13445</guid>
      <dc:creator>lpcware</dc:creator>
      <dc:date>2016-06-15T18:32:33Z</dc:date>
    </item>
  </channel>
</rss>

