Datasheet

Table Of Contents
Fast Ethernet Controller (FEC)
Freescale Semiconductor 17-13
17.4.7 MII Management Frame Register (MMFR)
The MMFR is user-accessible and does not reset to a defined value. The MMFR register is used to
communicate with the attached MII compatible PHY device(s), providing read/write access to their MII
registers. Performing a write to the MMFR causes a management frame to be sourced unless the MSCR is
programmed to 0. If MSCR is cleared while MMFR is written and then MSCR is written with a non-zero
value, an MII frame is generated with the data previously written to the MMFR. This allows MMFR and
MSCR to be programmed in either order if MSCR is currently zero.
IPSBAR
Offset:
0x1024 Access: User read/write
3130292827262524232221201918171615141312111098765432 1 0
R11110000000000 0 000000000000000
ETHER
_EN
RESET
W
Reset111100000000000000000000000000 0 0
Figure 17-6. Ethernet Control Register (ECR)
Table 17-9. ECR Field Descriptions
Field Description
31–2 Reserved, must be cleared.
1
ETHER_EN
When this bit is set, FEC is enabled, and reception and transmission are possible. When this bit is cleared,
reception immediately stops and transmission stops after a bad CRC is appended to any currently transmitted
frame. The buffer descriptor(s) for an aborted transmit frame are not updated after clearing this bit. When
ETHER_EN is cleared, the DMA, buffer descriptor, and FIFO control logic are reset, including the buffer descriptor
and FIFO pointers. Hardware alters the ETHER_EN bit under the following conditions:
ECR[RESET] is set by software, in which case ETHER_EN is cleared
An error condition causes the EIR[EBERR] bit to set, in which case ETHER_EN is cleared
0
RESET
When this bit is set, the equivalent of a hardware reset is performed but it is local to the FEC. ECR[ETHER_EN]
is cleared and all other FEC registers take their reset values. Also, any transmission/reception currently in progress
is abruptly aborted. This bit is automatically cleared by hardware during the reset sequence. The reset sequence
takes approximately eight internal bus clock cycles after this bit is set.
IPSBAR
Offset:
0x1040 Access: User read/write
313029282726252423222120191817161514131211109876543210
R
ST OP PA RA
TA DATA
W
Reset————————————————————————————————
Figure 17-7. MII Management Frame Register (MMFR)
MCF5282 and MCF5216 ColdFire Microcontroller User’s Manual, Rev. 3