<?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: LP1768 / DP83848 , Hangs on initialization, possible 2 traces flipped. in LPC Microcontrollers</title>
    <link>https://community.nxp.com/t5/LPC-Microcontrollers/LP1768-DP83848-Hangs-on-initialization-possible-2-traces-flipped/m-p/522433#M5069</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;STRONG&gt;Content originally posted in LPCWare by defcon8 on Thu Mar 17 10:57:02 MST 2016&lt;/STRONG&gt;&lt;BR /&gt;&lt;SPAN&gt;Anybody? Can use a bit of help here :(&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Wed, 15 Jun 2016 17:55:35 GMT</pubDate>
    <dc:creator>lpcware</dc:creator>
    <dc:date>2016-06-15T17:55:35Z</dc:date>
    <item>
      <title>LP1768 / DP83848 , Hangs on initialization, possible 2 traces flipped.</title>
      <link>https://community.nxp.com/t5/LPC-Microcontrollers/LP1768-DP83848-Hangs-on-initialization-possible-2-traces-flipped/m-p/522432#M5068</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;STRONG&gt;Content originally posted in LPCWare by defcon8 on Mon Mar 14 13:37:46 MST 2016&lt;/STRONG&gt;&lt;BR /&gt;&lt;SPAN&gt;Hi,&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;I am trying to write software for a new designed board. It has the NXP LPC1768 and DP83848 Phy. The microcontroller crashes when i try to initialize ethernet. Even JTAG connection is lost. I traced it down to this part in code, after the reset method it hangs:&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;/* Basic Ethernet interface initialization */
void Chip_ENET_Init(LPC_ENET_T *pENET, bool useRMII)
{
Chip_Clock_EnablePeriphClock(SYSCTL_CLOCK_ENET);
resetENET(pENET);
&lt;/PRE&gt; &lt;/TD&gt;&lt;/TR&gt;&lt;/TBODY&gt;&lt;/TABLE&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;We use LPCXpresso Pro and LPCOpen. Code is build upon the FreeRTOS_Webserver example. I am not a hardware engineer, the board was made by some other person. When i look at the schematics, i think there are 2 lines flipped.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;LPC1768&amp;nbsp;&amp;nbsp;&amp;nbsp; PIN 43&amp;nbsp;&amp;nbsp;&amp;nbsp; P1(27)/CLKOUT/USB_OVRCR/CAP0(1)&amp;nbsp;&amp;nbsp;&amp;nbsp; ==&amp;gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; DP83848&amp;nbsp;&amp;nbsp;&amp;nbsp; PIN 29&amp;nbsp;&amp;nbsp;&amp;nbsp; RESET&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;LPC1768&amp;nbsp;&amp;nbsp;&amp;nbsp; PIN 44&amp;nbsp;&amp;nbsp;&amp;nbsp; P1(28)/MC2A/PCAP1(0)/MAT0(0)&amp;nbsp;&amp;nbsp;&amp;nbsp; ==&amp;gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; XTAL_OSC_DX057 (50MHz) PIN 1 INH&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Since i'm not a hardware engineer, i am not sure this is correct and have my doubts about it. Is there anybody out here that can confirm that this is a hardware design "mistake"? And is there a way to flip these 2 signal pins in software?&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;This is my first embedded project so any help is appreciated.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Thank you,&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Regards,&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Bastiaan&lt;/SPAN&gt;&lt;BR /&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 15 Jun 2016 17:55:34 GMT</pubDate>
      <guid>https://community.nxp.com/t5/LPC-Microcontrollers/LP1768-DP83848-Hangs-on-initialization-possible-2-traces-flipped/m-p/522432#M5068</guid>
      <dc:creator>lpcware</dc:creator>
      <dc:date>2016-06-15T17:55:34Z</dc:date>
    </item>
    <item>
      <title>Re: LP1768 / DP83848 , Hangs on initialization, possible 2 traces flipped.</title>
      <link>https://community.nxp.com/t5/LPC-Microcontrollers/LP1768-DP83848-Hangs-on-initialization-possible-2-traces-flipped/m-p/522433#M5069</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;STRONG&gt;Content originally posted in LPCWare by defcon8 on Thu Mar 17 10:57:02 MST 2016&lt;/STRONG&gt;&lt;BR /&gt;&lt;SPAN&gt;Anybody? Can use a bit of help here :(&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 15 Jun 2016 17:55:35 GMT</pubDate>
      <guid>https://community.nxp.com/t5/LPC-Microcontrollers/LP1768-DP83848-Hangs-on-initialization-possible-2-traces-flipped/m-p/522433#M5069</guid>
      <dc:creator>lpcware</dc:creator>
      <dc:date>2016-06-15T17:55:35Z</dc:date>
    </item>
    <item>
      <title>Re: LP1768 / DP83848 , Hangs on initialization, possible 2 traces flipped.</title>
      <link>https://community.nxp.com/t5/LPC-Microcontrollers/LP1768-DP83848-Hangs-on-initialization-possible-2-traces-flipped/m-p/522434#M5070</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;STRONG&gt;Content originally posted in LPCWare by DF9DQ on Thu Mar 17 19:31:37 MST 2016&lt;/STRONG&gt;&lt;BR /&gt;&lt;SPAN&gt;This happens if the LPC doesn't get the 50 MHz clock signal.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;I guess the "INH" controls the activation of this oscillator, so try changing the level of that signal before attempting Ethernet initialization.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 15 Jun 2016 17:55:36 GMT</pubDate>
      <guid>https://community.nxp.com/t5/LPC-Microcontrollers/LP1768-DP83848-Hangs-on-initialization-possible-2-traces-flipped/m-p/522434#M5070</guid>
      <dc:creator>lpcware</dc:creator>
      <dc:date>2016-06-15T17:55:36Z</dc:date>
    </item>
    <item>
      <title>Re: LP1768 / DP83848 , Hangs on initialization, possible 2 traces flipped.</title>
      <link>https://community.nxp.com/t5/LPC-Microcontrollers/LP1768-DP83848-Hangs-on-initialization-possible-2-traces-flipped/m-p/522435#M5071</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;bump&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sun, 19 Jun 2016 01:05:07 GMT</pubDate>
      <guid>https://community.nxp.com/t5/LPC-Microcontrollers/LP1768-DP83848-Hangs-on-initialization-possible-2-traces-flipped/m-p/522435#M5071</guid>
      <dc:creator>lpcware</dc:creator>
      <dc:date>2016-06-19T01:05:07Z</dc:date>
    </item>
  </channel>
</rss>

