Altera Triple Speed Ethernet MegaCore Function Instrukcja Użytkownika Strona 113

  • Pobierz
  • Dodaj do moich podręczników
  • Drukuj
  • Strona
    / 223
  • Spis treści
  • BOOKMARKI
  • Oceniono. / 5. Na podstawie oceny klientów
Przeglądanie stron 112
Triple-Speed Ethernet System with SGMII
Figure 6-3: Triple-Speed Ethernet System with SGMII with Register Initialization Recommendation
10/100/1000 Mbps MAC External PHY
MAC
Register
Space
MDIO Space 0
MDIO Space 1
MDIO
Host
PHY
Register
Space
MDIO
Slave
Avalon ST TX
Avalon ST RX
Avalon MM
Copper/Fiber
Interface
SGMII Interface (1.25 Gbps)
MDIO
1000BASE-X/
SGMII PCS
PCS
Register
Space
Use the following recommended initialization sequences for the example in Figure 64.
1. External PHY Initialization using MDIO
Refer to step 1 in Triple-Speed Ethernet System with MII/GMII or RGMII on page 6-28.
2. PCS Configuration Register Initialization
a. Set Auto Negotiation Link Timer
//Set Link timer to 1.6ms for SGMII
link_timer (address offset 0x12) = 0x0D40
Link_timer (address offset 0x13) = 0x03
b. Configure SGMII
//Enable SGMII Interface and Enable SGMII Auto Negotiation
//SGMII_ENA = 1, USE_SGMII_AN = 1
if_mode = 0x0003
c. Enable Auto Negotiation
//Enable Auto Negotiation
//AUTO_NEGOTIATION_ENA = 1, Bit 6,8,13 can be ignore
PCS Control Register = 0x1140
d. PCS Reset
//PCS Software reset is recommended where there any configuration changed
//RESET = 1
Configuration Register Space
Altera Corporation
Send Feedback
UG-01008
Triple-Speed Ethernet System with SGMII
6-30
2014.06.30
Przeglądanie stron 112
1 2 ... 108 109 110 111 112 113 114 115 116 117 118 ... 222 223

Komentarze do niniejszej Instrukcji

Brak uwag