Download Print this page

Freescale Semiconductor MPC8313E PowerQUICC II Pro Family Reference Manual page 927

Integrated
Hide thumbs Also See for MPC8313E PowerQUICC II Pro:

Advertisement

Table 15-178. SGMII Mode Register Initialization Steps (continued)
Set up the MII Mgmt for a write cycle to TBI's AN Advertisement register (write the PHY address and Register address),
The AN Advertisement register is at offset address 0x04 from the TBI's address.
Writing to MII Mgmt Control with 16-bit data intended for TBI's AN Advertisement register,
This advertises to the Link Partner that the TBI supports PAUSE and Full Duplex mode and does not support Half Duplex mode.
Set up the MII Mgmt for a write cycle to TBI's Control register (write the PHY address and Register address),
Writing to MII Mgmt Control with 16-bit data intended for TBI's Control register,
This enables the TBI to restart Auto-Negotiations using the configuration set in the AN Advertisement register.
Set up the MII Mgmt for a read cycle to PHY MII Mgmt register (write the PHY address and Register address),
The PHY Status control register is at address 0x1 and in this case the PHY Address is 0x10.
(Uses the PHY address (2) and Register address (2) placed in MIIMADD register),
MII Mgmt AN Expansion ---> [0000_0000_0000_0000_0000_0000_0000_0110]
Other information about the link is also returned. (Extend Status, No pre, Remote Fault, An Ability, Link status, extend Ability)
(Uses the PHY address (0x10) and Register address (6) placed in MIIMADD register),
read the MII Mgmt AN Expansion register and check bits 13 and 14 (NP Able and Page Rx'd)
MII Mgmt AN Expansion ---> [0000_0000_0000_0000_0000_0000_0000_0110]
MPC8313E PowerQUICC™ II Pro Integrated Processor Family Reference Manual, Rev. 2
Freescale Semiconductor
Check to see if MII Mgmt write is complete.
Read MII Mgmt Indicator register and check for Busy = 0,
MIIMIND ---> [0000_0000_0000_0000_0000_0000_0000_0000]
This indicates that the write cycle was completed.
MIIMADD[0000_0000_0000_0000_0001_0000_0000_0100]
Perform an MII Mgmt write cycle to TBI.
MIIMCON[0000_0000_0000_0000_0000_0001_1010_0000]
Check to see if MII Mgmt write is complete.
Read MII Mgmt Indicator register and check for Busy = 0,
MIIMIND ---> [0000_0000_0000_0000_0000_0000_0000_0000]
This indicates that the write cycle was completed.
Additional SerDes setup as required
MIIMADD[0000_0000_0000_0000_0001_0000_0000_0000]
the control register (CR) is at offset address 0x00 from the TBI's address.
Perform an MII Mgmt write cycle to TBI.
MIIMCON[0000_0000_0000_0000_0001_0011_0100_0000]
Check to see if MII Mgmt write is complete.
Read MII Mgmt Indicator register and check for Busy = 0,
MIIMIND ---> [0000_0000_0000_0000_0000_0000_0000_0000]
This indicates that the write cycle was completed.
Check to see if PHY has completed Auto-Negotiation.
MIIMADD[0000_0000_0000_0000_0001_0000_0000_0001]
Perform an MII Mgmt read cycle of Status Register.
Clear MIIMCOM[Read Cycle]
Set MIIMCOM[Read Cycle]
When MIIMIND[BUSY] = 0,
read the MIIMSTAT register and check bit 10 (AN Done)
Perform an MII Mgmt read cycle of AN Expansion Register.
Setup MIIMADD[0000_0000_0000_0000_0001_0000_0000_0110]
Clear MIIMCOM[Read Cycle]
Set MIIMCOM[Read Cycle]
When MIIMIND[BUSY] = 0,
Enhanced Three-Speed Ethernet Controllers
15-209

Advertisement

loading

This manual is also suitable for:

Mpc8313 powerquicc ii pro