<?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: LPC4088 Ethernet Error</title>
    <link>https://community.nxp.com/t5/LPC-Microcontrollers/LPC4088-Ethernet-Error/m-p/550556#M14032</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;STRONG&gt;Content originally posted in LPCWare by Kangurito on Mon Apr 06 08:10:47 MST 2015&lt;/STRONG&gt;&lt;BR /&gt;&lt;SPAN&gt;Just to share with those who may fact this problem in the future... here's my solution.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;When initialising ethernet MAC, the IO lines must be configured properly before turning on the ETH power.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;The initialisation sequence with the code I was using was wrong.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Buggy code with incorrect sequence:&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;/* Set up power for Ethernet module */&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;CLKPWR_ConfigPPWR (CLKPWR_PCONP_PCENET, ENABLE);&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;/* Enable P1 Ethernet Pins. */&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;PINSEL_ConfigPin(1,0,1);&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;PINSEL_ConfigPin(1,1,1);&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;PINSEL_ConfigPin(1,4,1);&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;PINSEL_ConfigPin(1,8,1);&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;PINSEL_ConfigPin(1,9,1);&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;PINSEL_ConfigPin(1,10,1);&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;PINSEL_ConfigPin(1,14,1);&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;PINSEL_ConfigPin(1,15,1);&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;PINSEL_ConfigPin(1,16,1);&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;PINSEL_ConfigPin(1,17,1);&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Solution: Configure the pins first, then turn on the clock. This works:&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;PINSEL_ConfigPin(1,0,1);&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;PINSEL_ConfigPin(1,1,1);&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;PINSEL_ConfigPin(1,4,1);&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;PINSEL_ConfigPin(1,8,1);&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;PINSEL_ConfigPin(1,9,1);&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;PINSEL_ConfigPin(1,10,1);&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;PINSEL_ConfigPin(1,14,1);&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;PINSEL_ConfigPin(1,15,1);&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;PINSEL_ConfigPin(1,16,1);&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;PINSEL_ConfigPin(1,17,1);&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;/* Set up power for Ethernet module */&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;CLKPWR_ConfigPPWR (CLKPWR_PCONP_PCENET, ENABLE);&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Wed, 15 Jun 2016 18:33:13 GMT</pubDate>
    <dc:creator>lpcware</dc:creator>
    <dc:date>2016-06-15T18:33:13Z</dc:date>
    <item>
      <title>LPC4088 Ethernet Error</title>
      <link>https://community.nxp.com/t5/LPC-Microcontrollers/LPC4088-Ethernet-Error/m-p/550553#M14029</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;STRONG&gt;Content originally posted in LPCWare by juiwen on Thu Oct 31 00:28:56 MST 2013&lt;/STRONG&gt;&lt;BR /&gt;&lt;SPAN&gt;I use u-boot For LPC1788 and it's run Ok, but I use u-boot for LPC4088 have some trouble. I use u-boot read PHY register from LPC4088 use ENET_MDC &amp;amp; ENET_MDIO pin, I find Hardware Communication is OK but read MII Mgmt Read Data register (MRDD - address 0x2008 4030)&amp;nbsp; is always zero, can you help me to Solve it, thank you&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Regards&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;juiwen&amp;nbsp; &lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 15 Jun 2016 18:33:11 GMT</pubDate>
      <guid>https://community.nxp.com/t5/LPC-Microcontrollers/LPC4088-Ethernet-Error/m-p/550553#M14029</guid>
      <dc:creator>lpcware</dc:creator>
      <dc:date>2016-06-15T18:33:11Z</dc:date>
    </item>
    <item>
      <title>Re: LPC4088 Ethernet Error</title>
      <link>https://community.nxp.com/t5/LPC-Microcontrollers/LPC4088-Ethernet-Error/m-p/550554#M14030</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;STRONG&gt;Content originally posted in LPCWare by xianghuiwang on Sat Nov 09 11:16:10 MST 2013&lt;/STRONG&gt;&lt;BR /&gt;&lt;SPAN&gt;Hi, Juiwen,&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Were you able to see the return data from the oscilloscope?&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Were you able to confirm all hardware signaling with the LPC4088 comparing with the LPC1788 version?&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Thanks much!&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 15 Jun 2016 18:33:12 GMT</pubDate>
      <guid>https://community.nxp.com/t5/LPC-Microcontrollers/LPC4088-Ethernet-Error/m-p/550554#M14030</guid>
      <dc:creator>lpcware</dc:creator>
      <dc:date>2016-06-15T18:33:12Z</dc:date>
    </item>
    <item>
      <title>Re: LPC4088 Ethernet Error</title>
      <link>https://community.nxp.com/t5/LPC-Microcontrollers/LPC4088-Ethernet-Error/m-p/550555#M14031</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;STRONG&gt;Content originally posted in LPCWare by Kangurito on Sun Apr 05 11:26:06 MST 2015&lt;/STRONG&gt;&lt;BR /&gt;&lt;SPAN&gt;Hi NXP MCU Support&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;I'm experiencing the same problem. No data on MRDD.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;I can see the return data on the oscilloscope.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Experiments with the CLOCKSEL (slowing down and speeding it up) have made no difference.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;CPU LPC4088&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;CPU running at 120mhz, CLOCKSEL 0x08, &lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Are there any special registers that need to be configured to make this work?&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Thanks in advance&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 15 Jun 2016 18:33:13 GMT</pubDate>
      <guid>https://community.nxp.com/t5/LPC-Microcontrollers/LPC4088-Ethernet-Error/m-p/550555#M14031</guid>
      <dc:creator>lpcware</dc:creator>
      <dc:date>2016-06-15T18:33:13Z</dc:date>
    </item>
    <item>
      <title>Re: LPC4088 Ethernet Error</title>
      <link>https://community.nxp.com/t5/LPC-Microcontrollers/LPC4088-Ethernet-Error/m-p/550556#M14032</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;STRONG&gt;Content originally posted in LPCWare by Kangurito on Mon Apr 06 08:10:47 MST 2015&lt;/STRONG&gt;&lt;BR /&gt;&lt;SPAN&gt;Just to share with those who may fact this problem in the future... here's my solution.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;When initialising ethernet MAC, the IO lines must be configured properly before turning on the ETH power.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;The initialisation sequence with the code I was using was wrong.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Buggy code with incorrect sequence:&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;/* Set up power for Ethernet module */&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;CLKPWR_ConfigPPWR (CLKPWR_PCONP_PCENET, ENABLE);&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;/* Enable P1 Ethernet Pins. */&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;PINSEL_ConfigPin(1,0,1);&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;PINSEL_ConfigPin(1,1,1);&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;PINSEL_ConfigPin(1,4,1);&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;PINSEL_ConfigPin(1,8,1);&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;PINSEL_ConfigPin(1,9,1);&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;PINSEL_ConfigPin(1,10,1);&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;PINSEL_ConfigPin(1,14,1);&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;PINSEL_ConfigPin(1,15,1);&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;PINSEL_ConfigPin(1,16,1);&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;PINSEL_ConfigPin(1,17,1);&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Solution: Configure the pins first, then turn on the clock. This works:&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;PINSEL_ConfigPin(1,0,1);&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;PINSEL_ConfigPin(1,1,1);&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;PINSEL_ConfigPin(1,4,1);&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;PINSEL_ConfigPin(1,8,1);&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;PINSEL_ConfigPin(1,9,1);&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;PINSEL_ConfigPin(1,10,1);&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;PINSEL_ConfigPin(1,14,1);&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;PINSEL_ConfigPin(1,15,1);&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;PINSEL_ConfigPin(1,16,1);&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;PINSEL_ConfigPin(1,17,1);&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;/* Set up power for Ethernet module */&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;CLKPWR_ConfigPPWR (CLKPWR_PCONP_PCENET, ENABLE);&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 15 Jun 2016 18:33:13 GMT</pubDate>
      <guid>https://community.nxp.com/t5/LPC-Microcontrollers/LPC4088-Ethernet-Error/m-p/550556#M14032</guid>
      <dc:creator>lpcware</dc:creator>
      <dc:date>2016-06-15T18:33:13Z</dc:date>
    </item>
  </channel>
</rss>

