<?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 Facing issues while using ksz8873RLL micrel 64pin chip to be integrated with Freescale K-70 in MQX Software Solutions</title>
    <link>https://community.nxp.com/t5/MQX-Software-Solutions/Facing-issues-while-using-ksz8873RLL-micrel-64pin-chip-to-be/m-p/441171#M14750</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Currently, for our project we use the Freescale MQX 4.0.&lt;/P&gt;&lt;P&gt;As we use the K-70 tower board with the chip KSZ8041NL (single port) which is a part of the serial board connected to the k-70 tower board.&lt;/P&gt;&lt;P&gt;And we have a change in requirement where we have to use the KSZ8873RLL (3 port chip) we would like to know what changes has to be done from our side on the MQX RTOS code.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;While using the KSZ8041NL single port chip, we used the below code set from MQX.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;File name : C:\Freescale\Freescale_MQX_4_0\mqx\source\io\enet\phy\ &lt;SPAN style="background: yellow;"&gt;phy_ksz8041.c&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;Function name : static boolean &lt;SPAN style="background: yellow;"&gt;phy_ksz8041_init()&lt;/SPAN&gt; &lt;/P&gt;&lt;P&gt;The function used for reading the address of the register: &lt;SPAN style="background: yellow;"&gt;*enet_ptr-&amp;gt;PARAM_PTR-&amp;gt;ENET_IF-&amp;gt;MAC_IF-&amp;gt;PHY_READ()&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;However, for the new micrel chip &lt;SPAN style="background: yellow;"&gt;KSZ8873RLL (3 port chip)&lt;/SPAN&gt;&amp;nbsp; the above code is not working.&lt;/P&gt;&lt;P&gt;And as per the data sheet we see that register address obtained does not allow the communication of the chip with the K-70 board. &lt;/P&gt;&lt;P&gt;Hence, request to please let us know if we have any code changes to be done on the MAC layer of MQX RTOS code for the new KSZ8873RLL chip. !&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Wed, 25 Nov 2015 06:45:22 GMT</pubDate>
    <dc:creator>charliegujrati</dc:creator>
    <dc:date>2015-11-25T06:45:22Z</dc:date>
    <item>
      <title>Facing issues while using ksz8873RLL micrel 64pin chip to be integrated with Freescale K-70</title>
      <link>https://community.nxp.com/t5/MQX-Software-Solutions/Facing-issues-while-using-ksz8873RLL-micrel-64pin-chip-to-be/m-p/441171#M14750</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Currently, for our project we use the Freescale MQX 4.0.&lt;/P&gt;&lt;P&gt;As we use the K-70 tower board with the chip KSZ8041NL (single port) which is a part of the serial board connected to the k-70 tower board.&lt;/P&gt;&lt;P&gt;And we have a change in requirement where we have to use the KSZ8873RLL (3 port chip) we would like to know what changes has to be done from our side on the MQX RTOS code.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;While using the KSZ8041NL single port chip, we used the below code set from MQX.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;File name : C:\Freescale\Freescale_MQX_4_0\mqx\source\io\enet\phy\ &lt;SPAN style="background: yellow;"&gt;phy_ksz8041.c&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;Function name : static boolean &lt;SPAN style="background: yellow;"&gt;phy_ksz8041_init()&lt;/SPAN&gt; &lt;/P&gt;&lt;P&gt;The function used for reading the address of the register: &lt;SPAN style="background: yellow;"&gt;*enet_ptr-&amp;gt;PARAM_PTR-&amp;gt;ENET_IF-&amp;gt;MAC_IF-&amp;gt;PHY_READ()&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;However, for the new micrel chip &lt;SPAN style="background: yellow;"&gt;KSZ8873RLL (3 port chip)&lt;/SPAN&gt;&amp;nbsp; the above code is not working.&lt;/P&gt;&lt;P&gt;And as per the data sheet we see that register address obtained does not allow the communication of the chip with the K-70 board. &lt;/P&gt;&lt;P&gt;Hence, request to please let us know if we have any code changes to be done on the MAC layer of MQX RTOS code for the new KSZ8873RLL chip. !&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 25 Nov 2015 06:45:22 GMT</pubDate>
      <guid>https://community.nxp.com/t5/MQX-Software-Solutions/Facing-issues-while-using-ksz8873RLL-micrel-64pin-chip-to-be/m-p/441171#M14750</guid>
      <dc:creator>charliegujrati</dc:creator>
      <dc:date>2015-11-25T06:45:22Z</dc:date>
    </item>
    <item>
      <title>Re: Facing issues while using ksz8873RLL micrel 64pin chip to be integrated with Freescale K-70</title>
      <link>https://community.nxp.com/t5/MQX-Software-Solutions/Facing-issues-while-using-ksz8873RLL-micrel-64pin-chip-to-be/m-p/441172#M14751</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello Charlie,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 11.0pt; font-family: 'Calibri',sans-serif;"&gt;Unfortunately there is not a package with driver ksz8873 integration in MQX so it is necessary to perform the required changes in the Ethernet driver in the BSP. &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 11.0pt; font-family: 'Calibri',sans-serif;"&gt;The PHY ksz8041 is right now configured in the BSP. It is necessary to change the driver in case that the new PHY of ksz8873 is different than the ksz8041 PHY.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 11.0pt; font-family: 'Calibri',sans-serif;"&gt;You need to take special attention to the module: ini_enet.c (C:\Freescale\Freescale_MQX_4_0\mqx\source\bsp\twrk70f120m), phy_ksz8041.h and phy_ksz8041.c (C:\Freescale\Freescale_MQX_4_0\mqx\source\io\enet\phy)&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 11.0pt; font-family: 'Calibri',sans-serif;"&gt;Here is where the PHY is initialized. &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 11.0pt; font-family: 'Calibri',sans-serif;"&gt;The changes should apply according with the specifications of your PHY. It is possible that no changes are needed. This can be tested using the MQX with no changes in the BSP and see if it works correctly, this according the below thread: &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 11.0pt; font-family: 'Calibri',sans-serif;"&gt;&lt;A _jive_internal="true" href="https://community.nxp.com/thread/110698"&gt;https://community.freescale.com/thread/110698&lt;/A&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 11.0pt; font-family: 'Calibri',sans-serif;"&gt;After you perform all the necessary changes in the BSP it is necessary to recompile the libraries.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I hope this information helps.&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;Have a great day,&lt;BR /&gt;Sol&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;-----------------------------------------------------------------------------------------------------------------------&lt;BR /&gt;Note: If this post answers your question, please click the Correct Answer button. Thank you!&lt;BR /&gt;-----------------------------------------------------------------------------------------------------------------------&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 30 Nov 2015 23:03:59 GMT</pubDate>
      <guid>https://community.nxp.com/t5/MQX-Software-Solutions/Facing-issues-while-using-ksz8873RLL-micrel-64pin-chip-to-be/m-p/441172#M14751</guid>
      <dc:creator>soledad</dc:creator>
      <dc:date>2015-11-30T23:03:59Z</dc:date>
    </item>
  </channel>
</rss>

