DP83848J PHYTER® Mini LS
Commercial Temperature Single Port 10/100 Ethernet
Transceiver
DP83848J PHYTER® Mini LS Commercial Temperature Single Port 10/100 Ethernet Transceiver
May 2008
General Description
The DP83848J addresses the quality, reliability and small
form factor required for space sensitive applications in
embedded systems.
The DP83848J offers performance far exceeding the
IEEE specifications, with superior interoperability and
industry leading performance beyond 137m of Cat-V
cable. The DP83848J also offers Auto-MDIX to remove
cabling complications. DP83848J has superior ESD protection, greater than 4KV Human Body Model, providing
extremely high reliability and robust operation, ensuring a
high level performance in all applications.
DP83848J offers two flexible LED indicators - one for Link
and the other for Speed. In addition, both MII and RMII
are supported ensuring ease and flexibility of design.
The DP83848J is offered in a tiny 6mm x 6mm LLP 40-pin
package and is ideal for industrial controls, building/factory automation, transportation, test equipment and wireless base stations.
Applications
• Peripheral devices
• Mobile devices
• Factory and building automation
• Base stations
Features
• Low-power 3.3V, 0.18µm CMOS technology
• Auto-MDIX for 10/100 Mb/s
• Energy Detection Mode
• 3.3V MAC Interface
• RMII Rev. 1.2 Interface (configurable)
• MII Interface
• MII serial management interface (MDC and MDIO)
• IEEE 802.3u Auto-Negotiation and Parallel Detection
• IEEE 802.3u ENDEC, 10BASE-T transceivers and filters
• IEEE 802.3u PCS, 100BASE-TX transceivers and filters
Note: Die Attached Pad (DAP) provides thermal dissipation, connection to GND plane optional.
Top View
Order Number DP83848J
NS Package Number NSQAU040
www.national.com8
1.0 Pin Descriptions
The DP83848J pins are classified into the following interface categories (each interface is described in the sections
that follow):
— Serial Management Interface
— MAC Data Interface
— Clock Interface
— LED Interface
—Reset
— Strap Options
— 10/100 Mb/s PMD Interface
— Special Connect Pins
— Power and Ground pins
1.1 SERIAL MANAGEMENT INTERFACE
Signal NameTypePin #Description
MDCI25MANAGEMENT DATA CLOCK: Synchronous clock to the MDIO
MDIOI/O24MANAGEMENT DATA I/O: Bi-directional management instruc-
Note: Strapping pin option. Please see Section 1.6 for strap
definitions.
All DP83848J signal pins are I/O cells regardless of the
particular use. The definitions below define the functionality
of the I/O cells for each pin.
ternal pull-ups or pull-downs. If the default
strap value is needed to be changed then an
external 2.2 kΩ resistor should be used.
Please see Section 1.6 for details.)
management data input/output serial interface which may be
asynchronous to transmit and receive clocks. The maximum clock
rate is 25 MHz with no minimum clock rate.
tion/data signal that may be sourced by the station management
entity or the PHY. This pin requires a 1.5 kΩ pullup resistor.
DP83848J
1.2 MAC DATA INTERFACE
Signal NameTypePin #Description
TX_CLKO2MII TRANSMIT CLOCK: 25 MHz Transmit clock output in 100
TX_EN I, PD3MII TRANSMIT ENABLE: Active high input indicates the pres-
TXD_0
TXD_1
TXD_2
TXD_3
RX_CLKO31MII RECEIVE CLOCK: Provides the 25 MHz recovered receive
RX_DV O, PD32MII RECEIVE DATA VALID: Asserted high to indicate that valid
I
I, PD
4
5
6
7
Mb/s mode or 2.5 MHz in 10 Mb/s mode derived from the 25 MHz
reference clock.
Unused in RMII mode. The device uses the X1 reference clock input as the 50 MHz reference for both transmit and receive.
ence of valid data inputs on TXD[3:0].
RMII TRANSMIT ENABLE: Active high input indicates the presence of valid data on TXD[1:0].
MII TRANSMIT DATA: Transmit data MII input pins, TXD[3:0],
that accept data synchronous to the TX_CLK (2.5 MHz in 10 Mb/s
mode or 25 MHz in 100 Mb/s mode).
RMII TRANSMIT DATA: Transmit data RMII input pins, TXD[1:0],
that accept data synchronous to the 50 MHz reference clock.
clocks for 100 Mb/s mode and 2.5 MHz for 10 Mb/s mode.
Unused in RMII mode. The device uses the X1 reference clock input as the 50 MHz reference for both transmit and receive.
data is present on the corresponding RXD[3:0].
RMII Synchronous Receive Data Valid: This signal provides the
RMII Receive Data Valid indication independent of Carrier Sense.
9www.national.com
Signal NameTypePin #Description
RX_ERS, O, PU34MII RECEIVE ERROR: Asserted high synchronously to RX_CLK
to indicate that an invalid symbol has been detected within a re-
DP83848J
RXD_0
RXD_1
RXD_2
RXD_3
CRS/CRS_DVS, O, PU33MII CARRIER SENSE: Asserted high to indicate the receive me-
COLS, O, PU35MII COLLISION DETECT: Asserted high to indicate detection of
S, O, PD36
37
38
39
ceived packet in 100 Mb/s mode.
RMII RECEIVE ERROR: Assert high synchronously to X1 whenever it detects a media error and RX_DV is asserted in 100 Mb/s
mode.
This pin is not required to be used by a MAC, in either MII or RMII
mode, since the Phy is required to corrupt data on a receive error.
MII RECEIVE DATA: Nibble wide receive data signals driven synchronously to the RX_CLK, 25 MHz for 100 Mb/s mode, 2.5 MHz
for 10 Mb/s mode). RXD[3:0] signals contain valid data when
RX_DV is asserted.
RMII RECEIVE DATA: 2-bits receive data signals, RXD[1:0], driven synchronously to the X1 clock, 50 MHz.
dium is non-idle.
RMII CARRIER SENSE/RECEIVE DATA VALID: This signal
combines the RMII Carrier and Receive Data Valid indications.
For a detailed description of this signal, see the RMII Specification.
a collision condition (simultaneous transmit and receive activity)
in 10 Mb/s and 100 Mb/s Half Duplex Modes.
While in 10BASE-T Half Duplex mode with heartbeat enabled this
pin is also asserted for a duration of approximately 1µs at the end
of transmission to indicate heartbeat (SQE test).
In Full Duplex Mode, for 10 Mb/s or 100 Mb/s operation, this signal is always logic 0. There is no heartbeat function during 10
Mb/s full duplex operation.
RMII COLLISION DETECT: Per the RMII Specification, no COL
signal is required. The MAC will recover CRS from the CRS_DV
signal and use that along with its TX_EN signal to determine collision.
1.3 CLOCK INTERFACE
Signal NameType Pin #Description
X1 I28CRYSTAL/OSCILLATOR INPUT: This pin is the primary clock
reference input for the DP83848J and must be connected to a 25
MHz 0.005% (+
ther an external crystal resonator connected across pins X1 and
X2, or an external CMOS-level oscillator source connected to pin
X1 only.
RMII REFERENCE CLOCK: This pin is the primary clock reference input for the RMII mode and must be connected to a 50 MHz
0.005% (+50 ppm) CMOS-level oscillator source.
X2O27CRYSTAL OUTPUT: This pin is the primary clock reference out-
put to connect to an external 25 MHz crystal resonator device.
This pin must be left unconnected if an external CMOS oscillator
clock source is used.
50 ppm) clock source. The DP83848J supports ei-
www.national.com10
1.4 LED INTERFACE
See Table 3 for LED Mode Selection.
Signal NameTypePin #Description
LED_LINKS, O, PU22LINK LED: In Mode 1, this pin indicates the status of the LINK.
The LED will be ON when Link is good.
LINK/ACT LED: In Mode 2, this pin indicates transmit and receive
activity in addition to the status of the Link. The LED will be ON
when Link is good. It will blink when the transmitter or receiver is
active.
LED_SPEEDS, O, PU21SPEED LED: This LED is ON when DP83848J is in 100Mb/s and
OFF when DP83848J is in 10Mb/s. Functionality of this LED is independent of the mode selected.
1.5 RESET
Signal NameTypePin #Description
RESET_NI, PU23RESET: Active Low input that initializes or re-initializes the
DP83848J. Asserting this pin low for at least 1 µs will force a reset
process to occur. All internal registers will re-initialize to their default states as specified for each bit in the Register Block section.
All strap options are re-initialized as well.
DP83848J
1.6 STRAP OPTIONS
DP83848J uses many functional pins as strap options. The
values of these pins are sampled during reset and used to
strap the device into specific modes of operation. The strap
option pin assignments are defined below. The functional
pin name is indicated in parentheses.
Signal NameType Pin #Description
PHYAD0 (COL)
PHYAD1 (RXD_0)
PHYAD2 (RXD_1)
PHYAD3 (RXD_2)
PHYAD4 (RXD_3)
S, O, PU
S, O, PD
35
36
37
38
39
PHY ADDRESS [4:0]: The DP83848J provides five PHY address
pins, the state of which are latched into the PHYCTRL register at
system Hardware-Reset.
The DP83848J supports PHY Address strapping values 0
(<00000>) through 31 (<11111>). A PHY Address of 0 puts the part into the MII Isolate Mode. The MII isolate mode must be selected by strapping Phy Address 0; changing to Address 0 by register write will not put the Phy in the MII isolate mode. Please refer
to section 2.3 for additional information.
PHYAD0 pin has weak internal pull-up resistor.
PHYAD[4:1] pins have weak internal pull-down resistors.
A 2.2 kΩ resistor should be used for pull-down or pull-up to
change the default strap option. If the default option is
required, then there is no need for external pull-up or pull
down resistors. Since these pins may have alternate functions after reset is deasserted, they should not be connected directly to VCC or GND.
11www.national.com
Signal NameType Pin #Description
AN0 (LED_LINK)
AN1 (LED_SPEED)
DP83848J
S, O, PU
S, O, PU
22
21
These input pins control the advertised operating mode of the device according to the following table. The value on these pins are
set by connecting them to GND (0) or V
sistors. These pins should NEVER be connected directly to
GND or VCC.
The value set at this input is latched into the DP83848J at Hardware-Reset.
The float/pull-down status of these pins are latched into the Basic
Mode Control Register and the Auto_Negotiation Advertisement
Register during Hardware-Reset.
The default for DP83848J is 11 since these pins have an internal
pull-up.
AN1AN0Advertised Mode
0010BASE-T, Half/Full-Duplex
01100BASE-TX, Half/Full-Duplex
1010BASE-T, Half-Duplex
100BASE-TX, Half-Duplex
1110BASE-T, Half/Full-Duplex
100BASE-TX, Half/Full-Duplex
(1) through 2.2 kΩ re-
CC
MII_MODE (RX_DV)S, O, PD32MII MODE SELECT: This strapping option determines the oper-
LED_CFG (CRS/CRS_DV)S, O, PU33LED CONFIGURATION: This strapping option determines the
MDIX_EN (RX_ER)S, O, PU34MDIX ENABLE: Default is to enable MDIX. This strapping option
ating mode of the MAC Data Interface. Default operation (No pullup) will enable normal MII Mode of operation. Strapping
MII_MODE high will cause the device to be in RMII mode of operation. Since the pin includes an internal pull-down, the default value is 0.
The following table details the configuration:
MII_MODEMAC Interface Mode
0MII Mode
1RMII Mode
mode of operation of the LED pins. Default is Mode 1. Mode 1 and
Mode 2 can be controlled via the strap option. All modes are configurable via register access.
SeeTable 3 for LED Mode Selection.
disables Auto-MDIX. An external pull-down will disable AutoMDIX mode.
www.national.com12
1.7 10 MB/S AND 100 MB/S PMD INTERFACE
Signal NameTypePin #Description
TD-, TD+I/O14, 15Differential common driver transmit output (PMD Output Pair).
These differential outputs are automatically configured to either
10BASE-T or 100BASE-TX signaling.
In Auto-MDIX mode of operation, this pair can be used as the Receive Input pair.
These pins require 3.3V bias for operation.
puts are automatically configured to accept either 100BASE-TX
or 10BASE-T signaling.
In Auto-MDIX mode of operation, this pair can be used as the
Transmit Output pair.
These pins require 3.3V bias for operation.
1.8 SPECIAL CONNECTIONS
Signal NameTypePin #Description
RBIASI20Bias Resistor Connection. A 4.87 kΩ 1% resistor should be con-
PFBOUTO19Power Feedback Output. Parallel caps, 10µ F (Tantalum pre-
PFBIN1
PFBIN2
RESERVEDI/O8,9,10RESERVED: These pins must be left unconnected.
I16
30
nected from RBIAS to GND.
ferred) and 0.1µF, should be placed close to the PFBOUT. Con-
nect this pin to PFBIN1 (pin 16) and PFBIN2 (pin 30). See
Section 5.4 for proper placement pin.
Power Feedback Input. These pins are fed with power from
PFBOUT pin. A small capacitor of 0.1µF should be connected
close to each pin.
Note: Do not supply power to these pins other than from
PFBOUT.
DP83848J
1.9 POWER SUPPLY PINS
Signal NamePin #Description
IOVDD331, 26I/O 3.3V Supply
IOGND40I/O Ground
DGND29Digital Ground
AVDD3318Analog 3.3V Supply
AGND13, 17Analog Ground
13www.national.com
1.10 PACKAGE PIN ASSIGNMENTS
DP83848J
NSQAU040
Pin #
1IO_VDD
2TX_CLK
3TX_EN
4TXD_0
5TXD_1
6TXD_2
7TXD_3
8RESERVED
9RESERVED
10RESERVED
11RD-
12RD+
13AGND
14TD -
15TD +
16PFBIN1
17AGND
18AVDD33
19PFBOUT
20RBIAS
21LED_SPEED/AN1
22LED_LINK/AN0
23RESET_N
24MDIO
25MDC
26IOVDD33
27X2
28X1
29DGND
30PFBIN2
31RX_CLK
32RX_DV/MII_MODE
33CRS/CRS_DV/LED_CFG
34RX_ER/MDIX_EN
35COL/PHYAD0
36RXD_0/PHYAD1
37RXD_1/PHYAD2
38RXD_2/PHYAD3
39RXD_3/PHYAD4
40IOGND
Pin Name
(DP83848J)
www.national.com14
2.0 Configuration
This section includes information on the various configuration options available with the DP83848J. The configuration options described below include:
— Auto-Negotiation
— PHY Address and LED
— Half Duplex vs. Full Duplex
— Isolate mode
— Loopback mode
—BIST
2.1 AUTO-NEGOTIATION
The Auto-Negotiation function provides a mechanism for
exchanging configuration information between two ends of
a link segment and automatically selecting the highest performance mode of operation supported by both devices.
Fast Link Pulse (FLP) Bursts provide the signalling used to
communicate Auto-Negotiation abilities between two
devices at each end of a link segment. For further detail
regarding Auto-Negotiation, refer to Clause 28 of the IEEE
802.3u specification. The DP83848J supports four different
Ethernet protocols (10 Mb/s Half Duplex, 10 Mb/s Full
Duplex, 100 Mb/s Half Duplex, and 100 Mb/s Full Duplex),
so the inclusion of Auto-Negotiation ensures that the highest performance protocol will be selected based on the
advertised ability of the Link Partner. In DP83848J, the
Auto-Negotiation function can be controlled either by internal register access or by the use of AN0 and AN1 pins.
2.1.1 Auto-Negotiation Pin Control
The state of AN0 and AN1 pins determine the specific
mode advertised by the device as given in Table 1.. The
state of AN0 and AN1 pins, upon power-up/reset, determines the state of bits [8:5] of the ANAR register.
The Auto-Negotiation function selected at power-up or
reset can be changed at any time by writing to the Basic
Mode Control Register (BMCR) at address 0x00h
Table 1. Auto-Negotiation Modes in DP83848J
AN1AN0Advertised Mode
0010BASE-T, Half/Full-Duplex
01100BASE-TX, Half/Full-Duplex
1010BASE-T, Half-Duplex
100BASE-TX, Half-Duplex
1110BASE-T, Half/Full-Duplex
100BASE-TX, Half/Full-Duplex
DP83848J
2.1.2 Auto-Negotiation Register Control
When Auto-Negotiation is enabled, the DP83848J transmits the abilities programmed into the Auto-Negotiation
Advertisement register (ANAR) at address 04h via FLP
Bursts. Any combination of 10 Mb/s, 100 Mb/s, HalfDuplex, and Full Duplex modes may be selected.
Auto-Negotiation Priority Resolution:
— (1) 100BASE-TX Full Duplex (Highest Priority)
— (2) 100BASE-TX Half Duplex
— (3) 10BASE-T Full Duplex
— (4) 10BASE-T Half Duplex (Lowest Priority)
The Basic Mode Control Register (BMCR) at address 00h
provides control for enabling, disabling, and restarting the
Auto-Negotiation process. When Auto-Negotiation is disabled, the Speed Selection bit in the BMCR controls
switching between 10 Mb/s or 100 Mb/s operation, and the
Duplex Mode bit controls switching between full duplex
operation and half duplex operation. The Speed Selection
and Duplex Mode bits have no effect on the mode of operation when the Auto-Negotiation Enable bit is set.
The Link Speed can be examined through the PHY Status
Register (PHYSTS) at address 10h after a Link is
achieved.
The Basic Mode Status Register (BMSR) indicates the set
of available abilities for technology types, Auto-Negotiation
ability, and Extended Register Capability. These bits are
permanently set to indicate the full functionality of the
DP83848J (only the 100BASE-T4 bit is not set since the
DP83848J does not support that function).
The BMSR also provides status on:
— Completion of Auto-Negotiation
— Occurrence of a remote fault as advertised by the Link
Partner
— Establishment of a valid link
— Support for Management Frame Preamble suppression
The Auto-Negotiation Advertisement Register (ANAR)
indicates the Auto-Negotiation abilities to be advertised by
the DP83848J. All available abilities are transmitted by
default, but any ability can be suppressed by writing to the
ANAR. Updating the ANAR to suppress an ability is one
way for a management agent to change (restrict) the technology that is used.
The Auto-Negotiation Link Partner Ability Register
(ANLPAR) at address 05h is used to receive the base link
code word as well as all next page code words during the
negotiation. Furthermore, the ANLPAR will be updated to
either 0081h or 0021h for parallel detection to either 100
Mb/s or 10 Mb/s respectively.
The Auto-Negotiation Expansion Register (ANER) indicates additional Auto-Negotiation status. The ANER provides status on:
— Occurrence of a Parallel Detect Fault
— Next Page function support by the Link Partner
— Next page support function by DP83848J
— Reception of the current page that is exchanged by Auto-
Negotiation
— Auto-Negotiation support by the Link Partner
15 www.national.com
2.1.3 Auto-Negotiation Parallel Detection
The DP83848J supports the Parallel Detection function as
defined in the IEEE 802.3u specification. Parallel Detection requires both the 10 Mb/s and 100 Mb/s receivers to
DP83848J
monitor the receive signal and report link status to the
Auto-Negotiation function. Auto-Negotiation uses this
information to configure the correct technology in the
event that the Link Partner does not support Auto-Negotiation but is transmitting link signals that the 100BASE-TX
or 10BASE-T PMAs recognize as valid link signals.
If the DP83848J completes Auto-Negotiation as a result of
Parallel Detection, bit 5 or bit 7 within the ANLPAR register will be set to reflect the mode of operation present in
the Link Partner. Note that bits 4:0 of the ANLPAR will also
be set to 00001 based on a successful parallel detection
to indicate a valid 802.3 selector field. Software may
determine that negotiation completed via Parallel Detection by reading a zero in the Link Partner Auto-Negotiation
Able bit once the Auto-Negotiation Complete bit is set. If
configured for parallel detect mode and any condition
other than a single good link occurs then the parallel
detect fault bit will be set.
2.1.4 Auto-Negotiation Restart
Once Auto-Negotiation has completed, it may be restarted
at any time by setting bit 9 (Restart Auto-Negotiation) of
the BMCR to one. If the mode configured by a successful
Auto-Negotiation loses a valid link, then the Auto-Negotiation process will resume and attempt to determine the
configuration for the link. This function ensures that a valid
configuration is maintained if the cable becomes disconnected.
A renegotiation request from any entity, such as a management agent, will cause the DP83848J to halt any
transmit data and link pulse activity until the
break_link_timer expires (~1500 ms). Consequently, the
Link Partner will go into link fail and normal Auto-Negotiation resumes. The DP83848J will resume Auto-Negotiation after the break_link_timer has expired by issuing FLP
(Fast Link Pulse) bursts.
Auto-MDIX is enabled by default and can be configured
via strap or via PHYCR (0x19h) register, bits [15:14].
Neither Auto-Negotiation nor Auto-MDIX is required to be
enabled in forcing crossover of the MDI pairs. Forced
crossover can be achieved through the FORCE_MDIX bit,
bit 14 of PHYCR (0x19h) register.
Note: Auto-MDIX will not work in a forced mode of operation.
2.1.5 Auto-Negotiation Complete Time
Parallel detection and Auto-Negotiation take approximately 2-3 seconds to complete. In addition, Auto-Negotiation with next page should take approximately 2-3
seconds to complete, depending on the number of next
pages sent.
Refer to Clause 28 of the IEEE 802.3u standard for a full
description of the individual timers related to Auto-Negotiation.
2.2 AUTO-MDIX
When enabled, this function utilizes Auto-Negotiation to
determine the proper configuration for transmission and
reception of data and subsequently selects the appropriate MDI pair for MDI/MDIX operation. The function uses a
random seed to control switching of the crossover circuitry. This implementation complies with the corresponding IEEE 802.3 Auto-Negotiation and Crossover
Specifications.
www.national.com16
2.3 PHY ADDRESS
The 5 PHY address inputs pins are shared with the
RXD[3:0] pins and COL pin as shown below.
Table 2. PHY Address Mapping
Pin #PHYAD FunctionRXD Function
35PHYAD0COL
36PHYAD1RXD_0
37PHYAD2RXD_1
38PHYAD3RXD_2
39PHYAD4RXD_3
The DP83848J can be set to respond to any of 32 possible
PHY addresses via strap pins. The information is latched
into the PHYCR register (address 19h, bits [4:0]) at device
power-up and hardware reset. The PHY Address pins are
shared with the RXD and COL pins. Each DP83848J or
port sharing an MDIO bus in a system must have a unique
physical address.
The DP83848J supports PHY Address strapping values 0
(<0 0 00 0 >) t h r o u g h 3 1 ( <11111 > ) . Strap pi n g PHY Address0 puts the part into Isolate Mode. It should also be noted
that selecting PHY Address 0 via an MDIO write to PHYCR
will not put the device in Isolate Mode. See Section 2.3.1
for more information.
For further detail relating to the latch-in timing requirements
of the PHY Address pins, as well as the other hardware
configuration pins, refer to the Reset summary in
Section 6.0.
DP83848J
Since the PHYAD[0] pin has weak internal pull-up resistor
and PHYAD[4:1] pins have weak internal pull-down resistors, the default setting for the PHY address is 00001
(01h).
Refer to Figure 2 for an example of a PHYAD connection to
external components. In this example, the PHYAD strapping results in address 00011 (03h).
2.3.1 MII Isolate Mode
The DP83848J can be put into MII Isolate mode by writing
to bit 10 of the BMCR register or by strapping in Physical
Address 0. It should be noted that selecting Physical
Address 0 via an MDIO write to PHYCR will not put the
device in the MII isolate mode.
When in the MII isolate mode, the DP83848J does not
respond to packet data present at TXD[3:0], TX_EN inputs
and presents a high impedance on the TX_CLK, RX_CLK,
RX_DV, RX_ER, RXD[3:0], COL, and CRS outputs. When
in Isolate mode, the DP83848J will continue to respond to
all management transactions.
While in Isolate mode, the PMD output pair will not transmit
packet data but will continue to source 100BASE-TX
scrambled idles or 10BASE-T normal link pulses.
The DP83848J can Auto-Negotiate or parallel detect to a
specific technology depending on the receive signal at the
PMD input pair. A valid link can be established for the
receiver even when the DP83848J is in Isolate mode.
PHYAD4= 0
RXD_3
RXD_2
PHYAD3 = 0
Figure 2. PHYAD Strapping Example
RXD_1
PHYAD2 = 0
17 www.national.com
RXD_0
PHYAD1 = 1
2.2kΩ
COL
PHYAD0 = 1
VCC
2.4 LED INTERFACE
The DP83848J supports configurable Light Emitting Diode
(LED) pins for configuring the link and speed. The PHY
Control Register (PHYCR) for the LED can also be
DP83848J
selected through address 19h, bit [5].
See Table 3. for LED Mode selection of DP83848J.
Table 3. LED Mode Select for DP83848J
Mode
The LED_LINK pin in Mode 1 indicates the link status of
the port. In 100BASE-T mode, link is established as a
result of input receive amplitude compliant with the TPPMD specifications which will result in internal generation
of signal detect. A 10 Mb/s Link is established as a result
of the reception of at least seven consecutive normal Link
Pulses or the reception of a valid 10BASE-T packet. This
will cause the assertion of LED_LINK. LED_LINK will
deassert in accordance with the Link Loss Timer as specified in the IEEE 802.3 specification.
The LED_LINK pin in Mode 1 will be OFF when no LINK is
present.
The LED_LINK pin in Mode 2 will be ON to indicate Link is
good and BLINK to indicate activity is present on either
transmit or receive activity.
The LED_SPEED pin in DP83848J indicates 10 or 100
Mb/s data rate of the port. The standard CMOS driver
goes high when operating in 100Mb/s operation. The
functionality of this LED is independent of the mode
selected.
Since these LED pins are also used as strap options, the
polarity of the LED is dependent on whether the pin is
pulled up or down.
LED_CFG[0]
(bit 5) or (pin 33)
11ON for Good
20ON for Good
LED_LINKLED_SPEED
Link
OFF for No
Link
Link
BLINK for
Activity
ON in 100Mb/s
OFF in 10Mb/s
ON in 100Mb/s
OFF in 10Mb/s
sults in Auto-Negotiation with 10BASE-T Half-Duplex ,
100BASE-TX, Half-Duplex advertised.
The adaptive nature of the LED output helps to simplify
potential implementation issues of this dual purpose pin.
.
LED_SPEED
AN1 = 1
VCC
275Ω
Figure 3. AN Strapping and LED Loading Example
2.4.2 LED Direct Control
The DP83848J provides another option to directly control
the LED outputs through the LED Direct Control Register
(LEDCR), address 18h. The register does not provide
read access to the LED.
LED_LINK
AN0 = 0
2.2kΩ
275Ω
2.4.1 LED
Since the Auto-Negotiation strap options share the LED
output pins, the external components required for strapping and LED usage must be considered in order to avoid
contention.
Specifically, when the LED output is used to drive the LED
directly, the active state of the output driver is dependent
on the logic level sampled by the AN input upon powerup/reset. For example, if the AN input is resistively pulled
low then the corresponding output will be configured as an
active high driver. Conversely, if the AN input is resistively
pulled high, then the corresponding output will be configured as an active low driver.
Refer to Figure 3 for an example of AN connection to external components. In this example, the AN strapping re-
www.national.com18
2.5 HALF DUPLEX VS. FULL DUPLEX
The DP83848J supports both half and full duplex operation
at both 10 Mb/s and 100 Mb/s speeds.
Half-duplex relies on the CSMA/CD protocol to handle collisions and network access. In Half-Duplex mode, CRS
responds to both transmit and receive activity in order to
maintain compliance with the IEEE 802.3 specification.
Since the DP83848J is designed to support simultaneous
transmit and receive activity, it is capable of supporting fullduplex switched applications with a throughput of up to 200
Mb/s per port when operating in 100BASE-TX mode.
Because the CSMA/CD protocol does not apply to fullduplex operation, the DP83848J disables its own internal
collision sensing and reporting functions and modifies the
behavior of Carrier Sense (CRS) such that it indicates only
receive activity. This allows a full-duplex capable MAC to
operate properly.
All modes of operation (100BASE-TX and 10BASE-T) can
run either half-duplex or full-duplex. Additionally, other than
CRS and Collision reporting, all remaining MII signaling
remains the same regardless of the selected duplex mode.
It is important to understand that while Auto-Negotiation
with the use of Fast Link Pulse code words can interpret
and configure to full-duplex operation, parallel detection
can not recognize the difference between full and halfduplex from a fixed 10 Mb/s or 100 Mb/s link partner over
twisted pair. As specified in the 802.3u specification, if a
far-end link partner is configured to a forced full duplex
100BASE-TX ability, the parallel detection state machine in
the partner would be unable to detect the full duplex capability of the far-end link partner. This link segment would
negotiate to a half duplex 100BASE-TX configuration
(same scenario for 10 Mb/s).
2.6 INTERNAL LOOPBACK
The DP83848J includes a Loopback Test mode for facilitating system diagnostics. The Loopback mode is selected
DP83848J
through bit 14 (Loopback) of the Basic Mode Control Register (BMCR). Writing 1 to this bit enables MII transmit data
to be routed to the MII receive outputs. Loopback status
may be checked in bit 3 of the PHY Status Register
(PHYSTS). While in Loopback mode the data will not be
transmitted onto the media. To ensure that the desired
operating mode is maintained, Auto-Negotiation should be
disabled before selecting the Loopback mode.
2.7 BIST
The DP83848J incorporates an internal Built-in Self Test
(BIST) circuit to accommodate in-circuit testing or diagnostics. The BIST circuit can be utilized to test the integrity of
the transmit and receive data paths. BIST testing can be
performed with the part in the internal loopback mode or
externally looped back using a loopback cable fixture.
The BIST is implemented with independent transmit and
receive paths, with the transmit block generating a continuous stream of a pseudo random sequence. The user can
select a 9 bit or 15 bit pseudo random sequence from the
PSR_15 bit in the PHY Control Register (PHYCR). The
received data is compared to the generated pseudo-random data by the BIST Linear Feedback Shift Register
(LFSR) to determine the BIST pass/fail status.
The pass/fail status of the BIST is stored in the BIST status
bit in the PHYCR register. The status bit defaults to 0 (BIST
fail) and will transition on a successful comparison. If an
error (mis-compare) occurs, the status bit is latched and is
cleared upon a subsequent write to the Start/Stop bit.
For transmit VOD testing, the Packet BIST Continuous
Mode can be used to allow continuous data transmission,
setting BIST_CONT_MODE, bit 5, of CDCTRL1 (0x1Bh).
The number of BIST errors can be monitored through the
BIST Error Count in the CDCTRL1 (0x1Bh), bits [15:8].
19 www.national.com
3.0 Functional Description
The DP83848J supports two modes of operation using the
MII interface pins. The options are defined in the following
sections and include:
DP83848J
—MII Mode
— RMII Mode
The modes of operation can be selected by strap options
or register control. For RMII mode, it is required to use the
strap option, since it requires a 50 MHz clock instead of
the normal 25 MHz.
In the each of these modes, the IEEE 802.3 serial management interface is operational for device configuration
and status. The serial management interface of the MII
allows for the configuration and control of multiple PHY
devices, gathering of status, error information, and the
determination of the type and capabilities of the attached
PHY(s).
3.1 MII INTERFACE
The DP83848J incorporates the Media Independent Interface (MII) as specified in Clause 22 of the IEEE 802.3u
standard. This interface may be used to connect PHY
devices to a MAC in 10/100 Mb/s systems. This section
describes the nibble wide MII data interface.
The nibble wide MII data interface consists of a receive
bus and a transmit bus each with control signals to facilitate data transfer between the PHY and the upper layer
(MAC).
active simultaneously. Collisions are reported by the COL
signal on the MII.
If the DP83848J is transmitting in 10 Mb/s mode when a
collision is detected, the collision is not reported until
seven bits have been received while in the collision state.
This prevents a collision being reported incorrectly due to
noise on the network. The COL signal remains set for the
duration of the collision.
If a collision occurs during a receive operation, it is immediately reported by the COL signal.
When heartbeat is enabled (only applicable to 10 Mb/s
operation), approximately 1µs after the transmission of
each packet, a Signal Quality Error (SQE) signal of
approximately 10 bit times is generated (internally) to indicate successful transmission. SQE is reported as a pulse
on the COL signal of the MII.
3.1.3 Carrier Sense
Carrier Sense (CRS) is asserted due to receive activity,
once valid data is detected via the squelch function during
10 Mb/s operation. During 100 Mb/s operation CRS is
asserted when a valid link (SD) and two non-contiguous
zeros are detected on the line.
For 10 or 100 Mb/s Half Duplex operation, CRS is
asserted during either packet transmission or reception.
For 10 or 100 Mb/s Full Duplex operation, CRS is
asserted only due to receive activity.
CRS is deasserted following an end of packet.
3.1.1 Nibble-wide MII Data Interface
Clause 22 of the IEEE 802.3u specification defines the
Media Independent Interface. This interface includes a
dedicated receive bus and a dedicated transmit bus.
These two data buses, along with various control and status signals, allow for the simultaneous exchange of data
between the DP83848J and the upper layer agent (MAC).
The receive interface consists of a nibble wide data bus
RXD[3:0], a receive error signal RX_ER, a receive data
valid flag RX_DV, and a receive clock RX_CLK for synchronous transfer of the data. The receive clock operates
at either 2.5 MHz to support 10 Mb/s operation modes or
at 25 MHz to support 100 Mb/s operational modes.
The transmit interface consists of a nibble wide data bus
TXD[3:0], a transmit enable control signal TX_EN, and a
transmit clock TX_CLK which runs at either 2.5 MHz or 25
MHz.
Additionally, the MII includes the carrier sense signal
CRS, as well as a collision detect signal COL. The CRS
signal asserts to indicate the reception of data from the
network or as a function of transmit data in Half Duplex
mode. The COL signal asserts as an indication of a collision which can occur during half-duplex operation when
both a transmit and receive operation occur simultaneously.
3.1.2 Collision Detect
For Half Duplex, a 10BASE-T or 100BASE-TX collision is
detected when the receive and transmit channels are
3.2 Reduced MII Interface
The DP83848T incorporates the Reduced Media Independent Interface (RMII) as specified in the RMII specification
(rev1.2) from the RMII Consortium. This interface may be
used to connect PHY devices to a MAC in 10/100 Mb/s
systems using a reduced number of pins. In this mode,
data is transferred 2-bits at a time using the 50 MHz
RMII_REF clock for both transmit and receive. The following pins are used in RMII mode:
— TX_EN
— TXD[1:0]
— RX_ER (optional for Mac)
— CRS_DV
— RXD[1:0]
— X1 (RMII Reference clock is 50 MHz)
In addition, the RMII mode supplies an RX_DV signal
which allows for a simpler method of recovering receive
data without having to separate RX_DV from the CRS_DV
indication. This is especially useful for systems which do
not require CRS, such as systems that only support fullduplex operation. This signal is also useful for diagnostic
testing where it may be desirable to loop Receive RMII
data directly to the transmitter.
Since the reference clock operates at 10 times the data
rate for 10 Mb/s operation, transmit data is sampled every
10 clocks. Likewise, receive data will be generated every
10th clock so that an attached device can sample the data
every 10 clocks.
www.national.com20
RMII mode requires a 50 MHz oscillator be connected to
the device X1 pin. A 50 MHz crystal is not supported.
To tolerate potential frequency differences between the 50
MHz reference clock and the recovered receive clock, the
receive RMII function includes a programmable elasticity
buffer. The elasticity buffer is programmable to minimize
propagation delay based on expected packet size and
clock accuracy. This allows for supporting a range of
packet sizes including jumbo frames.
Table 4. Supported packet sizes at +/-50ppm +/-100ppm for each clock
Start Threshold
RBR[1:0]
1 (4-bits)2 bits2400 bytes1200 bytes
2 (8-bits)6 bits7200 bytes3600 bytes
3 (12-bits)10 bits12000 bytes6000 bytes
0 (16-bits)14 bits16800 bytes8400 bytes
Latency ToleranceRecommended Packet Size
The elasticity buffer will force Frame Check Sequence
errors for packets which overrun or underrun the FIFO.
Underrun and Overrun conditions can be reported in the
RMII and Bypass Register (RBR). The following table indicates how to program the elasticity buffer fifo (in 4-bit increments) based on expected max packet size and clock
accuracy. It assumes both clocks (RMII Reference clock
and far-end Transmitter clock) have the same accuracy
Recommended Packet Size
at +/- 50ppm
DP83848J
at +/- 100ppm
3.3 802.3U MII SERIAL MANAGEMENT INTERFACE
3.3.1 Serial Management Register Access
The serial management MII specification defines a set of
thirty-two 16-bit status and control registers that are accessible through the management interface pins MDC and
MDIO. The DP83848J implements all the required MII registers as well as several optional registers. These registers
are fully described in Section 7.0. A description of the serial
management access protocol follows.
3.3.2 Serial Management Access Protocol
The serial control interface consists of two pins, Management Data Clock (MDC) and Management Data Input/Output (MDIO). MDC has a maximum clock rate of 25 MHz
and no minimum rate. The MDIO line is bi-directional and
may be shared by up to 32 devices. The MDIO frame format is shown below in Table 5..
The MDIO pin requires a pull-up resistor (1.5 kΩ) which,
during IDLE and turnaround, will pull MDIO high. In order to
initialize the MDIO interface, the station management entity
sends a sequence of 32 contiguous logic ones on MDIO to
provide the DP83848J with a sequence that can be used to
establish synchronization. This preamble may be generated either by driving MDIO high for 32 consecutive MDC
clock cycles, or by simply allowing the MDIO pull-up resistor to pull the MDIO pin high during which time 32 MDC
clock cycles are provided. In addition, 32 MDC clock cycles
should be used to re-sync the device if an invalid start,
opcode, or turnaround bit is detected.
The DP83848J waits until it has received this preamble
sequence before responding to any other transaction.
Once the DP83848J serial management port has been initialized no further preamble sequencing is required until
after a power-on/reset, invalid Start, invalid Opcode, or
invalid turnaround bit has occurred.
The Start code is indicated by a <01> pattern. This assures
the MDIO line transitions from the default idle line state.
Turnaround is defined as an idle bit time inserted between
the Register Address field and the Data field. To avoid contention during a read transaction, no device shall actively
drive the MDIO signal during the first bit of Turnaround.
The addressed DP83848J drives the MDIO with a zero for
the second bit of turnaround and follows this with the
required data. Figure 4 shows the timing relationship
between MDC and the MDIO as driven/received by the Station (STA) and the DP83848J (PHY) for a typical register
read access.
For write transactions, the station management entity
writes data to the addressed DP83848J thus eliminating
the requirement for MDIO Turnaround. The Turnaround
time is filled by the management entity by inserting <10>.
Figure 5 shows the timing relationship for a typical MII register write access.
The DP83848J supports a Preamble Suppression mode
as indicated by a one in bit 6 of the Basic Mode Status
Register (BMSR, address 01h.) If the station management
entity (i.e. MAC or other management controller) determines that all PHYs in the system support Preamble Suppression by returning a one in this bit, then the station
management entity need not generate preamble for each
management transaction.
The DP83848J requires a single initialization sequence of
32 bits of preamble following hardware/software reset.
This requirement is generally met by the mandatory pullup resistor on MDIO in conjunction with a continuous
MDC, or the management access made to determine
whether Preamble Suppression is supported.
While the DP83848J requires an initial preamble
sequence of 32 bits for management initialization, it does
not require a full 32-bit sequence between each subsequent transaction. A minimum of one idle bit betweenmanagement transactions is required as specified in the
IEEE 802.3u specification.
Z
Z
Z
0 0 011000100000000
TA
0 0 000000000000
1000
TA
Register Data
Register Data
Z
Z
Idle
ZZ
Z
Idle
www.national.com22
4.0 Architecture
This section describes the operations within each transceiver module, 100BASE-TX and 10BASE-T. Each operation consists of several functional blocks and described in
the following:
The 100BASE-TX transmitter consists of several functional
blocks which convert synchronous 4-bit nibble data, as provided by the MII, to a scrambled MLT-3 125 Mb/s serial
data stream. Because the 100BASE-TX TP-PMD is integrated, the differential output pins, PMD Output Pair, can
be directly routed to the magnetics.
DP83848J
The block diagram in Figure 6. provides an overview of
each functional block within the 100BASE-TX transmit section.
The Transmitter section consists of the following functional
blocks:
— Code-group Encoder and Injection block
— Scrambler block (bypass option)
— NRZ to NRZI encoder block
— Binary to MLT-3 converter / Common Driver
The bypass option for the functional blocks within the
100BASE-TX transmitter provides flexibility for applications
where data conversion is not always required. The
DP83848J implements the 100BASE-TX transmit state
machine diagram as specified in the IEEE 802.3u Standard, Clause 24.
125MHZ CLOCK
BP_SCR
100BASE-TX
LOOPBACK
TX_CLK
DIVIDE
BY 5
MLT[1:0]
TXD[3:0] /
TX_EN
4B5B CODE-GROUP
ENCODER &
INJECTOR
5B PARALLEL
TO SERIAL
SCRAMBLER
MUX
NRZ TO NRZI
ENCODER
BINARY
TO MLT-3 /
COMMON
DRIVER
PMD OUTPUT PAIR
Figure 6. 100BASE-TX Transmit Block Diagram
23 www.national.com
Table 6. 4B5B Code-Group Encoding/Decoding
DATA CODES
DP83848J
IDLE AND CONTROL CODES
INVALID CODES
Note: Control code-groups I, J, K, T and R in data fields will be mapped as invalid codes, together with RX_ER asserted.
0111100000
1010010001
2101000010
3101010011
4010100100
5010110101
6011100110
7011110111
8100101000
9100111001
A101101010
B101111011
C110101100
D110111101
E111001110
F111011111
H00100HALT code-group - Error code
I11111Inter-Packet IDLE - 0000 (
J11000First Start of Packet - 0101 (Note 1)
K10001Second Start of Packet - 0101 (Note 1)
T01101First End of Packet - 0000 (Note 1)
R00111Second End of Packet - 0000 (Note 1)
V00000
V00001
V00010
V00011
V00101
V00110
V01000
V01100
Note 1)
www.national.com24
Loading...
+ 54 hidden pages
You need points to download manuals.
1 point = 1 manual.
You can buy points or you can get point for every manual you upload.