Dual Port 10/100 Mb/s Ethernet Physical Layer Transceiver
DP83849C PHYTER® DUAL Commercial Temperature Dual Port 10/100 Mb/s Ethernet Physical Layer Transceiver
General Description
The number of applications requiring Ethernet Connectivity continues to expand. Along with this
increased market demand is a change in application
requirements. Where single channel Ethernet used to
be sufficient, many applications such as wireless
remote base stations and industrial networking now
require DUAL Port functionality for redundancy or system management.
The DP83849C is a highly reliable, feature rich device
perfectly suited for commercial or industrial applications enabling Ethernet on the factory floor. The
DP83849C features two fu lly i ndepen dent 1 0/100 p orts
for multi-port applications.
The DP83849C provides optimum flexibility in MPU
selection by supporting both MII and RMII interfaces.
In additio n this device includes a powerful new diagnostics tool to ensure initial network operation and
maintenance. In addition to the TDR scheme, commonly used for detecting faults during installation,
NATIONAL’s innovative cable diagnostics provides for
real time continuous monitoring of the link quality. This
allows the system designer to implement a fault prediction mechanism to detect and warn of changing or
deteriorating link conditions.
With the DP83849C, National Semiconductor continues to build on its Ethernet expertise and leadership
position by providing a powerful combination of features and flexibili ty, easing Ethernet implementation for
the system designer.
Features
• Low-power 3.3V, 0.18µm CMOS technology
• Low power consumption <600mW Typical
• 3.3V MAC Interface
• Auto-MDIX for 10/100 Mb/s
• Energy Detection Mode
• Dynamic Integrity Utility
• Dynamic Link Quality Monitoring
• TDR based Cable Diagnostic and Cable Length Detection
• Optimized Latency for Real Time Ethernet Operation
• Reference Clock out
• RMII Rev. 1.2 Interface (configurable)
• SNI Interface (configurable)
• MII Serial Management Interface (MDC and MDIO)
• IEEE 802.3u MII
• 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
The DP83849C 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 and Power Down
— Strap Options
— 10/100 Mb/s PMD Interface
— Special Connect Pins
— Power and Ground pins
Note: Strapping pin opti on. Please s ee Section 1.6 for strap
definitions.
1.1 Serial Management Interface
Signal NameTypePin #Description
MDCI67MANAGEMENT DATA CLOCK: Synchronous clock to the MDIO
management data input/output serial interface which may be asyn
chronous to transmit and receive clocks. The maximum clock rate is
25 MHz with no minimum clock rate.
MDIOI/O66MANAGEMENT DATA I/O: Bi-directional management instruc-
tion/data signal that may be sou rced by the stati on management en tity
or the PHY . This pin requires a 1.5 kΩ pullup resistor.
All DP83849C signal pins are I/O cells regardless of the
particular use. The defi nition s below define the functiona lit y
of the I/O cells for each pin.
ternal pu ll-ups or pull- downs. If the default
strap value is to be changed then an exter
nal 2.2 kΩ resistor should be used. Please
see Section 1.6 for details.)
DP83849C
-
-
1.2 MAC Data Interface
Signal NameTypePin #Description
TX_CLK_A
TX_CLK_B
TX_EN_A
TX_EN_B
TXD[3:0]_A
TXD[3:0]_B
O12
50
I13
49
I17,16,15,14
45,46,47,48
MII TRANSMIT CLOCK: 25 MHz Transmit clock output in 100 Mb/s
mode or 2.5 MH z in 10 Mb/s m ode derived f rom the 25 MHz reference
clock.
Unused in RMII mo de. T he d evi ce uses the X1 reference clock input
as the 50 MHz reference for both transmit and receive.
SNI TRANSMIT CLOCK: 10 MHz Transmit cloc k output in 10 Mb SNI
mode. The MAC should source TX_EN and TXD_0 using this clock.
MII TRANSMIT ENABLE: Active high input indic ates th e prese nce of
valid data inputs on TXD[3:0].
RMII TRANSMIT ENABLE: Active high input indicates the presence
of valid data on TXD[1:0].
SNI TRANSMIT ENABLE: Active high input indic ates the presence of
valid data on TXD_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.
SNI TRANSMIT DATA: Transmit data SNI input p in, T XD _0, that accept data synch ronous to the TX_CL K (10 MHz in 10 Mb/s SNI mode).
9 www.national.com
1.2 MAC Data Interface (Continued)
Signal NameTypePin #Description
RX_CLK_A
RX_CLK_B
RX_DV_A
RX_DV_B
RX_ER_A
RX_ER_B
RXD[3:0]_A
RXD[3:0]_B
CRS_A/CRS_DV_A
CRS_B/CRS_DV_B
COL_A
COL_B
O79
63
O80
62
O2
60
O9,8,5,4
53,56,57,58
O1
61
O3
59
MII RECEIVE CLOCK: Provides the 25 MHz recovered receive
clocks for 100 Mb/s mode and 2.5 MHz for 10 Mb/s mode.
Unused in RMII mo de. T he d evi ce uses the X1 reference clock input
as the 50 MHz reference for both transmit and receive.
SNI RECEIVE CLOCK: Provides the 10 MHz recovered receive
clocks for 10 Mb/s SNI mode.
MII RECEIVE DATA VALID: Asserted high to i ndi ca te th at v al id d ata
is present on the corresponding RXD[3:0].
RMII RECEIVE DATA VALID: Asserted high to indicate that valid
data is present on the corresponding RXD[1:0]. This signal is not re
quired in RMII mode, since CRS_DV includes the RX_DV signal, but
is provided to allow simpler recovery of the Receive data.
This pin is not used in SNI mode.
MII RECEIVE ERROR: Asserted high synchronously to RX_CLK to
indicate that an invalid symbol has been detected within a received
packet in 100 Mb/s mode.
RMII RECEIVE ERROR: Asserted high synchronou sly to X1 when ever an invalid symbo l is detected, and CRS _DV is asserted in 100 Mb/s
mode. This pin is als o ass ert ed on d ete cti on of a Fa ls e C arr ier eve nt.
This pin is not required to be used by a MAC in RMII mode, s in ce the
Phy is required to corrupt data on a receive error.
This pin is not used in SNI mode.
MII RECEIVE DATA: Nibble wide receive data signals driven syn-
chronously 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
synchronousl y to the X1 clock, 50 MHz.
SNI RECEIVE DATA: Receive data signal, RXD_0, driven synchronously to the RX_CLK. RXD_0 contains valid data when CRS is asserted. RXD[3:1] are not used in this mode.
MII CARRIER SENSE: Asserted high to indicate th e receive me 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.
SNI CARRIER SENSE: Asserted high to in dicate the receive medium
is non-idle. It is used to fra me valid receive data on the RXD _0 sign al.
MII COLLISION DETECT: Asserted high to indicate detection of 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 M ode, fo r 10 M b/s or 100 Mb /s op eration , this signa l is
always logic 0. There is no heartbeat function during 10 Mb/s full du
plex 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.
SNI COLLISION DETECT: Asserted high to indicate detection of a
collision condition (simultaneous transmit and receive activity) in 10
Mb/s SNI mode.
DP83849C
-
-
10 www.national.com
1.3 Clock Interface
Signal NameType Pin #Description
X1 I70CRYSTAL/OSCILLATOR INPUT: This pin i s the primary clock
X2O69CRYSTAL OUTPUT: This pin is the primary clock reference out-
CLK2MACO68CLOCK TO MAC:
reference input fo r the DP83849C and must be co nnected to a 25
MHz 0.005% (
either an external crys tal resonator connecte d across pins X1 and
X2, or an external CMO S-level oscil lator sourc e connec ted to pin
X1 only.
RMII REFERENCE CLOCK: This pin is the primary clock reference input for the RMII mode and mu st be connected to a 50 MHz
0.005% (
put to connect to an external 25 MHz crystal resonator device.
This pin must be left unconnected if an external C MOS osc ill ator
clock source is used.
In MII mode, this pin provides a 25 MHz clock output to the system.
In RMII mode, this pin prov ides a 50 MHz cloc k outpu t to the sys tem.
This allows other devices to use the reference clock from the
DP83849C without requiring additional clock sources.
If the system does not require the CLK2MAC signal, the
CLK2MAC output should be disabled via the CLK2MAC disable
strap.
+50 ppm) clock source. The DP83849C supports
+50 ppm) CMOS-level oscillator source.
DP83849C
1.4 LED Interface
The DP83849C supports three configurable LED pins. The
LEDs support two operational modes which are selected
by the LED mode s trap an d a thi rd ope rationa l mod e whic h
Signal NameTypePin #Description
LED_LINK_A
LED_LINK_B
LED_SPEED_A
LED_SPEED_B
LED_ACT/LED_COL_A
LED_ACT/LED_COL_B
I/O19
43
I/O20
42
I/O21
41
LINK 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 and Mode 3, this pi n indicates tra nsmit
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.
SPEED LED: The LED is ON when device is i n 100 Mb/s and OFF
when in 10 Mb/s. Functionality of this LED is independ ent of mode
selected.
ACTIVITY LED: In Mode 1, this pin is the A ctivity L ED which i s
ON when activity is present on either Transmit o r Receive.
COLLISION/DUPLEX LED: In Mode 2, this pin by default indicates Collision detection. For Mode 3, this LED output may be
programmed to indicate Full-duplex status instead of Collision.
is register configurable. The definitions for the LEDs for
each mode are detailed below. Since the LEDs are also
used as strap options, the polarity of the LED output is
dependent on whether the pin is pulled up or down.
11 www.national.com
1.5 Reset and Power Down
Signal NameTypePin #Description
RESET_NI, PU71RESET: Active Low input that initializes or re-initializes the
PWRDOWN_INT_A
PWRDOWN_INT_B
I, PU18
44
DP83849C. Asserting this pin low for at leas t 1 µs will force a reset
process to occur. All internal registers will re-initialize to their de
fault states as spe ci fie d for each bit in the Regi st er Bl oc k section.
All strap options are re-initialized as well.
The default function of this pin is POWER DOWN.
POWER DOWN: The pin is an active low input in this mode and
should be asserted low to put the device in a Power Down mode.
INTERRUPT: The pin is an open drain outpu t in this mo de and will
be asserted low when a n in terru pt co nd itio n oc c urs . Alth oug h the
pin has a weak internal pull-up, some applications may require an
external pull-up resi ster. R egister a ccess i s requi red for th e pin to
be used as an in terrupt me chanism. Se e
Mechanism for more details on the interrupt mechanisms.
Section 5.5.2 Interrupt
1.6 Strap Options
The DP83849C uses many of the functional pins as strap
options. The values of these pins are sampled during reset
and used to strap the device into specific modes of opera
tion. The strap option pin assignments are defined below.
The functional pin name is indicated in parentheses.
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 func
tions after reset is deasserted, they should not be connected directly to VCC or GND.
PHY ADDRESS [4:1]: The DP83849C provides four PHY address pins, the state of w hi ch are la tch ed in to th e PH YCTR L reg ister at system Hardware- Reset. Phy Address[0] se lects between
ports A and B.
The DP83849C supports PHY Addr ess strapping for Port A even
values 0 (<0000_0>) through 30 (<1111_0>). Port B will be
strapped to odd values 1 (<0000_1>) through 31 (<1111_1>).
PHYAD[4:1] pins have weak internal pull-down resistors.
12 www.national.com
1.6 Strap Options (Continued)
lex
lex
Signal NameType Pin #Description
AN_EN
(LED_ACT/LED_COL_A)
AN1_A (LED_SPEED_A)
AN0_A (LED_LINK_A)
AN_EN
(LED_ACT/LED_COL_B)
AN1_B (LED_SPEED_B)
AN0_B (LED_LINK_B)
S, O, PU21
20
19
41
42
43
Auto-Negotiation Enable: When high, this enables Auto-Negoti ation with the cap ability set by AN 0 and AN1 p ins. When low, th is
puts the part i nto Force d Mode with the capabili ty set by AN0 an d
AN1 pins.
AN0 / AN1: These input pins control the forced or advertised operating mode of the DP83849C according to the following table.
The value on these pins is set by connecting the input pins to
GND (0) or V
NEVER be connected directly to GND or VCC.
The value set at this input is latched into the DP83849C at Hardware-Reset.
The float/pull-down sta tus of these pin s ar e latch ed into the Bas ic
Mode Control Register and the Auto_Negotiation Advertisement
Register during Hardware-Reset.
The default is 111 since these pins have internal pull-ups.
MII MODE SELECT: This strapping option pair determines the
operating mode of the MAC Data Interface. Default operation
(No pull-ups) will e nable norma l MII Mod e of op eratio n. Strapp ing
MII_MODE high w ill ca use th e devi ce to b e in RMI I or SNI modes
of operation, determined by the status of the SNI_MODE strap.
Since the pins include internal pull-downs, the default values are
0. Both MAC Data Int erfaces m ust ha ve their RMII Mode settings
the same, i.e. both in RMII mode or both not in RMII mode.
The following table details the configurations:
MII_MODE SNI_MODEMAC Interface
Mode
0XMII Mode
10RMII Mode
1110 Mb SNI Mode
13 www.national.com
1.7 10 Mb/s and 100 Mb/s PMD Interface (Continued)
Signal NameType Pin #Description
LED_CFG_A
(CRS_A/CRS_DV_A)
LED_CFG_B
(CRS_B/CRS_DV_B)
MDIX_EN_A (RX_ER_A)
MDIX_EN_B (RX_ER_B)
ED_EN_A (RXD3_A)
ED_EN_B (RXD3_B)
CLK2MAC_DIS (RXD2_A)S, O, PD8Clock to MAC Disable: This strapping o ption disables (flo ats) the
S, O, PU1
S, O, PU2
S, O, PD9
61
60
53
LED CONFIGURATION: This strapping option determines the
mode of operation of the LED pins . Default is Mode 1. Mode 1 and
Mode 2 can be controlled via the s trap opti on. All m odes are con
figurable via register access.
See Table 3 on page 20 for LED Mode Selection.
MDIX ENABLE: Default is to enable MD I X. This strapping option
disables Auto-MDIX. An external pull-down will disable AutoMDIX mode.
Energy Detect ENABLE: Default is to disable Energy Detect
mode. This strapping option enables Energy Detect mode for the
port. In Energy Detect mode, the device will initially be in a lowpower state until detec ting activity on the wire. An external pull-up
will enable Energy Detect mode.
CLK2MAC pin. Def ault is to en able CLK2MA C output. An external
pullup will disable (float) the CLK2MAC pin. If the system doe s not
require the CLK2MA C signal, the CLK2MAC output should be d is
abled via this strap option.
1.7 10 Mb/s and 100 Mb/s PMD Interface
DP83849C
-
-
Signal NameTypePin #Description
TPTDM_A
TPTDP_A
TPTDM_B
TPTDP_B
TPRDM_A
TPRDP_A
TPRDM_B
TPRDP_B
I/O26
27
36
35
I/O23
24
39
38
10BASE-T or 100BASE-TX Transmit Data
In 10BASE-T or 100BASE-TX: Differential common driver transmit output (PMD Ou tput Pair). Th ese different ial ou tputs are a utomatically configured to either 10BASE-T or 100BASE-TX
signaling.
In Auto-MDIX mode of opera tion, this pa ir can be used as the Receive Input pair.
These pins require 3.3V bias for operation.
10BASE-T or 100BASE-TX Receive Data
In 10BASE-T or 100BASE-TX: Differenti al receiv e input (PMD In put Pair). These differential in puts are autom atically 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.
14 www.national.com
1.8 Special Connections
Signal NameTypePin #Description
RBIASI32Bias Resistor Connection: A 4.87 kΩ 1% resistor should be con -
nected from RBIAS to GND.
PFBOUTO31Power Feedback Output: Parallel caps, 10µ F and 0.1µF, should
PFBIN1
PFBIN2
PFBIN3
PFBIN4
RESERVEDI/O72, 73, 74,
I7
28
34
54
75, 76
be placed close to the PFBOUT. Connect this pin to PFBIN1 (pin
13), PFBIN2 (pin 27), PFBIN3 (pin35), PFBIN4 (pin 49). 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
close to each pin.
Note: Do not supply power to these pins other than from
PFBOUT.
This section in clude s inform atio n on the var ious con figura tion options available with the DP83849C. The configuration options described below include:
— Auto-Negotiation
— PHY Address and LEDs
— 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 per
formance 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 DP83849C supports four differ
ent 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 high
est performance protocol will be selected based on the
advertised ability of the Link Partner. The Auto-Negotiation
function within the DP83849C can be controlled either by
internal register access or by the use of the AN_EN, AN1
and AN0 pins.
2.1.1 Auto-Negotiation Pin Control
The state of AN_EN, AN0 an d AN1 det ermine s wheth er the
DP83849C is forced into a specific mode or Auto-Negotiation will advertise a specific ability (or set of abilities) as
given in
be selected without requiring internal register access.
The state of AN _EN, AN0 and A N1, upon po wer-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 cha nged at any time by writin g to the Basic
Mode Contro l Register (BMCR) at addre ss 00h.
Table 1. These pins allow configuration options to
When Auto-Negotiation is enabled, the DP83849C 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 se lected.
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 dis
abled, 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 oper
ation 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
DP83849C (only the 100BASE-T4 bit is not set since the
DP83849C does not support that function).
The BMSR also provides status on:
— Whether or not Auto-Negotiation is complete
— Whether or not the Link Partner is advertising that a re-
mote fault has occurred
— Whether or not valid link has been established
— Support for Management Frame Preamble suppression
The Auto-Negotiation Advertisement Register (ANAR) indi-
cates the Auto-Negotiation abilities to be advertised by the
DP83849C. All available abilities are transmitted by
default, but any ability can be suppressed by writing to the
-
-
DP83849C
17 www.national.com
ANAR. Updating the ANAR to suppress an ability is one
way for a management agent to change (restrict) the tech
nology 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
negotiati on. Furthermore, the ANLPAR will be updat ed 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:
— Whether or not a Parallel Detect Fault has occurred
— Whether or not the Link Partne r supp orts the Next Pag e
function
— Whether or not the DP83849C supports the Next Page
function
— Whether or not the current page being exchanged by
Auto-Negotiation has been receiv ed
— Whether or not the Link Partner supports Auto-Negotia-
tion
2.1.3 Auto-Negotiation Parallel Detection
The DP83849C supports the Parallel Detection function as
defined in the IEEE 802.3u specifi ca tio n. Para lle l De tect io n
requires both the 10 Mb/s and 100 Mb/s receivers to moni
tor the receive signal and report link status to the AutoNegotiation function. Auto-Negotiation uses this informa
tion to configure th e corre ct techno logy i n the e vent th at the
Link Partner does not support Auto-Negotiation but is
transmitting link signals that the 100BASE-TX or 10BASET PMAs recognize as valid link signa ls .
If the DP83849C completes Auto-Negotiation as a result of
Parallel Detection, bits 5 and 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 deter
mine that negotiation completed via Parallel Detection by
reading a zero in the Link Partn er Au to-N eg oti ati on Ab le b it
once the Auto-Negotiat io n Compl ete b it i s s et. I f co nfi gure d
for parallel detect mode and any condition other than a sin
gle 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 (Res tart Auto- Negotiat ion) of th e
BMCR to one. If the mode confi gured b y a su cces sful Au toNegotiation loses a valid link, then the Auto-Negotiation
process will resume and attempt to determine the configu
ration for the link. This function ensures that a valid configuration is maintained if the cable becomes disconnected.
A renegotiation requ es t fro m any en tity, such as a ma nag e ment agent, will cause the DP83849C 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
DP83849C will resume Auto-Negotiation after the
break_link_timer has expired by issuing FLP (Fast Link
Pulse) bursts.
-
-
-
-
-
-
2.1.5 Enabling Auto-Negotiation via Software
It is important t o no te that if the DP83849C has been ini tia l ized upon power-up as a non-auto-negotiating device
(forced technology), and it is then requ ire d that Auto-Negotiation or re-Auto-Negotiation be initiated via software,
12 (Auto-Negotiation Enable) of the Basic Mode Control
bit
Register (BMCR) must first be cleared and then set for any
Auto-Negotiation function to take effect.
2.1.6 Auto-Negotiation Complete Time
Parallel detection and Auto-Negotiation take approximately
2-3 seconds to co mp let e. In addition, Auto-Negotiation wi th
next page should take approximately 2-3 seconds to com
plete, 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 MD I/ MD IX o pe ra ti on. T h e fu nc t io n us es a r an
dom seed to control switching of the crossover circuitry.
This implementati on co mplie s with the corres po ndi ng IEEE
802.3 Auto-Negotiation and Crossover Specifications.
Auto-MDIX is enabled by default and can be confi gu red vi a
strap or via PHYCR (19h) r egister, 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 (19h) register.
Note: Auto-MDIX will not work in a forced mode of operation.
-
2.3 PHY Address
The 4 PHY address inputs pins are shown below.
Table 2. PHY Address Mapping
Pin #PHYAD FunctionRXD Function
4PHYAD1RXD0_A
5PHYAD2RXD1_A
58PHYAD3RXD0_B
57PHYAD4RXD1_B
The DP83849C provides four address strap pins for determining the PHY addresses for ports A and B of the device.
The 4 address strap pins provide the upper four bits of the
PHY address. The lowest bit of the PHY address is depen
dent on the port. Port A has a value of 0 for the PHY
address bit 0 while port B has a value of 1. The PHY
address strap input pins are shown in
The PHY address strap information is latched into the
PHYCR register (address 19h, bits [4:0]) at device powerup and hardware reset. The PHY Address pins are shared
with the RXD pins. Each DP83849C or port sharing an
Table 2.
-
DP83849C
18 www.national.com
MDIO bus in a system must have a unique physical
address.
The DP83849C supports PHY Address strapping of Port A
to even values 0 (<0000_0>) through 30 (<1111_0>). Port
B is strapped to odd values 1 (<0000_1>) through 31
(<1111_1>). Note that Port B address is always 1 greater
than Port A address.
For further detail rela ting to the la tch -in timi ng requi rement s
of the PHY Address pins, as well as the other hardware
configuration pins, refer to the Reset summary in
Section 6.0.
Refer to Figure 2 for an exam ple o f a PH YAD connectio n to
external components. In this example, the PHYAD strapping results in address 00010 (02h) for Port A and address
00011 (03h) for Port B.
DP83849C
2.3.1 MII Isolate Mode
The DP83849C can be put into MII Isolate mode by writing
to bit 10 of the BMCR register.
When in the MII isolate mode, the DP83849C 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 DP83849C will continue to respond to
all management transactions.
While in Isolate mod e, th e PM D ou tput pair will not transmit
packet data but will continue to source 100BASE-TX
scrambled idles or 10BASE-T normal link pulses.
The DP83849C 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 DP83849C is in Isolate mode.
RXD1_B
PHYAD4= 0
RXD0_B
Figure 2. PHYAD Strapping Example
RXD1_A
PHYAD2 = 0PHY AD3 = 0
RXD0_A
PHYAD1 = 1
2.2kΩ
VCC
19 www.national.com
2.4 LED Interface
The DP83849C supports three configurable Light Emitting
Diode (LED) pins for each port.
Several functions can be multiplexed onto the three LEDs
using three different modes of operation. The LED operation mode can be selected by writing to the LED_CFG[1:0]
register bits in the PHY Control Register (PHYCR) at
address 19h, bits [6:5]. In addition, LED_CFG[0] for each
port can be set by a strap option on the CRS_A and
CRS_B pins. LED_CFG[1] is only controllable through reg
ister access and cannot be set by as strap pin.
See Table 3 for LED Mode selection.
ON in 100 Mb/s
OFF in 10 Mb/s
ON in 100 Mb/s
OFF in 10 Mb/s
ON in 100 Mb/s
OFF in 10 Mb/s
ON for Activity
OFF for No Activity
ON for Collision
OFF for No Collision
ON for Full Duplex
OFF for Half Duplex
DP83849C
-
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 est abli shed 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 as sertion of LED_LINK. LED_LINK wil l deas
sert in accordance with the Link Loss Timer as specified in
the IEEE 802.3 specification.
The LED_LINK p in in Mode 1 w i ll be O FF w h en no LI N K is
present.
The LED_LINK pin in Mode 2 and Mode 3 will be ON to
indicate Link is good and BLINK to indicate activity is
present on activity. The BLINK frequency is defined in
BLINK_FREQ, bits [7:6] of register LEDCR (18h).
Activity is defined as configured in LEDACT_RX, bit 8 of
register LEDCR (18h). If LEDACT_RX is 0, Activity is sig
naled for either transmit or receive. If LEDACT_RX is 1,
Activity is only signaled for receive.
The LED_SPEED pin indicates 10 or 100 Mb/s data rate of
the port. The LED is ON when operating in 100Mb/s mode
and OFF when operating in 10Mb/s mode. The functional
ity of this LED is independent of mode selected.
The LED_ACT/LED_COL pin in Mo de 1 ind ic ates the pre sence of either transmit or receive activity. The LED will be
ON for Activity and OFF for No Activity. In Mode 2, this pin
indicates the Collision status of the port. The LED will be
ON for Collision and OFF for No Collision.
-
-
-
The LED_ACT/LED_COL pin in Mode 3 indicates Duplex
status for 10 Mb/s or 100 Mb/s operation. The LED will be
ON for Full Duplex and OFF for Half Duplex.
In 10 Mb/s half duplex mode, the collision LED is based on
the COL signal.
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.
2.4.1 LEDs
Since the Auto-Negotiation (AN) 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 outputs are used to drive LEDs
directly, the active state of each output driver is dependent
on the logic level sampled by the corresponding AN input
upon power-up/reset. For example, if a given AN input is
resistively pulled low then the corresponding output will be
configured as an active high driver. Conversely, if a given
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 connections to
external components at port A. In this example, the AN
strapping results in Auto-Negotiation disabled with 100
Full-Duplex forced.
The adaptive nature of the LED outputs helps to simplify
potential implemen t ation issue s of th ese du al purp ose p ins.
20 www.national.com
LED_ACT/LED_COL_
A
AN_EN_A
= 0
2.2kΩ
165Ω
GND
Figure 3. AN Strapping and LED Loading Example
LED_SPEED_A
AN1_A = 1
165Ω
LED_LINK_A
AN0_A = 1
165Ω
VCC
All modes of operation (100BASE-TX, 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 capa
bility of the far-end link partner. This link segment would
negotiate to a half duplex 100BASE-TX configuration
(same scenario for 10Mb/s).
-
2.6 Internal Loopback
The DP83849C includes a Loopback Test mode for facilitating system diagnostics. The Loopback mode is selected
through bit 14 (Loopback) of the Basic Mode Control Reg
ister (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.
-
DP83849C
2.4.2 LED Direct Control
The DP83849C provides another option to directly control
any or all LED outputs throu gh the LED Di rect Contro l Reg
ister (LEDCR), address 18h. The register does not provide
read access to LEDs.
2.5 Half Duplex vs. Full Duplex
The DP83849C supports both half and full duplex operation at both 10 Mb/s and 100 Mb/s speeds.
Half-duplex relies on the C SMA/C D protoc ol t o handl e colli sions 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 DP83849C is designed to support simultaneous
transmit and receiv e act ivi ty it is capabl e of su ppor tin g full duplex switched ap pli ca tio ns with a throughput of up to 200
Mb/s per port when operating in 100BASE-TX. Because
the CSMA/CD protocol does not apply to full-duplex opera
tion, the DP8384 9C d is abl es its own internal collisio n s en sing 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.
2.7 BIST
The DP83849C incorporates an internal Built-in Self Test
(BIST) circuit to accommodate in-circuit testing or diagnos
tics. 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 tran sm it bl ock gene rati ng a con tin u
ous 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-ran
dom 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 reg ister. 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 (1Bh).
The number of BIST errors can be monitored through the
BIST Error Count in the CDCTRL1 (1Bh), bits [15:8].
-
-
-
21 www.national.com
3.0 MAC Interface
The DP83849C supports several modes of operation using
the MII interface pins. The optio ns are defi ned in th e foll ow
ing sections and include:
— MII Mode
— RMII Mode
— 10 Mb Serial Network Interface (SNI)
The modes of operation can be selected by strap options
or register control. For RMII mode, it is recommended to
use the strap option, since it requires a 50 MHz clock
instead of the normal 25 MHz.
In 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 determina
tion of the type and capabilities of the attached PHY(s).
3.1 MII Interface
The DP83849C 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 consis t s of a rec ei ve bu s
and a transmit bus each with control signals to facilitate
data transfer between the PHY and the upper layer (MAC).
-
-
transmit cloc k TX_CL K which runs at ei ther 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 asse rt s as an indication of a collisio n w hi ch ca n
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
active sim ultaneously. Collisions ar e reported by the CO L
signal on the MII.
If the DP83849C is transmitting in 10 Mb/s mode when a
collision is dete cted, the collision is not r eported 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 dura
tion of the collision.
If a collision occ urs du ring a receive operation, it is immed iately 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 Si gn al Q u ali ty Error (SQE) signal of approx
imately 10 bit times is generated (internally) to indicate
successful transmiss io n. SQ E is repo rted as a pul se on th e
COL signal of the MII.
-
-
DP83849C
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 recei ve bu s an d a dedicated transmit bus. T hes e
two data buses, along with various control and status sig
nals, allow for the simultaneous exchange of data between
the DP83849C 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 syn
chronous 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
-
-
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 Duple x op era tio n, C RS is a sserted
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.
22 www.national.com
3.2 Reduced MII Interface
The DP83849C 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 follow
ing 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 diagnostic testing
where it may be desirable to externally loop Receive MII
data directly to the transmitter.
The RX_ER output may be used by the MAC to detect
error conditions. It is asserted for symbol errors received
during a pack et, False Carrier even ts, and also for FIFO
underrun or overrun conditions. Since the Phy is required
to corrupt receive data on an error, a MAC is not required
to use RX_ER.
It is important to note that since both digital channels in the
DP83849C share the X1/RMII_REF input, both channels
must have RMII mod e enabled or both channels mus t have
-
RMII mode disabled. Either channel may be in 10Mb or
100Mb mode in RMII or non-RMII mode.
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.
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.
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 indi
cates how to program the elastic ity buf fer 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.
Packet lengths can be scaled linearly based on accuracy
(+/- 25ppm would allows packets twice as large). If the
threshold setting must support both 10Mb and 100Mb
operation, the setting should be made to support both
speeds.
-
DP83849C
Table 4. Supported packet sizes at +/-50ppm frequency accuracy
The DP83849C incorporates a 10 Mb Serial Network Interface (SNI) which al lo ws a simple serial data in terf ace fo r 10
Mb only devices. This is also referred to as a 7-wire inter
face. While there is no defined standard for this interface, it
is based on early 10 Mb physical layer devices. Data is
clocked serially at 10 MHz using separate transmit and
receive paths. The following pins are used in SNI mode:
—TX_CLK
—TX_EN
—TXD[0]
—RX_CLK
—RXD[0]
— CRS
—COL
3.4 802.3u MII Serial Management Interface
3.4.1 Seri al Management Register A ccess
The serial management MII specification defines a set of
thirty-two 16-bit status and control registers that are acces
sible through the management interface pins MDC and
MDIO. The DP83849C implements all the required MII reg
isters as well as several optional registers. These registers
are fully described in Section 7.0. A descri ption of the seria l
management access protocol follows.
3.4.2 Serial Management Access Protocol
The serial co ntrol interface co nsists 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 for
mat is shown below in Table 5.
In addition, the MDIO pin requires a pull-up resistor (1.5
Ω) which, during IDLE and turnaround, will pull MDIO
k
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 DP83849C 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 pu ll-up re sisto r to pull th e MDIO p in hig h
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 DP83849C waits until it has received this preamble
sequence before responding to any other transaction.
Once the DP83849C serial management port has been ini
tialized no further preamble sequencing is required until
after a power-on/reset, invalid Start, invalid Opcode, or
invalid turnaround bit has occurred.
The St art co de is indicated by a <01> pattern. This assure s
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 con
tention during a read transaction, no device shall actively
drive the MDIO signal during the first bit of Turnaround.
The addressed DP83849C drives the MDIO with a zero for
the second bit of turnaround and follows this with the
-
required data.
between MDC and th e MDIO as dr iven/re ceiv ed by the Sta-
-
tion (STA) and the DP83849C (PHY) for a typical register
read access .
For write transactions, the station management entity
writes data to the addressed DP83849C 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 DP83849C 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) deter
-
mines 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 DP83849C requires a single initialization sequence of
32 bits of preamble fol lo w ing hard ware/s oftware reset. This
requirement is generally met by the mandatory pull-up
resistor on MD I O in co nj unc ti o n wi th a co nt i nuo us MD C, or
the management access made to determine whether Pre
-
amble Suppression is supported.
ZZ
0 0 000000000000
1000
TA
Register Data
Z
Idle
While the DP83849C requires an initial preamble
sequence of 32 bits for management initialization, it does
not require a full 32-bit sequence between each subse
quent transaction. A minimum of one idle bit between man-agement transactions is required as specified in the IEEE
802.3u specification.
3.4.4 Simultaneous Register Write
The DP83849C incorporates a mode which allows simultaneous write access to both Port A and B register blocks at
the same time. This mode is selected by setting bit 15 of
RMII and By pass Register (RBR, address 17h) in Port A.
As long as this bit remains set, subsequent writes to Port A
will write to registers in both ports. Register reads are unaf
fected. Each port must still be read individually.
-
-
25 www.national.com
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 conver t sy nchronous 4-bit ni bble d at a, as p ro
vided 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.
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
DP83849C implements the 100BASE-TX transmit state
-
machine diagram as specified in the IEEE 802.3u Stan
dard, Clause 24.
Note: Control code-groups I, J, K, T and R in data fields will be mapped as invalid codes, together with RX_ER asserted.
DP83849C
27 www.national.com
4.1.1 Code-group Encoding and Injection
The code-group encoder converts 4-bit (4B) nibble data
generated by the MAC into 5-bit (5B) code-groups for
transmission. This conversion is required to allow control
data to be combined with packet data code-groups. Refer
Table 13 for 4B to 5B code-group mapping details.
to
The code-group encoder substitutes the first 8-bits of the
MAC preamble with a J/K code-group pair (11000 10001)
upon transmission. The code-group encoder continues to
replace subsequent 4B preamble and data nibbles with
corresponding 5B code-groups. At the end of the transmit
packet, upon the deassertion of Transmit Enable signal
from the MAC, the code-group encoder injects the T/R
code-group pair (01101 00111) indicating the end of the
frame.
After the T/R code-group pair, the code-group encoder
continuously injects IDLEs into the transmit data stream
until the next transmit packet is detected (reassertion of
Transmit Enable).
4.1.2 Scrambler
The scrambler is required to control the radiated emissions
at the media connector and on the twisted pair cable (for
100BASE-TX applications). By scrambling the data, the
total energy launched onto the cable is randomly distrib
uted over a wide frequency range. Without the scrambler,
energy levels at the PMD and on the cable could peak
beyond FCC limitations at frequencies related to repeating
5B sequences (i.e., continuous transmission of IDLEs).
The scrambler is configured as a closed loop linear feedback shift register (LFSR) with an 11-bit polynomial. The
output of the closed loop LFSR is X-ORd with the serial
NRZ data from the code-group encoder. The result is a
scrambled data stream with sufficient randomization to
decrease radiated emissions at certain frequencies by as
much as 20 dB. The DP83849C uses the PHY_ID (pins
PHYAD [4:1]) to set a unique seed value.
-
transmit transformer primary winding, resulting in a MLT-3
signal.
The 100BASE-TX MLT-3 signal sourced by the PMD Output Pair common driver is slew rate controlled. This should
be considered when selecting AC coupling magnetics to
ensure TP-PMD Standard compliant transition times (3 ns
< Tr < 5 ns).
The 100BASE-TX transmit TP-PMD function within the
DP83849C is capable of sourcing only MLT-3 encoded
data. Binary output from the PMD Output Pair is not possi
ble in 100 Mb/s mode.
-
4.2 100BASE-TX RECEIVER
The 100BASE-TX receiver consists of several functional
blocks which convert the scrambled MLT-3 125 Mb/s serial
data stream to synchronous 4-bit nibble data that is pro
vided to the MII. Because the 100BASE-TX TP-PMD is
integrated, the differential input pins, RD±, can be directly
routed from the AC coupling magnetics.
See Figure 7 for a block diagram of the 100BASE-TX
receive function. This provides an overview of each functional block within the 100BASE-TX receive section.
The Receive section consists of the following functional
blocks:
— Analog Front End
— Digital Signal Processor
— Signal Detect
— MLT-3 to Binary Decoder
— NRZI to NRZ Decoder
— Serial to Parallel
— Descrambler
— Code Group Alignment
—4B/5B Decoder
— Link Integrity Monitor
— Bad SSD Detection
-
DP83849C
4.1.3 NRZ to NRZI Encoder
After the transmit data stream has been serialized and
scrambled, the data must be NRZI encoded in order to
comply with the TP-PMD standard for 100BASE-TX trans
mission over Category-5 Unshielded twisted pair cable.
4.1.4 Binary to MLT-3 Convertor
The Binary to MLT-3 conversion is accomplished by converting the serial binary data stream output from the NRZI
encoder into two binary data streams with alternately
phased logic one events. These two binary streams are
then fed to the twisted pa ir out put dri ve r whic h co nverts the
voltage to current and alternately drives either side of the
-
4.2.1 Analog Front End
In addition to the Digital Equalization and Gain Control, the
DP83849C includes Analog Equalization and Gain Control
in the Analog Front End. The Analog Equalization reduces
the amount of Digital Equalization required in the DSP.
4.2.2 Digital Signal Processor
The Digital Signal Processor includes Adaptive Equalization with Gain Control and Base Line Wander Compensation.
28 www.national.com
DP83849C
RX_DV/CRS
RX_DATA VALID
SSD DETECT
RX_CLKRXD[3:0] / RX_ER
4B/5B DECODER
SERIAL TO
PARALLEL
CODE GROUP
ALIGNMENT
DESCRAMBLER
NRZI TO NRZ
DECODER
MLT - 3 TO BINARY
DECODER
LINK
INTEGRITY
MONITOR
SIGNAL
DETECT
DIGITAL
SIGNAL
PROCESSOR
ANALOG
FRONT
END
RD +/−
Figure 7. 100BASE-TX Receive Block Diagram
29 www.national.com
4.2.2.1 Digital Adaptive Equaliza tion and Ga in Con tr ol
When transmitting data at high speeds over copper twisted
pair cable, frequency dependent attenuation becomes a
concern. In high-speed twisted pair signalling, the fre
quency content of the transmitted signal can vary greatly
during normal operation based primarily on the random
ness of the scrambled data stream. This variation in signal
attenuation caused by frequency variations must be com
pensated to ensure the integrity of the transmission.
In order to ensure quality transmission when employing
MLT-3 encodi ng, the compensa tion must be abl e to adapt
to various cable lengths and cable types depending on the
installed en vironment. The se lection of lo ng cable lengths
for a given implementation, requires significant compensa
tion which will over-compensate for shorter, less attenuating lengths. Conversely, the selection of short or
intermediate cable lengths requiring less compensation will
cause serious under-compensation for longer length
cables. The compensation or equalization must be adap
-
-
-
-
-
tive to ensure proper conditioning of the received signal
independent of the cable length.
The DP83849C utilizes an extremely robust equalization
scheme referred as ‘Digital Adaptive Equalization.’
The Digital Equalizer removes ISI (inter symbol interference) from the receive data stream by continuously adapting to provide a filter with the inverse frequency response
of the channel. Equalization is combined with an adaptive
gain control stage. This enables the receive 'eye pattern' to
be opened sufficiently to allow very reliable data recovery.
The curves given in Figure 9 illustrate attenuation at certai n
frequencies for given cable lengths. This is derived from
the worst case frequency vs. attenuation figures as speci
fied in the EIA/TIA Bulletin TSB-36. These curves indicate
the signific ant vari ations in signal at tenua tion that must be
compensated f or by the receive adaptive equaliz ation cir
cuit.
DP83849C
-
-
Figure 9. EIA/TIA Attenuation vs. Frequency for 0 , 50,
100, 130 & 150 meters of CAT 5 cable
30 www.national.com
4.2.2.2 Base Line Wander Compensation
DP83849C
Figure 10. 100BASE-TX BLW Event
The DP83849C is comp letely ANSI T P-PMD co mpli ant and
includes Base Line Wander (BLW) compensation. The
BLW compensation block can succ e ssf ul ly re c over th e T PPMD defined “killer” pattern.
BLW can generally be defined as the change in the average DC content, relatively short period over time, of an AC
coupled digital transmission over a given transmission
medium. (i.e., copper wire).
BLW results from the interaction between the low frequency components of a transmitted bit stre am an d the frequency response of the AC coupling component(s) within
the transmission system. If the low frequency content of
the digital bit stream goes below the low frequency pole of
the AC coupling transformers then the droop characteris
tics of the transformers w ill do mi nate res ulting in potentially
serious BLW.
The digital oscilloscope plot provided in Figure 10 illustrates the severity of the BLW event that can theoretically
be generated during 100BASE-TX packet transmission.
This event consists of approximately 800 mV of DC offset
for a period of 120 µs. Left uncompensated, ev ent s such a s
this can cause packet loss.
4.2.3 Signal Detect
The signal detect func tion of the DP 83849 C is incorpo rated
to meet the specificat ion s m an date d by the ANSI FD DI TP-
-
PMD Standard as well as the IEEE 802.3 100BASE-TX
Standard for both voltage thresholds and timing parame
ters.
Note that the reception of normal 10BASE-T link pulses
and fast link pulses per IEEE 802.3u Auto-Negotiation by
the 100BASE-TX receiver do not cause the DP83849C to
assert signal detect.
4.2.4 MLT-3 to NRZI Decoder
The DP83849C decodes the MLT-3 information from the
Digital Adaptive Equalizer block to binary NRZI data.
4.2.5 NRZI to NRZ
In a typical application, the NRZI to NRZ decoder is
required in order to present NRZ formatted data to the
descrambler.
4.2.6 Serial to Parallel
The 100BASE-TX receiver includes a Serial to Parallel
converter which supplies 5-bit wide data symbols to the
PCS Rx state machine.
-
31 www.national.com
4.2.7 Descrambler
A serial descrambler is used to de-scramble the received
NRZ data. The descrambler has to generate an identical
data scrambling sequence (N) in order to recover the origi
nal unscrambled data (UD) from the scrambled data (SD)
as represented in the equations:
-
SDUDN⊕()=
UDSDN⊕()=
Synchronization of the descrambler to the original scrambling sequence (N) is achieved based on the knowledge
that the incoming scrambled data stream consists of
scrambled IDLE data. After the descrambler has recog
nized 12 consecutive IDLE code-groups, where an
unscramble d IDLE code-group in 5B NRZ is equal to five
consecutive ones (11111), it will synchron ize to t he receive
data stream and generate unscrambled data in the form of
unaligned 5B code-groups .
In order to maintain synchronization, the descrambler must
continuously monitor the validity of the unscrambled data
that it generates. To ensure this, a line state monitor and a
hold timer are used to constantly monitor the synchroniza
tion status. Upon synchronization of the descrambler the
hold timer star ts a 722 µs countdown. Upon detection of
sufficient IDLE c ode -gro up s (58 b it tim es) with in th e 72 2
period, the hold timer will reset and begin a new count
down. This monitoring operation will continue indefinitely
given a properly operating network connection with good
signal integrity. If the line state monitor does not recognize
sufficient unscrambled IDLE code-groups within the 722
period, the entire descrambler will be forced out of the cur
rent state of synchronization and reset in order to reacquire synchronization.
4.2.8 Code-group Alignment
The code-group alignment module operates on unaligned
5-bit data from the descrambler (or, if the descrambler is
bypassed, directly from the NRZI/NRZ decoder) and con
verts it into 5B code-group data (5 bits). Code-group alignment occurs after the J/K code-group pair is detected.
Once the J/K code-group pair (11000 10001) is detected,
subsequent data is aligned on a fixed boundary.
-
-
µs
-
µs
-
-
DP83849C
Signal detect must be vali d for 395u s to allow the link monitor to enter the 'Lin k Up' state, and enable the tr ans mi t an d
receive functions.
4.2.11 Bad SSD Detection
A Bad Start of Stream Delimiter (Bad SSD) is any transition
from consecutive idle code-groups to non-idle code-groups
which is not prefixed by the code-group pair /J/K.
If this condition is detected, the DP83849C will assert
RX_ER and present RXD[3:0] = 1110 to the MII for the
cycles that correspond to received 5B code-groups until at
least two IDLE code groups are detected. In addition, the
False Carrier Sense Counter register (FCSCR) will be
incremented by one.
Once at least tw o IDLE co de groups are detec ted, RX_ER
and CRS become de-asserted.
4.3 10BASE-T TRANSCEIVER MODULE
The 10BASE-T Transceiver Module is IEEE 802.3 compliant. It includes the receiver, transmitter, collision, heartbeat, loopback, jabber, and link integrity functions, as
defined in the standard. An external filter is not required on
the 10BASE-T interface since this is integrated inside the
DP83849C. This section focuses on the genera l 10BASE-T
system level operation.
4.3.1 Operational Modes
The DP83849C has two basic 10BASE-T operational
modes:
— Half Du plex mode
— Full Duplex mode
Half Duplex Mode
In Half Duplex mode the DP83849C functions as a standard IEEE 802.3 10BASE-T transceiver supporting the
CSMA/CD protocol.
4.2.9 4B/5B Decoder
The code-group decoder functions as a look up table that
translates incoming 5B code-groups into 4B nibbles. The
code-group decoder first detects the J/K code-group pair
preceded by IDLE code-groups and replaces the J/K with
MAC preamble. Specifically, the J/K 10-bit code-group pair
is replaced by the nibble pair (0101 0101). All subsequent
5B code-groups are converted to the corresponding 4B
nibbles for the duration of the entire packet. This conver
sion ceases upon the detection of the T/R code-group pair
denoting the End of Stream Delimiter (ESD) or with the
reception of a minimum of two IDLE code-groups.
4.2.10 100BASE-TX Link Integrity Monitor
The 100 Base TX Lin k monito r ensu res tha t a val id and st able link is established before enabling both the Transmit
and Receive PCS layer.
Full Dupl ex Mode
In Full Duplex mode the DP83849C is capable of simultaneously transmitting and receiving without asserting the
collision signal. The DP83849C's 10 Mb/s ENDEC is
designed to encode and decode simultaneously.
4.3.2 Smart Squelch
The smart squelch is responsible for determining when
valid data is present on the differential receive inputs. The
DP83849C implements an intelligent receive squelch to
ensure that impulse noise on the receive inputs will not be
mistaken for a valid signal. Smart squelch operation is
independent of the 10BASE-T operational mode.
The squelch circuitry employs a combination of amplitude
and timing measurements (as specified in the IEEE 802.3
10BSE-T standard) to determine the validity of data on the
twisted pair inputs (refer to
32 www.national.com
Figure 11).
The signal at the start of a packet is checked by the smart
squelch and any pulses not exceeding the squelch level
(either positive or negative, depending upon polarity) will
be rejected. Once this first squelch level is overcome cor
rectly, the opposite squelch level must then be exceeded
within 150 ns. Finally the signal must again exceed the
original squelch level within 150 ns to ensure that the input
waveform will not be rejected. This checking procedure
results in the loss of typically three preamble bits at the
beginning of each packet.
Only after all these conditions have been satisfied will a
control signal be generated to indicate to the remainder of
the circuitry that valid data is present. At this time, the
-
smart squelch circuitry is reset.
Valid data is considered to be present until the squelch
level has not been generated for a time longer than 150 ns,
indicating the End of Packet. Once good data has been
detected, the squelch levels are reduced to minimize the
effect of noise causing premature End of Packet detection.
When in Half Duplex, a 10BASE-T collision is detected
when the receive and transmit channels are active simulta
neously. Collisions are reported by the COL signal on the
MII. Collisions are also reported when a jabber condition is
detected.
The COL signal remai ns set for the d uration of the c ollis ion.
If the PHY is receiving when a collision is detected it is
reported immediately (through the COL pin).
When heartbeat is enabled, approximately 1 µs after the
transmission of each packet, a Signal Quality Error (SQE)
signal of approximately 10-bit times is generated to indi
cate successful transmission. SQE is reported as a pulse
on the COL signal of the MII.
The SQE test is inhibited when the PHY is set in full duplex
mode. SQE can also be inhibited by setting the
HEARTBEAT_DIS bit in the 10BTSCR register.
4.3.4 Carrier Sense
Carrier Sense (CRS) may be as ser t ed d ue to rec eiv e activity once valid data is detected via the squelch function.
For 10 Mb/s Half Duplex operation, CRS is asserted during
either packet transmission or reception.
For 10 Mb/s Full Duplex operation, CRS is asserted only
during receive activity.
CRS is deasserted following an end of packet.
4.3.5 Normal Link Pulse Detection/Generation
The link pulse generator produces pulses as defined in the
IEEE 802.3 10BASE-T standard. Each link pulse is nominally 100 ns in duration and transmitted every 16 ms in the
absence of transmit data.
Link pulses are used to check the integrity of the connection with the remote end. If valid link pulses are not
received, the link detector disables the 10BASE-T twisted
pair transmitter, receiver and collision detection functions.
When the link integrity function is disabled
(FORCE_LINK_10 of the 10 BTSC R re gis te r), a g ood link is
forced and the 10BASE-T transceiver will operate regard
less of the presence of link pulses.
-
-
-
Once disabled by the Jabber function, the transmitter stays
disabled for the entire time that the ENDEC module's inter
nal transmit enable is asserted. This signal has to be deasserted for approximately 500 ms (the “unjab” time)
before the Jabber function re-enables the transmit outputs.
The Jabber function is only relevant in 10BASE-T mode.
4.3.7 Automatic Link Polarity Detection and Correcti on
The DP83849C's 10BASE-T transceiver module incorporates an automatic link polarity detection circuit. When
three consecutive inverted link pulses are received, bad
polarity is reported.
A polarity reversal can be c aus ed by a wi ring error at eith er
end of the cable, usually at the Main Distribution Frame
(MDF) or patc h panel in the wiring closet.
The bad polarity conditi on is la tched in the 10BT SCR regis ter. The DP83849C's 10BASE-T transceiver module corrects for this error internally and will continue to decode
received data correctly. This eliminates the need to correct
the wiring error immediately.
4.3.8 Transmit and Receive Filtering
External 10BASE-T filters are not required when using the
DP83849C, as the required signal conditioning is inte
grated into the device.
Only isolation transformers and impedance matching resistors are required for the 10BASE-T transmit and receive
interface. The internal transmit filtering ensures that all the
harmonics in the transmit signal are attenuated by at least
30 dB.
4.3.9 Transmitter
The encoder begins operation when the Transmit Enable
input (TX_EN) goes high and converts NRZ data to preemphasized Manchester data for the transceiver. For the
duration of TX_EN, the serialized Transmit Data (TXD) is
encoded for the transmit-driver pair (PMD Output Pair).
TXD must be valid on the rising edge of Transmit Clock
(TX_CLK). Transmission ends when TX_EN deasserts.
The last transition is always positive; it occurs at the center
of the bit cell if the last bit is a one, or at the end of the bit
cell if the last bit is a zero.
-
-
DP83849C
4.3.6 Jabber Function
The jabber function monitors the DP83849C's output and
disables the transmitte r if it attempts to transmit a packet of
longer than legal siz e. A ja bbe r timer monitors the transmit
ter and disables the transmission if the transmitter is active
for approximately 85 ms.
4.3.10 Receiver
The decoder detect s the en d of a fra me when n o add iti ona l
mid-bit transitions are detected. Within one and a half bit
-
times after the last bit, carrier sense is de-asserted.
Receive clock st ay s a cti ve for fi ve mo re bi t tim es after CRS
goes low, to guarantee the receive timings of the controller.
34 www.national.com
5.0 Design Guidelines
DP83849C
5.1 TPI Network Circuit
Figure 12 shows the recommended circuit for a 10/100
Mb/s twisted pair interface.
TPRDM
TDRDP
TPTDM
49.9Ω
49.9
49.9Ω
Ω
Vdd
0.1µF
Vdd
Below is a partial list of recommended transformers. It is
important that the user realiz e that va riat ion s with PC B and
component characteristics requires that the application be
tested to ensure that the circuit meets the requirements of
the intended application.
Pulse H1102
Pulse H2019
Belfuse S558-5999-U7
Halo TG110-S050N2RL
Vdd
COMMON MODE CHOKES
MAY BE REQUIRED.
1:1
0.1µF*
0.1µF*
1:1
T1
RDRD+
TDTD+
RJ45
49.9
Ω
TPTDP
PLACE RESISTORS AND
CAPACITORS CLOSE TO
THE DEVICE.
0.1µF
NOTE: CENTER TAP IS PULLED TO VDD
*PLACE CAPACITORS CLOSE TO THE
TRANSFORMER CENTER TAPS
All values are typical and are +/- 1%
Figure 12. 10/100 Mb/s Twisted Pair Interface
35 www.national.com
5.2 ESD Protection
Typically, ESD precautions are predominantly in effect
when handling the devices or board before being installed
in a system. In those cases, strict handling procedures
need be implemented during the manufacturing process to
greatly reduce the occurrences of catastrophic ESD
events. After the system is assembled, internal compo
-
nents are less sensitive from ESD events.
The network interface pins are more susceptible to ESD
events.
5.3 Clock In (X1) Requirements
The DP83849C supports an external CMOS level oscillator
source or a crystal resonator device.
cal connection for a crystal resonator circuit. The load
capacitor values will vary with the crystal vendors; check
with the vendor for the recommended loads.
The oscillator circuit is designed to drive a parallel resonance AT cut crystal with a minimum drive level of 100µW
and a maximum of 500
µW. If a crystal is specified for a
lower drive level, a current limiting resistor should be
placed in series between X2 and the crystal.
As a starting p oint fo r evalu ating an oscilla tor circ uit, if t he
requirements for the crystal are not known, C
should be set at 33 pF, and R1 should be set at 0Ω.
L1
and C
L2
Specification for 25 MHz crystal are listed in Table 16.
DP83849C
X1
X2
Oscillator
If an external clock sour ce i s us ed, X1 sho uld be ti ed to the
clock source and X2 should be left floating.
R
1
Specifications for CMOS oscillators: 25 MHz in MII Mode
and 50 MHz in RM II Mode are l isted in
15.
Table 14 and Table
C
L1
C
Note: Maximum Reference Clock Jitter should not exceed
1ns peak-to-peak or 78ps rms from 50kHz to 1MHz.
Figure 13. Crystal Oscillator Circuit
Crystal
A 25 MHz, parallel, 20 pF load crystal resonator should be
used if a crystal source is desired.
Figure 13 shows a typi-
Table 14. 25 MHz Oscillator Specification
ParameterMinTypMaxUnitsCondition
Frequency25MHz
Frequency
+50ppmOperational Temperature
Tolerance
Frequency
+50ppm1 year aging
Stability
Rise / Fall Time6nsec20% - 80%
Jitter (short term)50psecCycle-to-cycle
Jitter (long term)1nsecAccumulative over 10µs
Symmetry40%60%Duty Cycle
L2
Table 15. 50 MHz Oscillator Specification
ParameterMinTypMaxUnitsCondition
Frequency50MHz
Frequency
+50ppmOperational Temperature
Tolerance
Frequency
+50ppmOperational Temperature
Stability
Rise / Fall Time6nsec20% - 80%
Jitter (short term)50psecCycle-to-cycle
Jitter (long term)1nsecAccumulative over 10µs
Symmetry40%60%Duty Cycle
36 www.national.com
Table 16. 25 MHz Crystal Specification
ParameterMinTypMaxUnitsCondition
Frequency25MHz
Frequency
Tolerance
Frequency
Stability
Load Capacitance2540pF
+50ppmOperational Tem-
+50ppm1 year aging
5.4 Power Feedback Circuit
To ensure correct operation for the DP83849C, parallel
caps with values of 10
close to pin 31 (PFBOUT) of the device. Pin 7 (PFBIN1),
pin 28 (PFBIN2), pin 34 (PFBIN3) and pin 54 (PFBIN4)
must be connected to pin 31 (PFBOUT), each pin requires
a small capacitor (.1
connections.
µF and 0.1 µF should be placed
µF). See Figure 14 below for proper
Pin 31 (
PFBOUT
)
DP83849C
perature
Pin 7 (PFBIN1)
Pin 28 (PFBIN2)
Pin 34 (PFBIN3)
Pin 54 (PFBIN4)
.1 µF
Figure 14. Power Feeback Connection
.1 µF
.1 µF
5.5 Power Down/Interrupt
The Power Down and Interrupt functions are multiplexed
on pin 18 and pin 44 of the device. By default, this pin func
tions as a power down input and the interrupt function is
disabled. Setting bit 0 (INT_OE) of MICR (11h) will configure the pin as an active low interrupt output. Ports A and B
can be powered down individually, using the separate
PWRDOWN_INT_A and PWRDOWN_INT_B pins.
-
10 µF
.1 µF
bit 11 (Power Down) in the Basic Mode Control Register,
BMCR (00h). An external control signal can be used to
drive the pin low, overcoming the weak internal pull-up
resistor. Alternatively, the device can be configured to ini
tialize into a Power Down state by use of an external pulldown resistor on the PWRDOWN_INT pin. Since the
device will still respond to management register accesses,
setting the INT_OE bit in the MICR register will disable the
PWRDOWN_INT input, allowing the device to exit the
Power Down state.
+
-
.1 µF
-
5.5.1 Power Down Control Mode
The PWRDOWN _INT pins can be ass erted low to put the
device in a Power Down m od e. Th is i s eq uiv al ent to setting
37 www.national.com
5.5.2 Interrupt Mechanisms
Since each port has a separate interrupt pin, the interrupts
can be connected individually or may be combined in a
wired-OR fashion. If the interrupts share a single connec
tion, each port status should be checked following an interrupt.
The interrupt function is controlled via register access. All
interrupt sources are disabled by default. Setting bit 1
(INTEN) of MICR (11h) will enable interrupts to be output,
dependent on the interrupt mask set in the lower byte of
the MISR (12h). The PWRDOWN_INT pin is asynchro
nously asserted low when an interrupt condition occurs.
The source of the interrupt can be determined by reading
the upper byte of the MISR. One or more bits in the MISR
will be set, denoting all currently pending interrupts. Read
ing of the MISR clears ALL pending interrupts.
Example: To generate an interrupt on a change of link status or on a change of energy detect power state, the steps
would be:
— Write 0003h to MICR to set INTEN and INT_OE
— Write 0060h to MISR to set ED_INT_EN and
LINK_INT_EN
— Monitor PWRDOWN_INT pin
When PWRDOWN_INT pin asserts low, the user would
read the MISR register to see if the ED_INT or LINK_INT
bits are set, i.e. which source caused the interrupt. After
reading the MISR, the interrupt bits should clear and the
PWRDOWN_INT pin will deassert.
-
-
-
5.6 Energy Detect Mode
When Energy Detect is enabled and there is no activity on
the cable, the DP83849C will remain in a low power mode
while monitoring the transmission line. Activity on the line
will cause t he D P8 38 4 9C to go t hro ug h a nor m al po we r up
sequence. Regardless of cable activity, the DP83849C will
occasionally wake up the transmitter to put ED pulses on
the line, but will otherwise draw as little power as possible.
Energy detect functionality is controlled via register Energy
Detect Control (EDCR), address 1Dh.
5.7 Link Diagnostic Capabilities
The DP83849C contains several system diagnostic capabilities for evaluating link quality and detecting potential
cabling faults in Twisted Pair cabling. Software configura
tion is available through the Link Diagnostics Registers Page 2 which can be selected via Page Select Register
(PAGESEL), address 13h. These capabilities include:
— Linked Cable Status
— Link Quality Monitor
— TDR (Time Domain Reflectometry) Cable Diagnostics
-
5.7.1 Linked Cable Status
In an active conne ction wi th a valid link s tatu s, the f ollow ing
diagnostic capabilities are available:
— Polarity reversal
— Cable swap (MDI vs MDIX) detection
— 100Mb Cable Length Estimation
— Frequency offset relative to link partner
— Cable Signal Quality Estimation
5.7.1.1 Polarity Reversal
The DP83849C detec ts polari ty reve rsal b y dete cting nega tive link pulse s. The Polarity indication is available i n bit 12
of the PHYSTS (10h) or bit 4 of the 10BTSCR (1Ah).
Inverted polarity indicates the positive and negative con
ductors in the receive pair are swapped. Since polarity is
corrected by the receiver, this does not necessarily indica te
a functional problem in the cable.
Since the polarity indication is dependent on link pulses
from the link partner, polarity indication is only valid in
10Mb modes of operation, or in 100Mb Auto-Negotiated
mode. Polarity indication is not available in 100Mb forced
mode of operation or in a parallel detected 100Mb mode.
5.7.1.2 Cable Swap Indication
As part of Auto-Negotiation, the DP83849C has the ability
(using Auto-MDIX) to automatically detect a cable with
swapped MDI pairs and select the appropriate pairs for
transmitting and receiving data. Normal operation is
termed MDI, while crossed operation is MDIX. The MDIX
status can be read from bit 14 of the PHYSTS (10h).
5.7.1.3 100MB Cable Length Estimation
The DP83849C provides a method of estimating cable
length based on electrical characteristics of the 100Mb
Link. This essentially provides an effective cable length
rather than a measurement of the physical cable length.
The cable length estimation is only available in 100Mb
mode of operation with a valid Link status. The cable
length estimation is available at the Link Diagnostics Reg
isters - Page 2, register 100Mb Length Detect
(LEN100_DET), address 14h.
5.7.1.4 Frequency Offset Relative to Link Partner
As part of the 100Mb clock recovery process, the DSP
implementation provides a frequency control parameter.
This value may be used to indicate the frequency offset of
the device relative to the lin k p artner. This operation is onl y
available in 100Mb operation with a valid link status. The
frequency offset can be determined using the register
100Mb Frequency Offset Indication (FREQ100), address
15h, of the Link Diagnostics Registers - Page 2.
Two different versions of the Frequency Offset may be
monitored through bits [7:0] of register FREQ100 (15h).
The first is the long-term Frequency Offset. The second is
the current Frequency Control value, which includes shortterm phase adjustments and can provide information on
the amount of jitter in the system.
-
-
DP83849C
38 www.national.com
5.7.1.5 Cable Signal Quality Estimation
The cable signal quality estimator keeps a simple tracking
of results of the DSP and can be used to generate an
approximate Signal-to-Noise Ratio for the 100Mb receiver.
This information is available to software through the Link
Diagnostics Registers - Page 2: Variance Control
(VAR_CTRL), address 1Ah and Data (VAR_DATA),
address 1Bh.
The variance computation times (VAR_TIMER) can be
chosen from the set of {2, 4, 6, 8} ms. The 32-bit variance
sum can be read by two consecutive reads of the
VAR_DATA register. This sum can be used to compute an
SNR estimate by software using the f ollowing equation:
SNR = 10log10((37748736 * VAR_TIMER) / Variance).
5.7.2 Link Quality Monit or
The Link Quality Monitor allows a method to generate an
alarm when the DSP adaption strays from a programmable
window. This could occur due to changes in the cable
which could indicate a potential problem. Software can
program thresholds for the following DSP parameters to be
used to interrupt the system:
— Digital Equalizer C1 Coefficient (DEQ C1)
— Digital Adaptive Gain Control (DAGC)
— Digital Base-Line Wander Control (DBLW)
— Recovered Clock Long-Term Frequency Offset (FREQ)
— Recovered Clock Frequency Control (FC)
Software is expected to read initial adapted values and
then program the thresholds based on an expected valid
range. This mechanism takes advantage of the fact that
the DSP adaption should remain in a relatively small range
once a valid link has been established.
5.7.2.1 Link Quality Monitor Control and Status
Control of the Link Quality Mo ni tor is done thro ugh the Link
Quality Monitor Register (LQMR), address 1Dh and the
Link Quality Data Register (LQDR), address 1Bh of the
Link Diagnostics Registers - Page 2. The LQMR register
includes a global enable to enable the Link Quality Monitor
function. In addition, it provides warning status from both
high and low thresholds for each of the monitored parame
ters. Note that individual low or high parameter threshold
comparisons can be disabled by setting to the minimum or
maximum values.
To allow the Link Quality Monitor to interrupt the system,
the Interrupt must be enabled through the interrupt control
registers, MICR (11h) and MISR (12h).
5.7.2.2 C hecking Current Par ameter Values
Prior to setting Threshold values, it is recommended that
software check current adapted values. The thresholds
may then be set relative to the ada pte d va lue s. The c urre nt
adapted values can be read using the LQDR register by
setting the Sample_Param bit [13] of LQDR, address
(1Eh).
For example, to read the DBLW current value:
1. Write 2400h to LQDR (1Eh) to set the Sample_Param
bit and set the LQ_PARAM_SEL[2:0] to 010.
2. Read LQDR (1Eh). Current DBLW value is returned
in the low 8 bits.
5.7.2.3 Threshold Control
The LQDR (1Eh) register also provides a method of programming high and low thresholds for each of the four
parameters that can be monitored. The register imple
ments an indirect read/write mechanism.
Writes are accomplished by writing data, address, and a
write strobe to the register. Reads are accomplished by
writing the address to the register, and reading back the
value of the selected threshold. Setting thresholds to the
maximum or minimum values will disable the threshold
comparison since values have to exceed the threshold to
generate a warning condition.
Warnings are no t ge nera ted if the parameter is equal to the
threshold. By default, al l thre sholds are disabled by setting
to the min or max values. The following table shows the
four parameters and range of values:
The DP83849C implements a Time Domain Reflectometry
(TDR) method of cable length measurement and evalua
tion which can be used to evaluate a connected twisted
pair cable. The TDR implementation involves sending a
pulse out on either the Transmit or Receive conductor pair
and observi ng the re sults on eit her pair. By obser ving the
types and strength of ref lec tio ns on eac h p a ir, software can
determine the following:
—Cable short
— Cable open
— Distance to fault
— Identify which pair has a fault
— Pair skew
The TDR cable diagnostics works best in certain conditions. For example, an unterminated cable provides a
good reflection for measuring cable length, while a cable
with an ideal term ina tio n to an unpowered partner may p ro
vide no reflection at all.
5.7.3.1 TDR Pulse Generator
The TDR implementation can send two types of TDR
pulses. The first option is to send 50ns or 100ns link
pulses fro m t he 10Mb Common Dr i ve r. The sec ond op t i on
is to send pulses from the 100Mb Common Driver in 8ns
increments up to 56ns in width. The 100Mb pulses will
alternate between positive and negative pulses. The
shorter pulses provide better ability to measure short cable
lengths, especially since they will limit overlap between the
transmitted pulse and a reflected pulse. The longer pulses
may provide better measurements of long cable lengths.
In addition, if the pulse width is programmed to 0, no pulse
will be sent, but monitor circuit will still be activated. This
allows sampling of background data to provide a baseline
for analysis.
5.7.3.2 TDR Pulse Monitor
The TDR function monitors data from the Analog to Digital
Converter (ADC) to detect both peak values and values
above a programmable threshold. It can be programmed
to detect maximum or minimum values. In addition, it
records the time, in 8ns intervals, at which the peak or
threshold value first occurs.
The TDR monitor implements a timer that starts when the
pulse is transmitted. A window may be enabled to qualify
incoming data to look for response only in a desired range.
This is especially useful for eliminating the transmitted
pulse, but also may be used to look for multiple reflections.
-
-
5.7.3.3 TDR Control Interface
The TDR Control interface is implemented in the Li nk Dia g nostics Registers - Page 2 through TDR Control
(TDR_CTRL), address 16h and TDR Window (TDR_WIN),
address 17h. The following basic controls are:
— TDR Enable: Enable bit 15 of TDR_CTRL (16h) to allow
the TDR function. This bypasses normal operation and
gives control of the CD10 and CD100 block to the TDR
function.
— TDR Send Pulse: Enable bit 11 of TDR _CTRL (16h) to
send the TDR pulse and st arts the TDR Monitor.
The following Transmit mode controls are available:
— Transmit Mode: Enables use of 10Mb Link pulses fro m
the 10Mb Common Driver or da ta pulses from the 100Mb
Common Driver by enabling TDR 100Mb, bit 14 of
TDR_CRTL (16h).
— Transmit Pulse Width: Bits [10:8] of TDR_CTRL (16h)
allows sending of 0 to 7 c lo ck wid th p uls es . Ac tua l p uls
es are dependent on the transmit mode. If Pulse Width
is set to 0, then no pulse will be sent.
— Transmit Channel Select: The transmitter can send
pulses down either the transmit pair or the receive pair
by enabling bit 13 of TDR_CTRL (16h). Default value is
to select the transmit pair.
The following Receive mode controls are available:
— Min/Max M ode Select: Bit 7 of TDR_CTRL (16h) con-
trols the TDR Monitor operation. In default mode, the
monitor will detect maximum (positive) values. In Min
mode, the monitor will detect minimum (negative) val
ues.
— Receive Channel Select: The receiver can monitor ei-
ther the transmit pair or the receive pair by enabling bit
12 of TDR_CTRL (16h). Default value is to select the
transmit pair.
— Receive Window: The receiver can monitor receive
data within a programmable w indow using the TDR Win
dow Register (TDR_WIN), address 17h. The window is
controlled by two regi ster values: TDR Start Windo w, bits
[15:8] of TDR_WIN (17h) and TDR Stop Window, bits
[7:0] of TDR_WIN (17h). The TDR Start Window indi
cates the first clock to start sampling. The TDR Stop
Window indicates the last clock to sample. By default,
the full window is enabled, with Start set to 0 and Stop
set to 255. The window range is in 8ns clock i ncrements,
so the maximum window size is 2048ns.
-
-
-
-
DP83849C
40 www.national.com
5.7.3.4 TDR Results
The TDR function monitors data from the Analog to Digital
Converter (ADC) to detect both peak values and values
above a programmable threshold. It can be programmed
to detect maximum or minimum values. In addition, it
records the time, in 8ns intervals, at which the peak or
threshold value firs t occu rs. Th e resul ts of a TDR peak and
threshold measurement are available in the TDR Peak
Measurement Register (TDR_PEAK), address 18h and
TDR Threshold Measurement Register (TDR_THR),
address 19h. The thresho ld measurem ent may be a m ore
accurate method of measuring the length for longer cables
to provide a better indication of the start of the received
pulse, rather than the peak value.
Software utilizing the TDR function should implement an
algorithm to send TDR pulses and evaluate results. Multi
ple runs should be us ed to best qualify any received pul se s
as multiple reflections could exist. In addition, when moni
toring the transmitting pair, the window feature should be
used to disqualify the transmitted pulse. Multiple runs may
also be used to average the values providing more accu
rate results.
Actual distance measurements are dependent on the
velocity of prop agatio n of the c able. The delay value is ty p
ically on the order of 4.6 to 4.9 ns/m.
-
-
-
-
DP83849C
41 www.national.com
6.0 Reset Operatio n
The DP83849C includes an internal power-on reset (POR)
function and does not need to be explicitly reset for normal
operation after power up. If required during normal opera
tion, the device can be reset by a hardware or software
reset.
6.1 Hardware Reset
A hardware reset is accomplished by applying a low pulse
(TTL level), with a duration of at least 1
RESET_N pin. This will reset the device such that all registers will be reinitialized to default values and the hardware
configuration val ues wil l be re-la tc hed into the device (simi
lar to the power-up/reset operation).
µs, to the
6.2 Full Software Reset
A full-chip software reset is accomplished by setting the
reset bit (bit 15) of the Basic Mode Control Register
-
-
(BMCR). The period from the point in time when the reset
bit is set to the point in time when software reset has con
cluded is approximately 1 µs.
The software reset will reset the device such that all registers will be reset to defau lt v alu es and the h ardw a re co nfi guration values will be maintained. Software driver code
must wait 3
further serial MII operations with the DP83849C.
µs following a software reset before allowing
6.3 Soft Reset
A partial software reset can be initiated by setting the Soft
Reset bit (bit 9) in the PHYCR2 Register. Setting this bit will
reset all transmit and receive operations, but will not reset
the register space. All register configurations will be pre
served. Register space will remain available following a
Soft Reset.
DP83849C
-
-
42 www.national.com
7.0 Register Block
Table 18. Register Map
Offset
HexDecimal
00h0RWBMCRBasic Mode Control Register
01h1ROBMSRBasic Mode Status Register
02h2ROPHYIDR1PHY Identifier Register #1
03h3ROPHYIDR2PHY Identifier Register #2
04h4RWANARAuto-Negotiation Advertisement Register
05h5RWANLPARAuto-Negotiation Link Partner Ability Register (Base Page)
05h5RWANLPARNPAuto-Negotiation Link Partner Ability Register (Next Page)
06h6RWANERAuto-Negotiation Expansion Register
07h7RWANNPTRAuto-Negotiation Next Page TX
08h-Fh8-15RESERVEDRESERVED
10h16ROPHYSTSPHY Status Register
11h17RWMICRMII Interrupt Control Register
12h18RWMISRMII Interrupt Status Register
13h19RWPAGESELPage Select Register
14h20ROFCSCRFalse Carrier Sense Counter Register
15h21RORECRReceive Error Counter Register
16h22RWPCSRPCS Sub-Layer Configuration and Status Register
17h23RWRBRRMII and Bypass Register
18h24RWLEDCRLED Direct Control Register
19h25RWPHYCRPHY Control Register
1Ah26RW10BTSCR10Base-T Status/Control Register
1Bh27RWCDCTRL1CD Test Control Register and BIST Extensions Register
1Ch28RWPHYCR2Phy Control Register 2
1Dh29RWEDCREnergy Detect Control Register
1Eh-1Fh30-31RESERVEDRESERVED
14h-1Fh20-31RESERVEDRESERVED
14h20ROLEN100_DET 100Mb Length Detect Register
15h21RWFREQ100100Mb Frequency Offset Indication Register
16h22RWTDR_CTRLTDR Control Register
17h23RWTDR_WINTDR Window Register
18h24ROTDR_PEAKTDR Peak Measurement Register
19h25ROTDR_THRTDR Threshold Measurement Register
1Ah26RWVAR_CTRLVariance Control Register
1Bh27ROVAR_DATVariance Data Register
1Ch28RESERVEDRESERVED
1Dh29RWLQMRLink Quality Monitor Register
Register NameAddrTagBit 15 Bit 14 Bit 13 Bit 12 Bit 11 Bit 10 Bit 9Bit 8Bit 7Bit 6Bit 5Bit 4Bit 3Bit 2Bit 1Bit 0
ACKMes-
Next
05hAN-
Page Ind
LPARNP
Re-
Re-
07hANNPTR Next
Re-
served
served
MDIX
Page Ind
Re-
served
served
08-0fhRe-
10hPHYSTS Re-
served
served
06hANERRe-
Re-
mode
served
served
served
11hMICRRe-
12hMISRLQ_INT ED_INT LINK_IN
Re-
Re-
13hRe-
Re-
Re-
served
served
served
served
served
14hFCSCR Re-
Re-
served
served
served
served
15hRECRRe-
16hPCSRRe-
Basic Mode Control Register
Basic Mode Status Register
PHY Identifier Register 1
PHY Identifier Register 2
Auto-Negotiation Advertisement Register
Auto-Negotiation Link Partner Ability Register
(Base Page)
Auto-Negotiation Link Partner Ability Register
Next Page
Auto-Negotiation Expansion Register
Auto-Negotiation Next Page TX Register
RESERVED
PHY Status Register
MII Interrupt Control Register
MII Interrupt Status and Misc. Control Regis-
ter
Page Select Register
False Carrier Sense Counter Register
Receive Error Counter Register
PCS Sub-Layer Configuration and Status
Register
44www.national.com
Sel
BUF
ELAST_
PHY
ADDR
JABBER
_DIS
Re-
CDPatt-
T
ED_DAT
A_COUN
Re-
served
Re-
served
served
LEN
FFSET
CABLE_
FREQ_O
RX_THR
ESHOLD
TDR_ST
OP
E
ME
TDR-
THR_TI
AK_TIM
TDR_PE
TA
VAR_DA
Re-
served
MER
VAR_TI
ELAST_
RX_UNF
RX_OVF
RMII_RE
RMII_M
Re-
Re-
PMD_LO
Re-
Re-
BUF
_STS
_STS
V1_0
ODE
served
served
OP
served
served
SPDLED LNKLED ACTLED
TLED
DRV_AC
KLED
DRV_LN
DLED
DRV_SP
REQ
BLINK_F
REQ
BLINK_F
_RX
LEDACT
Re-
served
Re-
served
PHY
PHY
PHY
PHY
LED_
LED_
BP_STR
BIST_ST
ADDR
ADDR
ADDR
ADDR
CNFG[0]
CNFG[1]
ETCH
ART
STATUS
HEARTB
EAT_DIS
Re-
served
Re-
served
TY
POLARI-
Re-
served
LINK_10
LP_DIS FORCE_
CK_10_
LOOPBA
H
SQUELC
SQUELC
H
DIS
served
served
served
served
served
served
served
served
ESET
served
ED_DAT
ED_DAT
ED_DAT
ED_ERR
ED_ERR
ED_ERR
ED_ERR
ED_DAT
ED_ERR
ED_PW
T
A_COUN
T
A_COUN
T
A_COUN
_COUNT
_COUNT
_COUNT
_COUNT
A_MET
_MET
R_STAT
E
Re-
Re-
Re-
Re-
Re-
Re-
Re-
Re-
Re-
Re-
Re-
served
served
served
served
served
served
served
served
served
served
served
Re-
served
Re-
served
Re-
served
Re-
served
Re-
served
Re-
served
Re-
served
Re-
served
Re-
served
LEN
FFSET
CABLE_
LEN
CABLE_
LEN
CABLE_
LEN
CABLE_
LEN
CABLE_
LEN
CABLE_
LEN
CABLE_
Re-
served
Re-
served
Re-
served
FREQ_O
FREQ_O
FREQ_O
FREQ_O
FREQ_O
FREQ_O
SEL_FC FREQ_O
Re-
Re-
FFSET
FFSET
FFSET
FFSET
FFSET
FFSET
served
served
RX_THR
RX_THR
RX_THR
RX_THR
RX_THR
Re-
TDR_MI
TDR_WI
TDR_WI
TDR_WI
ESHOLD
TDR_ST
OP
ESHOLD
TDR_ST
OP
ESHOLD
TDR_ST
OP
ESHOLD
TDR_ST
OP
ESHOLD
TDR_ST
OP
served
TDR_ST
OP
E
N_MOD
TDR_ST
OP
DTH
TDR_ST
ART
DTH
TDR_ST
ART
DTH
TDR_ST
ART
Sel
Re-
CDPatt-
p
Re-
10Meg_
Patt_Ga
Re-
Re-
served
Re-
N_10
CDPattE
Re-
ODE
BIST_C
ONT_M
Re-
Re-
served
Re-
Re-
served
Re-
OUNT
ROR_C
BIST_ER
OUNT
ROR_C
SOFT_R
BIST_ER
Re-
BIST_ER
ROR_C
OUNT
E
ME
TDR-
AK_TIM
TDR_PE
E
TDR-
AK_TIM
TDR_PE
E
TDR-
AK_TIM
TDR_PE
E
TDR-
AK_TIM
TDR_PE
E
TDR-
AK_TIM
TDR_PE
E
TDR-
AK_TIM
TDR_PE
E
TDR-
AK_TIM
TDR_PE
AK
TDR_PE
TDR_TH
AK
Re-
TDR_PE
AK
Re-
TDR_PE
MER
VAR_TI
THR_TI
ME
MER
THR_TI
VAR_TI
ME
EEZE
THR_TI
VAR_FR
ME
Re-
served
THR_TI
ME
Re-
served
THR_TI
ME
Re-
served
THR_TI
ME
Re-
served
THR_TI
Re-
served
R_MET
Re-
served
served
Re-
served
served
VAR_DA
VAR_DA
VAR_DA
VAR_DA
VAR_DA
VAR_DA
VAR_DA
VAR_DA
VAR_DA
VAR_DA
TA
TAT
TA
TA
TA
TAT
TA
TA
TA
TAT
Re-
served
Re-
served
Re-
served
Re-
served
Re-
served
Re-
served
Re-
served
Re-
served
Re-
served
Re-
served
Table 19. Register Table
Re-
Re-
served
served
Re-
Re-
served
served
Re-
DIS_TX_
Re-
17hRBRSIM_WR
served
OPT
Re-
served
served
ITE
served
18hLEDCR Re-
BIST_FE PSR_15 BIST_
TX
PAUSE_
RX
PAUSE_
MDIX
FORCE_
N
19hPHYCR MDIX_E
SQUELC
Re-
Re-
Re-
Re-
1Ah10BT_S
H
served
served
served
served
ERIAL
Re-
OUNT
served
ROR_C
BIST_ER
Re-
OUNT
served
ROR_C
BIST_ER
Re-
ROR_C
ROR_C
ROR_C
1
OUNT
OUNT
OUNT
served
Re-
served
served
1ChPHYCR2 Re-
BIST_ER
BIST_ER
BIST_ER
1BhCDCTRL
ST_DIS
ED_MAN ED_BUR
O_DOW
ED_AUT
O_UP
1DhEDCRED_EN ED_AUT
Re-
Re-
N
Re-
Re-
Re-
1Eh-1Fh Re-
Re-
served
Re-
served
RESERVED REGISTERS
Re-
served
Re-
served
served
Re-
served
14h-1Fh Re-
served
served
served
served
LINK DIAGNOSTICS REGISTERS - PAGE 2
served
served
Re-
Re-
Re-
Re-
Re-
14hLEN100_
served
served
served
served
served
DET
DR
Re-
served
SEND_T
TDR_ST
Re-
NNEL
served
RX_CHA
TDR_ST
Re-
NNEL
served
TX_CHA
TDR_ST
Re-
0Mb
served
TDR_10
TDR_ST
SAMPLE
_FREQ
TDR_EN
ABLE
TDR_ST
0
RL
15hFREQ10
16hTDR_CT
17hTDR_WI
ART
ART
ART
ART
ART
N
AK
Re-
AK
AK
served
served
AK
served
Re-
served
Re-
served
Re-
served
Re-
served
R
19hTDR_TH
TDR_PE
TDR_PE
TDR_PE
Re-
Re-
18hTDR_PE
Re-
Re-
Re-
Re-
VAR_RD
1AhVAR_CT
TA
VAR_DA
VAR_DA
VAR_DA
VAR_DA
VAR_DA
1BhVAR_DA
Re-
served
TA
Re-
served
Re-
served
TA
Re-
TAT
served
TA
Re-
served
TA
served
1ChRe-
served
served
served
served
Y
RL
Register Na m eAddrTagBit 15 Bit 14 Bit 13 Bit 12 Bit 11 B i t 1 0 Bit 9Bit 8Bit 7Bit 6Bit 5B it 4Bit 3Bit 2Bit 1Bit 0
RMII and Bypass Register
LED Direct Control Register
PHY Control Register
10Base-T Status/Control Register
CD Test Control and BIST Extensions Regis-
ter
Phy Control Register 2
Energy Detect Control Register
RESERVED
RESERVED
100Mb Length Detect Register
100Mb Frequency Offset Indication Register
TDR Control Register
TDR Window Register
TDR Peak Register
TDR Threshold Register
Variance Control Register
Variance Data Register
RESERVED
45www.national.com
C1_LO_
C1_HI_
WARN
WARN
Re-
served
_DATA
LQ_THR
Re-
served
_DATA
LQ_THR
N
O_WAR
DAGC_L
I_WARN
DAGC_H
N
O_WAR
DBLW_L
DBLW_H
I_WARN
FREQ_L
O_WAR
N
FREQ_H
I_WARN
WARN
FC_LO_
WARN
FC_HI_
Re-
served
Re-
served
Re-
served
_DATA
LQ_THR
Re-
served
_DATA
LQ_THR
Re-
served
_DATA
LQ_THR
Re-
served
_DATA
LQ_THR
Re-
served
_DATA
LQ_THR
Re-
served
_DATA
LQ_THR
Re-
_SEL
served
LQ_THR
Re-
served
LQ_PAR
AM_SEL
Re-
served
LQ_PAR
AM_SEL
Re-
served
LQ_PAR
AM_SEL
Table 19. Register Table
Re-
served
Re-
served
Re-
served
ABLE
1DhLQMRLQM_EN
Re-
served
WRITE_
LQ_THR
Re-
served
SAMPLE
_PARAM
Re-
Re-
served
served
served
Re-
served
served
1EhLQDRRe-
1FhRe-
Register Na m eAddrTagBit 15 Bit 14 Bit 13 Bit 12 Bit 11 B i t 1 0 Bit 9Bit 8Bit 7Bit 6Bit 5B it 4Bit 3Bit 2Bit 1Bit 0
Link Quality Monitor Register
Link Quality Data Register
RESERVED
46www.national.com
7.1 Register Definition
In the register definitions under the ‘Default’ heading, the following definitions hold true:
— RW=Read Write access
— SC=Register sets on event occurrence and Self-Clears when event ends
— RW/SC =Read Write access/Self Clearing bit
— RO=Read Only access
— COR = Clear on Read
— RO/COR=Read Only, Clear on Read
— RO/P=Read Only, Permanently set to a default value
— LL=Latched Low and held until read, based upon the occurrence of the corresponding event
—LH=Latched High and held until read, based upon the occurrence of the corresponding event
DP83849C
47 www.national.com
7.1.1 Basic Mode Control Register (BMCR)
Table 20. Basic Mode Control Register (BMCR), address 00h
BitBit NameDefaultDescription
15RESET0, RW/SCReset:
1 = Initiate software Reset / Reset in Process.
0 = Normal operation.
This bit, which is self-clearing, returns a value of one until the reset
process is complete. The configuration is re-strapped.
14LOOPBACK0, RWLoopback:
1 = Loopback enabled.
0 = Normal operation.
The loopback functio n enables MII transmit dat a to be routed to the MII
receive data path.
Setting this bit may cause the descram bler to lose synchroni zation and
produce a 500 µs “dead ti me ” before any valid data will appear at the
MII receive outputs.
13SPEED SELEC-
TION
12AUTO-NEGOTI-
ATION
ENABLE
11POWER DOWN0, RWPower Down:
10ISOLATE0, RWIsolate:
9RESTART
AUTO-NEGOTI
ATION
8DUPLEX MODEStrap, RWDuplex Mode:
Strap, RWSpeed Select:
When auto-negotiation is disabled writing to this bit allows the port
speed to be selected.
1 = 100 Mb/s.
0 = 10 Mb/s.
Strap, RWAuto-Negotiation Enable:
Strap controls initial value at reset.
1 = Auto-Negotiation Enabled - bits 8 and 13 of this register are ig-
nored when this bit is set.
0 = Auto-Negotiati on Disabled - bits 8 and 13 determine t he port speed
and duplex mode.
1 = Power down.
0 = Normal operation.
Setting this bit powers down the PHY. Only the register block is en-
abled durin g a power down condition. This bit is OR’d with the input
from the PWRDOWN_INT pin . When the acti ve low PWRDO WN_INT
pin is asserted, this bit will be set.
1 = Isolates the Port fro m t he M II with the exception of the serial ma n agement.
0 = Normal operation.
0, RW/SCRestart Auto-Negotiation:
-
1 = Restart Auto-Negotiation. Re-initiates the Auto-Negotiation process. If Auto-Negotiati on is disabled (bit 12 = 0), this bit is ig nored. This
bit is self-clearing and will retu rn a val ue of 1 until Auto-Negotiation is
initiated, whereupo n it will self-clear. Opera tion of the Auto-Negotiati on
process is not affected by the management entity clearing this bit.
0 = Normal operation.
When auto-negotiatio n is disabled wri ting to this bit allows the port Duplex capability to be selected.
1 = Full Duplex operation.
0 = Half Duplex operation.
DP83849C
48 www.national.com
Table 20. Basic Mode Control Register (BMCR), address 00h (Continued)
BitBit NameDefaultDescription
7COLLISION
TEST
6:0RESERVED0, RORESERVED: Write ignored, read as 0.
0, RWCollision Test:
1 = Collision test enabled.
0 = Normal operation.
When set, this bit w ill cause the COL s ignal to be asserte d in response
to the assertion of TX _EN within 5 12-bit time s. The COL s ignal w ill be
de-asserted within 4-bit times in response to the de-assertion of
TX_EN.
DP83849C
49 www.national.com
7.1.2 Basic Mode Status Register (BMSR)
Table 21. Basic Mode Status Register (BMSR), address 01h
BitBit NameDefaultDescription
15100BASE-T40, RO/P100BASE-T4 Capable:
0 = Device not able to perform 100BASE-T4 mode.
14100BASE-TX
FULL DUPLEX
13100BASE-TX
HALF DUPLEX
1210BASE-T
FULL DUPLEX
1110BASE-T
HALF DUPLEX
10:7RESERVED0, RORESERVED: Write as 0, read as 0.
6MF PREAMBLE
SUPPRESSION
5AUTO-NEGOTIATION
COMPLETE
4REMOTE FAULT 0, RO/LHRemote Fault:
3AUTO-NEGOTIATION
ABILITY
2LINK STATUS0, RO/LLLink Status:
1JABBER DETECT 0, RO/LHJabber Detect: This bit only has meaning in 10 Mb/s mode.
0EXTENDED CAPA-
BILITY
1, RO/P100BASE-TX Full Duplex Capable:
1 = Device able to perform 100BASE-TX in full duplex mode.
1, RO/P100BASE-TX Half Duplex Capable:
1 = Device able to perform 100BASE-TX in half duplex mode.
1, RO/P10BASE-T Full Duplex Capable:
1 = Device able to perform 10BASE-T in full duplex mode.
1, RO/P10BASE-T Half Duplex Capable:
1 = Device able to perform 10BASE-T in half duplex mode.
1, RO/PPreamble suppression Capable:
1 = Device able to perform management transaction with preamble
suppressed, 32-bits of preamble needed on ly once after reset, invali d
opcode or invalid turnaround.
0 = Normal management operation.
0, ROAuto-Negotiation Complete:
1 = Auto-Negotiation process complete.
0 = Auto-Negotiation process not complete.
1 = Remote Fault condition detected (cleared on read or by reset).
Fault criteria: Far End Fault Indication or notification from Link Part
ner of Remote Fault.
0 = No remote fault condition detected.
1, RO/PAuto Negotiation Ability:
1 = Device is able to perform Auto-Negotiation.
0 = Device is not able to perform Auto-Negotiation.
1 = Valid link established (for either 10 or 100 Mb/s operation).
0 = Link not established.
The criteria for link vali dity is implementation spec ific. The occurrence
of a link failure cond ition will cau ses the Link Status bit to clear. Onc e
cleared, this bit may onl y be set by est ablishin g a good link c ondition
and a read via the management interface.
1 = Jabber condition detected.
0 = No Jabber.
This bit is implemented with a latching function, such that the occur-
rence of a jabber condition c auses it to set until it is cleared by a rea d
to this register by the management interface or by a reset.
1, RO/PExtended Capability:
1 = Extended register capabilities.
0 = Basic register set capabilities on ly.
DP83849C
-
50 www.national.com
The PHY Identifier Registers #1 and #2 together form a unique identifier for the DP83849C. The Identifier consists of a
concatenation of the Organizationally Unique Identifier (OUI), the vendor's model number and the model revision num
ber. A PHY may r etur n a val ue of zero in eac h of th e 32 bi ts of the PHY Identi fier if d esired . The PHY I dentifi er is i ntende d
to support network management. National's IEEE assigned OUI is 080017h.
15:10OUI_LSB<0101 11>, RO/P OUI Least Significant Bits:
9:4VNDR_MDL<00 1010>, RO/P Vendor Model Number:
3:0MDL_REV<0010>, RO/PModel Revision Number:
OUI Most Significant Bits: Bits 3 to 18 of the OUI (080017h) are
stored in bits 15 to 0 of this register. The most significant two bits
of the OUI are ignored (the IEEE stan dard refe rs to these as bit s 1
and 2).
Bits 19 to 24 of the OUI (080017h) are mapped from bits 15 to 10
of this register respectively.
The six bits of vendor model number are mapped from bits 9 to 4
(most significant bit to bit 9).
Four bits of the vendor model revision number are mapped from
bits 3 to 0 (most si gnificant bit to bi t 3). This field wil l be incremented
for all major device changes.
This register cont ains the ad vertis ed abi lities of thi s dev ice a s they will b e trans mitted to it s link pa rtne r during Auto-N egotiation. Any writes to this register prior to completion of Auto-Negotiation (as indicated in the Basic Mode Status Register
(address 01h) Auto-Negotiation Complete bit, BMSR[5]) should be followed by a renegotiation. This will ensure that the
new values are properly used in the Auto-Negotiation.
11ASM_DIR0, RWAsymmetric PAUSE Support for Full Duplex Links:
The ASM_DIR bit indicates that asymmetric PAUSE is supported.
Encoding and resolution of PAUSE bits is defined in IEEE 802.3
Annex 28B, Tables 28B-2 and 28B-3, respectively. Pause resolu
tion status is reported in PHYCR[13:12].
1 = Advertise that the DTE (MAC) has implemented both the op-
tional MAC control su bl ayer an d the p ause fu nctio n as s pecif ied in
clause 31 and annex 31B of 802.3u.
0= No MAC based full duplex flow control.
10PAUSE0, RWPAUSE Support for Full Duplex Links:
The PAUSE bit indicates that the device is capable of providing the
symmetric PAUSE functions as defined in Annex 31B.
Encoding and resolution of PAUSE bits is defined in IEEE 802.3
Annex 28B, Tables 28B-2 and 28B-3, respectively. Pause resolu
tion status is reported in PHYCR[13:12].
1 = Advertise that the DTE (MAC) has implemented both the op-
tional MAC control su bl ayer an d the p ause fu nctio n as s pecif ied in
clause 31 and annex 31B of 802.3u.
0= No MAC based full duplex flow control.
9T40, RO/P100BASE-T4 Support:
1= 100BASE-T4 is supported by the local device.
0 = 100BASE-T4 not supported.
8TX_FDStrap, RW100BASE-TX Full Duplex Support:
1 = 100BASE-TX Full Duplex is supported by the local device.
0 = 100BASE-TX Full Duplex not supported.
7TXStrap, RW100BASE-TX Support:
1 = 100BASE-TX is supported by the local device.
0 = 100BASE-TX not supported.
610_FDStrap, RW10BASE-T Full Duplex Support:
1 = 10BASE-T Full Duplex is supported by the local device.
0 = 10BASE-T Full Duplex not supported.
510Strap, RW10BASE-T Support:
1 = 10BASE-T is supported by the local device.
0 = 10BASE-T not supported.
4:0SELECTOR<00001>, RWProtocol Selection Bits:
These bits contain the binary enc oded protoco l se lector s upporte d
by this port. <00001> indicates that this device supports IEEE
802.3u.
DP83849C
-
-
52 www.national.com
7.1.6 Auto-Negotiation Link Partner Ability Register (ANLPAR) (BASE Page)
This register contains the advertised abilities of the Link Partner as received during Auto-Negotiation. The content
changes after the successful auto-negotiation if Next-pages are supported.
1 = indicates that the Link Partner supports Auto-Negotiation.
0 = indicates that the Link Partner does not support Auto-Negotia-
tion.
DP83849C
55 www.national.com
7.1.9 Auto-Negotiation Next Page Transmit Register (ANNPTR)
This register contains the next page information sent by this device to its Link Partner during Auto-Negotiation.
Table 28. Auto-Negotiation Next Page Transmit Register (ANNPTR), address 07h
BitBit NameDefaultDescription
15NP0, RWNext Page Indication:
0 = No other Next Page Transfer desired.
1 = Another Next Page desired.
14RESERVED0, RORESERVED: Writes ignored, read as 0.
13MP1, RWMessage Page:
1 = Message Page.
0 = Unformatted Page.
12ACK20, RWAcknowledge2:
1 = Will comply with message.
0 = Cannot comply with message.
Acknowledge2 is used by the next page function to indicate that
Local Device has th e ability t o comply with t he message r eceived.
11TOG_TX0, ROToggle:
1 = Value of toggle bit in previously transmitted Link Code Word
was 0.
0 = Value of toggle bit in previously transmitted Link Code Word
was 1.
Toggle is used by the Arbitration fun ction within Auto-N egotiation
to ensure synchroniza tion with the Lin k Partner during Ne xt Page
exchange. This bit shall always take the opposite value of the
Toggle bit in the previously exchanged Link Code Word.
10:0CODE<0 00 0000 00 01>, RWCode:
This field represent s the code fie ld of the next p age transmis sion.
If the MP bit is set (bit 13 of this register), then the code shall be
interpreted as a "Message Page”, as defined in annex 28C of
IEEE 802.3u. Otherwise, the cod e shall b e interp reted as an "Un
formatted Page”, and the interpretation is application specific.
The default value of the CODE represents a Null Page as defined
in Annex 28C of IEEE 802.3u.
DP83849C
-
56 www.national.com
7.1.10 PHY Status Register (PHYSTS)
This register provides a single location within the register set for quick access to commonly accessed information.
Table 29. PHY Status Register (PHYSTS), address 10h
BitBit NameDefaultDescription
15RESERVED0, RORESERVED: Write ignore d, read as 0.
14MDIX MODE0, ROMDIX modeas reported by the Auto-Negotiation logic:
This bit will be affected by the settings of the MDIX_EN and
FORCE_MDIX bits in the PHYCR register. When MDIX is e nabled,
but not forced, this bit will update dy namica lly as the Auto-M DIX al
gorithm swaps between MDI and MDIX configurations.
1 = MDI pairs swapped
(Receive on TPTD pair, Transmit on TPRD pair)
0 = MDI pairs normal
(Receive on TRD pair, Transmit on TPTD pair)
13RECEIVE ERROR
LATCH
12POLARITY STATUS0, ROPolarity Status:
11FALSE CARRIER
SENSE LATCH
10SIGNAL DETECT0, RO/LL100Base-TX qualified Signal Detect from PMA:
9DESCRAMBLER
LOCK
8PAGE RECEIVED0, ROLink Code Word Page Received:
7MII INTERRUPT0, ROMII Interrupt Pending:
0, RO/LHReceive Error Latch:
This bit will be cleared upon a read of the RECR register.
1 = Receive error event h as occu rred since last read of RXERCNT
(address 15h, Page 0).
0 = No receive error event has occurred.
This bit is a duplic ation of bit 4 in the 10BTSCR register. This bit will
be cleared upon a read of the 10BTSCR register, but not upon a
read of the PHYSTS register.
This bit will be cleared upon a read of the FCSR register.
1 = False Carrier event h as occurred since last read of FCSCR (ad -
dress 14h).
0 = No False Carrier event has occurred.
This is the SD that goes into the link monitor. It is the AND of raw
SD and descrambler lock, whe n addres s 16h, bit 8 (page 0) is se t.
When this bit is cleared, it will be equivalent to the raw SD from the
PMD.
0, RO/LL100Base-TX Descrambler Lock from PMD.
This is a duplicate of the Page Received bit in the ANER register,
but this bit will no t be cl ea red u po n a read of the PH YSTS re gis te r.
1 = A new Link Code Word Page has been received. Cleared on
read of the ANER (address 06h, bit 1).
0 = Link Code Word Page has not been received.
1 = Indicates that an internal interrupt is pending. Interrupt source
can be determined by reading the MISR Register (12h). Reading
the MISR will clear the Interrupt.
0 = No interrupt pending.
DP83849C
-
57 www.national.com
Table 29. PHY Status Register (PHYSTS), address 10h
BitBit NameDefaultDescription
6REMOTE FAULT0, RORemote Fault:
1 = Remote Fault c ondition detected (cleared on read of BMSR (address 01h) register or by reset). Fault c riteria: notif ication from Link
Partner of Remote Fault via Auto-Negotiation.
0 = No remote fault condition detected.
5JABBER DETECT0, ROJabber Detect: This bit only has meaning in 10 Mb/s mode
This bit is a dupl icate of the Jabber De tect bit in the BMSR register,
except that it is not cleared upon a read of the PHYSTS register.
1 = Jabber condition detected.
0 = No Jabber.
4AUTO-NEG COM-
PLETE
3LOOPBACK STA-
TUS
2DUPLEX STATUS0, RODuplex:
1SPEED STATUS0, ROSpeed10:
0LINK STATUS0, ROLink Status:
0, ROAuto-Negotiation Complete:
1 = Auto-Negotiation complete.
0 = Auto-Negotiation not complete.
0, ROLoopback:
1 = Loopback enabled.
0 = Normal operation.
This bit indicates duplex status and is determ ined from Auto -Negotiation or Forced Modes.
1 = Full duplex mode.
0 = Half duplex mode.
Note: This bit is only valid if Auto-Negotiation is enabled and com-
plete and there is a valid li nk or if Au to-Negoti ation i s disa bled an d
there is a valid link.
This bit indicates the status of the speed and is determined from
Auto-Negotiation or Forced Modes.
1 = 10 Mb/s mode.
0 = 100 Mb/s mode.
Note: This bit is only valid if Auto-Negotiation is enabled and com-
plete and there is a valid li nk or if Au to-Negoti ation i s disa bled an d
there is a valid link.
This bit is a duplicate of the Link Status bit in the BMSR register,
except that it will not be cleared upon a read of the P HYS TS reg is
ter.
1 = Valid link established (for either 10 or 100 Mb/s operation)
0 = Link not established.
DP83849C
-
58 www.national.com
7.1.11 MII Interrupt Control Register (MICR)
This register implements the MII Interrupt PHY Specific Control register. Sources for interrupt generation include: Energy
Detect State Change, Link State Change, Speed Status Change, Duplex Status Change, Auto-Negotiation Complete or
any of the counters becom in g hal f-ful l. The ind iv idu al in terru pt ev en ts must be enabled by setting bits in the MII In terru pt
Status and Event Control Register (MISR).
Table 30. MII Interrupt Control Register (MICR), address 11h
BitBit NameDefaultDescription
15:3RESERVED0, RORESERVED: Writes ignored, read as 0.
2TINT0, RWTest Interrupt:
Forces the PHY to generate an interrupt to facilitate interrupt testing. Interrupts will continue to be generated as long as this bit remains set.
1 = Generate an interrupt
0 = Do not generate interrupt
1INTEN0, RWInterrupt Enable:
Enable interrupt dependent on the event enables in the MISR register.
1 = Enable event based interrupts
0 = Disable event based interrupts
0INT_OE0, RWInterrupt Output Enable:
Enable interrupt events to signal via the PWRDOWN_INT pin by
configuring the PWRDOWN_INT pin as an output .
1 = PWRDOWN_INT is an Interrupt Output
0 = PWRDOWN_INT is a Power Down Input
DP83849C
7.1.12 MII Interrupt Status and Misc. Control Register (MISR)
This register contains event status and enables for the interrupt function. If an event has occurred since the last read of
this register, the corresponding status bit will be set. If the corresponding enable bit in the register is set, an interrupt will
be generated if the event occ urs . The MI CR regis te r con trols mu st al so be se t to allow interrupts. The status indic ati on s
in this register will be set even if the interrupt is not enabled
Table 31. MII Interrupt Status and Misc. Control Register (MISR), address 12h
15LQ_INT0, RO/CORLink Quality interrupt:
14ED_INT0, RO/COREnergy Detect interrupt:
13LINK_INT0, RO/CORChange of Link Status interrupt:
12SPD_INT0, RO/CORChange of speed status interrupt:
.
1 = Link Quality interrupt is pending and is cleared by the current
read.
0 = No Link Quality interrupt pending.
1 = Energy detect interrup t is pe nding and is clea red by the cu rrent
read.
0 = No energy detect interrupt pending.
1 = Change of link status inter r upt is pen din g an d is c lea red by the
current read.
0 = No change of link status interrupt pending.
1 = Speed status change interrupt is pending and is cl ea red by the
current read.
0 = No speed status change interrupt pending.
59 www.national.com
Table 31. MII Interrupt Status and Misc. Control Register (MISR), address 12h
11DUP_INT0, RO/CORChange of duplex status interrupt:
1 = Duplex status change interrupt is pending and is cleared by
the current read.
1 = Receive error counter half-full interrupt is pending and is
cleared by the current read.
0 = No receive error carrier counter half-full interrupt pending.
7LQ_INT_EN0, RWEnable Interrupt on Link Quality Monitor event
6ED_INT_EN0, RWEnable Interrupt on energy detect event
5LINK_INT_EN0, RWEnable Interrupt on change of link status
4SPD_INT_EN0, RWEnable Interrupt on change of speed status
3DUP_INT_EN0, RWEnable Interrupt on change of duplex status
2ANC_INT_EN0, R WEnable Interrupt on Auto-negotiation complete event
1FHF_INT_EN0, RWEnable Interrupt on False Carrier Counter Register half-full event
0RHF_INT_EN0, RWEnable Interrupt on Receive Error Counter Register half-full event
DP83849C
7.1.13 Page Select Register (PAGESEL)
This register is used to enable access to the Link Diagnostics Registers.
15:2RESERVED0, RORESERVED: Writes ignored, Read as 0
1:0PAGE_SEL0, RWPage_Sel Bit:
Selects between paged registers for address 14h to 1Fh.
0 = Extended Registers Page 0
1 = RESERVED
2 = Link Diagnostics Registers Page 2
60 www.national.com
7.2 Extended Registers - Page 0
7.2.1 False Carrier Sense Counter Register (FCSCR)
This counter provides information required to implement the “False Carriers” attribute within the MAU managed object
class of Clause 30 of the IEEE 802.3u specification.
Table 33. False Carrier Sense Counter Register (FCSCR), address 14h
BitBit NameDefaultDescription
15:8RESERVED0, RORESERVED: Writes ignored, Read as 0
This 8-bit counter increments on every false carrier event. This
counter sticks when it reaches its max count (FFh).
7.2.2 Receiver Error Counter Register (RECR)
This counter provides information required to implement the “Symbol Error During Carrier” attribute within the PHY managed object class of Clause 30 of the IEEE 802.3u specification.
Must be zero.
5FORCE_100_OK0, RWForce 100Mb/s Good Link:
1 = Forces 100Mb/s Good Link.
0 = Normal 100Mb/s operation.
4:3RESERVED0,RORESERVED:
Must be zero
2NRZI_BYPASS0, RWNRZI Bypass Enable:
1 = NRZI Bypass Enabled.
0 = NRZI Bypass Disabled.
1:0RESERVED0,RORESERVED:
Must be zero.
DP83849C
-
62 www.national.com
7.2.4 RMII and Bypass Register (RBR)
This register configures the RMII/MII Interface Mode of operation. This register controls selecting MII or RMII mode for
Receive or Tr ansmi t. In additi on, sev eral add itiona l bit s are inc luded to allow dat ap ath selectio n for Transmit and Receive
in multiport applications.
Table 36. RMII and Bypass Register (RBR), addresses 17h
BitBit NameDefaultDescription
15SIM_WRITE0, RWSimultaneous Write:
Setting this bit in port A register s pace en ables sim ultan eous wr ite
to Phy registers in both po rts. Subsequent write s to port A registers
Normally the RMII Trans mitter will mini mize the tr ansmit late ncy by
realigning the transmit c lock with th e Referen ce clock pha se at the
start of a packet trans mission. Se tting this bit will disable Ph ase re
alignment and ensu re that IDLE bits w ill always be se nt in multiples
of the symbol size. This will result in a larger uncertainty in RMII
transmit latency.
12:9RESERVED0RESERVED:
Must be zero
8PMD_LOOP0, RWPMD Loopback:
0= Normal Op eration
1= Remote (PMD) Loopback
Setting this bit will cause the device to Loopback data received
from the Physical Layer. The loopback is done prior to the MII or
RMII interface. Data received at the internal MII or RMII interface
will be applied to th e trans mitter. Th is mode should o nly be us ed if
RMII mode is enabled.
7:6RESERVED0RESERVED:
Must be zero
5RMII_MODEStrap, RWReduced MII Mode:
0 = Standard MII Mode
1 = Reduced MII Mode
4RMII_REV1_00, RWReduced MII Revision 1.0:
0 = (RMII revision 1.2) CRS_DV will toggle at the end of a packet
to indicate deassertion of CRS.
1 = (RMII revision 1.0) CRS_DV will remain asserted until final data
is transferred. CRS_DV will not toggle at the end of a packet.
3RX_OVF_STS0, RO/CORRX FIFO Over Flow Status:
0 = Normal
1 = Overflow detected
2RX_UNF_STS0, RO/CORRX FIFO Under Flow Status:
0 = Normal
1 = Underflow detected
1:0ELAST_BUF[1:0]01, RWReceive Elasticity Buffer:
This field controls th e Receive Elas ticity Buffer which a llows for fre-
quency variation toleranc e between the 50M Hz RM II clock a nd the
recovered data. See
Buffer settings in RMII mode.
Section 3.2 for more inform ation o n Elasticity
-
DP83849C
63 www.national.com
7.2.5 LED Direct Control Register (LEDCR)
This register provides the ability to directly control any or all LED outputs. It does not provide read access to LEDs. In
addition, it provides control for the Activity source and blinking LED frequency.
Table 37. LED Direct Control Register (LEDCR), address 18h
BitBit NameDefaultDescription
15:9RESERVED0, RORESERVED: Writes ignored, read as 0.
8LEDACT_RX0, RW1 = Activity is only indicated for Receive traffic
0 = Activity is indicated for Transmit or Receive traffic
7:6BLINK_FREQ00, RWLED Blink Frequency
These bits control the blink frequency of the LED_LINK output
when blinking on activity is enabled.
0 = 6Hz
1 = 12Hz
2 = 24Hz
3 = 48Hz
5DRV_SPDLED0, RW1 = Drive value of SPDLED bit onto LED_SPEED output
0 = Normal operation
4DRV_LNKLED0, RW1 = Drive value of LNKLED bit onto LED_LINK output
0 = Normal operation
3DRV_ACTLED0, RW1 = Drive value of ACTLED bit onto LED_ACT/LED_COL output
0 = Normal operation
2SPDLED0, RWValue to force on LED_SPEED output
1LNKLED0, RWValue to force on LED_LINK output
0ACTLED0, RWValue to force on LED_ACT/LED_COL output
DP83849C
64 www.national.com
7.2.6 PHY Control Register (PHYCR)
This register provides control for Phy functions such as MDIX, BIST, LED configuration, and Phy address. It also provides Pause Negotiation status.
Table 38. PHY Control Register (PHYCR), address 19h
BitBit NameDefaultDescription
15MDIX_ENStrap, RWAuto-MDIX Enable:
1 = Enable Auto-neg Auto-MDIX capability.
0 = Disable Auto-neg Auto-MDIX capability.
The Auto-MDIX algorithm requires that the Auto-Negotiation En-
able bit in the BMCR register to be set. If Auto-Negotiation is not
enabled, Auto-MDIX should be disabled as well.
14FORCE_MDIX0, RWForce MDIX:
1 = Force MDI pairs to cross.
(Receive on TPTD pair, Transmit on TPRD pair)
0 = Normal operation.
13PAUSE_RX0, ROPause Receive Negotiated:
Indicates that pause re ceive shoul d be enabled i n the MAC. Based
on ANAR[11:10] and ANLPAR[11:10] settings.
This function shall be enabled according to IEEE 802.3 Ann ex 28B
Table 28B-3, “Pause Resolutio n”, only if th e Auto-Negotia ted High
est Common Denominator is a full duplex technology.
12PAUSE_TX0, ROPause Transmit Negotiated:
Indicates that pau se transmit shoul d be enabled in t he MAC. Based
on ANAR[11:10] and ANLPAR[11:10] settings.
This function shall be enabled according to IEEE 802.3 Ann ex 28B
Table 28B-3, “Pause Resolutio n”, only if th e Auto-Negotia ted High-
est Common Denominator is a full duplex technology.
11BIST_FE0, RW/SCBIST Force Error:
1 = Force BIST Error.
0 = Normal operation.
This bit forces a single error, and is self clearing.
10PSR_150, RWBIST Sequence select:
1 = PSR15 selected.
0 = PSR9 selected.
9BIST_STATUS0, LL/ROBIST Test Status:
1 = BIST pass.
0 = BIST fail. Latched, cleared when BIST is stopped.
For a count number of BIST errors, se e the BIST Error Count in the
CDCTRL1 register.
8BIST_START0, RWBIST Start:
1 = BIST start.
0 = BIST stop.
7BP_STRETCH0, RWBypass LED Stretching:
This will bypass the LED stre tchin g and the LED s wil l refle ct the in-
ternal value.
1 = Bypass LED stretch ing.
0 = Normal operation.
DP83849C
-
65 www.national.com
Table 38. PHY Control Register (PHYCR), address 19h (Continued)
BitBit NameDefaultDescription
6
5
LED_CNFG[1]
LED_CNFG[0]
0, RW
Strap, RW
LED Configuration
LED_CNFG[1]LED_ CNFG[0]Mode Description
Don’t care1Mode 1
00Mode 2
10Mode 3
In Mode 1, LEDs are configured as follows:
LED_LINK = ON for Good Link, OFF for No Link
LED_SPEED = ON in 100 Mb/s, OFF in 10 Mb/s
LED_ACT/LED_COL = ON for Activity, OFF for No Activity
In Mode 2, LEDs are configured as follows:
LED_LINK = ON for good Link, BLINK for Activity
LED_SPEED = ON in 100 Mb/s, OFF in 10 Mb/s
LED_ACT/LED_COL = ON for Collision, OFF for No Collision
Full Duplex, OFF for Half Duplex
DP83849C
In Mode 3, LEDs are configured as follows:
LED_LINK = ON for Good Link, BLINK for Activity
LED_SPEED = ON in 100 Mb/s, OFF in 10 Mb/s
LED_ACT/LED_COL = ON for Full Duplex, OFF for Half Duplex
4:0PHYADDR[4:0]Strap, RWPHY Address: PHY address for port.
7.2.7 10 Base-T Status/Control Register (10BTSCR)
This register is used for control and status for 10BASE-T device operation.
In half-duplex mode, default 10BASE-T operation loops Transmit
data to the Re ce iv e d at a in addition to transmitting the da t a on the
physical medium. This is fo r consistency with earlier 10B ASE2 and
10BASE5 implementations which used a shared medium. Setting
this bit disables the loopback fun ction.
This bit does not affect loopback due to setting BMCR[14].
7LP_DIS0, RWNormal Link Pulse Disable:
1 = Transmission of NLPs is disabled.
0 = Transmission of NLPs is enabled.
6FORCE_LINK_100, RWForce 10Mb Good Link:
1 = Forced Good 10Mb Link.
0 = Normal Link Status.
5RESERVED0, RWRESERVED:
Must be zero.
4POLARITYRO/LH10Mb Polarity Status :
This bit is a duplication of bit 12 in the PHYSTS regi ste r. Both bi ts
will be cleared upon a read of 10BTSCR register, but not upon a
read of the PHYSTS register.
1HEARTBEAT_DIS0, RWHeartbeat Disable: This bit only h as influence in ha lf-duplex 10Mb
mode.
1 = Heartbeat function disabled.
0 = Heartbeat function enabled.
When the device is operating at 100Mb or configured for full
duplex operation, this bit will be ignored - the heartbeat func
tion is disabled.
0JABBER_DIS0, RWJabber Disable:
Applicable only in 10BASE-T.
1 = Jabber function disabled.
0 = Jabber function enabled.
DP83849C
-
67 www.national.com
7.2.8 CD Test and BIST Extensions Register (CDCTRL1)
This register controls tes t mode s for the 10B AS E-T Comm on Driv er. In addition it contains extended control
and status for the packet BIST function.
Table 40. CD Test and BIST Extensions Register (CDCTRL1), address 1Bh
BitBit NameDefaultDescription
15:8BIST_ERROR_COUNT0, ROBIST ERROR Counter:
Counts number of errored data nibbles during Packet BIST. This
value will reset when Packet BIST is restarted. The counter sticks
when it reaches its max c ount.
7:6RESERVED0, RWRESERVED:
Must be zero.
5BIST_CONT_MODE0, RWPacket BIST Continuous Mode:
Allows continuous pseudo random data transmission without any
break in transmission. This can be used for transmit VOD testing.
This is used in conjunction with the BIST controls in the PHYCR
Register (19h). For 10Mb operation, jabber function must be dis
abled, bit 0 of the 10BTSCR (1Ah), JABBER_DIS = 1.
4CDPATTEN_100, RWCD Pattern Enable for 10Mb:
1 = Enabled.
0 = Disabled.
3RESERVED0, RWRESERVED:
Must be zero.
210MEG_PATT_GAP0, RWDefines gap between data or NLP test sequences:
1 = 15 µs.
0 = 10 µs.
1:0CDPATTSEL[1:0]00, RWCD Pattern Select[1:0]:
If CDPATTEN_10 = 1:
00 = Data, EOP0 sequence
01 = Data, EOP1 sequence
10 = NLPs
11 = Constant Manc hester 1 s (10MHz sine w ave) for h armonic distortion testing.
-
DP83849C
7.2.9 Phy Control Register 2 (PHY CR2)
This register provides additional general control.
Table 41. Phy Control Register 2 (PHYCR2), address 1Ch
BitBit NameDefaultDescription
15:10RESERVED0, RORESERVED: Writes ignored, read as 0.
9SOFT_RESET0, RW/SCSoft Reset:
Resets the entire device minus the registers - all configuration is
preserved.
1= Reset, self-clearing.
8:0RESERVED0, RORESERVED: Writes ignored, read as 0.
68 www.national.com
7.2.10 Energy Detect Control (EDCR)
This register provides control and status for the Energy Detect function.
Table 42. Energy Detect Control (EDCR), address 1Dh
BitBit NameDefaultDescription
15ED_ENStrap, RWEnergy Detect Enable:
Allow Energy Detect Mode.
When Energy Detect is enabled and Auto-Negotiation is disabled
via the BMCR register, Auto -MDIX should be d isabled via the PHY
CR register.
14ED_AUTO_UP1, RWEnergy Detect Automatic Power Up:
Automatically begin power up sequence when Energy Detect Data
Threshold value (EDCR[3:0]) is reached. Alternatively, device
could be powered up m an ual ly u si ng the ED _ MAN bi t (ECDR[12]).
13ED_AUTO_DOWN1, RWEnergy Detect Automatic Power Down:
Automatically begin power down sequence when no energy is de-
tected. Alternatively, device could be powered down using the
ED_MAN bit (EDCR[12]).
12ED_MAN0, RW/SCEnergy Detect Manual Power Up/Down:
Begin power up/down sequence when this bit is asserted. When
set, the Energy Detect algorithm will initi ate a change of En ergy De
tect state regardless of threshold (error or data) and timer values.
In managed applicat ions, this bit can be s et after clearin g the Ener-
gy Detect interrupt to control the timing of changing the power
state.
11ED_BURST_DIS0, RWEnergy Detect Burst Disable:
Disable bursting of energy detect data pulses. By default, Energy
Detect (ED) transmits a burst of 4 ED d ata pulses eac h time the CD
is powered up. When bursting is disabled, only a single ED data
pulse will be send each time the CD is powered up.
10ED_PWR_STATE0, R OEnergy Detect Power State:
Indicates current Energy Detect Power state. When set, Energy
Detect is in the powered up state. W hen cleared , Energy Dete ct is
in the powered down state. This bit is inval id when Ener gy Detec t
is not enabled.
9ED_ERR_MET0, RO/COREnergy Detect Error Threshold Met:
No action is automatically tak en up on rec ei pt of erro r eve nts . This
bit is informational only and would be cleared on a read.
8ED_DATA_MET0, RO/COREnergy Detect Data Threshold Met:
The number of data events that occu rred met or surpas sed the En-
ergy Detect Data Threshold. This bit is cleared on a read.
This register contains linked cable length estimation in 100Mb operation. The cable length is an estimation of the effective cable length based on the characteristics of the recovered signal. The cable length is valid only during 100Mb operation with a valid Link status indication.
This register returns an indication of clock frequency offset relative to the link partner. Two values can be read, the long
term Frequency Offset, or a short term Frequency Control value. The Frequency Control value includes short term
phase correction. The variance between the Frequency Control value and the Frequency Offset can be used as an indi
cation of the amount of jitter in the system.
DP83849C
-
Table 44. 100Mb Frequency Offset Indication Register (FREQ100), address 15h
BitBit NameDefaultDescription
15SAMPLE_FREQ0, RWSample Frequency Offset:
If Sel_FC is set to a 0, then setting this bit to a 1 will poll the DSP
for the long-term Frequency Offset value. The value will be avail
able in the Freq_Offset bits of this register.
If Sel_FC is set to a 1, then setting this bit to a 1 will poll the DSP
for the current Frequen cy Control value. The value will be avai lable
in the Freq_Offset bits of this register.
This register bit will always read back as 0.
14:9RESERVED0, RORESERVED: Writes ignored, read as 0.
8SEL_FC0, RWSelect Frequency Control:
Setting this bit to a 1 will select th e current Freq uency Control v alue
instead of the Frequency Offset. This value contains Frequency
Offset plus the short term phase correction and can be used to in
dicate amount of jit ter in the syst em. The value will be ava ilabl e in
the Freq_Offset bits of this register.
7:0FREQ_OFFSET0, ROFrequency Offset:
Frequency off set v alue loade d from the DSP f ollowin g as sertion of
the Sample_Freq control bit. The Frequency Offset or Frequency
Control value is a twos-complement signed value in units of ap
proximately 5.1562ppm. The range is as follows:
0x7F = +655ppm
0x00 = 0ppm
0x80 = -660ppm
-
-
-
70 www.national.com
7.3.3 TDR Control Register (TDR_CTRL), Page 2, address 16h
This register contains control for the Time Domain Reflectometry (TDR) cable diagnostics. The TDR cable diagnostics
sends pulses down the cable and captures reflection data to be used to estimate cable length and detect certain cabling
faults.
Table 45. TDR Control Register (TDR_CTRL), address 16h
BitBit NameDefaultDescription
15TDR_ENABLE0, RWTDR Enable:
Enable TDR mode. This forces po werup st ate to corre ct operati ng
condition for sending and receiving TDR pulses.
14TDR_100Mb0, RWTDR 100Mb:
Sets TDR controller to use the 100Mb Transmitter . This al lows f or
sending pulse widths in multiples of 8ns. Pulses in 100Mb mode
will alternate between positive pulses and negative pulses.
Default operation us es the 10Mb Link Pulse generator . Pulses may
include just the 50 ns preemphasis p ortion of the puls e or the 100ns
full link pulse (as controlled by setting TDR Width).
13TX_CHANNEL0, RWTransmit Channel Select:
Select transmit channel for sending pulses. Pulse can be sent on
the Transmit or Receive pair.
0 : Transmit channel
1 : Receive channel
12RX_CHANNEL0, RWReceive Channel Select:
Select receive channel for detecting pulses. Pulse can be moni-
tored on the Transmit or Receive pair.
0 : Transmit channel
1 : Receive channel
11SEND_TDR0, RW/SCSend TDR Pulse:
Setting this bit will send a TDR pulse a nd enable the monitor circuit
to capture the respons e. Thi s bit will au tom ati ca lly c le ar whe n t he
capture is complete.
10:8TDR_WIDTH0, RWTDR Pulse Width:
Pulse width in clocks for the transmitted pulse. In 100Mb mode,
pulses are in 8ns increments. In 10Mb mode, pulses are in 50ns
increments, bu t only 5 0ns or 10 0ns pulses can be sent. Se nding a
pulse of 0 width will not transmit a pulse, but allows for baseline
testing.
7TDR_MIN_MODE0, RWMin/Max Mode control:
This bit controls directio n of the pulse to be detec ted. Default looks
for a positive peak. Thres hol d an d pe ak va lue s wil l be int erpre ted
appropriately based on this bit.
0 : Max Mode, detect positive peak
1 : Min Mode, detect negative peak
6RESERVED0, RORESERVED: Writes ignored, read as 0.
5:0RX_THRESHOLD<10_0000>, RW RX Threshold:
This value provides a threshold for measurement to the start of a
peak. If Min Mode is set to 0, dat a must be great er than thi s valu e
to trigger a capture. If Min Mode is 1, data must be less than this
value to trigger a capture. Data ranges from 0x00 to 0x3F, with
0x20 as the midpoint . Positiv e dat a is grea ter than 0 x20, ne gative
This register contains sample window control for the Time Domain Reflectometry (TDR) cable diagnostics. The two values contained in thi s registe r specif y the begin ning and end tim es for the windo w to monit or the respon se to the tr ansmi tted pulse. Time values are in 8ns increments. This provides a method to search for multiple responses and also to
screen out the initial outgoing pulse.
15:9RESERVED0, RORESERVED: Writes ignored, read as 0.
8TDR_THR_MET0, ROTDR Threshold Met:
This bit indicates the TDR threshold was met during the sample
window. A value of 0 indicates the threshold was not met.
7:0TDR_THR_TIME0, ROTDR Threshold Time:
Specifies the time for the first data that met the TDR threshold.
This field is only valid if the threshold was met.
72 www.national.com
7.3.7 Variance Control Register (VAR_CTRL), Page 2, address 1Ah
The Variance Control and Data Registers provide control and status for the Cable Signal Quality Estimation function.
The Cable Signal Q ua lity Estim ation allows a simple method of determining an approximate Signal -to-Noi se Rati o for the
100Mb receiver. This register contains the programmable controls and status bits for the variance computation, which
can be used to make a simple Signal-to-Noise Ratio estimation.
Table 49. Variance Control Register (VAR_CTRL), address 1Ah
BitBit NameDefaultDescription
15VAR_RDY
14:4RESERVED0, RORESERVED: Writes ignored, read as 0.
3VAR_FREEZE
2:1VAR_TIMER0, RWVariance Computation Timer (in ms):
0VAR_ENABLE
0, RO
0, RW
0, RW
Variance Data Ready Status:
Indicates new data is available in the Variance data register. This
bit will be automatically cleared after two consecutive reads ot
VAR_DATA.
Freeze Variance Registers:
Freeze VAR_DATA register.
This bit is ensures that VAR_DATA register is frozen for software
reads. This bit is automati cally cleared after two consecut ive re ads
of VAR_DATA.
Selects the Variance computation timer period. After a new value
is written, computation is automatically restarted. New variance
register values are loaded after the timer elapses.
Var_Timer = 0 => 2 ms timer (default)
Var_Timer = 1 => 4 ms timer
Var_Timer = 2 => 6 ms timer
Var_Timer = 3 => 8 ms timer
Time units are actually 217 cycles of an 8ns clock, or 1.048576ms.
Variance Enable:
Enable Variance computation. Off by default.
DP83849C
7.3.8 Variance Data Register (VAR_DATA), Page 2, address 1Bh
This register cont ai ns the 32-bit Variance Sum . Th e c ont ents of the data are valid onl y whe n VAR_RDY is ass erte d i n th e
V AR_CTRL register. Upon detection of VAR_RDY asserted, sof tware should set the VAR_FREEZE bit in the VAR_ CTRL
register to prevent loading of a new value into the VAR_DATA register. Since the Variance Data value is 32-bits, two
reads of this register are required to get the full value.
Table 50. Variance Data Register (VAR_DATA), address 1Bh
BitBit NameDefaultDescription
15:0VAR_DATA0, ROVariance Data:
Two reads are required to re turn the full 32-bit Variance Sum value.
Following setting the VAR_FREEZE control, the first read of this
register will return the low 16 bits of the Variance data. A second
read will return the high 16 bits of Variance data.
73 www.national.com
7.3.9 Link Quality Monitor Register (LQMR), Page 2, address 1Dh
This register contains the controls for the Link Quality Monitor function. The Link Quality Monitor provides a mechanism
for programm ing a set of thr esholds fo r DSP parameter s. If the thre sholds are vi olated, an interrupt w ill be asser ted if
enabled in the MIS R. Mon ito r c on trol and status are available in this register, while the LQDR register co ntro ls rea d/w ri te
access to threshold value s and cu rrent p aramet er value s. Read ing of LQMR regis ter clears w arning bits and re-arms th e
interrupt generation. In add ition, th is registe r prov ides a mecha nims for al lowi ng auto matic reset of th e 100Mb link ba sed
on the Link Quality Monitor status
BitBit NameDefaultDescription
15LQM_ENABLE0, RWLink Quality Monitor Enable:
14:10RESERVED0, RORESERVED: Writes ignored, read as 0.
9FC_HI_WARN0, RO/CORFrequency Control High Warning:
8FC_LO_WARN0, RO/CORFrequency Control Low Warning:
7FREQ_HI_WARN0, RO/CORFrequency Offset High Warning:
Table 51. Link Quality Monitor Register (LQMR), address 1Dh
Enables the Link Qual ity Monitor . The enable is quali fied by having
a valid 100Mb link . In additi on, the indi vidual thre sholds can b e dis
abled by setting to the max or min values.
This bit indicates the Frequency Control High Threshold was ex-
ceeded. This register bit will be cleared on read.
This bit indicates the Frequency Control Low Threshold was ex-
ceeded. This register bit will be cleared on read.
This bit indicates the Frequency Offset High Threshold w as ex-
ceeded. This register bit will be cleared on read.
This bit indicates the Fre quency Offset Lo w Threshold was exce ed-
ed. This register bit will be cleared on read.
This bit indicates the DBLW High Threshold was exceeded. This
register bit will be cleared on read.
This bit indicates the DBLW Low Threshold was exceeded. This
register bit will be cleared on read.
This bit indicates the DAGC High Threshold was exceeded. This
register bit will be cleared on read.
This bit indicates the DAGC Low Threshold was exceeded. This
register bit will be cleared on read.
This bit indicates the DEQ C1 High Threshold w as exceeded. Th is
register bit will be cleared on read.
This bit indica tes t he DE Q C1 Low Thre shold was exce ede d. T his
register bit will be cleared on read.
-
DP83849C
74 www.national.com
7.3.10 Link Quality Data Register (LQDR), Page 2
This register provides rea d/w ri te co ntro l of thre sh old s fo r the 100 Mb Lin k Qu al ity Monito r func tio n. The reg is ter al so pr ovides a mechanism for reading current adapted parameter values. Threshold values may not be written if the device is
powered-down
BitBit NameDefaultDescription
15:14RESERVED0, RORESERVED: Writes ignored, read as 0.
Table 52. Link Quality Data Register (LQDR), address 1Eh
Setting this bit to a 1 enables reading of current parameter values
and initiates sampl ing of the p arameter valu e. The param eter to be
read is selected by the LQ_PARAM_SEL bits.
Setting this bit will ca use a wr ite to the Thres hold re giste r selec ted
by LQ_PARAM_SEL and LQ_THR_SEL. The data written is con-
tained in LQ_THR_DATA. This bit will always read back as 0.
This 3-bit field selec ts the Link Quality Parameter . This field is used
for sampling current pa rameter values as well as for reads/ writes to
Threshold values. The following encodings are available:
000: DEQ_C1
001: DAGC
010: DBLW
01 1: Freq uen cy Of fs et
100: Frequency Control
This bit select s the Link Quality Threshold to be read or written. A
0 selects the Low threshold, while a 1 selects the high threshold.
When combined with the LQ_PARAM_SEL field, the following en
codings are available {LQ_PARAM_SEL, LQ_THR_SEL}:
000,0: DEQ_C1 Low
000,1: DEQ_C1 High
001,0: DAGC Low
001,1: DAGC High
010,0: DBLW Low
010,1: DBLW High
011,0: Frequency Offset Low
011,1: Frequency Offset High
100,0: Frequency Control Low
100,1: Frequency Control High
The operation of this field is dependent on the value of the
Sample_Param bit.
If Sample_Param = 0:
On a write, this value cont ains the d ata to be written to th e select ed
Link Quality Threshold register.
On a read, this v alue con t ains the c urrent d ata in th e sel ected Link
Quality Threshold register.
If Sample_Param = 1:
On a read, this value contains the sampled parameter value. This
value will remain unchanged until a new read sequence is started.
-
DP83849C
75 www.national.com
8.0 Electrical Specifications
Note: All parameters are guaranteed by test, statistical
analysis or design.
Absolute Maximum Ratings
Supply Voltage (VCC)-0.5 V to 4.2 V
DC Input Voltage (VIN)-0.5V to VCC + 0.5V
DC Output Voltage (V
Storage Temperature (T
Lead Temp. (TL)
)-0.5V to VCC + 0.5V
OUT
)
STG
-65oC to 150°C
260 °C
(Soldering, 10 sec.)
ESD Rating
(R
= 1.5k, C
ZAP
= 100 pF)
ZAP
4.0 kV
Thermal CharacteristicMaxUnits
Maximum Case Temperature @ 1.0 W
Theta Junction to Case (Tjc) @ 1.0 W
Theta Junction to Ambient (Tja) degrees Celsius/Watt - No Airflow @ 1.0 W
Recommended Operating Conditions
Supply voltage (VCC)3.3 Volts + .3V
Commercial - Ambient Temperature (TA)
Power Dissipation (PD)594 mW
Absolute maximum ratings are those values beyond which
the safety of the device cannot be guaranteed. They are
not meant to imply that the device should be operated at
these limits.
DP83849C
0 to 70 °C
98°C
17.3°C / W
53°C / W
8.1 DC Specs
SymbolPin TypesParameterConditionsMinTypMaxUnits
V
IH
V
IL
I
IH
I
IL
V
OL
V
OH
I
OZ
V
TPTD_100
V
TPTDsym
I
I/O
I
I/O
I
I/O
I
I/O
O,
I/O
O,
I/O
I/O,
O
PMD Output
Pair
PMD Output
Pair
Input High Voltage Nominal V
CC
2.0V
Input Low Voltage0.8V
Input High Current VIN = V
CC
10µA
Input Low Current VIN = GND10µA
Output Low
IOL = 4 mA0.4V
Voltage
Output High
IOH = -4 mAVcc - 0.5V
Voltage
TRI-STATE
Leakage
100M Transmit
V
OUT
= V
CC
+ 10µA
0.9511.05V
Voltage
100M Transmit
+ 2%
Voltage Symmetry
V
TPTD_10
C
IN1
C
OUT1
PMD Output
Pair
10M Transmit
Voltage
ICMOS Input
Capacitance
OCMOS Output
Capacitance
2.22.52.8V
8pF
8pF
76 www.national.com
8.1 DC Specs (Continued)
SymbolPin TypesParameterConditionsMinTypMaxUnits
DP83849C
SD
SD
V
TH1
I
dd100
I
dd10
I
dd
THon
THoff
PMD Input
Pair
100BASE-TX
Signal detect turnon threshold
PMD Input
Pair
100BASE-TX
Signal detect turnoff threshold
PMD Input
Pair
10BASE-T Receive Threshold
Supply100BASE-TX
(Full Duplex)
Supply10BASE-T
(Full Duplex)
SupplyPower Down
Mode
1000mV diff p k-pk
200mV diff pk-pk
585mV
180mA
180mA
CLK2MAC disabled9.5mA
77 www.national.com
8.2 AC Specs
8.2.1 Power U p Timing
Vcc
X1 clock
Hardware
RESET_N
DP83849C
T2.1.1
32 clocks
MDC
T2.1.2
Latch-In of Hardware
Configuration Pins
input
Dual Function Pins
Become Enabled As Outputs
ParameterDescriptionNotesMinTypMaxUnits
T2.1.1Post Power Up Stabilization
time prior to M DC preamble for
register accesses
T2.1.2Hardware Configuration Latch-
in Time from power up
T2.1.3Hardware Configuration pins
transition to output drivers
MDIO is pulled h ig h fo r 32 -bi t s eria l ma nagement initializat ion
X1 Clock must be stable for a min. of
167ms at power up.
Hardware Configuration Pins are described in the Pin Description sec tio n
X1 Clock must be stable for a min. of
167ms at power up.
T2.1.3
output
167ms
167ms
50ns
Note: In RMII Mode, the minimum Post Power up Stabilization and Hardware Configuration Latch-in times are 84ms.
78 www.national.com
8.2.2 Reset Timing
Vcc
X1 clock
Hardware
RESET_N
MDC
DP83849C
T2.2.1
T2.2.4
32 clocks
T2.2.2
Latch-In of Hardware
Configuration Pins
input
Dual Function Pins
Become Enabled As Outputs
ParameterDescriptionNotesMinTypMaxUnits
T2.2.1Post RESET Stabili zation time
prior to MDC preamble fo r re gister accesses
T2.2.2Hardware Configuration Latch-
in Time from the Deassertion
of RESET (either soft or hard)
T2.2.3Hardware Configuration pins
transition to output drivers
T2.2.4RESET pulse widthX1 Clock must be stable for at min. of 1us
MDIO is pulled high for 32-bit serial management initializat ion
Hardware Configuration Pins are described in the Pin Description sec tio n
during RESET pulse low time.
T2.2.3
output
3µs
3µs
50ns
1µs
Note: It is important to choose pull-up and /or pu ll-down resistors for each of the hardwa re c onf igu r ati on p ins tha t prov id e
fast RC time constants in order to latch-in the proper value prior to the pin transitioning to an output driver.
79 www.national.com
8.2.3 MII Serial Management Timing
MDC
MDIO (output)
MDC
DP83849C
T2.3.1
T2.3.4
T2.3.2T2.3.3
MDIO (input)
ParameterDescriptionNotesMinTypMaxUnits
T2.3.1MDC to MDIO (Output) Delay Time030ns
T2.3.2MDIO (Input) to MDC Setup Time10ns
T2.3.3MDIO (Input) to MDC Hold Time10ns
T2.3.4MDC Frequency2.525MHz
8.2.4 100 Mb/s MII Transmit Timing
T2.4.1
TX_CLK
T2.4.2
TXD[3:0]
TX_EN
Valid Data
T2.4.1
T2.4.3
Valid Data
ParameterDescriptionNotesMinTypMax Units
T2.4.1TX_CLK High/Low Time100 Mb/s Normal mode162024ns
T2.4.2TXD[3:0], TX_EN Data Setup to TX_CLK100 Mb/s Normal mode10ns
T2.4.3TXD[3:0], TX_EN Data Hold from TX_CLK 100 Mb/s Normal mode0ns
80 www.national.com
8.2.5 100 Mb/s MII Receive Timing
DP83849C
T2.5.1
RX_CLK
T2.5.1
T2.5.2
RXD[3:0]
RX_DV
RX_ER
ParameterDescriptionNotesMinTypMaxUnits
T2.5.1RX_CLK High/Low Time100 Mb/s Normal mode162024ns
T2.5.2RX_CLK to RXD[3:0], RX_DV, RX_ER Delay 100 Mb/s Normal mode1030ns
Note: RX_CLK may be held low or high for a longer period of time during transition between reference and recovered
clocks. Minimum high and low times will not be violated.
8.2.6 100BASE-TX MII Transmit Packet Latency Timing
Valid Data
TX_CLK
TX_EN
TXD
PMD Output Pair
ParameterDescriptionNotesMinTypMaxUnits
T2.6.1TX_CLK to PMD Output Pair
Latency
Note: For Normal mode, latency is determ ined by m easuring the ti me fro m the first rising edge of TX_ CLK occ urring aft er
the assertion of TX_EN to the first bit of the “J” code group as output from the PMD Output Pair. 1 bit time = 10 ns in 100
Mb/s mode.
100BASE-TX mode5bits
T2.6.1
(J/K) IDLEDATA
81 www.national.com
8.2.7 100BASE-TX MII Transmit Packet Deassertion Timing
TX_CLK
TX_EN
TXD
T2.7.1
DP83849C
PMD Output Pair
(T/R) DATAIDLE
(T/R) DATAIDLE
ParameterDescriptionNotesMinTypMaxUnits
T2.7.1TX_CLK to PMD Output Pair
100BASE-TX mode5bits
Deassertion
Note: Deassertion is determined by measurin g th e ti me from the first rising edge of TX_C LK oc cu rrin g a f ter the deassertion of TX_EN to the first bit o f the “T” cod e group as output from the PMD Output Pair . 1 bi t time = 10 ns in 100 M b/s mode.
82 www.national.com
8.2.8 100BASE-TX Transmit Timing (t
+1 rise
& Jitter)
R/F
DP83849C
T2.8.1
90%
T2.8.1
10%
-1 fall
10%
90%
T2.8.1
-1 rise
T2.8.1
PMD Output Pair
T2.8.2
PMD Output Pair
eye pattern
ParameterDescriptionNotesMinTypMaxUnits
T2.8.1100 Mb/s PMD Output Pair tR
and t
F
100 Mb/s tR and tF Mismatch500ps
+1 fall
T2.8.2
345ns
T2.8.2100 Mb/s PMD Output Pair
Transmit Jitter
Note: Normal Mismatch is the difference between the maximum and minimum of all rise and fall times
Note: Rise and fall times taken at 10% and 90% of the +1 or -1 amplitude
83 www.national.com
1.4ns
8.2.9 100BASE-TX MII Receive Packet Latency Timing
DP83849C
PMD Input Pair
CRS
RXD[3:0]
RX_DV
RX_ER
ParameterDescriptionNotesMinTypMaxUnits
T2.9.1Carrier Sense ON Delay100BASE-TX mode20bits
T2.9.2Receive Data Latency100BASE-TX mode24bits
Note: Carrier Sense On Delay is determin ed by measuri ng the time from t he firs t bit of the “J” code group to the asse rtion
of Carrier Sense.
Note: 1 bit time = 10 ns in 100 Mb/s mode
Note: PMD Input Pair voltage amplitude is greater than the Signal Detect Turn-On Threshold Value.
8.2.10 100BASE-TX MII Receive Packet Deas sertion Timing
IDLE
T2.9.1
(J/K)
T2.9.2
Data
PMD Input Pair
CRS
ParameterDescriptionNotesMinTypMaxUnits
T2.10.1Carrier Sense OFF Delay100BASE-TX mode24bits
Note: Carrier Sense Off Delay is determined by mea surin g the ti me from the fir st bit o f the “T” c ode g roup to t he deas sertion of Carrier Sense.
Note: 1 bit time = 10 ns in 100 Mb/s mode
DATA
(T/R)
T2.10.1
IDLE
84 www.national.com
8.2.11 10 Mb/s MII Transmit Timing
DP83849C
T2.11.1
TX_CLK
T2.11.2
TXD[3:0]
TX_EN
ParameterDescriptionNotesMinTyp Max Units
T2.11.1TX_CLK High/Low Time 10 Mb/s MII mode190200210ns
T2.11.2TXD[3:0], TX_EN Data Setup to TX_CLK fall 10 Mb/s MII mode25ns
T2.11.3TXD[3:0], TX_EN Data Hold from TX_CLK rise 10 Mb/s MII mode0ns
Note: An attached Mac should drive the transmit signals using the positive edge of TX_CLK. As shown above, the MII
signals are sampled on the falling edge of TX_CLK.
8.2.12 10 Mb/s MII Receive Timing
Valid Data
T2.11.1
T2.11.3
T2.12.1T2.12.1
RX_CLK
T2.12.2
RXD[3:0]
RX_DV
ParameterDescriptionNotesMinTypMaxUnits
T2.12.1RX_CLK High/Low Time160200240ns
T2.12.2RX_CLK to RXD[3:0], RX_DV Delay10 Mb/s MII mode100ns
T2.12.3RX_CLK rising edge delay from RXD[3:0],
RX_DV Valid
Note: RX_CLK may be held low for a longer period of time during transition between reference and recovered clocks.
Minimum high and low times will not be violated.
T2.12.3
Valid Data
10 Mb/s MII mode100ns
85 www.national.com
8.2.13 10 Mb /s Serial Mode Transmit Timing
DP83849C
T2.13.1
TX_CLK
T2.13.3
TXD[0]
TX_EN
ParameterDescriptionNotesMinTyp Max Units
T2.13.1TX_CLK High Time 10 Mb/s Serial mode202530ns
T2.13.2TX_CLK Low Time 10 Mb/s Serial mode707580ns
T2.13.3TXD_0, TX_EN Data Setup to TX_CLK rise 10 Mb/s Serial mode25ns
T2.13.4TXD_0, TX_EN Data Hold from TX_CLK rise 10 Mb/s Serial mode0ns
8.2.14 10 Mb/s Serial Mode Receive Timing
Valid Data
T2.13.4
T2.13.2
T2.14.1
RX_CLK
T2.14.2
RXD[0]
RX_DV
ParameterDescriptionNotesMinTypMaxUnits
T2.14.1RX_CLK High/Low Time355065ns
T2.14.2RX_CLK fall to RXD_0, RX_DV Delay10 Mb/s Serial mode-1010ns
Note: RX_CLK may be held high for a longer period of time during transition between reference and recovered clocks.
Minimum high and low times will not be violated.
Valid Data
T2.14.1
86 www.national.com
8.2.15 10B ASE-T Transmit Timing (Start of Packet)
TX_CLK
TX_EN
TXD
T2.15.2
PMD Output Pair
T2.15.1
ParameterDescriptionNotesMinTypMaxUnits
T2.15.1Transmit Output Delay from the
Falling Edge of TX_CLK
T2.15.2Transmit Output Delay from the
Rising Edge of TX_CLK
10 Mb/s MII mode3.5bits
10 Mb/s Serial mode3.5bits
DP83849C
Note: 1 bit time = 100 ns in 10Mb/s.
8.2.16 10BASE-T Transmit Timing (End of P a cket)
TX_CLK
TX_EN
PMD Output Pair
PMD Output Pair
ParameterDescriptionNotesMinTypMaxUnits
T2.16.1End of Packet High Time
(with ‘0’ ending bit)
T2.16.2End of Packet High Time
(with ‘1’ ending bit)
00
T2.16.2
11
250300ns
250300ns
T2.16.1
87 www.national.com
8.2.17 10BASE-T Receive Timing (Start of Packet)
101010101011
TPRD±
T2.17.1
CRS
RX_CLK
T2.17.2
RX_DV
DP83849C
1st SFD bit decoded
T2.17.3
RXD[3:0]
ParameterDescriptionNotesMinTypMaxUnits
T2.17.1Carrier Sense Turn On Delay (PMD
Input Pair to CRS)
T2.17.2RX_DV Latency10bits
T2.17.3Receive Data LatencyMeasurement shown from SFD8bits
Note: 10BASE-T RX_DV Latency is measured from first bit of preamble on the wire to the assertion of RX_DV
Note: 1 bit time = 100 ns in 10 Mb/s mode.
Note: The signal amplitude on PMD Input Pair must be TP-PMD compliant.
8.2.24 100 Mb/s Internal Loopback Timing
TX_CLK
DP83849C
TX_EN
TXD[3:0]
CRS
RX_CLK
RX_DV
RXD[3:0]
ParameterDescriptionNotesMinTypMaxUnits
T2.24.1TX_EN to RX_DV Loopback100 Mb/s internal loopback mode240ns
T2.24.1
Note1: Due to the nature of the descrambler function, all 100BASE-TX Loopback modes will cause an initial “dead-time”
of up to 550 µs during which time no data will be present at the receive MII outputs. The 100BASE-TX timing specified is
based on device delays after the initial 550µs “dead-time”.
Note2: Measurement is made from the first rising edge of TX_CLK after assertion of TX_EN.
91 www.national.com
8.2.25 10 Mb/s Internal Loopback Timing
TX_CLK
TX_EN
TXD[3:0]
DP83849C
CRS
RX_CLK
RX_DV
RXD[3:0]
ParameterDescriptionNotesMinTypMaxUnits
T2.25.1TX_EN to RX_DV Loopback10 Mb/s internal loopback mode2µs
Note: Measurement is made from the first rising edge of TX_CLK after assertion of TX_EN.
T2.25.1
92 www.national.com
8.2.26 RMII Transmit Timing
X1
DP83849C
T2.26.1
T2.26.2
TXD[1:0]
TX_EN
PMD Output Pair
ParameterDescriptionNotesMinTyp Max Units
T2.26.1X1 Clock Period50 MHz Reference Clock20ns
T2.26.2TXD[1:0], TX_EN, Data Setup
T2.27.3CRS ON delay (100Mb)100BASE-TX mode18.5bits
T2.27.4CRS OFF delay (100Mb)100BASE-TX mode27bits
T2.27.5RXD[1:0] and RX_ER latency
100BASE-TX mode38bits
(100Mb)
Note: Per the RMII Specification, output delays assume a 25pF load.
Note: CRS_DV is asserted asynchrono usly in o rder to mini mize latenc y of contr ol signa ls th rough t he Phy. CRS_DV ma y
toggle synchronously at the end of the packet to indicate CRS deassertion.
Note: RX_DV is synchronous to X1. While not part o f the RM II specif ica tion, th is signal is prov ided to simpl ify recov ery of
receive data.
Note: CRS ON delay is measured from the first bit of the JK symbol on the PMD Receive Pair to initial assertion of
CRS_DV.
Note: CRS_OFF delay is measured from the first bit of the TR symbol on the PMD Receive Pair to initial deassertion of
CRS_DV.
Note: Receive Latency is measured from the first bit of the symbol pa ir on the PMD Receiv e Pair . T ypi cal values are with
the Elasticity Buffer set to the default value (01).
94 www.national.com
8.2.28 Isolation Timing
Clear bit 10 of BMCR
(return to normal operation
from Isolate mode)
T2.28.1
MODE
ISOLATE
ParameterDescriptionNotesMinTypMaxUnits
T2.28.1From software cl ear of bit 10 in
the BMCR register to the transi
tion from Isolate to Normal Mode
-
NORMAL
100µs
DP83849C
8.2.29 CLK2MAC Timing
X1
T2.29.1T2.29.1
CLK2MAC
ParameterDescriptionNotesMinTypMaxUnits
T2.29.1CLK2MAC High/Low TimeMII mode20ns
T2.29.2CLK2MAC propagation delayRelative to X18ns
Note: CLK2MAC characteristics are dependent upon the X1 input characteristics.
T2.29.2
RMII mode10ns
95 www.national.com
9.0 Physical Dimensions
inches (millimeters) unless otherwise noted
Thin Quad Flat Package (TQFP)
NS Package Number VHB80A
LIFE SUPPORT POLICY
NATIONAL’S PRODUCTS ARE NOT AUTHORIZED FOR USE AS CRITICAL COMPONENTS IN LIFE SUPPORT
DEVICES OR SYSTEMS WITHOUT THE EXPRESS WRITTEN APPROVAL OF THE PRESIDENT AND GENERAL
COUNSEL OF NATIONAL SEMICONDUCTOR CORPORATION. As used herein:
1. Life support devices or systems are devices or systems which,
(a) are intended for surgical implant into the body, or (b) support
or sustain life, and whose failure to perform, when properly used
in accordance with instructions for use provided in the labeling,
can be reasonably expected to result in a significant injury to the
user.
2. A critical component is any component of a life support device
or system whose failure to perform can be reasonably expected
to cause the failure of the life support device or system, or to affect its safety or effectiveness.
BANNED SUBSTANCE COMPLIANCE
National Semiconductor certifies that the products and packing mat erials meet the provisions of the Customer Products Stewardship
DP83849C PHYTER® DUAL Commercial T emperature Dual Port 10/100 Mb/s Ethernet Physical Layer Transcei ver
Specification (CSP-9-111C2) and the Banned Substances and Materials of Interest Specification (CSP-9-111S2) and contain no “Banned
Substances” as defined in CSP-9-111S2.
National does not assume any responsibility for use of any circuitry described, no circuit patent licenses are implied and National reserves the right at any time without notice to change said circuitry and specifications.
Loading...
+ 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.