<?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 TWR-K60F120M and PHY dp83640 in Kinetis Microcontrollers</title>
    <link>https://community.nxp.com/t5/Kinetis-Microcontrollers/TWR-K60F120M-and-PHY-dp83640/m-p/236095#M5434</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi, &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I have the tower system TWR-K60F120M + TWR-SER.&amp;nbsp; I tried the BSP demo "httpdsrv" software and it works fine. I can see in the code and settings that it is in RMII mode.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Now I want to connect to a demo board for the TI DP83640 PHY PTP. I changed in the code and the links to compile with "phy_dp83xxx".&amp;nbsp; &lt;/P&gt;&lt;P&gt;The demo software doesn't work. I get the 100Mb network connection and, the link led, speed led and act blinking.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I changed to remove the define RMII mode (ENET_OPTION_RMII) because I want it works in MII. I checked different things in the config and boards, here some unresolved questions:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;OL&gt;&lt;LI&gt;Someone has some experience with that ?&lt;/LI&gt;&lt;LI&gt;Are the MII TX2, TX3, RX2 and RX3 going out to the tower connection J7 A ?&amp;nbsp; &lt;BR /&gt;On the schematic it is confusing, ETH_TXD3 (and 2, RX3 and 2) seems to not be routed on the uC.&lt;/LI&gt;&lt;LI&gt;uC is clocked by 50Mhz, and PHY by 25Mhz. Should I change something on uC settings ?&lt;/LI&gt;&lt;LI&gt;?&lt;/LI&gt;&lt;/OL&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I use the latest MQX (4.0.1) and CW (10.4)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;thanks&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Mon, 24 Jun 2013 12:18:57 GMT</pubDate>
    <dc:creator>aroste</dc:creator>
    <dc:date>2013-06-24T12:18:57Z</dc:date>
    <item>
      <title>TWR-K60F120M and PHY dp83640</title>
      <link>https://community.nxp.com/t5/Kinetis-Microcontrollers/TWR-K60F120M-and-PHY-dp83640/m-p/236095#M5434</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi, &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I have the tower system TWR-K60F120M + TWR-SER.&amp;nbsp; I tried the BSP demo "httpdsrv" software and it works fine. I can see in the code and settings that it is in RMII mode.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Now I want to connect to a demo board for the TI DP83640 PHY PTP. I changed in the code and the links to compile with "phy_dp83xxx".&amp;nbsp; &lt;/P&gt;&lt;P&gt;The demo software doesn't work. I get the 100Mb network connection and, the link led, speed led and act blinking.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I changed to remove the define RMII mode (ENET_OPTION_RMII) because I want it works in MII. I checked different things in the config and boards, here some unresolved questions:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;OL&gt;&lt;LI&gt;Someone has some experience with that ?&lt;/LI&gt;&lt;LI&gt;Are the MII TX2, TX3, RX2 and RX3 going out to the tower connection J7 A ?&amp;nbsp; &lt;BR /&gt;On the schematic it is confusing, ETH_TXD3 (and 2, RX3 and 2) seems to not be routed on the uC.&lt;/LI&gt;&lt;LI&gt;uC is clocked by 50Mhz, and PHY by 25Mhz. Should I change something on uC settings ?&lt;/LI&gt;&lt;LI&gt;?&lt;/LI&gt;&lt;/OL&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I use the latest MQX (4.0.1) and CW (10.4)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;thanks&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 24 Jun 2013 12:18:57 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Kinetis-Microcontrollers/TWR-K60F120M-and-PHY-dp83640/m-p/236095#M5434</guid>
      <dc:creator>aroste</dc:creator>
      <dc:date>2013-06-24T12:18:57Z</dc:date>
    </item>
    <item>
      <title>Re: TWR-K60F120M and PHY dp83640</title>
      <link>https://community.nxp.com/t5/Kinetis-Microcontrollers/TWR-K60F120M-and-PHY-dp83640/m-p/236096#M5435</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;TWR-K60F120M just supports RMII interface as some signals for MII are used for other purpose, so please use it for &lt;SPAN style="font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; background-color: #ffffff;"&gt;RMII&lt;/SPAN&gt; application. The 50MHz external clock is a MUST option for RMII mode, it is also ok to use 8MHz when using the MII interface instead .&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Hope that helps,&lt;/P&gt;&lt;P&gt;B.R&lt;/P&gt;&lt;P&gt;Kan&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 25 Jun 2013 02:50:13 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Kinetis-Microcontrollers/TWR-K60F120M-and-PHY-dp83640/m-p/236096#M5435</guid>
      <dc:creator>Kan_Li</dc:creator>
      <dc:date>2013-06-25T02:50:13Z</dc:date>
    </item>
    <item>
      <title>Re: TWR-K60F120M and PHY dp83640</title>
      <link>https://community.nxp.com/t5/Kinetis-Microcontrollers/TWR-K60F120M-and-PHY-dp83640/m-p/236097#M5436</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Good morning, &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Many thanks for your answer, I understand now why I didn't succeed. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Is it not possible to use the Tx/Rx lines that are on the other connector (ULPI_DATAx) to do MII ?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Some changes needed then on the project file, BSP configuration ?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks&lt;/P&gt;&lt;P&gt;Stephan&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 25 Jun 2013 06:43:58 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Kinetis-Microcontrollers/TWR-K60F120M-and-PHY-dp83640/m-p/236097#M5436</guid>
      <dc:creator>aroste</dc:creator>
      <dc:date>2013-06-25T06:43:58Z</dc:date>
    </item>
    <item>
      <title>Re: TWR-K60F120M and PHY dp83640</title>
      <link>https://community.nxp.com/t5/Kinetis-Microcontrollers/TWR-K60F120M-and-PHY-dp83640/m-p/236098#M5437</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;No， it is not possible to use &lt;SPAN style="font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; background-color: #ffffff;"&gt;TWR-K60F120M&lt;/SPAN&gt; for MII connnection, but if you want it in that way, you may have to design a custom board for it. You may copy most of &lt;SPAN style="font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; background-color: #ffffff;"&gt;TWR-K60F120M&lt;/SPAN&gt; except the Ethernet connection, and do some modification in the BSP, such as adding pin function initialization, and PHY configuration, etc.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Hope that helps,&lt;/P&gt;&lt;P&gt;B.R&lt;/P&gt;&lt;P&gt;Kan&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 27 Jun 2013 03:13:57 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Kinetis-Microcontrollers/TWR-K60F120M-and-PHY-dp83640/m-p/236098#M5437</guid>
      <dc:creator>Kan_Li</dc:creator>
      <dc:date>2013-06-27T03:13:57Z</dc:date>
    </item>
    <item>
      <title>Re: TWR-K60F120M and PHY dp83640</title>
      <link>https://community.nxp.com/t5/Kinetis-Microcontrollers/TWR-K60F120M-and-PHY-dp83640/m-p/236099#M5438</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi, &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Oh that's not good for me. Could you tell me what are the reasons for that ?&amp;nbsp; (in the big lines)&amp;nbsp; &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I would like to understand and that will help me to design my new board. I'm testing that part to finalize and validate my schematic. I checked and I didn't see any reason that I could not use it. I don't use the JTag (trace lines) and I changed the lines configuration in Mux(ALT4). I'm doing that now and changing the cabling, not yet testing.&lt;/P&gt;&lt;P&gt;About the BSP software it is a unknown situation for me if there is any "driver" issue that might not be working in MII.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;About my configuration:&lt;/P&gt;&lt;P&gt;I use the USB to connect and debug on CW, on the final circuit I planned to use the JTag connection without the TRACE lines and use them for MII.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks in advance for your answer.&lt;/P&gt;&lt;P&gt;Stephan&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 27 Jun 2013 06:42:16 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Kinetis-Microcontrollers/TWR-K60F120M-and-PHY-dp83640/m-p/236099#M5438</guid>
      <dc:creator>aroste</dc:creator>
      <dc:date>2013-06-27T06:42:16Z</dc:date>
    </item>
    <item>
      <title>Re: TWR-K60F120M and PHY dp83640</title>
      <link>https://community.nxp.com/t5/Kinetis-Microcontrollers/TWR-K60F120M-and-PHY-dp83640/m-p/236100#M5439</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;for example, the following signals are needed by MII,&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="1.PNG"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/119535i9537E852972A89BC/image-size/large?v=v2&amp;amp;px=999" role="button" title="1.PNG" alt="1.PNG" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;but the pins related with them are not routed out from the MCU, though the package for this device is LQFP, it might be a little bit easier to solder wires between them , but excellent soldering skill is required, and even these can be achieved, timing issue is still possible to happen. so I would like to recommend you start to design a custom board for that purpose.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 27 Jun 2013 09:43:12 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Kinetis-Microcontrollers/TWR-K60F120M-and-PHY-dp83640/m-p/236100#M5439</guid>
      <dc:creator>Kan_Li</dc:creator>
      <dc:date>2013-06-27T09:43:12Z</dc:date>
    </item>
    <item>
      <title>Re: TWR-K60F120M and PHY dp83640</title>
      <link>https://community.nxp.com/t5/Kinetis-Microcontrollers/TWR-K60F120M-and-PHY-dp83640/m-p/236101#M5440</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Yes you are right for that, they are not routed on connector AB with those names.&amp;nbsp;&amp;nbsp; But if you look from uC side they are routed on connector CD side with names ULPI_DATA 0 to 7 and ULPI_STP.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I checked all connections and the only things, I just found out right now, are the lines PTA10, 11, 28 and 29 (ULPI_DATA..) that are used to set level '0' to the leds D7, 8, 11 and 12.&amp;nbsp; I can see them blinking now and it certainly affect my signals..&amp;nbsp; I will try to just remove the P3V3 resistor connection.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;What do you think?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;thanks&lt;/P&gt;&lt;P&gt;Stephan&lt;/P&gt;&lt;P&gt;+41324883692&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 27 Jun 2013 09:56:09 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Kinetis-Microcontrollers/TWR-K60F120M-and-PHY-dp83640/m-p/236101#M5440</guid>
      <dc:creator>aroste</dc:creator>
      <dc:date>2013-06-27T09:56:09Z</dc:date>
    </item>
    <item>
      <title>Re: TWR-K60F120M and PHY dp83640</title>
      <link>https://community.nxp.com/t5/Kinetis-Microcontrollers/TWR-K60F120M-and-PHY-dp83640/m-p/236102#M5441</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I quick update to tell you I got it working in MII.&amp;nbsp; I did like I explained to you in the previous message.&amp;nbsp; For the leds I just removed them to clear the lines. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Next challenge will be program PTP with this PHY.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks an best regards&lt;/P&gt;&lt;P&gt;-stephan-&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 27 Jun 2013 14:07:16 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Kinetis-Microcontrollers/TWR-K60F120M-and-PHY-dp83640/m-p/236102#M5441</guid>
      <dc:creator>aroste</dc:creator>
      <dc:date>2013-06-27T14:07:16Z</dc:date>
    </item>
    <item>
      <title>Re: TWR-K60F120M and PHY dp83640</title>
      <link>https://community.nxp.com/t5/Kinetis-Microcontrollers/TWR-K60F120M-and-PHY-dp83640/m-p/236103#M5442</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Stephan,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Yes, you are right. I didn't notice the CD side, these connected signals would help to implement the MII interface easily, so you may design a custom board like TWR-SER to implement MII interface, but if you have a ready demo board , you might have to solder wires between them, if so, please keep the wire length as same as possible, you know, for example, if the trace length between FEC_TXD2/3 and FEC_TXD1/0 is different , that might cause timing issue during communication.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Hope that helps,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Have a nice day!!&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;B.R&lt;/P&gt;&lt;P&gt;Kan&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 28 Jun 2013 02:04:31 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Kinetis-Microcontrollers/TWR-K60F120M-and-PHY-dp83640/m-p/236103#M5442</guid>
      <dc:creator>Kan_Li</dc:creator>
      <dc:date>2013-06-28T02:04:31Z</dc:date>
    </item>
    <item>
      <title>Re: TWR-K60F120M and PHY dp83640</title>
      <link>https://community.nxp.com/t5/Kinetis-Microcontrollers/TWR-K60F120M-and-PHY-dp83640/m-p/236104#M5443</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I was on holidays. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks for your reply, I will keep in mind your recommendations. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Furthermore, do you have some experience by using the DP83640 from TI ?&amp;nbsp;&amp;nbsp; Or someone in Freescale ?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I got this, &lt;STRONG&gt;"DP83640 Software Design Guide and C Software Reference Library"&lt;/STRONG&gt;, but I stuck now on how to use and implement it.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I have to setup the PTP slave with this PHY.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;BR&lt;/P&gt;&lt;P&gt;stephan&lt;/P&gt;&lt;P&gt;&lt;SPAN class="mce_paste_marker"&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 17 Jul 2013 08:06:05 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Kinetis-Microcontrollers/TWR-K60F120M-and-PHY-dp83640/m-p/236104#M5443</guid>
      <dc:creator>aroste</dc:creator>
      <dc:date>2013-07-17T08:06:05Z</dc:date>
    </item>
  </channel>
</rss>

