Forum Discussion

Altera_Forum's avatar
Altera_Forum
Icon for Honored Contributor rankHonored Contributor
18 years ago

TSE MAC and Marvell 88E1111

I'm having trouble to bring up the TSE MAC to Ethernet interface on the Stratix II GX PCIe board. I was able to instantiate a triple speed Ethernet MAC and build logic around it. The loopback at the GMII interface seems work fine. However, I'm not able to send any packet out via the on board Marvell 88E1111 Ethernet transceiver. I suspect I need to program the registers in it via the MDIO. Is there a register map or data sheet of the 88E1111? Or is there anything else I'm missing?

Thanks.

42 Replies

  • Altera_Forum's avatar
    Altera_Forum
    Icon for Honored Contributor rankHonored Contributor

    --- Quote Start ---

    the MDIO is a shared bus. You can have a signgle MDC and a single MDIO pin on the FPGA, connected to both MDC and MDIO pins on the PHY chips.

    If they are already connected separately, then you'll have to write a little logic to merge them into a single bus inside the FPGA. The MDC is output only so you can just duplicate the signal. The MDIO is bidirectionnal though, so you need a bit more. When used as an output you can duplicate it to both PHYs too, and when used as an input, just do an AND between the two inputs from the PHYs before feeding it to the TSE.

    --- Quote End ---

    Hi,

    Thank you very much for your prompt & valuable reply.

    We would like to confirm the connection between the TSE MAC & the 2 PHYs, so kindly check the attached image.

    I thought that we may need OR not AND between the inputs from the two PHYs, so kindly explain.

    Best Regards.
  • Altera_Forum's avatar
    Altera_Forum
    Icon for Honored Contributor rankHonored Contributor

    Yes this should work. The MDIO pin is supposed to have an external pull-up, and is an open drain output on each PHY. As only one PHY willl use it at a time, you can use an AND gate to transmit a 0 to the TSE core when one of the PHY drives a 0 on their MDIO pin.