
Fast Ethernet Controller (FEC)
MPC5566 Microcontroller Reference Manual, Rev. 2
15-16
Freescale Semiconductor
15.3.4.2.6
MII Management Frame Register (MMFR)
The MMFR is accessed by the application and does not reset to a defined value. The MMFR register is
used to communicate with the attached MII compatible PHY devices, providing read/write access to their
MII registers. Performing a write to the MMFR generates a management frame unless the MSCR is cleared
to 0. If you write to MMFR when MSCR = 0, and then set the MSCR register to a non-zero value, an MII
frame is generated with the data previously written to the MMFR. This allows you to program MMFR and
MSCR in either order if MSCR is currently zero.
describes the fields and functions for the MII management frame register:
To perform a read or write operation on the MII management interface, the MMFR register must be written
by the application. To generate a valid read or write management frame, the ST field must be written with
a 01 pattern, and the TA field must be written with a 10. If other patterns are written to these fields, a frame
is generated but does not comply with the IEEE
®
802.3 MII definition.
To generate an IEEE
®
802.3-compliant MII management interface write frame (write to a PHY register),
the application must write {01 01 PHYAD REGAD 10 DATA} to the MMFR register. Writing this pattern
Address: Base + 0x0040
Access: User R/W
0
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
R
ST
OP
PA
RA
TA
W
Reset
U
1
U
U
U
U
U
U
U
U
U
U
U
U
U
U
U
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
R
DATA
W
Reset
U
U
U
U
U
U
U
U
U
U
U
U
U
U
U
U
1
“U” signifies a bit that is uninitialized.
Figure 15-8. MII Management Frame Register (MMFR)
Table 15-9. MMFR Field Descriptions
Field
Description
0–1
ST
Start of frame delimiter. These bits must be programmed to 01 for a valid MII management frame.
2–3
OP
Operation code. This field must be programmed to 10 (read) or 01 (write) to generate a valid MII
management frame. A value of 11 produces “read” frame operation while a value of 00 produces
“write” frame operation, but these frames are not MII compliant.
4–8
PA
PHY address. This field specifies one of up to 32 attached PHY devices.
9–13
RA
Register address. This field specifies one of up to 32 registers within the specified PHY device.
14–15
TA
Turn around. This field must be programmed to 10 to generate a valid MII management frame.
16–31
DATA
Management frame data. This is the field for data to be written to or read from the PHY register.
Содержание MPC5566
Страница 12: ...MPC5566 Microcontroller Reference Manual Devices Supported MPC5566 MPC5566 RM Rev 2 0 23 Apr 2008...
Страница 81: ...Introduction MPC5566 Microcontroller Reference Manual Rev 2 1 24 Freescale Semiconductor...
Страница 135: ...Signal Description MPC5566 Microcontroller Reference Manual Rev 2 2 54 Freescale Semiconductor...
Страница 189: ...Reset MPC5566 Microcontroller Reference Manual Rev 2 4 20 Freescale Semiconductor...
Страница 331: ...System Integration Unit SIU MPC5566 Microcontroller Reference Manual Rev 2 6 128 Freescale Semiconductor...
Страница 343: ...Crossbar Switch XBAR MPC5566 Microcontroller Reference Manual Rev 2 7 12 Freescale Semiconductor...
Страница 361: ...Error Correction Status Module ECSM MPC5566 Microcontroller Reference Manual Rev 2 8 18 Freescale Semiconductor...
Страница 455: ...Interrupt Controller INTC MPC5566 Microcontroller Reference Manual Rev 2 10 42 Freescale Semiconductor...
Страница 603: ...Flash Memory MPC5566 Microcontroller Reference Manual Rev 2 13 38 Freescale Semiconductor...
Страница 609: ...SRAM MPC5566 Microcontroller Reference Manual Rev 2 14 6 Freescale Semiconductor...
Страница 679: ...Boot Assist Module BAM MPC5566 Microcontroller Reference Manual Rev 2 16 20 Freescale Semiconductor...
Страница 997: ...Deserial Serial Peripheral Interface DSPI MPC5566 Microcontroller Reference Manual Rev 2 20 72 Freescale Semiconductor...
Страница 1037: ...Enhanced Serial Communication Interface eSCI MPC5566 Microcontroller Reference Manual Rev 2 21 40 Freescale Semiconductor...
Страница 1073: ...MPC5566 Microcontroller Reference Manual Rev 2 22 36 Freescale Semiconductor...
Страница 1081: ...Voltage Regulator Controller VRC and POR Module MPC5566 Microcontroller Reference Manual Rev 2 23 8 Freescale Semiconductor...
Страница 1093: ...IEEE 1149 1 Test Access Port Controller JTAGC MPC5566 Microcontroller Reference Manual Rev 2 24 12 Freescale Semiconductor...
Страница 1185: ...Nexus MPC5566 Microcontroller Reference Manual Rev 2 25 92 Freescale Semiconductor...
Страница 1267: ...MPC5566 Reference Manual Revision History MPC5566 Microcontroller Reference Manual Rev 2 Freescale Semiconductor C 10...
Страница 1268: ...MPC5566 Reference Manual Revision History MPC5566 Microcontroller Reference Manual Rev 2 Freescale Semiconductor C 11...