VT6516 ETC, VT6516 Datasheet - Page 54

no-image

VT6516

Manufacturer Part Number
VT6516
Description
16/12 PORT 10/1000 ASE T/TX
Manufacturer
ETC
Datasheet
Addres
s
(offset
)
03H
00H
01H
02-
04H
05H
10H
11H
12H
Function
PHY ID
This is used to specify which PHY device is the objective of the
following MII commands. There are maximum 16 RMII PHY
devices.
PHY register address
In each PHY device, there are maximum 32 MII management
registers accessible by the CPU. The PHY_REG_ADDR register is
used to specify which one is the objective of the following access
command.
PHY data register
Each PHY management register is 16 bits. Every data access to a
PHY management register is in unit of 16 bits, stored in this
register.
PHY command register
1: read
0: write
Write 0 to this register will cause a write operation to the PHY
management register (specified by the PHY_REG_ADDR) of the
PHY device (specified by the PHYID). Write 1 to this register will
cause a read operation. A read or write operation takes about 0.4 ms
so that the CPU has to read the PHYSTS register periodically to
check if the issued command is complete.
PHY status register
2’b00: idle
2’b01: busy
2’b10: complete
This register indicates the status of the PHY control module.
Initially, the PHY control module is in the idle status. While a read
or write command is issued by writing 1/0 to the PHYCMD register,
PHYSTS becomes “busy” immediately, and goes into the
“complete” status as this operation finishes. Then, a following “read
status” command will cause it back to the “idle” status, or a
following read/write command will cause it into the “busy” status.
PORT0 PHY Device Address
The pair of 5-bit PHY device address and 5-bit register address
forms a unique access address to a PHY device’s register. Each PHY
device has a unique device address that is identified by the PHYID.
In the system initialization, the CPU should write PHY device
addresses, corresponding to every PHY devices, to registers
PORT[0..15]_PHY_ADDR, that may be recorded in the EEPROM
or code ROM.
PORT1 PHY Device Address
PORT2 PHY Device Address
VIA Technologies, Inc.
-54-
Preliminary VT6516 Datarsheet
Register
Name
PHYID
PHY_REG
_ADDR
PHYDAT
A
PHYCMD [0]
PHYSTS
PORT0_P
HY_ADD
R
PORT1_P
HY_ADD
R
PORT2_P
HY_ADD
R
Bits Defau
[3:0] 0
[4:0] 0
[15:0
]
[1:0] 0
[4:0] 0
[4:0] 0
[4:0] 0
lt
Value
R/
W
W/
O
W/
O
R/
W
W/
O
R/O
R/
W
R/
W
R/
W

Related parts for VT6516