MSC8144E Reference Manual, Rev. 3
18-34
Freescale
Semiconductor
QUICC Engine™ Subsystem
18.7.6
Controlling PHY Links (Management Interface)
The support for MII Ethernet Management can be done by the SPI or by one UCC that can be
selected using CMXGCR[SMI]. Control and status to and from the PHY is provided via the
two-wire MII management interface described in the IEEE 802.3u standard. The MII
management registers (MII management configuration, command, address, control, status, and
indicator registers) exercise this interface between a host processor and one or more PHY
devices.
The UEC MII registers support continuous read cycles (called a scan cycle); even through scan
cycles are not explicitly defined in the standard. If requested (by setting MIIMCOM[scan cycle]),
the controller performs repetitive read cycles of the PHY status register, for example. This allows
you to monitor link characteristics more efficiently. The different fields in the MII management
indicator register (scan, not valid, and busy) indicate availability of each read of the scan cycle to
the host via MIIMSTAT[PHY scan] bit field.
The length of the MII management interface preamble can also be modified through the MII
registers. After establishing that a PHY supports preamble suppression, the host may configure
the UEC to suppress the preamble. When enabled, the length of MII management frames are
reduced from 64 to 32 clocks. This effectively doubles the efficiency of the interface.
18.7.7
Ethernet Controller Initialization
After the Ethernet Controller completes the reset sequence, software must initialize certain UEC
registers and the required parameters in the parameter RAM. Based on system requirements,
other optional registers and parameters can also be initialized at the same time.
Table 18-12 lists the minimum steps required for register and parameter initialization
Table 18-12.
Minimum Register Initialization
Initialization Step
Registers
Configure the UCC to Fast protocols
URMODE,UTMODE
Set the Tx Global Parameter RAM
Set the Rx Global Parameter RAM
Set CMXUCR1
Select UCC1, UCC3 RxClk and TxClk
Initialize the MAC Station address
MACSTNADDR1 and MACSTNADDR2
Initialize the Media media access control configuration register and
the UCC protocol specific mode register
This MACCFG2 together with UPSMR register adjust
frame length and preamble length, specifies various
CRC/pad combinations, specifies Full/Half Duplex and
operating mode
Initialize the Fast Protocol Fifo Configuration registers
URFB, URFET, URFS, URFSET, UTFB, UTFS,
UTFET, UTFTT, URTRY
UCC event register, Fast UCCE
Initialize interrupts to prepare for interrupt events
UCC mask register, Fast UCCM
Initialize the interrupt mask to prepare for interrupt
events
Activate The Ethernet Controller
Summary of Contents for MSC8144E
Page 1: ...MSC8144E Reference Manual Quad Core Media Signal Processor MSC8144ERM Rev 3 July 2009 ...
Page 48: ...MSC8144E Reference Manual Rev 3 xlviii Freescale Semiconductor ...
Page 86: ...MSC8144E Reference Manual Rev 3 1 38 Freescale Semiconductor Overview ...
Page 168: ...MSC8144E Reference Manual Rev 3 3 60 Freescale Semiconductor External Signals ...
Page 242: ...MSC8144E Reference Manual Rev 3 5 26 Freescale Semiconductor Reset ...
Page 314: ...MSC8144E Reference Manual Rev 3 8 24 Freescale Semiconductor General Configuration Registers ...
Page 414: ...MSC8144E Reference Manual Rev 3 10 14 Freescale Semiconductor MSC8144E SC3400 DSP Subsystem ...
Page 452: ...MSC8144E Reference Manual Rev 3 11 38 Freescale Semiconductor Internal Memory Subsystem ...
Page 520: ...MSC8144E Reference Manual Rev 3 12 68 Freescale Semiconductor DDR SDRAM Memory Controller ...
Page 1070: ...MSC8144E Reference Manual Rev 3 21 28 Freescale Semiconductor Timers ...