dm9332 Davicom Semiconductor, Inc., dm9332 Datasheet - Page 48

no-image

dm9332

Manufacturer Part Number
dm9332
Description
10/100mbps Ethernet Fiber/twisted Pair Single Chip Media Converter
Manufacturer
Davicom Semiconductor, Inc.
Datasheet
9.3 MII Interface
The DM9332 port 2 provides a Media Independent
Interface (MII) as defined in the IEEE 802.3u
standard (Clause 22).
a nibble wide transmit data bus, and control signals to
facilitate data transfers between the DM9332 port 2
and external device (a PHY or a MAC in reverse MII).
data that are driven by the DM9332 synchronously
with respect to TXC2. For each TXC2 period, which
TXE2 is asserted, TXD2 (3:0) are accepted for
transmission by the external device.
device is a continuous clock that provides the timing
reference for the transfer of the TXE2, TXD2. The
DM9332 can drive 25MHz clock if it is configured to
reversed MII mode.
2 MAC indicates that nibbles are being presented on
the MII for transmission to the external device.
that are sampled by the DM9332 port 2 MAC
synchronously with respect to RXC2. For each RXC2
period which RXDV2 is asserted, RXD2 (3:0) are
transferred from the external device to the DM9332
port 2 MAC reconciliation sub layer.
the DM9332 port 2 MAC reconciliation sub layer is a
continuous clock that provides the timing reference
for the transfer of the RXDV2, RXD2, and RXER2
signals.
external device to indicates that the external device is
presenting recovered and decoded nibbles to the
DM9332 port 2 MAC reconciliation sub layer. To
interpret a receive frame correctly by the
reconciliation sub layer, RXDV2 must encompass the
frame, starting no later than the Start-of-Frame
delimiter and excluding any End-Stream delimiter.
device is synchronously with respect to RXC2.
RXER2 will be asserted for 1 or more clock periods to
indicate to the reconciliation sub layer that an error
was detected somewhere in the frame being
48
The MII consists of a nibble wide receive data bus,
9.3.1 MII data interface
TXD2 (transmit data) is a nibble (4 bits) of
TXC2 (transmit clock) from the external
TXE2 (transmit enable) from the DM9332 port
RXD2 (receive data) is a nibble (4 bits) of data
RXC2 (receive clock) from external device to
RXDV2 (receive data valid) input from the
RXER2 (receive error) input from the external
10/100Mbps Ethernet Fiber/Twisted Pair Single Chip Media Converter
transmitted from the external device to the DM9332
port 2 MAC.
external device when either the transmit or receive
medium is non-idle, and de-asserted by the external
device when the transmit and receive medium are
idle. The CRS2 can also in output mode when the
DM9332 port 2 is configured to reversed MII mode.
external device, when both the transmit and receive
medium is non-idle, and de-asserted by the external
device when the either transmit or receive medium
are idle. The COL2 can also in output mode when the
DM9332 port 2 is configured to reversed MII mode.
data interface, basic register set in DM9332 port 0
and 1, and a serial management interface to the
register set. Through this interface it is possible to
control and configure multiple PHY devices, include
internal two ports, get status and error information,
and determine the type and capabilities of the
attached PHY device(s). The DM9332 default is
polling 3 ports basic registers 0, 1, 4, and 5 to get the
link, duplex, and speed status automatically.
Alternatively, the DM9332 can be programmed to
read or write any registers of 3 ports by section
6.8~11 CSR B, C, D, and E.
to MII specification for IEEE 802.3u-1995 (Clause 22)
for registers 0 through 6 with vendor-specific registers
16,17, 18, 21, 22, 23 and 24~27.
frame is 64-bits long and starts with 32 contiguous
logic one bits (preamble) synchronization clock cycles
on MDC. The Start of Frame Delimiter (SFD) is
indicated by a <01> pattern followed by the operation
code (OP) :< 10> indicates Read operation and <01>
indicates Write operation. For read operation, a 2-bit
turnaround (TA) filing between Register Address field
and Data field is provided for MDIO to avoid
contention. Following the turnaround time, 16-bit data
is read from or written onto management registers.
The MII serial management interface consists of a
The DM9332 management functions correspond
In read/write operation, the management data
9.3.2 MII Serial Management
CRS2 (carrier sense) is asserted by the
COL2 (collision detection) is asserted by the
DM9332
Preliminary datasheet
DM9332-15-DS-P01
August 26, 2009

Related parts for dm9332