Freescale Semiconductor MPC8313E Family Reference Manual page 925

Powerquicc ii pro integrated processor
Hide thumbs Also See for MPC8313E:
Table of Contents

Advertisement

Table 15-165
describes the shared signals of the MII interface.
eTSEC Signals
I/O
MDIO
I/O
MDC
ECGTX_CLK125
Sum
Table 15-166
describes the register initializations required to configure the eTSEC in MII mode.
(This example has Full Duplex = 0, Preamble count = 7, PAD/CRC append = 1)
set source clock divide by 14 for example to insure that MDC clock speed is not less than 2.5 MHz
Set up the MII Mgmt for a write cycle to the external PHY Auxiliary Control and Status Register to configure the PHY through
Writing to MII Mgmt Control with 16-bit data intended for the external PHY register,
MPC8313E PowerQUICC II Pro Integrated Processor Family Reference Manual, Rev. 3
Freescale Semiconductor
Table 15-165. Shared MII Signals
No. of
MII Signals
Signals
1
MDIO
O
1
MDC
I
1
not used
3
Table 15-166. MII Mode Register Initialization Steps
MACCFG1[1000_0000_0000_0000_0000_0000_0000_0000]
MACCFG1[0000_0000_0000_0000_0000_0000_0000_0000]
Initialize MACCFG2, for MII, half duplex operation.
MACCFG2[0000_0000_0000_0000_0111_0001_0000_0100]
ECNTRL[0000_0000_0000_0000_0001_0000_0000_0000]
(This example has Statistics Enable = 1)
Initialize MAC Station Address,
MACSTNADDR2[0110_0000_0000_0010_0000_0000_0000_0000]
Set station address to 02_60_8C_87_65_43, for example.
Initialize MAC Station Address,
MACSTNADDR1[0100_0011_0110_0101_1000_0111_1000_1100]
Set station address to 02_60_8C_87_65_43, for example.
Reset the management interface.
MIIMCFG[1000_0000_0000_0000_0000_0000_0000_0111]
Setup the MII Mgmt clock speed,
MIIMCFG[0000_0000_0000_0000_0000_0000_0000_0101]
Read MII Mgmt Indicator register and check for Busy = 0,
MIIMIND ---> [0000_0000_0000_0000_0000_0000_0000_0000]
This indicates that the eTSEC MII Mgmt bus is idle.
the Management interface (overrides configuration signals of the PHY).
MIIMADD[0000_0000_0000_0000_0000_0000_0001_1100]
Perform an MII Mgmt write cycle to the external PHY
MIIMCON[0000_0000_0000_0000_0000_0000_0000_0100]
No. of
I/O
Signals
I/O
O
I
Sum
Set Soft_Reset,
Clear Soft_Reset,
Set I/F Mode bit,
Initialize ECNTRL,
Enhanced Three-Speed Ethernet Controllers
Function
1
Management interface I/O
1
Management interface clock
0
Reference clock
2
15-195

Advertisement

Table of Contents
loading

This manual is also suitable for:

Mpc8313

Table of Contents