<?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>Kinetis Microcontrollers中的主题 Re: FNET and KSZ8895 without MDC/MDIO</title>
    <link>https://community.nxp.com/t5/Kinetis-Microcontrollers/FNET-and-KSZ8895-without-MDC-MDIO/m-p/743393#M45280</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi weblar,&lt;/P&gt;&lt;P&gt;If you have configed PHY&amp;nbsp;by other way, I think MDIO/MDC is not a must work.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Jing&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Fri, 26 Jan 2018 02:53:07 GMT</pubDate>
    <dc:creator>jingpan</dc:creator>
    <dc:date>2018-01-26T02:53:07Z</dc:date>
    <item>
      <title>FNET and KSZ8895 without MDC/MDIO</title>
      <link>https://community.nxp.com/t5/Kinetis-Microcontrollers/FNET-and-KSZ8895-without-MDC-MDIO/m-p/743388#M45275</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I'm trying to bring up FNET on an MK60FN1M0XXX15 device, interfacing to a KSZ8895 ethernet switch.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I've configured the FNET stack correctly for our CPU and I've installed the relevant interrupt vectors as well as updating the configuration flags to indicate that vectors are not in RAM.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;When calling the following function:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: 'courier new', courier, monospace;"&gt;fnet_netif_init(FNET_CPU_ETH0_IF, &amp;amp;hw_addr, 6);&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;I get a hard fault following the auto-negotiation phase (&lt;SPAN style="font-family: 'courier new', courier, monospace;"&gt;fnet_fec.c&lt;/SPAN&gt;, &lt;SPAN style="font-family: 'courier new', courier, monospace;"&gt;fnet_fec_init&lt;/SPAN&gt;, line 400) and when trying to set the HW address (&lt;SPAN style="font-family: 'courier new', courier, monospace;"&gt;fnet_netif.c&lt;/SPAN&gt;, line 304) the &lt;SPAN style="font-family: 'courier new', courier, monospace;"&gt;_fnet_netif_set_hw_addr()&lt;/SPAN&gt; function returns with &lt;SPAN style="font-family: 'courier new', courier, monospace;"&gt;FNET_ERR&lt;/SPAN&gt; with ultimately results in no interface being initialized.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Would this be indicative of a hardware issue? For example, bad connections between the Kinetis and the switch? Our hardware engineer has NOT connected the MDC/MDIO signals from the Kinetis to the KSZ8895 - are these necessary for correct operation?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks in advance&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 23 Jan 2018 11:59:58 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Kinetis-Microcontrollers/FNET-and-KSZ8895-without-MDC-MDIO/m-p/743388#M45275</guid>
      <dc:creator>weblar</dc:creator>
      <dc:date>2018-01-23T11:59:58Z</dc:date>
    </item>
    <item>
      <title>Re: FNET and KSZ8895 without MDC/MDIO</title>
      <link>https://community.nxp.com/t5/Kinetis-Microcontrollers/FNET-and-KSZ8895-without-MDC-MDIO/m-p/743389#M45276</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi weblar,&lt;/P&gt;&lt;P&gt;MDIO nad MDC must connect from the Kinetis to the KSZ8895. ENET module use these pins to set the PHY, include RESET, SPEED and so on.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Jing&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 24 Jan 2018 02:39:08 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Kinetis-Microcontrollers/FNET-and-KSZ8895-without-MDC-MDIO/m-p/743389#M45276</guid>
      <dc:creator>jingpan</dc:creator>
      <dc:date>2018-01-24T02:39:08Z</dc:date>
    </item>
    <item>
      <title>Re: FNET and KSZ8895 without MDC/MDIO</title>
      <link>https://community.nxp.com/t5/Kinetis-Microcontrollers/FNET-and-KSZ8895-without-MDC-MDIO/m-p/743390#M45277</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;&lt;A class="jx-jive-macro-user" href="https://community.nxp.com/people/jingpan"&gt;jingpan&lt;/A&gt;‌ thank you for your reply. To confirm, without connecting the MDC/MDIO signals, I will fail to get a network interface via FNET because the `fnet_netif_init` function uses the MDC/MDIO pins for communication with the KSZ8895?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Is the KSZ8895 known to work ok with the Kinetis K60 range and FNET? &lt;A class="jx-jive-macro-user" href="https://community.nxp.com/people/butok"&gt;butok&lt;/A&gt;‌, are you able to advise please?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;EDIT: Also, I need to add that I need the KSZ8895 to operate in MAC-to-MAC mode.&amp;nbsp;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 24 Jan 2018 09:21:26 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Kinetis-Microcontrollers/FNET-and-KSZ8895-without-MDC-MDIO/m-p/743390#M45277</guid>
      <dc:creator>weblar</dc:creator>
      <dc:date>2018-01-24T09:21:26Z</dc:date>
    </item>
    <item>
      <title>Re: FNET and KSZ8895 without MDC/MDIO</title>
      <link>https://community.nxp.com/t5/Kinetis-Microcontrollers/FNET-and-KSZ8895-without-MDC-MDIO/m-p/743391#M45278</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi weblar,&lt;/P&gt;&lt;P&gt;Since FNET is not supported by nxp, I have no ideals about this protocol stack. But I believe there must be a PHY init code in FNET. So what you must to do is not only connect MDIO/MDC, but also do some config to port KSZ8895. IEEE-802.3 has defined some basic register in PHY. But each chip has there own special define. Sometimes this can not be ignored.&lt;/P&gt;&lt;P&gt;So if you don't config it, K60 will not know how to work with LSZ8895.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Jing&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 25 Jan 2018 02:57:20 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Kinetis-Microcontrollers/FNET-and-KSZ8895-without-MDC-MDIO/m-p/743391#M45278</guid>
      <dc:creator>jingpan</dc:creator>
      <dc:date>2018-01-25T02:57:20Z</dc:date>
    </item>
    <item>
      <title>Re: FNET and KSZ8895 without MDC/MDIO</title>
      <link>https://community.nxp.com/t5/Kinetis-Microcontrollers/FNET-and-KSZ8895-without-MDC-MDIO/m-p/743392#M45279</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;&lt;A class="jx-jive-macro-user" href="https://community.nxp.com/people/jingpan"&gt;jingpan&lt;/A&gt;‌ thank you for your response.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;As mentioned in my previous comment, the KSZ8895 is running in MAC-to-MAC mode. The configuration is such that the KSZ8895 is configured for RMII (using strapping resistors) so therefore I do not think that we need the MDIO/MDC (the KSZ documentation seems to indicate this) but we do have SPI access to the device to configure alternate registers.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 25 Jan 2018 08:27:28 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Kinetis-Microcontrollers/FNET-and-KSZ8895-without-MDC-MDIO/m-p/743392#M45279</guid>
      <dc:creator>weblar</dc:creator>
      <dc:date>2018-01-25T08:27:28Z</dc:date>
    </item>
    <item>
      <title>Re: FNET and KSZ8895 without MDC/MDIO</title>
      <link>https://community.nxp.com/t5/Kinetis-Microcontrollers/FNET-and-KSZ8895-without-MDC-MDIO/m-p/743393#M45280</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi weblar,&lt;/P&gt;&lt;P&gt;If you have configed PHY&amp;nbsp;by other way, I think MDIO/MDC is not a must work.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Jing&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 26 Jan 2018 02:53:07 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Kinetis-Microcontrollers/FNET-and-KSZ8895-without-MDC-MDIO/m-p/743393#M45280</guid>
      <dc:creator>jingpan</dc:creator>
      <dc:date>2018-01-26T02:53:07Z</dc:date>
    </item>
    <item>
      <title>Re: FNET and KSZ8895 without MDC/MDIO</title>
      <link>https://community.nxp.com/t5/Kinetis-Microcontrollers/FNET-and-KSZ8895-without-MDC-MDIO/m-p/743394#M45281</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;&lt;BR /&gt;Hi&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Note that the uTasker project supports the KSZ8863, which is a 3 port version of the switch. It uses the MDIO interface to realise the SMI mode of communication, which allows access to all internal registers but also SPI or I2C are possible (also having full internal register access). I do have a board with the device using I2C which simply polls the link state to get information about its connection type.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;If SPI is connected you won't have any restrictions either.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;As discussed in the networking document (link below) it integrates tail-tagging features of the device (including inter-operation with this mode and TCP/IP checksum off-loading, which requires some manipulation of the frames to allow it to work and take advantage of the Kinetis Ethernet's offloading features - which is a major performance advantage).&lt;BR /&gt;This allows the switch ports to be used as multiple individual (isolated) Ethernet interfaces to make the board appear as multiple isolated ones even though the Kinetis has only a single Ethernet controller (one can define which physical interfaces belongs to which networks or logical interface, or allow switch operation on individual networks too).&lt;BR /&gt;For basic applications it is also possible to not do any configuration to get switch operation since it will default to auto-negotiation switch mode, so communication is already possible.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Mark&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;Kinetis: &lt;/SPAN&gt;&lt;A class="jive-link-external-small" href="https://community.nxp.com/external-link.jspa?url=http%3A%2F%2Fwww.utasker.com%2Fkinetis.html" rel="nofollow" target="_blank"&gt;http://www.utasker.com/kinetis.html&lt;/A&gt;&lt;BR /&gt;Kinetis K60:&lt;BR /&gt;&lt;SPAN&gt;- &lt;/SPAN&gt;&lt;A class="jive-link-external-small" href="https://community.nxp.com/external-link.jspa?url=http%3A%2F%2Fwww.utasker.com%2Fkinetis%2FTWR-K60N512.html" rel="nofollow" target="_blank"&gt;http://www.utasker.com/kinetis/TWR-K60N512.html&lt;/A&gt;&lt;BR /&gt;&lt;SPAN&gt;- &lt;/SPAN&gt;&lt;A class="jive-link-external-small" href="https://community.nxp.com/external-link.jspa?url=http%3A%2F%2Fwww.utasker.com%2Fkinetis%2FTWR-K60D100M.html" rel="nofollow" target="_blank"&gt;http://www.utasker.com/kinetis/TWR-K60D100M.html&lt;/A&gt;&lt;BR /&gt;&lt;SPAN&gt;- &lt;/SPAN&gt;&lt;A class="jive-link-external-small" href="https://community.nxp.com/external-link.jspa?url=http%3A%2F%2Fwww.utasker.com%2Fkinetis%2FTWR-K60F120M.html" rel="nofollow" target="_blank"&gt;http://www.utasker.com/kinetis/TWR-K60F120M.html&lt;/A&gt;&lt;BR /&gt;&lt;SPAN&gt;- &lt;/SPAN&gt;&lt;A class="jive-link-external-small" href="https://community.nxp.com/external-link.jspa?url=http%3A%2F%2Fwww.utasker.com%2Fkinetis%2FELZET80_NET-KBED.html" rel="nofollow" target="_blank"&gt;http://www.utasker.com/kinetis/ELZET80_NET-KBED.html&lt;/A&gt;&lt;BR /&gt;&lt;SPAN&gt;- &lt;/SPAN&gt;&lt;A class="jive-link-external-small" href="https://community.nxp.com/external-link.jspa?url=http%3A%2F%2Fwww.utasker.com%2Fkinetis%2FELZET80_NET-K60.html" rel="nofollow" target="_blank"&gt;http://www.utasker.com/kinetis/ELZET80_NET-K60.html&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;Networking: &lt;/SPAN&gt;&lt;A class="jive-link-external-small" href="https://community.nxp.com/external-link.jspa?url=http%3A%2F%2Fwww.utasker.com%2Fdocs%2FuTasker%2FuTaskerNetworking.pdf" rel="nofollow" target="_blank"&gt;http://www.utasker.com/docs/uTasker/uTaskerNetworking.pdf&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;Free Open Source solution: &lt;/SPAN&gt;&lt;A class="jive-link-external-small" href="https://community.nxp.com/external-link.jspa?url=https%3A%2F%2Fgithub.com%2FuTasker%2FuTasker-Kinetis" rel="nofollow" target="_blank"&gt;https://github.com/uTasker/uTasker-Kinetis&lt;/A&gt;&lt;BR /&gt;&lt;SPAN&gt;Working project in 15 minutes video: &lt;/SPAN&gt;&lt;A class="jive-link-external-small" href="https://community.nxp.com/external-link.jspa?url=https%3A%2F%2Fyoutu.be%2FK8ScSgpgQ6M" rel="nofollow" target="_blank"&gt;https://youtu.be/K8ScSgpgQ6M&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;&lt;EM&gt;&lt;SPAN&gt;For better, faster, cheaper product developments consider the uTasker developer's version, professional Kinetis support, one-on-one training and complete fast-track project solutions to set you apart from the herd : &lt;/SPAN&gt;&lt;A class="jive-link-external-small" href="https://community.nxp.com/external-link.jspa?url=http%3A%2F%2Fwww.utasker.com%2Fsupport.html" rel="nofollow" target="_blank"&gt;http://www.utasker.com/support.html&lt;/A&gt;&lt;/EM&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 26 Jan 2018 06:04:39 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Kinetis-Microcontrollers/FNET-and-KSZ8895-without-MDC-MDIO/m-p/743394#M45281</guid>
      <dc:creator>mjbcswitzerland</dc:creator>
      <dc:date>2018-01-26T06:04:39Z</dc:date>
    </item>
    <item>
      <title>Re: FNET and KSZ8895 without MDC/MDIO</title>
      <link>https://community.nxp.com/t5/Kinetis-Microcontrollers/FNET-and-KSZ8895-without-MDC-MDIO/m-p/743395#M45282</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Mark,&lt;/P&gt;&lt;P&gt;Thanks for your response and the uTasker links.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;You mentioned that you've worked with the KSZ8863, did you have to perform anything special when configuring the device? I have since realised that&amp;nbsp;I haven't written to the START_SWITCH bit of the CHIP_ID_0 register. Given that I'm using SPI mode, the datasheet indicates that the switch&amp;nbsp;does not automatically start when using SPI mode - not starting the switch definitely isn't helping things!&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;My thoughts are that as and when I enable the switch, the default configuration should be enough to allow things to work out-the-box if you will.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 30 Jan 2018 12:38:51 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Kinetis-Microcontrollers/FNET-and-KSZ8895-without-MDC-MDIO/m-p/743395#M45282</guid>
      <dc:creator>weblar</dc:creator>
      <dc:date>2018-01-30T12:38:51Z</dc:date>
    </item>
  </channel>
</rss>

