
MII Management Interface (0x0510:0x0515)
Slave Controller – Register Description II-51
Table 71: Register MII Management Control/Status (0x0510:0x0511)
Write enable*:
0: Write disabled
1: Write enabled
This bit is always 1 if PDI has MI control.
ET1100-0000/-0001 exception:
Bit is not always 1 if PDI has MI control, and
bit is writable by PDI.
Management Interface can be controlled by
PDI (registers 0x0516-0 x0517):
0: Only ECAT control
1: PDI control possible
IP Core since
V2.0.0/V2.00a: 1
Others: 0
MI link detection (link configuration, link
detection, registers 0x0518-0x051B):
0: Not available
1: MI link detection active
IP Core: Depends on
configuration
Others: 0
PHY address of port 0
IP Core V3.0.0/3.00c:
PHY address of port 0-3 depending on
0x0512[7].
ET1100, ET1200:
PHYAD_OFF for bit 7
IP Core: Depends on
configuration
Others: 0
Command register*
:
Write: Initiate command.
Read: Currently executed command
Commands:
00: No command/MI idle (clear error bits)
01: Read
10: Write
Others: Reserved/invalid commands (do not
issue)
Read error:
0: No read error
1: Read error occurred (PHY or register
not available)
Cleared by writing to this register.
Command error:
0: Last Command was successful
1: Invalid command or write command
without Write Enable
Cleared with a valid command or by writing
“00” to Command register bits [9:8].
Busy:
0: MI control state machine is idle
1: MI control state machine is active
NOTE: r/ (w): write access depends on assignment of MI (ECAT/PDI). Write access is generally blocked if
Management interface is busy (0x0510.15=1).
* Write enable bit 0 is self-clearing at the SOF of the next frame (or at the end of the PDI access), Command bits
[9:8] are self-clearing after the command is executed (Busy ends). Writing “00” to the command register will also
clear the error bits [14:13]. The Command bits are cleared after the command is executed.
Komentarze do niniejszej Instrukcji