<?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: Direct ETH MAC MII to MAC MII connection in i.MX Processors</title>
    <link>https://community.nxp.com/t5/i-MX-Processors/Direct-ETH-MAC-MII-to-MAC-MII-connection/m-p/1042797#M153601</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thanks&amp;nbsp;gusarambula. However that application note, where direct MII-MII connection is supported, is only applicable when using Zarlink Ethernet Switches by playing with the internal registers. Zarlink are no more, they were bought out by&amp;nbsp;Microsemi who are now owned by Microchip. Microchip don't sell the old Zarlink ETH SW's.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Mon, 08 Jun 2020 11:02:48 GMT</pubDate>
    <dc:creator>alank</dc:creator>
    <dc:date>2020-06-08T11:02:48Z</dc:date>
    <item>
      <title>Direct ETH MAC MII to MAC MII connection</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/Direct-ETH-MAC-MII-to-MAC-MII-connection/m-p/1042795#M153599</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I have a ASIC chip which has a Ethernet MAC MII interface (10/100 speed) and it needs to talk to a CPU (NXP i.MX6 processor family) which also has a MAC MII interface &amp;amp; USB2 interface. &lt;STRONG&gt;I've read that you can't connect MAC MII to MAC MII directly without a PHY - the protocol won't work. Is that true? Basically I need an expert on Ethernet IEEE 802.3&lt;/STRONG&gt;.&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="pastedImage_1.png"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/108868i43DC4214DAAB2EF7/image-size/large?v=v2&amp;amp;px=999" role="button" title="pastedImage_1.png" alt="pastedImage_1.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;I have read on some forums where MAC-MAC connections (RMII, RGMII, SGMII) without PHY may have worked though.&lt;/P&gt;&lt;P&gt;&lt;A href="https://community.nxp.com/thread/316374"&gt;Direct MAC-MAC connection to Ethernet switch without a PHY&lt;/A&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;A href="https://community.nxp.com/thread/375752"&gt;i.MX6 GMAC to GMAC connection&lt;/A&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;A href="https://community.nxp.com/thread/452203"&gt;mac to mac connection,bandwidth 10Mbits/sec&lt;/A&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;A href="https://community.nxp.com/thread/479568"&gt;Direct MAC to MAC connection&lt;/A&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Otherwise I have read this on direct MAC-MAC physical connections. But I don't know if this has ever been tried.&lt;/P&gt;&lt;P&gt;&lt;A class="link-titled" href="http://caxapa.ru/thumbs/414271/Schematic_Design_Guideline%2C_MAC-to-MAC_M.pdf" title="http://caxapa.ru/thumbs/414271/Schematic_Design_Guideline%2C_MAC-to-MAC_M.pdf"&gt;http://caxapa.ru/thumbs/414271/Schematic_Design_Guideline%2C_MAC-to-MAC_M.pdf&lt;/A&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="pastedImage_9.png"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/108863i405E24BF8DDF827E/image-size/large?v=v2&amp;amp;px=999" role="button" title="pastedImage_9.png" alt="pastedImage_9.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Otherwise I need some sort of 'bridge' chip to connect the two together.&amp;nbsp;&lt;BR /&gt;I think there are two possible solutions:-&lt;BR /&gt;1) Use a 2-port ETH Switch chip and connect the PHY's together. Therefore ASIC MAC MII to ETH SW MAC MII, short both PHY outputs together, then ETH SW MAC MII to CPU MAC MII. Possibly NXP &lt;A href="https://www.nxp.com/products/interfaces/ethernet-/automotive-ethernet-phy-transceivers/tja1102-tja1102s-ieee-100base-t1-compliant-ethernet-phy-transceivers:TJA1102-TJA1102S"&gt;TJA1102&lt;/A&gt;.&lt;BR /&gt;2) Use a USB2 to PHY bridge. Though I can't find one that outputs a MAC MII interface. I presume I have to connect it to another single port ETH PHY/MII chip (i.e. similar to option 1 above).&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="pastedImage_8.png"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/108869iA7D64C039450E7F2/image-size/large?v=v2&amp;amp;px=999" role="button" title="pastedImage_8.png" alt="pastedImage_8.png" /&gt;&lt;/span&gt;&lt;BR /&gt;Notes:&lt;/P&gt;&lt;P&gt;1) ASIC VIO is 1.8V&lt;/P&gt;&lt;P&gt;2) The EMAC IP core used in the ASIC is&amp;nbsp;&lt;A class="link-titled" href="https://opencores.org/projects/ethernet_tri_mode" title="https://opencores.org/projects/ethernet_tri_mode"&gt;Overview :: 10_100_1000 Mbps tri-mode ethernet MAC :: OpenCores&lt;/A&gt;&amp;nbsp;&amp;nbsp;, this does NOT produce a 25MHz ref CLK. Therefore an external one is required.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 02 Jun 2020 09:43:58 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/Direct-ETH-MAC-MII-to-MAC-MII-connection/m-p/1042795#M153599</guid>
      <dc:creator>alank</dc:creator>
      <dc:date>2020-06-02T09:43:58Z</dc:date>
    </item>
    <item>
      <title>Re: Direct ETH MAC MII to MAC MII connection</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/Direct-ETH-MAC-MII-to-MAC-MII-connection/m-p/1042796#M153600</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello Alan Knight,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;It is my understanding that MAC MII to MAC MII connections are possible in full-duplex operation. There is some information scattered on the communities as you mentioned, and I have found the following document form a third party that is well explained:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;A href="http://agata.pd.infn.it/LLP_Carrier/New_ATCA_Carrier_web/Appnotes_And_Reference_Designs/Zarlink_Application_Notes/ZLAN_30_AppNote_Jun06.pdf"&gt;http://agata.pd.infn.it/LLP_Carrier/New_ATCA_Carrier_web/Appnotes_And_Reference_Designs/Zarlink_Application_Notes/ZLAN_30_AppNote_Jun06.pdf&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I hope this helps!&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 02 Jun 2020 22:12:52 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/Direct-ETH-MAC-MII-to-MAC-MII-connection/m-p/1042796#M153600</guid>
      <dc:creator>gusarambula</dc:creator>
      <dc:date>2020-06-02T22:12:52Z</dc:date>
    </item>
    <item>
      <title>Re: Direct ETH MAC MII to MAC MII connection</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/Direct-ETH-MAC-MII-to-MAC-MII-connection/m-p/1042797#M153601</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thanks&amp;nbsp;gusarambula. However that application note, where direct MII-MII connection is supported, is only applicable when using Zarlink Ethernet Switches by playing with the internal registers. Zarlink are no more, they were bought out by&amp;nbsp;Microsemi who are now owned by Microchip. Microchip don't sell the old Zarlink ETH SW's.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 08 Jun 2020 11:02:48 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/Direct-ETH-MAC-MII-to-MAC-MII-connection/m-p/1042797#M153601</guid>
      <dc:creator>alank</dc:creator>
      <dc:date>2020-06-08T11:02:48Z</dc:date>
    </item>
    <item>
      <title>Re: Direct ETH MAC MII to MAC MII connection</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/Direct-ETH-MAC-MII-to-MAC-MII-connection/m-p/1042798#M153602</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Summary of&amp;nbsp;Direct ETH MAC MII to MAC MII connection without a PHY.&lt;/P&gt;&lt;P&gt;In the end I abandoned this idea so never attempted it.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;However if someone wants to do this, then these are the key points to consider:-&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;1) IEEE802.3 spec does NOT support direct MII-MII connections, therefore you have to 'hack' your system to get it to work (note: but other direct connections are supported, eg RMII, GMII, RGMII etc).&lt;/P&gt;&lt;P&gt;2) Some IC's have 'MAC-MAC' mode, which should in theory allow MII-MII. These are typically found on ETH peripherals like ETH Switch's or ETH PHY. They are mainly there for test/debug purposes. You don't usually find them on the host IC's, ie CPU's or FPGA's (unless the IP core supports it). So its a matter of digging deep into datasheets and software drivers.&lt;/P&gt;&lt;P&gt;3) You must use full-duplex mode.&lt;/P&gt;&lt;P&gt;4) Clock delay: below shows the physical MII-MII connections with a external 25MHz ref CLK. Note that both CLK's need to be delayed by ~2ns. However this would equate to 12 inches of copper tracking (based on the 6in/ns FR4 rule of thumb)! Therefore it would be wiser to use a CLK delay/phase delay chip instead - unless this CLK delay is support internally by the IC's, but BOTH need to support that feature.&lt;/P&gt;&lt;P&gt;&lt;A class="link-titled" href="https://community.nxp.com/external-link.jspa?url=http%3A%2F%2Fcaxapa.ru%2Fthumbs%2F414271%2FSchematic_Design_Guideline%252C_MAC-to-MAC_M.pdf" title="https://community.nxp.com/external-link.jspa?url=http%3A%2F%2Fcaxapa.ru%2Fthumbs%2F414271%2FSchematic_Design_Guideline%252C_MAC-to-MAC_M.pdf"&gt;https://community.nxp.com/external-link.jspa?url=http%3A%2F%2Fcaxapa.ru%2Fthumbs%2F414271%2FSchematic_Design_Guideline%2…&lt;/A&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="pastedImage_9.png"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/112460iC60D84BD374F6FFD/image-size/large?v=v2&amp;amp;px=999" role="button" title="pastedImage_9.png" alt="pastedImage_9.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;So in theory if you connect it up as shown, set both IC's to MAC-MAC mode, with CLK delay and as full-duplex - it should work.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 10 Jun 2020 10:13:14 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/Direct-ETH-MAC-MII-to-MAC-MII-connection/m-p/1042798#M153602</guid>
      <dc:creator>alank</dc:creator>
      <dc:date>2020-06-10T10:13:14Z</dc:date>
    </item>
  </channel>
</rss>

