<?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 Interfacing with the PHY in MQX Software Solutions</title>
    <link>https://community.nxp.com/t5/MQX-Software-Solutions/Interfacing-with-the-PHY/m-p/199881#M4360</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I'd like to talk to my Ethernet PHY through MQX to set up some configuration options and have greater control over Ethernet communications in my application. For example, I'd like to do things like automatically grab the OUI from the PHY and query link status. From what I've seen, however, there is basically ZERO documentation on using the Ethernet driver to perform such tasks. I'm using the same Micrel PHY that is used on the K60 tower and notice that there is some source code in the MQX tree to support this PHY. Moreover, that source code provides access to some of the functionality I want but I have no idea how to access it.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Can anyone explain how I can read/write PHY registers through MQX?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks!&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Thu, 06 Dec 2012 18:20:17 GMT</pubDate>
    <dc:creator>sjackson</dc:creator>
    <dc:date>2012-12-06T18:20:17Z</dc:date>
    <item>
      <title>Interfacing with the PHY</title>
      <link>https://community.nxp.com/t5/MQX-Software-Solutions/Interfacing-with-the-PHY/m-p/199881#M4360</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I'd like to talk to my Ethernet PHY through MQX to set up some configuration options and have greater control over Ethernet communications in my application. For example, I'd like to do things like automatically grab the OUI from the PHY and query link status. From what I've seen, however, there is basically ZERO documentation on using the Ethernet driver to perform such tasks. I'm using the same Micrel PHY that is used on the K60 tower and notice that there is some source code in the MQX tree to support this PHY. Moreover, that source code provides access to some of the functionality I want but I have no idea how to access it.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Can anyone explain how I can read/write PHY registers through MQX?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks!&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 06 Dec 2012 18:20:17 GMT</pubDate>
      <guid>https://community.nxp.com/t5/MQX-Software-Solutions/Interfacing-with-the-PHY/m-p/199881#M4360</guid>
      <dc:creator>sjackson</dc:creator>
      <dc:date>2012-12-06T18:20:17Z</dc:date>
    </item>
    <item>
      <title>Re: Interfacing with the PHY</title>
      <link>https://community.nxp.com/t5/MQX-Software-Solutions/Interfacing-with-the-PHY/m-p/199882#M4361</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;Have you studied the example projects:&lt;/P&gt;&lt;P&gt;C:\Freescale\Freescale MQX 3.8\demo\security_telnet\cw10\sectelnet_twrk60n512&lt;BR /&gt;C:\Freescale\Freescale MQX 3.8\demo\security_webserver\cw10\secwebserver_twrk60n512&lt;/P&gt;&lt;P&gt;C:\Freescale\Freescale MQX 3.8\rtcs\build\cw10\rtcs_twrk60n512&lt;/P&gt;&lt;P&gt;Import and build those. The code functionality can be quite easily studied in CW. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The link status is used in ipcfg.c: boolean ipcfg_get_link_active()&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; return ENET_link_status (((IP_IF_PTR)(ipcfg_data[device].ihandle))-&amp;gt;HANDLE);&lt;/P&gt;&lt;P&gt;&lt;SPAN class="mce_paste_marker"&gt;&lt;/SPAN&gt; &lt;/P&gt;&lt;P&gt;&lt;SPAN class="mce_paste_marker"&gt;&lt;/SPAN&gt;~Mark &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>Thu, 06 Dec 2012 19:19:43 GMT</pubDate>
      <guid>https://community.nxp.com/t5/MQX-Software-Solutions/Interfacing-with-the-PHY/m-p/199882#M4361</guid>
      <dc:creator>MarkP_</dc:creator>
      <dc:date>2012-12-06T19:19:43Z</dc:date>
    </item>
  </channel>
</rss>

