Forum Discussion

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

Auto-Negociation fails between two Ethernet Marvell PHYs (88E1111)

Hello,

I need to connect two PCIe development board via the Ethernet Marvell PHYs (88E1111) in order to validate an UDP solution (I'm using the TSE core). The thing is, Auto-Negociation between the two PHYs cannot complete, whereas it works fine connecting the two boards to an Ethernet switch.

The link speed as to be 1000 Mbps. For programming the PHYs, here are the steps I'm performing:

1 -

write 0x1A00 to PHY_0 register 9 (Manual Master, advertise 1000BASE-T full duplex)

write 0x1200 to PHY_1 register 9 (Manual Slave, advertise 1000BASE-T full duplex)

2 -

write 0x1340 to PHY_0 and PHY_1 register 0 (1000 Mbps, full duplex, enable Auto-Negociation, restart Auto-Negociation)

3 -

Wait for Auto-Negociation to complete by checking the bit 5 of the status register (register 1). This bit is actually never asserted by either of the two PHYs.

Is it possible to directly connect the two Marvell PHYs? Is there a way to skip Auto-Negociation for a 1000 Mbps solution?

Thanks a lot

Florian

13 Replies

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

    What did you try to do so far? There are some macros in the tse registers header file that can be used to access the MDIO registers.

  • APaci1's avatar
    APaci1
    Icon for Occasional Contributor rankOccasional Contributor

    Hi! I see this post for my question, and I find it interesting. I want connect two TSE-PHY MICREL-Ethernet Ports on my custom card each other. I used a cross cable. PROBLEM IS that PHYs never goes up If i close both Ethernet ports.

    Instead, If I connect one or other to PC NIC , it works fine (I send and transmit frames from PC to TSE and vice-versa) (100 Mbps, Auto MDI/MDI-X default enabled)

    Why PHYs connected togheter are always LINK OFF?????

    There is another manouvre to do to wakeup TSE-PHY???

    Thanks to everyone knows this question!