<?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: LPCOpen 1.03 SCU I/O mode definition error</title>
    <link>https://community.nxp.com/t5/LPC-Microcontrollers/LPCOpen-1-03-SCU-I-O-mode-definition-error/m-p/557595#M15435</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;STRONG&gt;Content originally posted in LPCWare by GTA on Wed Aug 07 15:27:36 MST 2013&lt;/STRONG&gt;&lt;BR /&gt;&lt;SPAN&gt;Thanks for bringing this to our attention! I have a few of these in the code I am working with atm.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Wed, 15 Jun 2016 18:41:39 GMT</pubDate>
    <dc:creator>lpcware</dc:creator>
    <dc:date>2016-06-15T18:41:39Z</dc:date>
    <item>
      <title>LPCOpen 1.03 SCU I/O mode definition error</title>
      <link>https://community.nxp.com/t5/LPC-Microcontrollers/LPCOpen-1-03-SCU-I-O-mode-definition-error/m-p/557593#M15433</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;STRONG&gt;Content originally posted in LPCWare by wlamers on Wed Aug 07 10:50:36 MST 2013&lt;/STRONG&gt;&lt;BR /&gt;&lt;SPAN&gt;This is probably already solved in version 1.04 of LPCOpen or elsewhere discussed, but to be sure I mention it here.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;The SCU function mode definitions (pull-up pull-down, repeater etc) in the header file scu_18xx_43xx.h are incorrectly defined. The confusion is probably caused by the fact that disabling the internal pull-down mosfet requires setting bit 4 high instead of low (EPUN, see table 134-136 starting on page 299 of revision 1.6 of the UM).&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Replace the following definitions:&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;
#define SCU_MODE_MODE_INACT&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; (0x0 &amp;lt;&amp;lt; 3)/*!&amp;lt; Disable pull-down and pull-up resistor at resistor at pad */
#define SCU_MODE_MODE_PULLDOWN&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; (0x1 &amp;lt;&amp;lt; 3)/*!&amp;lt; Enable pull-down resistor at pad */
#define SCU_MODE_MODE_PULLUP&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; (0x2 &amp;lt;&amp;lt; 3)/*!&amp;lt; Enable pull-up resistor at pad */
#define SCU_MODE_MODE_REPEATER&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; (0x3 &amp;lt;&amp;lt; 3)/*!&amp;lt; Enable pull-down and pull-up resistor at resistor at pad (repeater mode) */
&lt;/PRE&gt; &lt;/TD&gt;&lt;/TR&gt;&lt;/TBODY&gt;&lt;/TABLE&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;With these:&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;
#define SCU_MODE_MODE_INACT&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; (0x1 &amp;lt;&amp;lt; 4)&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; /*!&amp;lt; Disable pull-down and pull-up resistor at pad */
#define SCU_MODE_MODE_PULLDOWN&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; (0x3 &amp;lt;&amp;lt; 3)&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; /*!&amp;lt; Enable pull-down and disable pull-up resistor at pad */
#define SCU_MODE_MODE_PULLUP&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; (0x0 &amp;lt;&amp;lt; 4)&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; /*!&amp;lt; Keep pull-up resistor at pad (reset value) */
#define SCU_MODE_MODE_REPEATER&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; (0x1 &amp;lt;&amp;lt; 3)&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; /*!&amp;lt; Enable pull-down and pull-up resistor at pad (repeater mode) */
&lt;/PRE&gt; &lt;/TD&gt;&lt;/TR&gt;&lt;/TBODY&gt;&lt;/TABLE&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 15 Jun 2016 18:41:38 GMT</pubDate>
      <guid>https://community.nxp.com/t5/LPC-Microcontrollers/LPCOpen-1-03-SCU-I-O-mode-definition-error/m-p/557593#M15433</guid>
      <dc:creator>lpcware</dc:creator>
      <dc:date>2016-06-15T18:41:38Z</dc:date>
    </item>
    <item>
      <title>Re: LPCOpen 1.03 SCU I/O mode definition error</title>
      <link>https://community.nxp.com/t5/LPC-Microcontrollers/LPCOpen-1-03-SCU-I-O-mode-definition-error/m-p/557594#M15434</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;STRONG&gt;Content originally posted in LPCWare by wlamers on Wed Aug 07 10:59:05 MST 2013&lt;/STRONG&gt;&lt;BR /&gt;&lt;SPAN&gt;Well when submitting this to the bug tracker I found a similar entry already....&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;&lt;SPAN&gt;see: &lt;/SPAN&gt;&lt;A class="jive-link-external-small" href="https://community.nxp.com/external-link.jspa?url=http%3A%2F%2Fwww.lpcware.com%2Fcontent%2Fbugtrackerissue%2Flpcopen-v103-scumodexxxx-and-mdxxx-names-and-comments-incorrect-lpc43xx" rel="nofollow" target="_blank"&gt;http://www.lpcware.com/content/bugtrackerissue/lpcopen-v103-scumodexxxx-and-mdxxx-names-and-comments-incorrect-lpc43xx&lt;/A&gt;&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;I am sorry for the inconvenience. Can someone please remove this post?&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 15 Jun 2016 18:41:38 GMT</pubDate>
      <guid>https://community.nxp.com/t5/LPC-Microcontrollers/LPCOpen-1-03-SCU-I-O-mode-definition-error/m-p/557594#M15434</guid>
      <dc:creator>lpcware</dc:creator>
      <dc:date>2016-06-15T18:41:38Z</dc:date>
    </item>
    <item>
      <title>Re: LPCOpen 1.03 SCU I/O mode definition error</title>
      <link>https://community.nxp.com/t5/LPC-Microcontrollers/LPCOpen-1-03-SCU-I-O-mode-definition-error/m-p/557595#M15435</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;STRONG&gt;Content originally posted in LPCWare by GTA on Wed Aug 07 15:27:36 MST 2013&lt;/STRONG&gt;&lt;BR /&gt;&lt;SPAN&gt;Thanks for bringing this to our attention! I have a few of these in the code I am working with atm.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 15 Jun 2016 18:41:39 GMT</pubDate>
      <guid>https://community.nxp.com/t5/LPC-Microcontrollers/LPCOpen-1-03-SCU-I-O-mode-definition-error/m-p/557595#M15435</guid>
      <dc:creator>lpcware</dc:creator>
      <dc:date>2016-06-15T18:41:39Z</dc:date>
    </item>
    <item>
      <title>Re: LPCOpen 1.03 SCU I/O mode definition error</title>
      <link>https://community.nxp.com/t5/LPC-Microcontrollers/LPCOpen-1-03-SCU-I-O-mode-definition-error/m-p/557596#M15436</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;STRONG&gt;Content originally posted in LPCWare by wellsk on Wed Aug 07 16:16:00 MST 2013&lt;/STRONG&gt;&lt;BR /&gt;&lt;SPAN&gt;This post is probably best left up as a refresher on this issue since the next revision of LPCopen is delayed. I even forgot about it myself, but it it's been fixed in the upcoming LPCOpen release.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 15 Jun 2016 18:41:40 GMT</pubDate>
      <guid>https://community.nxp.com/t5/LPC-Microcontrollers/LPCOpen-1-03-SCU-I-O-mode-definition-error/m-p/557596#M15436</guid>
      <dc:creator>lpcware</dc:creator>
      <dc:date>2016-06-15T18:41:40Z</dc:date>
    </item>
  </channel>
</rss>

