The DP83256/56-AP/57 Enhanced Physical Layer Controller (PLAYER
Layer (PHY) entity as defined by the Fiber Distributed Data
Interface (FDDI) ANSI X3T9.5 standard.
The PLAYER
clock recovery and improved clock generation functions to
enhance performance, eliminate external components and
remove critical layout requirements.
FDDI Station Management (SMT) is aided by Link Error
Monitoring support, Noise Event Timer (TNE) support, Optional Auto Scrubbing support, an integrated configuration
switch and built-in functionality designed to remove all stringent response time requirements such as PCÐReact and
CFÐReact.
Features
Y
Single chip FDDI Physical Layer (PHY) solution
Y
Integrated Digital Clock Recovery Module provides enhanced tracking and greater lock acquisition range
Y
Integrated Clock Generation Module provides all necessary clock signals for an FDDI system from an external
12.5 MHz reference
a
Device (FDDI Physical Layer Controller)
a
device) implements one complete Physical
a
device integrates state of the art digital
PRELIMINARY
October 1994
Y
Alternate PMD Interface (DP83256-AP/57) supports
UTP twisted pair FDDI PMDs with no external clock recovery or clock generation functions required
Y
No External Filter Components
Y
Connection Management (CMT) Support (LEM, TNE,
PCÐReact, CFÐReact, Auto Scrubbing)
Y
Full on-chip configuration switch
Y
Low Power CMOS-BIPOLAR design using a single 5V
supply
Y
Full duplex operation with through parity
Y
Separate management interface (Control Bus)
Y
Selectable Parity on PHY-MAC Interface and Control
Bus Interface
Y
Two levels of on-chip loopback
Y
4B/5B encoder/decoder
Y
Framing logic
Y
Elasticity Buffer, Repeat Filter, and Smoother
Y
Line state detector/generator
Y
Supports single attach stations, dual attach stations
and concentrators with no external logic
Y
DP83256 for SAS/DAS single path stations
Y
DP83257 for SAS/DAS single/dual path stations
Y
DP83256-AP for SAS/DAS single path stations that require the alternate PMD interface
a
Device (FDDI Physical Layer Controller)
FIGURE 1-1. FDDI Chip Set Overview
TL/F/11708– 1
TRI-STATEÉis a registered trademark of National Semiconductor Corporation.
TM
BMAC
, BSITM, CDDTM, CDLTM, CRDTM, CYCLONETM, MACSITM, PLAYERTM, PLAYER
C
1995 National Semiconductor CorporationRRD-B30M115/Printed in U. S. A.
TL/F/11708
TM
a
and TWISTERTMare trademarks of National Semiconductor Corporation.
Table of Contents
1.0 FDDI CHIP SET OVERVIEW
1.1 FDDI 2-Chip Set
1.2 FDDI TP-PMD Solutions
2.0 ARCHITECTURE DESCRIPTION
2.1 Block Overview
2.2 Interfaces
3.0 FUNCTIONAL DESCRIPTION
3.1 Clock Recovery Module
3.2 Receiver Block
3.3 Transmitter Block
3.4 Configuration Switch
3.5 Clock Generation Module
3.6 Station Management Support
3.7 PHY-MAC Interface
3.8 PMD Interface
4.0 MODES OF OPERATION
4.1 Run Mode
4.2 Stop Mode
4.3 Loopback Mode
4.4 Device Reset
4.5 Cascade Mode
5.0 REGISTERS
5.1 Mode Register (MR)
5.2 Configuration Register (CR)
5.3 Interrupt Condition Register (ICR)
5.4 Interrupt Condition Mask Register (ICMR)
5.5 Current Transmit State Register (CTSR)
5.6 Injection Threshold Register (IJTR)
5.7 Injection Symbol Register A (ISRA)
5.8 Injection Symbol Register B (ISRB)
5.9 Current Receive State Register (CRSR)
5.10 Receive Condition Register A (RCRA)
5.11 Receive Condition Register B (RCRB)
5.12 Receive Condition Mask Register A (RCMRA)
5.13 Receive Condition Mask Register B (RCMRB)
5.14 Noise Threshold Register (NTR)
5.15 Noise Prescale Threshold Register (NPTR)
5.16 Current Noise Count Register (CNCR)
5.17 Current Noise Prescale Count Register (CNPCR)
5.18 State Threshold Register (STR)
5.19 State Prescale Threshold Register (SPTR)
5.20 Current State Count Register (CSCR)
5.21 Current State Prescale Count Register (CSPCR)
National Semiconductor’s next generation FDDI 2-chip set
consists of two components as shown in
a
PLAYER
CRD
device integrates the features of the DP83231
TM
Clock Recovery Device, DP83241 CDDTMClock
Distribution Device, and DP83251/55 PLAYER
Layer Controller. In addition, the PLAYER
Figure 1-1
TM
a
Physical
device contains
. The
enhanced SMT support.
National Semiconductor’s FDDI TP-PMD Solutions consist
of two componentsÐthe DP83222 CYCLONE
Pair FDDI Stream Cipher Device and the DP83223A
TWISTER
TM
Twisted Pair FDDI Transceiver Device.
TM
Twisted
For more information on the other devices of the chip set,
consult the appropriate datasheets and application notes.
1.1 FDDI 2-CHIP SET
DP83256/56-AP/57 PLAYER
a
Device Physical Layer Controller
The PLAYERadevice implements the Physical Layer
(PHY) protocol as defined by the ANSI FDDI PHY X3T9.5
standard.
Features
Y
Single chip FDDI Physical Layer (PHY) solution
Y
Integrated Digital Clock Recovery Module provides enhanced tracking and greater lock acquisition range
Y
Integrated Clock Generation Module provides all necessary clock signals for an FDDI system from an external
12.5 MHz reference
Y
Alternate PMD Interface (DP83256-AP/57) supports
UTP twisted pair FDDI PMDs with no external clock recovery or clock generation functions required
Y
No External Filter Components
Y
Connection Management (CMT) Support (LEM, TNE,
PCÐReact, CFÐReact, Auto Scrubbing)
Y
Full on-chip configuration switch
Y
Low Power CMOS-BIPOLAR design using a single 5V
supply
Y
Full duplex operation with through parity
Y
Separate management interface (Control Bus)
Y
Selectable Parity on PHY-MAC Interface and Control
Bus Interface
Y
Two levels of on-chip loopback
Y
4B/5B encoder/decoder
Y
Framing logic
Y
Elasticity Buffer, Repeat Filter, and Smoother
Y
Line state detector/generator
Y
Supports single attach stations, dual attach stations
and concentrators with no external logic
Y
DP83256/56-AP for SAS/DAS single path stations
Y
P83257 for SAS/DAS single/dual path stations
In addition, the DP83257 contains the additional PHYÐData.request and PHYÐData.indicate ports required for concentrators and dual attach, dual path stations.
DP83266 MACSITMDevice Media
Access Controller and System
Interface
The DP83266 Media Access Controller and System Interface (MACSI) implements the ANSI X3T9.5 Standard Media
Access Control (MAC) protocol for operation in an FDDI
token ring and provides a comprehensive System Interface.
The MACSI device transmits, receives, repeats, and strips
tokens and frames. It produces and consumes optimized
data structures for efficient data transfer. Full duplex architecture with through parity allows diagnostic transmission
and self testing for error isolation in point-to-point connections.
The MACSI device includes the functionality of both the
DP83261 BMAC device and the DP83265 BSI-2 device with
additional enhancements for higher performance and reliability.
Features
Y
Over 9 Kbytes of on-chip FIFO
Y
5 DMA Channels (2 Output and 3 Input)
Y
12.5 MHz to 33 MHz operation
Y
Full duplex operation with through parity
Y
Real-time VOID frame stripping indicator for bridges
Y
On-chip Address bit swapping capability
Y
32-bit wide Address/Data path with byte parity
Y
Programmable transfer burst sizes of 4 or 8 32-bit
words
Y
Receive frame filtering services
Y
Frame-per-Page mode controllable on each DMA
channel
Y
Demultiplexed Addresses supported on ABus
Y
New multicast address matching
Y
ANSI X3T9.5 MAC standard defined ring service options
Y
Supports all FDDI Ring Scheduling Classes (Synchronous, Asynchronous, etc.)
Y
Supports Individual, Group, Short, Long, and External
Addressing.
DP83223A TWISTER High Speed
Networking Transceiver Device
General Description
The DP83222 CYCLONE Stream Cipher Scrambler/Descrambler Device is an integrated circuit designed to interface directly with the serial bit streams of a Twisted Pair
FDDI PMD. The DP83222 is designed to be fully compatible
with the National Semiconductor FDDI Chip Sets, including
twisted pair FDDI Transceivers, such as the DP83223A
Twisted Pair Transceiver (TWISTER). The DP83222 requires a 125 MHz Transmit Clock and corresponding Receive Clock for synchronous data scrambling and descrambling. The DP83222 is compliant with the ANSI X3T9.5
TP-PMD standard and is required for the reduction of EMI
emission over unshielded media. The DP83222 is specified
to work in conjunction with existing twisted pair transceiver
signalling schemes and enables high bandwidth transmission over Twisted Pair copper media.
Features
Y
Enables 100 Mbps FDDI signalling over Category 5
Unshielded Twisted Pair (UTP) cable and Type 1
Shielded Twisted Pair (STP)
Y
Reduces EMI emissions over Twisted Pair media
Y
Compatible with ANSI X3T9.5 TP-PMD standard
Y
Requires a singlea5V supply
Y
Transparent mode of operation
Y
Flexible NRZ and NRZI format options
Y
Advanced BiCMOS process
Y
Signal Detect and Clock Detect inputs provided for enhanced functionality
Y
Suitable for Fiber Optic PMD replacement applications
General Description
The DP83223A Twisted Pair Transceiver is an integrated
circuit capable of driving and receiving either binary or
(MLT-3) encoded datastreams. The DP83223A Transceiver
is designed to interface directly with standards compliant
FDDI, 100BASE-TX or STS-3c ATM chip sets, allowing low
cost data links over copper based media. The DP83223A
allows links of up to 100 meters over both Shielded Twisted
Pair (STP) and datagrade Unshielded Twisted Pair (UTP) or
equivalent. The electrical performance of the DP83223A
meets or exceeds all performance parameters specified
in the ANSI X3T9.5 TP-PMD standard, the IEEE 802.3
100BASE-TX Fast Ethernet Specification and the ATM Forum 155 Mbps Twisted Pair PMD Interface Specification.
The DP83223A also provides important features such as
baseline restoration, TRI-STATE
capable transmit outputs,
É
and controlled transmit output edge rates (to reduce EMI
radiation) for both binary and MLT-3 modes of operation.
Features
Y
Compliant with ANSI X3T9.5 TP-PMD standard
Y
Compliant with IEEE 802.3 100BASE-TX Ethernet draft
standard
Y
Compliant with ATM Forum 155 Mbps Twisted Pair
Specification
Y
Integrated baseline restoration circuit
Y
Integrated transmitter and receiver with adaptive equalization circuit
Y
Programmable binary or MLT-3 operation
Y
Isolated TX and RX power supplies for minimum noise
coupling
Y
Controlled transmit output edge rates for reduced EMI
Y
TRI-STATE capable current transmit outputs
Y
Loopback feature for board diagnostics
Y
Programmable transmit voltage amplitude
4
2.0 Architecture Description
2.1 BLOCK OVERVIEW
The PLAYERadevice is comprised of six blocks: Clock
Recovery, Receiver, Configuration Switch, Transmitter, Station Management (SMT) Support, and Clock Generation
Module as shown in
Clock Recovery
The Clock Recovery Module accepts a 125 Mbps NRZI data
stream from the external PMD receiver. It then provides the
extracted and synchronized data and clock to the Receiver
block.
The Clock Recovery Module performs the following operations:
Locks to and tracks the incoming NRZI data stream
#
Extracts data stream and synchronized 125 MHz clock
#
Receiver
During normal operation, the Receiver Block accepts serial
data as inputs at the rate of 125 Mbps from the Clock Recovery Module. During the Internal Loopback mode of operation, the Receiver Block accepts data directly from the
Transmitter Block.
Figure 2-1
.
The Receiver Block performs the following operations:
Optionally converts the incoming data stream from NRZI
#
to NRZ.
Decodes the data from 5B to 4B coding.
#
Converts the serial bit stream into 10-bit bytes composed
#
of 8 bits data, 1 bit parity, and 1 bit control information.
Compensates for the differences between the upstream
#
station clock and the local clocks.
Decodes Line States.
#
Detects link errors.
#
Presents data symbol pairs (bytes) to the Configuration
#
Switch Block.
Configuration Switch
An FDDI station may be in one of three configurations: Isolate, Wrap or Thru. The Configuration Switch supports these
configurations by switching the transmitted and received
data paths between PLAYER
MACSI devices.
The configuration switch is integrated into the PLAYER
device, therefore no external logic is required for this function.
Setting the Configuration switch can be done explicitly via
the Control Bus Interface or it can be set automatically with
the CFÐReact SMT Support feature.
a
devices and one or more
a
FIGURE 2-1. PLAYERaDevice Block Diagram
5
TL/F/11708– 2
2.0 Architecture Description (Continued)
Transmitter
The Transmitter Block accepts 10-bit bytes composed of 8
bits data, 1 bit parity, and 1 bit control information from the
Configuration Switch.
The Transmitter Block performs the following operations:
Encodes the data from 4B to 5B coding.
#
Filters out code violations from the data stream.
#
Generates Idle, Master, Halt, Quiet, or other user defined
#
symbol pairs upon request.
Converts the data stream from NRZ to NRZI format for
#
transmission.
Provides smoothing function when necessary.
#
During normal operation, the Transmitter Block presents serial data to the PMD transmitter. While in Internal Loopback
mode, the Transmitter Block presents serial data to the Receiver Block. While in the External Loopback mode, the
Transmitter Block presents serial data to the Clock Recovery Module.
Clock Generation Module
The Clock Generation Module is an integrated phase locked
loop that generates all of the required clock signals for the
a
PLAYER
12.5 MHz reference.
The Clock Generation Module features:
#
#
#
#
#
Station Management (SMT) Support
The Station Management Support Block provides a number
of useful features to simplify the implementation of the Connection Management (CMT) portion of SMT.
These features eliminate the time critical CMT response
time constraints imposed by PCÐReact and CFÐReact
times.
Integrated counters and timers eliminate the need for additional external devices.
The following are the CMT features supported:
#
#
#
#
#
#
2.2 INTERFACES
The PLAYER
functional interfaces: PMD Interface, PHY Port Interface,
Control Bus Interface, Clock Interface, and the Miscellaneous Interface.
device and an FDDI system from a single
High precision clock timing generated from a single
12.5 MHz reference.
Multiple precision phased (8 ns/16 ns) 12.5 MHz Local
Byte Clocks to eliminate timing skew in large multi-board
concentrator configurations.
LBC timing which is insensitive to loading variations over
a wide range (20 pF to 70 pF) of LBC loads.
A selectable dual frequency system clock.
Low clock edge jitter, due to high VCO stability.
PCÐReact
CFÐReact
Auto Scrubbing (TCF Timer)
Timer, Idle Detection (TID Timer)
Noise Event Counter (TNE Timer)
Link Error Monitor (LEM Counter)
a
device connects to other devices via five
PMD Interface
The PMD Interface connects the PLAYER
standard FDDI Physical Media Connection such as a fiber
optic transceiver or a copper twisted pair transceiver. It is a
125 MHz full duplex serial connection.
The DP83256-AP and DP83257 PLAYER
two PMD interfaces. The Primary PMD Interface should be
used for all PMD implementations that do not require an
external scrambler/descrambler function, clock recovery
function, or clock generation function, such as a Fiber Optic
or Shielded Twisted Pair (SDDI) PMD. The second, Alternate PMD Interface can be used to support Unshielded
Twisted Pair (UTP) PMDs that require external scrambling,
and allows implementation with no external clock recovery
or clock generation functions required.
PHY Port Interface
The PHY Port Interface connects the PLAYER
one or more MAC devices and/or PLAYER
PHY Port Interface consists of two byte-wide interfaces, one
for PHY Request data input to the PLAYER
one for the PHY Indicate data output of the PLAYER
vice. Each byte-wide interface consists of a parity bit (odd
parity), a control bit, and two 4-bit symbols.
The DP83257 PLAYER
es while the DP83256 has one PHY Port Interface.
Control Bus Interface
The Control Bus Interface connects the PLAYER
to a wide variety of microprocessors and microcontrollers.
The Control Bus is an asynchronous interface which provides access to 64 8-bit registers which monitor and control
the behavior of the PLAYER
The Control Bus Interface allows a user to:
Configure SMT features.
#
Program the Configuration Switch.
#
Enable/disable functions within the Transmitter and Re-
#
ceiver Blocks (i.e., NRZ/NRZI Encoder, Smoother, PHY
Request Data Parity, Line State Generation, Symbol pair
Injection, NRZ/NRZI Decoder, Cascade Mode, etc.).
The Control Bus Interface also can be used to perform the
following functions:
Monitor Line States received.
#
Monitor link errors detected by the Receiver Block.
#
Monitor other error conditions.
#
Clock Interface
The Clock Interface is used to configure the Clock Generation Module and to provide the required clock signals for an
FDDI system.
The following clock signals are generated:
5 phase offset 12.5 MHz Local Byte Clocks
#
25 MHz Local Symbol Clock
#
15.625 or 31.25 MHz System Clock
#
Miscellaneous Interface
The Miscellaneous Interface consists of:
A reset signal.
#
User definable sense signals.
#
User definable enable signals.
#
Synchronization for cascading PLAYERadevices (a
#
high-performance non-FDDI mode).
Device Power and Ground pins.
#
a
device has two PHY Port Interfac-
a
device.
a
device to a
a
devices contain
a
device to
a
devices. Each
a
device and
a
a
de-
device
6
3.0 Functional Description
The PLAYERadevice is comprised of six blocks: Clock
Recovery, Receiver, Transmitter, Configuration Switch,
Clock Generation, and Station Management Support.
3.1 CLOCK RECOVERY MODULE
The Clock Recovery Module accepts a 125 Mbps NRZI data
stream from the external PMD receiver. It then provides the
extracted and synchronized data and clock to the Receiver
block.
The Clock Recovery Module performs the following operations:
Locks onto and tracks the incoming NRZI data stream
#
Extracts the data stream and the synchronized 125 MHz
#
clock
The Clock Recovery Module is implemented using an advanced digital architecture that replaces sensitive analog
blocks with digital circuitry. This allows the PLAYER
vice to be manufactured to tighter tolerances since it is less
sensitive to processing variations that can adversely affect
analog circuits.
The Clock Recovery Module is comprised of 5 main functional blocks:
Digital Phase Detector
Digital Phase Error Processor
Digital Loop Filter
Digital Phase to Frequency Converter
Frequency Controlled Oscillator
See
Figure 3-1
, Clock Recovery Module Block Diagram.
a
de-
DIGITAL PHASE DETECTOR
The Digital Phase Detector has two main functions: phase
error detection and data recovery.
Phase error detection is accomplished by a digital circuit
that compares the input data (PMID) to an internal phaselocked 125 MHz reference clock and generates a pair of
error signals. The first signal is a pulse whose width is equal
to the phase error between the input data and a reference
clock and the second signal isa4nsreference pulse.
These signals are fed into the Digital Phase Error Processor
block.
The data recovery function converts the incoming encoded
data stream (PMID) into synchronized data and clock signals. When the circuit is in lock the rising edge of the recovered clock is exactly centered in the recovered data bit cell.
The digital phase detector uses a common path for phase
error detection and data recovery so as to minimize clock
Static Alignment Error (SAE). Phase error averaging is also
included so that phase errors generated by positive and
negative PMID edges equally affect the clock recovery circuit. This greatly improves the immunity to Duty Cycle Distortion (DCD) in the data recovery circuit.
DIGITAL PHASE ERROR PROCESSOR
The Digital Phase Error Processor is responsible for sampling the Phase Detector’s phase error outputs and producing two digital outputs that indicate to the digital loop filter
how to adjust for a difference between the data phase and
reference phases.
The Phase Error Processor is designed to eliminate the effects of different clock edge densities between data symbols and the various line state symbols on the PLL’s loop
gain.
FIGURE 3-1. Clock Recovery Module Block Diagram
7
TL/F/11708– 3
3.0 Functional Description (Continued)
Since the loop gain is held constant regardless of the incoming signal edge density, PLL characteristics such as jitter, acquisition rate, locking range etc., are deterministic and
show minimal spread under various operating environments.
The phase error processor also automatically puts the loop
in open-loop-mode when the incoming data stream contains
abnormal low edge rates. When the PLL is in open-loopmode, no update is made to the PLL’s filter variables in the
filter block. The PLL can then use the pretrained frequency
and phase contents to perform data recovery. Since the
loop is implemented digitally, these values (the frequency
and phase variables) are retained. The resolution of the frequency variable is about 1.3 ppm of the incoming frequency.
The resolution of the phase variable is about 40 ps.
DIGITAL LOOP FILTER
The digital loop filter emulates a 1-pole, 1-zero filter and
uses an automatic acquisition speed control circuit to dynamically adjust loop parameters.
The digital loop filter takes the phase error indicator signals
Data Valid and Up/Down from the Phase Error processor
and accumulates errors over a few cycles before passing on
the Data Valid and Up/Down signals to the Phase Error to
Frequency converter.
The filter has 4 sets of bandwidth and damping parameters
which are switched dynamically by an acquisition control
circuit. The input Signal Detect (SD) starts the sequence
and, thereafter, no user programming is required to finish
the sequence.
At the completion of the locking sequence, the loop has the
narrowest bandwidth such that the loop produces minimal
recovered clock jitter. The PLL can track an incoming frequency offset of approximately
sition sequence, the equivalent natural frequency of the
loop is reduced to about 7 kHz (
offset.
The automatic tracking mechanism allows the loop to quickly lock onto the initial data stream for data recovery (typically less than 10 ms) and yet produce very little recovered
clock jitter.
PHASE ERROR TO FREQUENCY CONVERTER (O–F)
The Phase Error to Frequency Converter takes the Data
Valid and Up/Down signals modified by the Digital Loop
Filter and converts them to triangle waves. The frequency of
the triangle waves is then used to control the Frequency
Controlled Oscillator’s (FCO) 250 MHz oscillations.
g
200 ppm. After the acqui-
g
56 ppm) of frequency
Each valid Up or Down signal causes a partial 7-bit counter
(using only 96 counts) to increment or decrement at the
O
–F converter’s clock rate of 15.625 MHz (250 MHz/16).
When the Data Valid signal is not asserted, the counter
holds count.
The counter value is used to produce 3 triangle waves that
are offset in phase by 120 degrees. This is done with a
special Pulse Density Modulator waveform synthesizer
which takes the place of a traditional Digital-Analog converter. The frequency of the triangle waves tells the Frequency
Controlled Oscillator how much to adjust oscillation. The
phase relationships (leading or lagging) between the 3 signals indicates the direction of change.
The minimum frequency of the triangle waves is 0 and corresponds to the case when the PLL is in perfect lock with
the incoming signal.
The maximum frequency that the
O
–F converter can produce determines the locking range of the PLL. In this case
the maximum frequency of each triangle wave is 162.76
kHz, which is produced when the
continuous count in one direction that is valid every
O
–F converter gets a
O
–F
converter clock cycle of 15.625 MHz (250 MHz/16). The
triangle waves have an amplitude resolution of 48 digital
steps, so a full rising and falling period takes 96 counts
which produces a maximum frequency of 162.76 kHz
(1/(1/15.625 kHz * 96)).
The 96 digital counts of the triangle waves also lead to a
very fine PLL phase resolution of 42 ps (4 ns/96 counts).
This high phase resolution is achieved using very low frequency signals, in contrast to a standard PLL which must
operate at significantly higher frequencies than the data being tracked to achieve such high phase resolution.
FREQUENCY CONTROLLED OSCILLATOR (FCO)
The frequency controlled oscillator produces a 250 MHz
clock that, when divided by 2, is phase locked to the incoming data’s clock.
The FCO uses three 250 MHz reference clock signals from
the Clock Generation Module and three 0 Hz to 162.76 kHz
error clock signals from the Phase Error to Frequency Converter as inputs. Each signal in a triplet is 120 degrees
phase shifted from the next.
Each corresponding pair (one 250 MHz and one error signal) of signals is mixed together using an amplitude switching modulator, with the error signal modulating the reference. All of the outputs are then summed together to produce the final 250 MHz
where f
is the error frequency.
m
a
fmphase locked clock signal,
8
3.0 Functional Description (Continued)
3.2 RECEIVER BLOCK
During normal operation, the Receiver Block accepts serial
data input at the rate of 125 Mbps from the Clock Recovery
Module. During the Internal Loopback mode of operation,
the Receiver Block accepts input data from the Transmitter
Block.
The Receiver Block performs the following operations:
Optionally converts the incoming data stream from NRZI
#
to NRZ.
Decodes the data from 5B to 4B coding.
#
Converts the serial bit stream into the National byte-wide
#
code.
Compensates for the differences between the upstream
#
station clock and the local clock.
Decodes Line States.
#
Detects link errors.
#
Presents data symbol pairs to the Configuration Switch
#
Block.
The Receiver Block consists of the following functional
blocks:
NRZI to NRZ Decoder
Shift Register
Framing Logic
Symbol Decoder
Line State Detector
Elasticity Buffer
Link Error Detector
See
Figure 3-2.
NRZI TO NRZ DECODER
The NRZI to NRZ Decoder converts Non-Return-To-ZeroInvert-On-Ones data to Non-Return-To-Zero format.
NRZ format data is the natural data format that the receiver
block utilizes internally, so this function is required when the
standard NRZI format data is fed into the device. The receiver block can bypass this conversion function in the case
where an alternate data source outputs NRZ format data.
This function can be enabled and disabled through bit 7
(RNRZ) of the Mode Register (MR). When the bit is cleared,
it converts the incoming bit stream from NRZI to NRZ. This
is the normal configuration required. When the bit is set, the
incoming NRZ bit stream is passed unchanged.
SHIFT REGISTER
The Shift Register converts the serial bit stream into symbol-wide data for the 5B/4B Decoder.
The Shift Register also provides byte-wide data for the
Framing Logic.
FRAMING LOGIC
The Framing Logic performs the Framing function by detecting the beginning of a frame or the Halt-Halt or Halt-Quiet
symbol pair.
The J-K symbol pair (11000 10001) indicates the beginning
of a frame during normal operation. The Halt-Halt (00100
00100) and Halt-Quiet (00100 00000) symbol pairs are detected for Connection Management (CMT).
FIGURE 3-2. Receiver Block Diagram
9
TL/F/11708– 4
3.0 Functional Description (Continued)
Framing may be temporarily suspended (i.e. framing hold),
in order to maintain data integrity.
Detecting JK
The JK symbol pair can be used to detect the beginning of a
frame during Active Line State (ALS) and Idle Line State
(ILS) conditions.
While the Line State Detector indicates Idle Line State the
receiver ‘‘reframes’’ upon detecting a JK symbol pair and
enters the Active Line State.
During Active Line State, acceptance of a JK symbol (reframing) is allowed for any on-boundary JK which is detected at least 1.5 byte times after the previous JK.
During Active Line State, once reframed on a JK, a subsequent off-boundary JK is ignored, even if it is detected beyond 1.5 byte times after the previous JK.
During Active Line State, an Idle or Ending Delimiter (T)
symbol will allow reframing on any subsequent JK, if a JK is
detected at least 1.5 byte times after the previous JK.
Detecting HALT-HALT AND HALT-QUIET
During Idle Line State, the detection of a Halt-Halt, or HaltQuiet symbol pair will still allow the reframing of any subsequent on-boundary JK.
Once a JK is detected during Active Line State, off-boundary Halt-Halt, or Halt-Quiet symbol pairs are ignored until the
Elasticity Buffer (EB) has an opportunity to recenter. They
are treated as violations.
After recentering on a Halt-Halt, or Halt-Quiet symbol pair,
all off boundary Halt-Halt or Halt-Quiet symbol pairs are ignored until the EB has a chance to recenter during a line
state other than Active Line State (which may be as long as
2.8 byte times).
SYMBOL DECODER
The Symbol Decoder is a two level system. The first level is
a 5-bit to 4-bit converter, and the second level is a 4-bit
symbol pair to byte-wide code converter.
The first level latches the received 5-bit symbols and decodes them into 4-bit symbols. Symbols are decoded into
two types: data and control. The 4-bit symbols are sent to
the Line State Detector and the second level of the Symbol
Decoder. See Table 3-1 for the 5B/4B Symbol Decoding
list.
The second level translates two symbols from the 5B/4B
converter and the line state information from the Line State
Detector into the National byte-wide code.
LINE STATE DETECTOR
The ANSI X3T9.5 FDDI Physical Layer (PHY) standard
specifies eight Line States that the Physical Layer can
transmit. These Line States are used in the Connection
Management process. They are also used to indicate data
within a frame during normal operation.
The Line States are reported through the Current Receive
State Register (CRSR), Receive Condition Register A
(RCRA), and Receive Condition Register B (RCRB).
I (Idle)111111010
H (Halt)001000001
JK (Starting11000 and1101
Delimiter)10001
T (Ending011010101
Delimiter)
R (Reset)001110110
S (Set)110010111
Q (Quiet)000000010
V (Violation)000010010
V000100010
V000110010
V001010010
V001100010
V010000010
V011000010
V100000010
Note: VÊdenotes PHY Invalid or an Elasticity Buffer stuff byte
denotes Idle symbol in ILS or an Elasticity Buffer stuff byte
I
Ê
LINE STATES DESCRIPTION
Active Line State
The Line State Detector recognizes the incoming data to be
in the Active Line State upon the reception of the Starting
Delimiter (JK symbol pair).
The Line State Detector continues to indicate Active Line
State while receiving data symbols, Ending Delimiter (T
symbols), and Frame Status symbols (R and S) after the JK
symbol pair.
Idle Line State
The Line State Detector recognizes the incoming data to be
in the Idle Line State upon the reception of 2 Idle symbol
pairs nominally (plus up to 9 bits of 1 in start up cases).
Idle Line State indicates the preamble of a frame or the lack
of frame transmission during normal operation. Idle Line
State is also used in the handshake sequence of the PHY
Connection Management process.
10
3.0 Functional Description (Continued)
Super Idle Line State
The Line State Detector recognizes the incoming data to be
in the Super Idle Line State upon the reception of 8 consecutive Idle symbol pairs nominally (plus 1 symbol pair).
The Super Idle Line State is used to insure synchronization
of PCM signalling.
No Signal Detect
The Line State Detector recognizes the incoming data to be
in the No Signal Detect state upon the deassertion of the
Signal Detect signal or lack of internal clock detect from the
Clock Recovery Module, and reception of 8 Quiet symbol
pairs nominally. No Signal Detect indicates that the incoming link is inactive. This is the same as receiving Quiet Line
State (QLS).
Master Line State
The Line State Detector recognizes the incoming data to be
in the Master Line State upon the reception of eight consecutive Halt-Quiet symbol pairs nominally (plus up to 2 symbol
pairs in start up cases).
The Master Line State is used in the handshaking sequence
of the PHY Connection Management process.
Halt Line State
The Line State Detector recognizes the incoming data to be
in the Halt Line State upon the reception of eight consecutive Halt symbol pairs nominally (plus up to 2 symbol pairs in
start up cases).
The Halt Line State is used in the handshaking sequence of
the PHY Connection Management process.
Quiet Line State
The Line State Detector recognizes the incoming data to be
in the Quiet Line State upon the reception of eight consecutive Quiet symbol pairs nominally (plus up to 9 bits of 0 in
start up cases).
The Quiet Line State is used in the handshaking sequence
of the PHY Connection Management process.
Noise Line State
The Line State Detector recognizes the incoming data to be
in the Noise Line State upon the reception of 16 noise symbol pairs without entering any known line state.
The Noise Line State indicates that data is not being received correctly.
Line State Unknown
The Line State Detector recognizes the incoming data to be
in the Line State Unknown state upon the reception of 1
inconsistent symbol pair (i.e. data that is not expected). This
may signify the beginning of a new line state.
Line State Unknown indicates that data is not being received correctly. If the condition persists the Noise Line
State (NLS) may be entered.
ELASTICITY BUFFER
The Elasticity Buffer performs the function of a ‘‘variable
depth’’ FIFO to compensate for phase and frequency clock
skews between the Receive Clock (RXC
Byte Clock (LBC).
Bit 5 (EBOU) of the Receive Condition Register B (RCRB) is
set to 1 to indicate an error condition when the Elasticity
Buffer cannot compensate for the clock skew.
g
) and the Local
The Elasticity Buffer will support a maximum clock skew of
50 ppm with a maximum packet length of 4500 bytes.
To make up for the accumulation of frequency disparity between the two clocks, the Elasticity Buffer will insert or delete Idle symbol pairs in the preamble. Data is written into
the byte-wide registers of the Elasticity Buffer with the Receive Clock, while data is read from the registers with the
Local Byte Clock.
The Elasticity Buffer will recenter (i.e. set the read and write
pointers to a predetermined distance from each other) upon
the detection of a JK or every four byte times during PHY
Invalid (i.e. MLS, HLS, QLS, NLS, NSD) and Idle Line State.
The Elasticity Buffer is designed such that a given register
cannot be written and read simultaneously under normal operating conditions. To avoid metastability problems, the EB
overflow event is flagged and the data is tagged before the
over/under run actually occurs.
LINK ERROR DETECTOR
The Link Error Detector provides continuous monitoring of
an active link (i.e. during Active and Idle Line States) to
insure that it does not exceed the maximum Bit Error Rate
requirement as set by the ANSI standard for a station to
remain on the ring.
Upon detecting a link error, the internal 8-bit Link Error Monitor Counter is decremented. The start value for the Link
Error Monitor Counter is programmed through the Link Error
Threshold Register (LETR). When the Link Error Monitor
Counter reaches zero, bit 4 (LEMT) of the Interrupt Condition Register (ICR) is set to 1. The current value of the Link
Error Monitor Counter can be read through the Current Link
Error Count Register (CLECR). For higher error rates the
current value is an approximate count because the counter
rolls over.
There are two ways to monitor Link Error Rate: polling and
interrupt.
Polling
The Link Error Monitor Counter can be set to a large value,
like FF. This will allow for the greatest time between polling
the register. This start value is programmed through the Link
Error Threshold Register (LETR).
Upon detecting a link error, the Line Error Monitor Counter
is decremented.
The Host System reads the current value of the Link Error
Monitor Counter via the Current Link Error Count Register
(CLECR). The Counter is then reset to FF.
Interrupt
The Link Error Monitor Counter can be set to a small value,
like 5 to 10. This start value is programmed through the Link
Error Threshold Register (LETR).
Upon detecting a link error, the Line Error Monitor Counter
is decremented. When the counter reaches zero, bit 4
(LEMT) of the Interrupt Condition Register (ICR) is set to 1,
and the interrupt signal goes low, interrupting the Host System.
Miscellaneous Items
When bit 0 (RUN) of the Mode Register (MR) is set to zero,
or when the PLAYER
pin (ERST), the internal signal detect line is internally
forced to zero and the Line State Detector is set to Line
State Unknown and No Signal Detect.
a
device is reset through the Reset
11
3.0 Functional Description (Continued)
3.3 TRANSMITTER BLOCK
The Transmitter Block accepts 10-bit bytes consisting of
8 bits data, 1 bit parity, and 1 bit control information, from
the Configuration Switch.
The Transmitter Block performs the following operations:
Encodes the data from 4B to 5B coding.
#
Filters out code violations from the data stream.
#
Is capable of generating Idle, Master, Halt, Quiet, or oth-
#
er user defined symbol pairs.
Converts the data stream from NRZ to NRZI for trans-
#
mission.
Serializes data.
#
During normal operation, the Transmitter Block presents serial data to a PMD transmitter.
While in Internal Loopback mode, the Transmitter Block
presents serial data to the Receiver Block. While in the External Loopback mode, the Transmitter Block presents serial data to the Clock Recovery Module.
The Transmitter Block consists of the following functional
blocks:
Data Registers
Parity Checker
4B/5B Encoder
Repeat Filter
Smoother
Line State Generator
Injection Control Logic
Shift Register
NRZ to NRZI Encoder
See
Figure 3-3
, Transmitter Block Diagram.
FIGURE 3-3. Transmitter Block Diagram
12
TL/F/11708– 5
3.0 Functional Description (Continued)
DATA REGISTERS
Data from the Configuration Switch is stored in the Data
Registers. The 10-bit byte-wide data consists of a parity bit,
a control bit, and two 4-bit data symbols as shown below.
b9b8b7b0
Parity Bit Control BitData Bits
FIGURE 3-4. Byte-Wide Data
The parity is odd parity. The control bit determines whether
the Data bits represent Data or Control information. When
the control bit is 0 the Data field is interpreted as data and
when it is 1 the field is interpreted as control information
according to the National Semiconductor control codes.
PARITY CHECKER
The Parity Checker verifies that the parity bit in the Data
Register represents odd parity (i.e. odd number of 1s).
The parity is enabled and disabled through bit 6 (PRDPE) of
the Current Transmit State Register (CTSR).
If a parity error occurs, the Parity Checker will set bit 0 (DPE)
in the Interrupt Condition Register (ICR) and report the error
to the Repeat Filter.
4B/5B ENCODER
The 4B/5B Encoder converts the two 4-bit data symbols
from the Configuration Switch into their respective 5-bit
codes.
Note: The upper group of symbols are sent with the Control/Data pin set to
Data, while the bottom grouping of symbols are sent with the Control/Data
pin set to Control.
REPEAT FILTER
The Repeat Filter is used to prevent the propagation of
code violations to the downstream station.
Upon receiving violations in data frames, the Repeat Filter
replaces them with two Halt symbol pairs followed by Idle
symbols. Thus the code violations are isolated and recovered at each link and will not be propagated throughout the
entire ring.
11111
13
3.0 Functional Description (Continued)
FIGURE 3-5. Repeat Filter State Diagram
TL/F/11708– 6
Note: Inputs to the Repeat Filter state machine are shown above the transition lines, while outputs from the state machine are shown below the transition lines.
Note: Abbreviations used in the Repeat Filter State Diagram are shown in Table 3-3.
14
3.0 Functional Description (Continued)
TABLE 3-3. Abbreviations used in the
Repeat Filter State Diagram
FÐIDLE:Force IdleÐtrue when not in Active
W:Represents the symbols R, or S, or T
E
TPARITY: Parity error
nn :Data symbols (for C
N:Data portion of a control and data symbol
X:Any symbol (i.e. don’t care)
V
:Violation symbols or symbols inserted by
Ê
I
:Idle symbols or symbols inserted by the
Ê
ALSZILSZ:Active Line State or Idle Line State (i.e.
E
ALSZILSZ: Not in Active Line State nor in Idle Line
H:Halt Symbol
R:Reset Symbol
S:Set Symbol
T:Frame ending delimiter
JK:Frame start delimiter
I:Idle symbol (Preamble)
V:Code violations
The Repeat Filter complies with the FDDI standard by observing the following (see
Transmit Mode.
interface)
mixture
the Receiver Block
Receiver Block
PHY Invalid)
State (i.e. PHY Valid)
Figure 3-5
e
0 in the PHY-MAC
):
1. In Repeat State, violations cause transitions to Halt State
and two Halt symbol pairs are transmitted (unless JK or Ix
occurs) followed by transition to Idle State.
2. When Ix is encountered, the Repeat Filter goes to the Idle
State, during which Idle symbol pairs are transmitted until
a JK is encountered.
3. The Repeat Filter goes to the Repeat State following a JK
from any state.
The END State, which is not part of the FDDI PHY standard,
allows an R or S prior to a T within a frame to be recognized
as a violation. It also allows NT to end a frame as opposed
to being treated as a violation.
SMOOTHER
The Smoother is used to keep the preamble length of a
frame to a minimum of 6 Idle symbol pairs.
Idle symbols in the preamble of a frame may have been
added or deleted by each station to compensate for the
difference between the Receive Clock and its Local Clock.
The preamble needs to be maintained at a minimum length
to allow stations enough time to complete processing of one
frame and prepare to receive another. Without the Smoother function, the minimum preamble length (6 Idle symbol
pairs) cannot be maintained as several stations may consecutively delete Idle symbols.
The Smoother attempts to keep the number of Idle symbol
pairs in the preamble at 7 by:
Deleting an Idle symbol pair in preambles which have
#
more than 7 Idle symbol pairs
and/or
Inserting an idle symbol pair in preambles which have
#
less than 7 idle symbol pairs (i.e. Extend State).
The Smoother Counter starts counting upon detecting an
Idle symbol pair. It stops counting upon detecting a JK symbol pair.
Figure 3-6
describes the Smoother state diagram.
15
3.0 Functional Description (Continued)
LINE STATE GENERATOR
The Line State Generator allows the transmission of the
PHY Request data and can also generate and transmit Idle,
Master, Halt, or Quiet symbol pairs which can be used to
implement the Connection Management procedures as
specified in the FDDI Station Management (SMT) standard
document.
The Line State Generator is programmed through Transmit
bits 0 to 2 (TM
ter (CTSR).
Based on the setting of these bits, the Transmitter Block
operates in a Transmit Mode where the Line State Generator overwrites the Repeat Filter and Smoother outputs.
See INJECTION CONTROL LOGIC section for a listing of
the injection Transmit Modes.
Table 3-4 describes the Transmit Modes.
k
2:0l) of the Current Transmit State Regis-
TABLE 3-4. Transmit Modes
Transit ModeBehavior
Active Transmit ModeTransmit data that comes
from Configuration Switch
Off Transmit ModeTransmit Quiet symbol
pairs and disable the PMD
Transmitter
Idle Transmit ModeTransmit Idle symbol pairs
Master Transmit ModeTransmit Halt-Quiet
symbol pairs
Quiet Transmit ModeTransmit Quiet symbol
pairs
Reserved Transmit ModeReserved for future use. If
Mode selected, Quiet
symbol pairs will be
transmitted.
Halt Transmit ModeTransmit Halt Symbol
pairs
Notes:TL/F/11708– 7
SE: Smoother Enable
C: Preamble Counter
FÐIDLE: ForceÐIdle (Stop or ATM
X
: Current Byte
n
X
: Previous Byte
n–1
W: RST
)
FIGURE 3-6. Smoother State Diagram
16
3.0 Functional Description (Continued)
INJECTION CONTROL LOGIC
The Injection Control Logic replaces the data stream with a
programmable symbol pair. This function is used to transmit
data other than the normal data frame or Line States. The
injection modes can be used for station diagnostic software.
The Injection Symbols overwrite the Line State Generator
(Transmit Modes) and the Repeat Filter and Smoother outputs.
These programmable symbol pairs are stored in the Injection Symbol Register A (ISRA) and Injection Symbol Register B (ISRB). The Injection Threshold Register (IJTR) determines where the Injection Symbol pair will replace the data
symbols.
The Injection Control Logic is programmed through the bits
0 and 1 (IC
(CTSR) to one of the following Injection Modes (see
3-7
1. No Injection (i.e. normal operation)
2. One Shot
3. Periodic
4. Continuous
In the No Injection mode, the data stream is transmitted
unchanged.
One Shot (Notes 1,3)
k
1:0l) of the Current Transmit State Register
Figure
):
In the One Shot mode, ISRA and ISRB are injected once on
the nth byte after a JK, where n is the programmed value
specified in the Injection Threshold Register.
In the Periodic mode, ISRA and ISRB are injected every nth
symbol.
In the Continuous mode, all data symbols are replaced with
the content of ISRA and ISRB. This is the same as periodic
mode with IJTR
e
0.
SHIFT REGISTER
The Shift Register converts encoded parallel data to serial
data. The parallel data is clocked into the Shift Register by
the Local Byte Clock (LBC1), and clocked out by the Transmit Bit Clock (TXC
g
) (externally available on the DP83257.)
NRZ TO NRZI ENCODER
The NRZ to NRZI Encoder converts the serial Non-ReturnTo-Zero data to Non-Return-To-Zero-Invert-On-One format.
This function can be enabled and disabled through bit 6
(TNRZ) of the Mode Register (MR). When programmed to
‘‘0’’, it converts the bit stream from NRZ to NRZI. When
programmed to ‘‘1’’, the bit stream is transmitted NRZ.
Periodic (Notes 2,3)
Continuous (Note 3)
Note 1: In one shot, when ne0, the JK is replaced
Note 2: In periodic, when n
Note 3: Max value on n
e
0, all symbols are replaced.
e
255.
TL/F/11708– 8
TL/F/11708– 9
TL/F/11708– 10
FIGURE 3-7. Injection Modes
17
3.0 Functional Description (Continued)
3.4 CONFIGURATION SWITCH
The Configuration Switch consists of a set of multiplexers
and latches which allow the PLAYER
the data paths without any external logic. The Configuration
Switch is controlled through the Configuration Register
(CR).
The Configuration Switch has four internal buses: the
AÐRequest bus, the BÐRequest bus, the Receive bus, and
the PHYÐInvalid bus. The two Request buses can be driven by external input data connected to the external PHY
Port interface. The Receive bus is internally connected to
the Receive Block of the PLAYER
PHYÐInvalid bus has a fixed 10-bit SMT PHY Invalid connection (LSU) pattern (1 0011 1010), which is useful during
the connection process.
The configuration switch also has three internal multiplexers, each can select any of the four buses to connect to its
a
device to configure
a
device, while the
respective data path. The first two are PHY Port interface
output data paths, AÐIndicate and BÐIndicate, that can
drive output data paths of the external PHY Port interface.
The third output data path is connected internally to the
Transmit Block.
The Configuration Switch is the same on the DP83256 device, the DP83256-AP device, and the DP83257 device.
However, the DP83257 has two PHY Port interfaces connected to the Configuration Switch, whereas the DP83256
and DP83256-AP have one set of PHY port interfaces. The
DP83257 uses the AÐRequest and AÐIndicate paths as
one PHY Port interface and the BÐRequest and BÐIndicate paths as the other PHY Port interface (See
Figure 3-8
The DP83256 and DP83256-AP, having one port interface,
use the BÐRequest and AÐIndicate paths as its external
port. The AÐRequest and BÐIndicate paths of the
DP83256 and DP83256-AP are null connections and are not
used by the device (See
Figure 3-9
).
).
FIGURE 3-8. Configuration Switch
Block Diagram for DP83257
TL/F/11708– 11
FIGURE 3-9. Configuration Switch
TL/F/11708– 12
Block Diagram for DP83256
and DP83256-AP
18
3.0 Functional Description (Continued)
STATION CONFIGURATIONS
Single Attach Station (SAS)
The Single Attach Station can be connected to either the
Primary or Secondary ring via a Concentrator. Only 1 MAC
is needed in a SAS.
The DP83256, DP83256-AP, and DP83257 can be used in a
Single Attach Station. The DP83256 and DP83256-AP can
be connected to the MAC via its only PHY Port interface.
The DP83257 can be connected to the MAC via either one
of its 2 PHY Port Interfaces.
See
Figure 3-10
and
Figure 3-11
FIGURE 3-10. Single Attach Station
Using the DP83256 or DP83256-AP
.
TL/F/11708– 13
Dual Attach Station(DAS)
A Dual Attach Station can be connected directly to the dual
ring, or, optionally to a concentrator. There are two types of
Dual Attach Stations: DAS with a single MAC and DAS with
two MAC layers. See
Two DP83256 or DP83256-AP parts can be connected together to build a Dual Attach Station, however this configuration does not support the optional ThruÐB configuration.
When the optional ThruÐB configuration is desired, it is recommended that the DP83257 be used.
A DAS with a single MAC and two paths can be configured
as follows (see
B Indicate data of PHYÐA is connected to A Request
#
input of PHYÐB. BÐRequest input of PHYÐA is connected to A Indicate output of PHYÐB.
The MAC can be connected to either the A Request in-
#
put and the A Indicate output of PHYÐAortheBRequest input and the B Indicate output of PHYÐB.
A DAS with a single MAC and one path using the DP83256
or DP83256-AP can be configured as follows (see
13
):
BÐRequest input of PHYÐA is connected to A Indicate
#
output of PHYÐB.
The MAC is connected to the B Request input of
#
PHYÐB and the AÐIndicate output of PHYÐA.
A DAS with dual MACs can be configured as follows (see
Figure 3-14
#
#
#
):
B Indicate data of PHYÐA is connected to A Request
input of PHYÐB. BÐRequest input of PHYÐA is connected to A Indicate output of PHYÐB.
MACÐ1 is connected to the BÐIndicate output and the
BÐRequest Input of PHYÐB.
MACÐ2 is connected to the AÐIndicate output and the
AÐRequest Input of PHYÐA.
Figure 3-12
Figure 3-12
and
Figure 3-13
):
.
Figure 3-
FIGURE 3-11. Single Attachment Station (SAS)
TL/F/11708– 14
Using the DP83257
19
3.0 Functional Description (Continued)
FIGURE 3-12. Dual Attachment Station (DAS), Single MAC (DP83257)
FIGURE 3-13. Dual Attachment Station (DAS), Single MAC (DP83256/56-AP)
TL/F/11708– 15
TL/F/11708– 16
FIGURE 3-14. Dual Attachment Station (DAS), Dual MACs
20
TL/F/11708– 17
3.0 Functional Description (Continued)
CONCENTRATOR CONFIGURATIONS
There are 2 types of concentrators: Single Attach and Dual
Attach. These concentrators can be designed with or without MAC(s). The configuration is determined based upon its
type and the number of active MACs in the concentrator.
Using the PLAYER
with many different configurations without any external logic.
The DP83256, DP83256-AP, and DP83257 can be used to
build a Single Attach concentrator.
See Application Note AN-675, Designing FDDI concentrators and Application Note AN-741, Differentiating FDDI concentrators for further information.
Concepts
A concentrator is comprised of 2 parts: the Dual Ring Connect portion and the Master Ports.
The Dual Ring Connection portion connects the concentrator to the dual ring directly or to another concentrator. If the
concentrator is connected directly to the dual ring, it is a
part of the ‘‘Dual Ring of Trees’’. If the concentrator is connected to another concentrator, it is a ‘‘Branch’’ of the
‘‘Dual Ring of Trees’’.
The Master Ports connect the concentrator to its ‘‘Slaves’’,
or S-class, Single Attach connections. A slave could be a
Single Attach Station or another concentrator (thus forming
another Branch of the Dual Ring Tree).
When a MAC in a concentrator is connected to the primary
or secondary ring, it is required to be situated at the exit port
of that ring (i.e. its PHÐIND is connected to the IND Interface of the last Master Port in the concentrator (PHYÐMn)
that is connected to that ring).
A concentrator can have two MACs, one connected to the
primary ring and one to the secondary ring. In addition, roving MACs can be included in the concentrator configuration.
A roving MAC can be used to test the stations connected to
the concentrator before allowing them to join the dual ring.
a
device, a concentrator can be built
This may require external multiplexers, if used in conjunction with two other MAC layers.
Single Attach Concentrator
A Single Attach concentrator is a concentrator that has only
one PHY at the dual ring connect side. It cannot, therefore,
be connected directly to the dual ring. A Single Attach concentrator is a branch to the dual ring tree. It is connected to
the ring as a slave of another concentrator.
Multiple Single Attach concentrators can be connected together hierarchically to build a multiple levels of branches in
a dual ring.
The Single Attach concentrator can be connected to either
the primary or secondary ring depending on the connection
with its concentrator (the concentrator that it is connected
to as a slave).
Figure 3-15
gle MAC.
Dual Attach Concentrator
A Dual Attach concentrator is a concentrator that has two
PHYs on the dual ring connect side. It is connected directly
to the dual ring and is a part of the dual ring tree.
The Dual Attach concentrator is connected to both the primary and secondary rings.
Dual Attach Concentrator with Single MAC
Figure 3-16
MAC.
Because the concentrator has one MAC, it can only transmit
and receive frames on the ring to which the MAC is connected. The concentrator can only repeat frames on the
other ring.
Dual Attach Concentrator with Dual MACs
Figure 3-17
MACs.
Because the concentrator has two MACs, it can transmit
and receive frames on both the primary and secondary
rings.
shows a Single Attach concentrator with a sin-
shows a Dual Attach concentrator with a single
shows a Dual Attach concentrator with dual
21
3.0 Functional Description (Continued)
FIGURE 3-15. Single Attach Concentrator (SAC), Single MAC
FIGURE 3-16. Dual Attach Concentrator (DAC), Single MAC
The Clock Generation Module is an integrated phase locked
loop that generates all of the required clock signals for the
a
PLAYER
single 12.5 MHz reference.
The Clock Generation Module features:
#
#
#
#
#
The Clock Generation Module is comprised of 6 main functional blocks:
See
REFERENCE SELECTOR
The Reference Selector block allows the user to choose
between 2 sources for the Clock Generation Module’s
12.5 MHz reference clock.
The simplest reference clock source option is to use an
external 12.5 MHz reference signal fed into the REFÐIN
input. This input can come from a crystal oscillator module
or from a Local Byte Clock generated by another PLAYER
device. Using the appropriate crystal oscillator ensures correct operating frequency without having to adjust any discrete components.
Using an LBC clock from another PLAYER
one PLAYER
other PLAYER
device and the rest of an FDDI system from a
High precision clock timing generated from a single
12.5 MHz reference.
Multiple precision phased (8 ns/16 ns) 12.5 MHz Local
Byte Clocks to eliminate timing skew in large multi-board
concentrator configurations.
LBC timing which is insensitive to loading variations over
a wide range (20 pF to 70 pF) of LBC loads.
A selectable dual frequency system clock.
Low clock edge jitter, due to high VCO stability.
Reference Selector
Phase Comparator
Loop Filter
250 MHz Voltage Controlled Oscillator
Output Phasing and Divide by 10
Figure 3-18
, Clock Generation Module Block Diagram.
a
a
device to create a master clock to which
a
devices in a system can be synchronized.
device allows
Another reference clock source option is a local 12.5 MHz
crystal circuit. An example crystal circuit with component
values is shown in
operate with a crystal that has a C
values may need to be slightly adjusted for an individual
Figure 3-19.
This circuit is designed to
of 15 pF. The capacitor
L
application to accomodate differences in parasitic loading.
The REFÐSEL signal selects between the two references.
Component Values
Crystal: 12.50000 MHz
R:270X 5%
C
: 56 pF (1%)
ISO
:54 pF (1%)
C
IN
: 54 pF (1%)
C
OUT
TL/F/11708– 22
FIGURE 3-19. Crystal Circuit
PHASE COMPARATOR
The Phase Comparator uses two signal inputs: the selected
12.5 MHz reference from the Reference Select Block and a
Local Byte Clock that has been selected for the feedback
input, FBKÐIN. Typically, LBC1 is used as the feedback
clock.
The Phase Comparator generates a pulse of current that is
proportional to the phase difference between the two signals. The current pulses are used to charge and discharge a
control voltage on the internal Loop Filter. This control voltage is used to minimize the phase difference between the
two signals.
a
LOOP FILTER
The Loop Filter is a simple internal filter made up of one
capacitor in parallel with a serial capacitor and resistor combination. One end of the filter is connected to Ground and
the other node is driven by the Phase Comparator and controls the internal 250 MHz Voltage Controlled Oscillator.
This node can be examined for diagnostic purposes on the
LPFLTR pin when the FLTREN bit of the CGMREG register
is enabled. The LPFLTR pin is provided for diagnostic purposes only and should not be connected in any application.
The voltage on the Loop Filter is set by the current pulses
generated by the Phase Comparator. The voltage on the
Loop Filter node controls the frequency of the 250 MHz
VCO.
250 MHZ VOLTAGE CONTROLLED OSCILLATOR (VCO)
The internal Voltage Controlled Oscillator is a low gain VCO
whose primary frequency of oscillation centers around
250 MHz. The VCO produces little clock jitter due to its
exceptional stability under all circumstances.
The VCO’s output frequency is proportional to the voltage
on the Loop Filter node.
OUTPUT PHASING
The Output Phasing block is a precision clock division circuit
that produces clock signals of 4 distinct frequencies. Within
the 12.5 MHz frequency, 5 clock signals with selectable 8 ns
or 16 ns phase difference are produced.
The following clock signals are produced:
System Clock (CLK16/CLK32)
Local Symbol Clock (LSC)
Local Byte Clocks 1 –5 (LBCn) (Divide by 10)
System Clock (CLK16/CLK32)
The System Clock is provided as an extra set of clock frequencies that may be used as a clock for non-FDDI chipset
portions of a system or as a higher frequency System Interface clock for the MACSI device. This clock is derived by
dividing the 125 MHz clock by 8 or 4 times.
The frequency is selectable through the CLKSEL bit of the
MODE2 register. The output has built-in glitch suppression
so that changing the CLKSEL bit will not result in glitches
appearing at the output.
Local Symbol Clock (LSC)
The Local Symbol Clock is a 40% HIGH/60% LOW duty
cycle clock provided for use by the MACSI device and any
external logic that needs to be synchronized to the Symbol
timing.
This clock is derived by dividing the 125 MHz clock by 5.
Local Byte Clocks 1 –5 (LBCn)
The Local Byte Clocks are provided for use by the MACSI
device, by any external logic that needs to be synchronized
to the Byte timing, and for use in concentrators to synchronize the timing between multiple PLAYER
These clocks are derived by dividing the 125 MHz clock by
10. The different phase relationships between the LBCs are
achieved by tapping off of different outputs of a Johnson
counter inside the Output Phasing block.
The phase relationship (separation by 8 ns or 16 ns) of the
LBCs is selected using the PHÐSEL pin.
One of the LBCs must be used as the source of the feedback input, FBKÐIN, which requires a 12.5 MHz frequency.
When the PLAYER
ence it does not matter which LBC is used as the feedback
input. Typically the least loaded LBC is used. However,
when using an external reference that is supplied by another PLAYER
keeps your system properly synchronized. Typically, all devices will use LBC1 as the feedback input.
a
device is using a crystal as a refer-
a
device, it is important to select the LBC that
a
devices.
3.6 STATION MANAGEMENT SUPPORT
The Station Management Support Block provides a number
of useful features to simplify the implementation of the Connection Management (CMT) portion of SMT.
These features eliminate the most severe CMT response
time constraints imposed by the PCÐReact and CFÐReact
times. The many integrated counters and timers also eliminate the need for additional external devices.
The following CMT features are supported:
PCÐReact
#
CFÐReact
#
Auto Scrubbing (TCF Timer)
#
Timer, Idle Detection (TID Timer)
#
Noise Event Counter (TNE Timer)
#
Link Error Monitor (LEM Counter)
#
PCÐREACT
PCÐReact is one of the timing restrictions imposed by Connection Management (CMT). It is one of the two most critical timing restrictions imposed (the other being CFÐReact.)
The ANSI SMT standard states that ‘‘PCÐReact is the maximum time for PCM[Physical Connection Management]to
make a state transition to PCÐBreak when QLS, a fault
condition, or PCÐStart signal is present. This maximum
time also places a limit on the time to react to a PCÐStop
signal. This limitation does not apply to any other PCM transitions.’’ PCÐReact puts a sharp time limit on how long it
takes to transition to the PCÐBreak state and transmit the
correct line state when a PCÐBreak transition is required.
The range for the timer is PCÐReact
default value equal to 3.0 ms.
The PLAYER
ter and a set of CMT Condition Registers that can be used
to satisfy the PCÐReact timing.
The Trigger Definition Register (TDR) controls two functions. First, it allows the selection of the line state(s) on
which to trigger (SILS, MLS, HLS . . . ). For PCÐReact, the
line states used would be the ones that caused a transition
to the PCÐBreak state from the current PCM state.
Second, it allows specification of a line state to be transmitted when the trigger condition is met. For PCÐReact, this is
the line state that needs to be transmitted when a transition
to the PCÐBreak state occurs, which is Quiet Line State
(QLS).
The set of CMT Condition registers controls interrupt generation when a trigger condition occurs. The CMT Condition
Register set includes a CMT Condition Register (CMTCR), a
CMT Condition Comparison Register (CMTCCR), and a
CMT Condition Mask Register (CMTCMR).
Line state triggering for PCÐReact is enabled by selecting
line states to trigger on from the Trigger Definition Register
(TDR) bits 3-7.
The Trigger Condition Occurred (TCO) bit of the CMTCR is
automatically set when the trigger condition specified by the
TDR register is met.
The line state specified by the Trigger Definition Register
(TDR) bits 0 – 2 is then loaded into the Current Transmit
Mode Register (CTSR), causing the line state to be transmitted.
a
device contains a Trigger Definition Regis-
s
3.0 ms and has a
24
3.0 Functional Description (Continued)
If the TCO Mask (TCOM) bit of the CMTCMR is set, then
whenever the CMTCR.TCO bit becomes set the Receive
Condition Register B’s Connection Service Event
(RCRB.CSE) bit will be set. This allows an interrupt to be
generated for the trigger event.
As an example, suppose the PCM state machine is in the
ACTIVE state. From this state, if a Halt Line State (HLS) or
Quiet Line State (QLS) is detected, or the Noise Threshold
is reached, the state machine must move to the PCÐBreak
state and begin transmitting QLS. To implement this behavior when the PCÐACTIVE state is entered, set
TDR.TTM2–0 to 110 (Quiet Transmit), set TDR.TOHLS,
TDR.TOQLS, and TDR.TONT and reset all other bits (TOSILS and TOMLS). Also set CMTCMR.TCOM if an interrupt
is desired.
CFÐREACT
CFÐReact is one of the timing restrictions imposed by Connection Management (CMT). It is one of the two most critical timing restrictions imposed (the other being
PCÐReact).
The ANSI SMT standard states that ‘‘CFÐReact is the maximum time for CFM[Configuration Management]to reconfigure to remove a non-Active connection from the token
path.’’
The range for the timer is CFÐReact
default value equal to 3.0 ms.
The PLAYER
uration Register and a set of CMT Condition Registers that
can be used to satisfy the CFÐReact timing.
he Trigger Transition Configuration Register (TTCR) holds
the new configuration switch settings to be loaded into the
Configuration Register (CR) when a trigger condition occurs.
Enabling line state triggering with the Trigger Definition Register (TDR) bits 3 – 7 also enables the CFÐReact response.
This means that whenever trigger conditions are actively
used for PCÐReact, the value of the TTCR register will be
used also. This implies that it either must always then be
loaded with the current configuration setting, causing no
change to the CR, or it must be loaded with the appropriate
value to accommodate the CFÐReact function.
The Trigger Transition Configuration Register (TTCR) must
be set the configuration desired when the trigger condition
occurs. When the trigger condition occurs the value of this
register is loaded into the Configuration Register (CR). During this time writes to the CR are inhibited.
To continue the example from the PCÐReact description,
suppose that when in the ACTIVE state for the PCM state
machine, the CFM state machine is also in the THRUÐA
state. If trigger conditions are enabled via the
CMTCMR.TCOM bit and it is desired to not implement CF
React, TTCR must be set to the present value of CR. If it is
desired to not implement CFÐReact then TTCR should be
set to the value which would change the configuration to the
WRAP state. The wrap conditions WRAPÐA or WRAPÐB
depend on which PHY gets reconfigured.
a
device contains a Trigger Transition Config-
s
3.0 ms and has a
AUTO SCRUBBING
Auto Scrubbing is an additional CMT feature that further
enhances the automatic configuration switch setting in order to meet the CFÐReact timing. When enabled, Auto
Scrubbing causes 2 PHYÐInvalid symbols followed by
Scrub Symbol pairs (Idles) to be sourced for a user selectable duration (the scrubbing time) after a trigger condition
(the same one used for PCÐReact and CFÐReact) occurs
and prior to a change in the configuration switch setting on
all indicate ports that will be changed.
Auto Scrubbing is enabled by setting the Enable Scrubbing
on Trigger Conditions (ESTC) bit of Mode Register 2
(MODE2).
The Scrub Timer Threshold Register (STTR) defines the duration of the scrubbing, which can last up to approximately
10ms. The Scrub Timer Value Register (STVR) can be used
to examine a snapshot of the upper 8 bits of the STTR
register.
TIMER, IDLE DETECTION
The Idle Detection Timer is required to flag the continued
presence of the Idle Line State for a duration of 8 Idle Symbol pairs plus 1 symbol pair.
This feature is implemented in the Receiver Block by the
Super Idle Line State (SILS).
NOISE EVENT COUNTER
The Noise Event Counter can be used to time the duration
between Noise Events (which are described in detail below)
and to count frame sizes. The first feature is the most often
recognized, but the second is often overlooked and can
lead to potential difficulty if not properly set.
The Noise Event Counter is implemented as a pair of down
counters: one the actual Noise Counter and the other a
Noise Counter Prescaling value. The Noise Threshold Register (NTR) and the Noise Prescale Threshold Register
(NPTR) can be programmed to the counter’s initial value
while the Current Noise Count Register (CNCR) and the
Current Noise Prescale Count Register (CNPCR) provide a
snapshot of the actual counter.
The Noise Event Counter decrements whenever a Noise
Line State (NLS), Line State Unknown (LSU), or Active Line
State (ALS) is received and has its start value reloaded
whenever it receives Halt Line State (HLS), Idle Line State
(ILS), Master Line State (MLS), Quiet Line State (QLS), or
No Signal Detect (NSD). The Noise Event Counter is also
reset for a Start or End Delimiter. This means the Noise
counter increments for bad events as well as for every data
symbol in a frame. Should the Noise Counter expire, it indicates that a new line state (including ALS) has not been
Ð
entered for NTÐMAX time. This indicates that either a
frame is too long or that noise is being received.
For this reason it is important to choose a value for the
counter that is larger than the longest frame of 4500 bytes.
The ANSI SMT specification recommends a value for
NTÐMAX of 1.3ms for the noise threshold.
A Noise Event is defined as follows:
A noise event is a noisebyte, or a byte of data which is not in
line with the current line state, indicating error or corruption.
25
3.0 Functional Description (Continued)
TABLE 3-5. Noise Event Description
Noise Event
Where:
e
E
[
SD
[
SD
[
SD
#
ae
E
SD
CD
PB
PLS
PI
ILS
ALS
ULS
HLS
QLS
MLS
NLS
ULS
I
J
K
]
CD
#
#CD#PI#
E
#CD#
e
Logical AND
Logical OR
e
Logical NOT
e
Signal Detect
e
Clock Detect
e
Previous Byte
e
Previous Line State
e
PHY InvalideHLSaQLS
a
MLSaNLSaÀULS
e
(ALSaILS)
e
Idle Line State
e
Active Line State
e
Unknown Line State
e
Halt Line State
e
Quiet Line State
e
Master Line State
e
Noise Line State
e
Unknown Line State
e
Idle symbol
e
First symbol of start delimiter
e
Second symbol of start
delimiter
e
R
S
T
A
B
n
Reset symbol
e
Set symbol
e
End Delimiter
enaRaSa
enaRaSaTa
e
any data symbol
a
E
(II
(PBeII)#AB
PI
#
aJKa
Ó
]
T
AB)
I
]
]
[
#
a
PLS
LINK ERROR MONITOR
Link Error Monitoring is accomplished in the PLAYERadevice through the Link Error Monitor Counter. The initial value
of this down counter is set using the Link Error Threshold
Register (LETR). A snapshot of the counter can be taken
with the Current Link Error Count Register (CLECR).
A Link Error is defined as follows:
TABLE 3-6. Link Error Event Description
a
Link Error[ALS#(IEIaxVaVxaHEH)
e
Event
Set LinkÐErrorÐFlag
Clear LinkÐErrorÐFlag
E
[
ALS
[
ILS
LinkÐErrorÐFlag
aIIa
SHaTH)
[
ILS
ErrorÐFlag
]
JK)
a
]
SD
#
E
a
]
SD)
#
]
JK)
e
[
ALS
]
e
[
ALS
a
[
]
ULS
JK
#
E
#
E
[
ILS
#
[
ULS
#
E
SB
#
(HHaNHaRH
#
]
JK
#
(PLSeALS#Link
#
E
SB
(HH
#
]
a
JK)
(II
(PLSeALS)
E
(HH
#
a
aHIaIIa
a
]
#
a
HI
a
Ð
Where:
Ee
ae
#
ILS
ALS
ULS
x
I
H
J
K
Logical NOT
Logical OR
e
Logical AND
e
Idle Line State
e
Active Line State
e
Unknown Line State
e
Any symbol
e
Idle symbol
e
Halt symbol
e
First symbol of start delimiter
e
Second symbol of start
delimiter
e
V
R
S
T
N
Violation symbol
e
Reset symbol
e
Set symbol
e
End delimiter symbol
e
Data symbol converted to
0000 by the PLAYER
a
device
Receiver Block in symbol pairs
that contain a data and a control
symbol
e
PLS
SD
SB
Previous Line State
e
Signal Detect
e
Stuff Byte: Byte inserted by EB
before a JK symbol pair for
recentering or due to off-axis JK
26
3.0 Functional Description (Continued)
3.7 PHY-MAC INTERFACE
NATIONAL BYTE-WIDE CODE
The PLAYER
from its PHY Port Indicate Output to the MAC device. Each
National byte-wide code may contain data or control codes
or the line state information of the connection. Table 3-7
lists all the possible outputs.
During Active Line State all data and control symbols are
being repeated to the PHY Port Indicate Output with the
exception of data in data-control mixture bytes. That data
symbol is replaced by zero. If only one symbol in a byte is a
control symbol, the data symbol will be replaced by 0000
and the whole byte will be presented as control code. Note
that the Line State Detector recognizes the incoming data
ALS0n0n0n-n
ALS0n1C1N-C
ALS1C0n1C-N
ALS1C1C1C-C
ILS1I1I1I
ILS1IxNot I1I
ILSxNot I1I1IÊ-u-LS
ILSxNot IxNot I1I
Stuff Byte during ILSxxxx1I
Not ALS and Not ILS1M1M1V
Not ALS and Not ILS1MxNot M1V
Not ALS and Not ILSxNot M1M1V
Not ALS and Not ILSxNot MxNot M1VÊ-u-LS
Stuff Byte during Not ALSxxxx1VÊ-k-LS, VÊ-u-LS
Ne0000eCode for data symbol in a data control mixture byte
IeIdle Symbol
M
I
Ê
V
Ê
LSeLine State
ue1
ke0
x
a
device outputs the National byte-wide code
TABLE 3-7. National Byte Wide Code
Current Line State
e
Any data symbol inÀ0, 1, 2 . . . F
e
Any symbol that matches the current line state
e
1011eFirst symbols of the byte in Idle Line State
e
0011ePHY Invalid
e
000
ALS
ILSe001
NSDe010
MLSe100
HLSe101
e
110
QLS
NLSe111
e
Indicates symbol received does not match current line state
e
e
Indicate symbol received matches current line state
Don’t care
Symbol 1Symbol 2National Code
Control BitDataControl BitDataControl BitData
Ó
Ó
to be in the Active Line State upon reception of the Starting
Delimiter (JK symbol pair).
During Idle Line State any non Idle symbols will be reflected
as the code I
State are Idle symbols, then the Symbol Decoder generates
I
kILS as its output. Note the coded Known/Unknown Bit
Ê
(b3) and the Last Known Line State (b2 – 0). The Receive
State is 4 bits long and it represents either the PHY Invalid
(0011) or the Idle Line State (1011) condition. The Known/
Unknown Bit shows if the symbols received match the line
state information in the last 3 bits.
During any line state other than Idle Line State or Active
Line State, the Symbol Decoder generates the code V
if the incoming symbols match the current line state. The
symbol decoder generates V
do not match the current line state.
The PMD Interface connects the PLAYER
standard FDDI Physical Media Connection such as a fiber
optic transceiver or a copper twisted pair transceiver. It is a
125 MHz full duplex serial connection.
The DP83256 PLAYER
a
device contains one PMD interface. This PMD Interface should be used for all PMD implementations that do not require an external scrambler/
descrambler function, clock recovery function, or clock
generation function, such as a Fiber Optic or Shielded
Twisted Pair (SDDI) PMDs.
The DP83256-AP and DP83257 PLAYER
two PMD interfaces. The PMD Interface should be used for
all PMD implementations that do not require an external
scrambler/descrambler function, clock recovery function,
a
device to a
a
devices contain
or clock generation function, such as a Fiber Optic or
Shielded Twisted Pair (SDDI) PMDs. The second, Alternate
PMD Interface can be used to support Unshielded Twisted
Pair (UTP) PMDs that require external scrambling, and allows implementation with no external clock recovery or
clock generation functions required. See
Figure 3-21.
PLAYERaTO PMD CONNECTIONS
The following figures illustrate how the PLAYERadevice
can be connected to various types of PMDs.
Figure 3-20
DP83257 PLAYER
shows how the DP83256, DP83256-AP, or
a
device is connected to a Fiber Optic
or Shielded Twisted Pair (SDDI) PMD using the Primary
PMD Interface.
Figure 3-21
PLAYER
shows how the DP83256-AP or DP83257
a
device is connected to an Unshielded Twisted
Pair (UTP) PMD using the Alternate PMD Interface.
FIGURE 3-20. Fiber Optic or STP PMD Connection
FIGURE 3-21. UTP PMD Connections
29
TL/F/11708– 47
TL/F/11708– 48
3.0 Functional Description (Continued)
INTERFACE ACTIVATION
The Primary PMD Interface is always enabled.
The Alternate PMD Interface is enabled by programming a
a
PLAYER
the APMDEN bit in the APMDREG register. The interface is
off by default and should be left that way unless it is being
used.
It will also probably be necessary to enable the Transmit
Clocks when using the Alternate PMD Interface. The Transmit Clocks (TXC) are enabled by writing a 1 to the TXCE bit
register bit. To enable the interface, writea1to
in the CGMREG register. The transmit clocks are disabled
by default and should be left that way unless it is being
used.
Note that when the Alternate PMD Interface is active, the
Primary PMD Interface can not be used without the Alternate PMD Interface connections. Also note that the Long
Internal Loopback (LILB) can not be used when the Alternate PMD Interface is activated.
30
4.0 Modes of Operation
The PLAYERadevice can operate in 4 basic modes: RUN,
STOP, LOOPBACK, and CASCADE.
4.1 RUN MODE
RUN is the normal mode of operation.
In this mode, the PLAYER
nected to the media via the PMD transmitter and PMD receiver at the PMD Interface. It is also connected to any
other PLAYER
Port A and Port B Interfaces.
While operating in the RUN mode, the PLAYER
receives and transmits Line States (Quiet, Halt, Master, Idle)
and frames (Active LIne State).
4.2 STOP MODE
The PLAYER
is being initialized or configured.
The PLAYER
tomatically when theERST pin is set to ground.
When in STOP mode, the PLAYER
following functions:
Resets the Repeat Filter.
#
Resets the Smoother.
#
Resets the Receiver Block Line State Counters.
#
Resets the Clock Recovery Module
#
Flushes the Elasticity Buffer.
#
Forces Line State Unknown in the Receiver Block.
#
Outputs PHY Invalid condition symbol pairs through the
#
PHY Data Indicate pins (AIP, AIC, AID
BID
Outputs Quiet symbol pairs through the PMD Data Re-
#
quest pins (PMRD
4.3 LOOPBACK MODE
The PLAYER
Configuration Switch Loopback, Short Internal Loopback,
and Long Internal Loopback. These Loopback modes can
be used to test different portions of the device.
Configuration Switch Loopback
The Configuration Switch Loopback can be used to test the
data paths of the MACSI device(s) that are connected to the
PLAYER
through the network.
In the Configuration Switch Loopback mode, the PLAYER
device Configuration Register (CR) can be programmed to
perform the following functions:
Select Port A PHY Request Data, Port B PHY Request
#
Data, or PHY Invalid to connect to Port A PHY Indicate
Data via the AÐIND Mux.
Select Port A PHY Request Data, Port B PHY Request
#
Data, or PHY Invalid to connect to Port B PHY Indicate
Data via the BÐIND Mux.
Connect data from the Receiver Block to the Transmitter
#
Block via the TransmitterÐMux. (The PLAYER
is repeating incoming data from the media in the Configuration Switch Loopback mode.)
See
Figure 4-1
a
a
a
k
7:0l), when port is enabled.
a
a
device before transmitting and receiving data
and
a
device is configured to be con-
device(s) and/or MACSI device(s) via the
a
device
device operates in the STOP mode while it
device is also reset to the STOP mode au-
a
device performs the
k
7:0l, BIP, BIC,
g
).
device provides 3 types of loopback tests:
a
device
Figure 4-2.
FIGURE 4-1. Configuration Switch Loopback
TL/F/11708– 23
for DP83257
a
FIGURE 4-2. Configuration Switch Loopback
for DP83256 and DP 83256-AP
31
TL/F/11708– 24
4.0 Modes of Operation (Continued)
Short Internal Loopback
The Short Internal Loopback mode can be used to test the
functionality of the PLAYER
Clock Recovery function, and to test the data paths between the PLAYER
ring insertion.
When in the Short Internal Loopback mode, the PLAYER
device performs the following functions:
Directs the output data of the Transmitter Block to the
#
input of the Receiver Block through an internal path.
a
device, not including the
a
device and MACSI devices before
Ignores the PMD Data Indicate pins (PMIDg),
#
Outputs Quiet symbols through the PMD Data Request
#
pins (PMRD
The level of the Quiet symbols transmitted through the
PMRD
a
transmitter off level.
If both Short Internal Loopback and Long Internal Loopback
modes are selected, Long Internal Loopback mode will
have priority over Short Internal Loopback mode. This is the
longest loopback path within the PLAYER
See
Figure 4-3
g
).
g
pins during loopback is automatically set to the
a
device.
, Short Internal Loopback.
FIGURE 4-3. Short Internal Loopback
32
TL/F/11708– 25
4.0 Modes of Operation (Continued)
Long Internal Loopback
The Long Internal Loopback mode implements the longest
loopback path that is completely within the PLAYER
vice.
The Long Internal Loopback mode can be used to test the
functionality of the PLAYER
Recovery function, and to test the data paths between the
a
PLAYER
When in the Long Internal Loopback mode, the PLAYER
device performs the following functions:
#
device and MACSI devices before ring insertion.
Directs the output data of the Transmitter Block to the
input of the Clock Recovery Module through an internal
path.
a
device, including the Clock
a
de-
Ignores the PMD Data Indicate pins (PMIDg),
#
Outputs Quiet symbols through the PMD Data Request
#
pins (PMRD
The level of the Quiet symbols transmitted through the
PMRD
transmitter off level.
If both Short Internal Loopback and Long Internal Loopback
a
modes are selected, Long Internal Loopback mode will
have priority over Short Internal Loopback mode. This is the
longest loopback path within the PLAYER
Note that the LILB path is disconnected and should not be
used when the Alternate PMD Interface is active.
See
Figure 4-4
g
).
g
pins during loopback is automatically set to the
a
device.
, Long Internal Loopback.
FIGURE 4-4. Long Internal Loopback
33
TL/F/11708– 26
4.0 Modes of Operation (Continued)
4.4 DEVICE RESET
The revision B PLAYER
device ResetÐPower Up Reset, Hardware Reset, Player
Reset, Reference Select Reset, and Stop Mode. The Resets can be used to return the whole device or a portion of
the device to its default configuration.
Power Up Reset begins automatically when power is first
applied to the PLAYER
age level. Power Up Reset affects all of the modules in the
a
PLAYER
device, specifically the Clock Generation Module (CGM), Clock Recovery Module (CRM), and the Player
Module, returning each module to its default configuration.
This reset begins by waiting for the crystal to stabilize, then
the CGM PLL proceeds to lock to the crystal and the rest of
the PLAYER
amount of time at approximately 10 ms from the time the
PLAYER
a
a
device’s power supply reaches 4.4V. Even
though the Power Up Reset is usually effective, due to the
variation in the start-up conditions of a systems power supply, the Power Up Reset trigger can not be guaranteed to
operate correctly. Therefore, a Hardware Reset should always be performed on the PLAYER
mum of 10 ms for the Power Up Reset to complete its reset
attempt.
Hardware Reset occurs at the rising edge of PLAYER
device’sERST pin. Hardware Reset affects all of the modules in the PLAYER
and the Player Module, returning each module to its default
configuration. During Hardware Reset it is not necessary to
force the Clock Generation Module to wait for the crystal to
settle again at this time because it has settled in the time
since the initial reset at power up. This reset takes the second longest amount of time at approximately 1 ms from the
rising edge ofERST.
Player Reset is activated by writinga1tothePHYRST bit in
Mode Register 2. Player Reset only affects the Player Module. This reset is the shortest and only takes about 3 ms
from the completion of the register write. The device should
not be accessed by the Control Bus during this reset.
a
device has five different levels of
a
device and reaches a certain volt-
device is reset. This reset takes the longest
a
after waiting a mini-
a
device, specifically the CGM, CRM
Reference Select Reset occurs when the PLAYER
a
device’s REFÐSEL pin is switched from using the REFÐIN
input to using a crystal with the XTALÐIN and XTALÐOUT
pins. This is the same as a Power Up Reset and is done
because the crystal is going from a dead stop to an active
state when REFÐSEL is switched. This reset, like the Power Up Reset, takes about 10 ms from the falling edge of
REFÐSEL.
Stop Mode is activated by writinga0totheRUNbitinthe
Mode Register. Stop Mode is a selective reset that resets
the Clock Recovery Module and portions of the Player Module.
Changes from Revision A to Revision B:
The previous descriptions describe the reset logic in the
revision B PLAYER
the original revision A PLAYER
a
device. Two changes were made to
a
device reset logic.
First, the Hardware Reset was shortened by eliminating the
requirement of having to wait for the crystal to settle before
letting the Clock Generation Module try to lock to the crystal. This behavior is correct because the PLAYER
has already waited for the crystal to settle once during the
Power Up Reset. The revision A PLAYER
a
a
follows a Power
device
Up Reset cycle when Hardware Reset is activated.
a
Second, a full Power Up Reset is now done when the clock
reference is switched to the crystal. This is necessary to
allow the crystal time to start up when it is switched to from
the REFÐIN input. This reset is not performed on the revision A PLAYER
a
.
Recommendations:
The following are some recommendations for using the reset mechanisms of the PLAYER
1. Always wait a minimum of 10 ms after power-up before
doing anything to the PLAYER
a
most effectively:
a
device. 10 ms is a mini-
mum, it may be desirable to wait longer if the system
power supply or clock reference has not stabilized by this
time.
2. Always use the Hardware Reset to reset the PLAYER
a
device after Power Up. This should be done after the
initial Power Up waiting period of at least 10 ms.
34
4.0 Modes of Operation (Continued)
4.5 CASCADE MODE
The PLAYER
lel) mode
point-to-point data transfer applications. This is a non-FDDI
mode of operation. This is only available on the DP83257
device.
Concepts
In the Cascade mode, multiple PLAYER
nected together to provide data transfer at multiples of the
FDDI data rate. Two cascaded PLAYER
a data rate twice the FDDI data rate; three cascaded
PLAYER
data rate, etc.
Multiple data streams are transmitted in parallel over each
pair of cascaded PLAYER
simultaneously and begin with the JK symbol pair on each
PLAYER
Data is synchronized at the receiver of each PLAYERadevice by the JK symbol pair. Upon receiving a JK symbol pair,
a PLAYER
indicate the beginning of data reception.
The Cascade Ready signals of all PLAYER
open drain ANDed together to create the Cascade Start
signal. The Cascade Start signal is used as the input to
indicate that all PLAYER
symbol pair. Data is now being received at every PLAYER
device and can be transferred from the cascaded
PLAYER
See
Operating Rules
When the PLAYER
the following rules apply:
1. Data integrity can be guaranteed if the worst case PMD
transmission skew between parallel media is less than
40 ns. For example, this amounts to about 785 meters of
fiber optic cable, assuming a 1% worst case variance.
2. Even though this is a non-FDDI application, the general
rules for FDDI frames must be obeyed.
a
device can operate in the Cascade (paral-
(Figure 4-5)
a
devices provide a data rate three times the FDDI
a
device.
a
device asserts the Cascade Ready signal to
a
devices to the host system.
Figure 4-6
which is used in high bandwidth,
a
a
a
devices. All data streams start
a
devices have received the JK
for more information.
a
device is operating in Cascade mode,
devices are con-
devices provide
a
devices are
Data frames must be a minimum of three bytes long
#
(including the JK symbol pair). Smaller frames will
cause Elasticity Buffer errors.
Data frames must have a maximum size of 4500 bytes,
#
with a JK starting delimiter and a T or R or S ending
delimiter.
3. Due to the different clock rates, the JK symbol pair may
arrive at different times at each PLAYER
total skew between the fastest and slowest cascaded
a
PLAYER
devices receiving the JK starting delimiter
a
device. The
must not exceed 80 ns.
4. The first PLAYER
will present it to the host system and release the Cascade Ready signal. The PLAYER
one more JK as it waits for the other PLAYER
a
device to receive a JK symbol pair
a
device will present
a
devices
to recognize their JK. The maximum number of consecutive JKs that can be presented to the host is 2.
5. The Cascade Start signal is set to 1 when all the cascaded PLAYER
a
devices release their Cascade Ready sig-
nals.
6. Bit 4 (CSE) of the Receive Condition Register B (RCRB)
is set to 1 if the Cascade Start signal (CS) is not set
before the second falling edge of clock signal LBC from
when Cascade Ready (CR) was released. CS has to be
set approximately within 80 ns of CR release. This condi-
a
tion signifies that not all cascaded PLAYER
have received their respective JK symbol pair with the
a
devices
allowed skew range.
7. PLAYER
a
devices may not report a Cascaded Synchronization Error if the JK symbols are corrupted in the pointto-point links.
8. To guarantee integrity of the interframe information, the
user must put at least 8 Idle symbol pairs between
frames. The PLAYER
a
device will function properly with
only 4 Idle symbol pairs, however the interframe symbols
may be corrupted with random non-JK symbols.
The MACSI device could be used to provide the required
framing and optional FCS support.
35
4.0 Modes of Operation (Continued)
FIGURE 4-5. Parallel Transmission
FIGURE 4-6. Cascade Mode of Operation
TL/F/11708– 27
TL/F/11708– 28
36
5.0 Registers
The PLAYERadevice can be initialized, configured, and monitored using 64 8-bit registers. These registers are accessible
through the Control Bus Interface.
The following tables summarize each register’s attributes.
Note: RESERVED Registers may be read at any time, although the values read are not specified. The results of RESERVED Register writes are not specified, and
may have adverse implications. The user should not write to RESERVED Register locations.
1AhICCR00 hsame as reg 02 h if reg 02 h is read first
1BhCTSCR00 hsame as reg 04 h if reg 04 h is read first
1ChRCCRA00 hsame as reg 09 h if reg 09 h is read first
1DhRCCRB00 hsame as reg 0A h if reg 0A h is read first
Register
Symbol
MSB-LSBComments
Reset Contents
41
5.0 Registers (Continued)
TABLE 5-3. Register Reset Value Summary (Continued)
Register
Address
1EhMODE200 h
1FhCMTCCR00 h
20hCMTCR00 h
21hCMTMR00 h
22hRR22XX h
23hRR23XX h
24hSTTR00 h
25hSTVR00 h
26hTDR00 h
27hTTCR00 h
28hRR28XX h
29hRR29XX h
2AhRR2AXX h
2BhRR2BXX h
2ChRR2CXX h
2DhRR2DXX h
2EhRR2EXX h
2FhRR2FXX h
30hRR30XX h
31hRR31XX h
32hRR32XX h
33hRR33XX h
34hRR34XX h
35hRR35XX h
36hRR36XX h
37hRR37XX h
38hRR38XX h
39hRR39XX h
3AhRR3AXX h
3BhCGMREG05 h
3ChAPMDREG00 h
3DhGAINREG00 h
3EhRR3EXX h
3FhRR3FXX h
Register
Symbol
Reset Contents
MSB-LSBComments
42
5.0 Registers (Continued)
5.1 MODE REGISTER (MR)
The Mode Register is used to initialize and configure the PLAYER
ACCESS RULES
ADDRESSREADWRITE
00hAlwaysAlways
D7D6D5D4D3D2D1D0
RNRZTNRZTETQLCMLILBSILBRUN
Bit SymbolDescription
D0 RUNRUN/ESTOP:
0: Enables the STOP mode. Refer to section 4.2, STOP MODE, for more information.
1: Normal operation (i.e. RUN mode).
Note: The RUN bit is automatically set to 0 when theERST pin is asserted (i.e. set to ground).
D1 SILBSHORT INTERNAL LOOPBACK:
0: Disables Internal Loopback mode (i.e. normal operation).
1: Enables Internal Loopback mode.
Refer to section 4.3, LOOPBACK MODE, for more information.
D2 LILBLONG INTERNAL LOOPBACK:
0: Disables Long Internal Loopback mode (i.e. normal operation).
1: Enables Long Internal Loopback mode.
Note: Long Internal Loopback should not be used when the Alternate PMD Interface is enabled.
Refer to section 4.3, LOOPBACK MODE, for more information.
D3 CMCASCADE MODE:
0: Disables synchronization of cascaded PLAYER
1: Enables the synchronization of cascaded PLAYER
Refer to section 4.4, CASCADE MODE, for more information.
Note: Cascade Mode is only available on the DP83257 device. The other devices do not have the required CS and CR pins. Do not set this bit for
any device but the DP83257.
D4 TQLTRANSMIT QUIET LEVEL: This bit is used to program the transmission level of the Quiet symbols during Off
Transmit mode (OTM) only.
0: Low (PMD OFF) level Quiet symbols are transmitted through the PMD Data Request pins (i.e. PMRD
1: High (PMD ON) level Quiet symbols are transmitted through the PMD Data Request pins (i.e. PMRD
PMRD
PMRD
be
be
high).
low).
D5 TETRANSMIT ENABLE: The TE bit controls the action of the PMD transmitter Enable (TXE) pin. When TE is 0, the
TXE output disables the PMD transmitter; when TE is 1, the PMD transmitter is disabled during the Off Transmit
Mode (OTM) and enabled otherwise. The On and Off level of the TXE is depended on the PMD transmitter Enable
Level (TEL) pin to the PLAYER
e
1. If TE
2. If TE
3. If TE
0, then TXEeOff
e
1 and OTM, then TXEeOff
e
1 and not OTM, then TXEeOn.
a
device. The following rules summaries the output of TXE.
D6 TNRZTRANSMIT NRZ DATA:
0: Transmits data in Non-Return-To-Zero-Invert-On-Ones (NRZI) format (normal format).
1: Transmits data in Non-Return-To-Zero format (NRZ).
D7 RNRZRECEIVE NRZ DATA:
0: Receives data in Non-Return-To-Zero-Invert-On-Ones format (NRZI) (normal format).
1: Receives data in Non-Return-To-Zero format (NRZ).
a
a
devices.
device.
a
devices.
ae
ae
low,
high,
43
5.0 Registers (Continued)
5.2 CONFIGURATION REGISTER (CR)
The Configuration Register controls the Configuration Switch Block and enables/disables both the A and B ports. The CR can
be used to create a number of Configuration Loopback paths.
The CR is conditionally writable because the TTCR can be writing a new value into the register if this feature is enabled.
Note that the AÐRequest and BÐIndicate port are offered only on the DP83257, and not in the DP83256. For further information, refer to section 3.4, CONFIGURATION SWITCH.
ACCESS RULES
ADDRESSREADWRITE
01hAlwaysConditional
D7D6D5D4D3D2D1D0
BIEAIETRS1TRS0BIS1BIS0AIS1AIS0
BitSymbolDescription
D0, D1 AIS0, AIS1AÐINDICATE SELECTORk0, 1l: The AÐIndicate Selectork0, 1lbits selects one of the four
Configuration Switch data buses for the AÐIndicate output port (AIP, AIC, AID
AIS1AIS0
00PHY Invalid Bus
01Receiver Bus
10A
11B
Request Bus
Ð
Request Bus
Ð
D2, D3 BIS0, BIS1BÐINDICATE SELECTORk0, 1l: The BÐIndicate Selectork0, 1lbits selects one of the four
Configuration Switch data buses for the BÐIndicate output port (BIP, BIC, BID
BIS1BIS0
00PHY Invalid Bus
01Receiver Bus
10A
11B
Note: Even though this bit can be set and/or cleared in the DP83256, it will not affect any I/Os since the DP83256 does not offer a
BÐIndicate port.
Request Bus
Ð
Request Bus
Ð
D4, D5 TRS0, TRS1 TRANSMIT REQUEST SELECTORk0, 1l: The Transmit Request Selectork0, 1lbits select one of
the four Configuration Switch data buses for the input to the Transmitter Block.
TRS1 TRS0
00PHY Invalid Bus
01Receiver Bus
10A
11B
Note: If the PLAYERadevice is in Active Transmit Mode (i.e. the Transmit Mode bits (TMk2:0l) of the Current Transmit State
Register (CTSR) are set to 00) and the PHY Invalid Bus is selected, then the PLAYER
Halt symbol pairs and then continuous Idle symbols due to the Repeat Filter when in the Repeat state.
Request Bus
Ð
Request Bus
Ð
D6AIEAÐINDICATE ENABLE:
0: Disables the AÐIndicate output port. The AÐIndicate port pins will be tri-stated when the port is
disabled.
1: Enables the AÐIndicate output port (AIP, AIC, AID
k
7:0l).
D7BIEBÐINDICATE ENABLE:
0: Disables the BÐIndicate output port. The BÐIndicate port pins will be tri-stated when the port is
disabled.
1: Enables the BÐIndicate output port (BIP, BIC, BIDk7:0l).
Note: Even though this bit can be set and/or cleared in the DP83256, it will not affect any I/Os since the DP83256 does not offer a
BÐIndicate port.
k
7:0l).
k
7:0l)
a
device will transmit a maximum of four
44
5.0 Registers (Continued)
5.3 INTERRUPT CONDITION REGISTER (ICR)
The Interrupt Condition Register records the occurrence of an internal error event, the detection of Line State, an unsuccessful
write by the Control Bus Interface, the expiration of an internal counter, or the assertion of one or more of the User Definable
Sense pins.
The Interrupt Condition Register will assert the Interrupt pin (EINT) when one or more bits within the register are set to 1 and
the corresponding mask bits in the Interrupt Condition Mask Register (ICMR) are also set to 1.
ACCESS RULES
ADDRESSREADWRITE
02hAlwaysConditional
D7D6D5D4D3D2D1D0
UDIRCBRCALEMTCWICCRCPEDPE
Bit SymbolDescription
D0 DPEPHYÐREQUESTÐDATA PARITY ERROR: This bit will be set to 1 when:
1. The PHY Request Data Parity Enable bit (PRDPE) of the Current Transmit State Register (CTSR) is set to 1 and
2. The Transmitter Block detects a parity error in the incoming PHY Request Data.
The source of the data can be from the PHY Invalid Bus, the Receive Bus, the AÐBus, or the BÐBus of the
Configuration Switch.
Note: Parity is only checked on data that goes into the transmitter block. This means that any data that is just routed through the configuration
switch without going into the transmit block is not checked.
D1 CPEControl Bus DATA PARITY ERROR: This bit will be set to 1 when the Control Bus Interface detects a parity error
in the incoming Control Bus Data (CBD
D2 CCRControl Bus WRITE COMMAND REJECT: This bit will be set to 1 when an attempt to write into one of the
following read-only registers is made:
Current Receive State Register (Register 08, CRSR)
Current Noise Count Register (Register 0F, CNCR)
Current Noise Prescale Count Register (Register 10, CNPCR)
Current State Count Register (Register 13, CSCR)
Current State Prescale Count Register (Register 14, CSPCR)
Current Link Error Count Register (Register 16, CLECR)
Device ID Register (Register 18, IDR)
Current Injection Count Register (Register 19, CIJCR)
Scrub Timer Value Register (Register 25, STVR)
k
7:0l), CBP during a write cycle.
45
5.0 Registers (Continued)
Bit SymbolDescription
D3 CWICONDITIONAL WRITE INHIBIT: Set to 1 when bits within mentioned registers do not match bits in the
D4 LEMTLINK ERROR MONITOR THRESHOLD: This bit is set to 1 when the internal 8-bit Link Error Monitor Counter
D5 RCARECEIVE CONDITION A: This bit is set to 1 when:
D6 RCBRECEIVE CONDITION B: This bit is set to 1 when:
D7 UDIUSER DEFINABLE INTERRUPT: This bit is set to 1 when one or any combination of the Sense Bits (SB0, SB1, or
corresponding compare register. This bit ensures that new (i.e. unread) data is not inadvertently cleared while old
data is being cleared through the Control Bus Interface.
This bit is set to 1 to indicate that a bit in a condition write register was not written because it had changed since
the previous read. The following registers are affected:
Interrupt Condition Register (Register 02, ICR)
Current Transmit State Register (Register 04, CTSR)
Receive Condition Register A (Register 09, RCRA)
Receive Condition Register B (Register 0A, RCRB)
CMT Condition Register (Register 20, CMTCR)
The previous registers are affected when they differ from the value of the corresponding bit in the following
registers respectively:
Interrupt Condition Compare Register (Register 1A, ICCR)
Current Transmit State Compare Register (Register 1B, CTSCR)
Receive Condition Compare Register A (Register 1C, RCCRA)
Receive Condition Compare Register B (Register 1D, RCCRB)
CMT Condition Compare Register (Register 1F, CMTCCR)
This bit must be cleared by software. Note that this differs from the MACSI, BMAC and BSI device bits of the same
name.
The Configuration Register (Register 01, CR) can not be written to during scrubbing.
reaches zero. It will remain set and is cleared by software.
e
During the reset process (i.e.ERST
Error Monitor Counter is initialized to zero.
1. One or more bits in the Receive Condition Register A (RCRA) is set to 1 and
2. The corresponding mask bits in the Receive Condition Mask Register A (RCMRA) are also set to 1.
In order to clear (i.e. set to 0) the Receive Condition A bit, the bits within the Receive Condition Register A that are
set to 1 must first be either cleared or masked.
1. One or more bits in the Receive Condition Register B (RCRB) is set to 1 and
2. The corresponding mask bits in the Receive Condition Mask Register A (RCMRB) are also set to 1.
In order to clear (i.e. set to 0) the Receive Condition B bit, the bits within the Receive Condition Register B that are
set to 1 must first be either cleared or masked.
SB2) in the User Definable Register (UDR) are set to 1.
In order to clear (i.e. set to 0) the User Definable Interrupt Bit, all Sense Bits must be set to 0.
GND), the Link Error Monitor Threshold bit is set to 1 because the Link
46
5.0 Registers (Continued)
5.4 INTERRUPT CONDITION MASK REGISTER (ICMR)
The Interrupt Condition Mask Register allows the user to dynamically select which events will generate an interrupt.
The Interrupt pin will be asserted (i.e.EINT
to 1 and the corresponding mask bits in this register are also set to 1.
This register is cleared (i.e. set to 0) and all interrupts are initially masked during the reset process.
ACCESS RULES
ADDRESSREADWRITE
03hAlwaysAlways
D7D6D5D4D3D2D1D0
UDIMRCBMRCAMLEMTMCWIMCCRMCPEMDPEM
Bit SymbolDescription
D0 DPEMPHYÐREQUESTÐDATA PARITY ERROR MASK: The mask bit for the PHYÐRequest Data Parity Error bit
(DPE) of the Interrupt Condition Register (ICR).
D1 CPEMControl Bus DATA PARITY ERROR MASK: The mask bit for the Control Bus Data Parity Error bit (CPE) of the
Interrupt Condition Register (ICR).
D2 CCRMControl Bus WRITE COMMAND REJECT MASK: The mask bit for the Control Bus Write Command Reject bit
(CCR) of the Interrupt Condition Register (ICR).
D3 CWIMCONDITIONAL WRITE INHIBIT MASK: The mask bit for the Conditional Write Inhibit bit (CWI) of the Interrupt
Condition Register (ICR).
D4 LEMTM LINK ERROR MONITOR THRESHOLD MASK: The mask bit for the Link Error Monitor Threshold bit (LEMT) of
the Interrupt Condition Register (ICR).
D5 RCAMRECEIVE CONDITION A MASK: The mask bit for the Receive Condition A bit (RCA) of the Interrupt Condition
Register (ICR).
D6 RCBMRECEIVE CONDITION B MASK: The mask bit for the Receive Condition B bit (RCB) of the Interrupt Condition
Register (ICR).
D7 UDIMUSER DEFINABLE INTERRUPT MASK: The mask bit for the User Definable Interrupt bit (UDI) of the Interrupt
Condition Register (ICR).
e
GND) when one or more bits within the Interrupt Condition Register (ICR) are set
47
5.0 Registers (Continued)
5.5 CURRENT TRANSMIT STATE REGISTER (CTSR)
The Current Transmit State Register can program the Transmitter Block to internally generate and transmit Idle, Master, Halt,
Quiet, or user programmable symbol pairs, in addition to the normal transmission of incoming PHY Request data. The Smoother
and PHY Request Data Parity are also enabled and disabled through this register.
When the Trigger Definition register (TDR) is used, the CTSR can automatically be set to a preprogrammed line state when a
trigger condition occurs. This capability can be used to implement both PCÐReact and CFÐReact.
The Transmit Modes have priority over the Repeat Filter and Smoother outputs. The Injection Symbols have priority over the
Transmit Modes.
During the reset process (i.e.ERST
e
GND) the Transmit Mode is set to Off (TMk2:0
is set to 1), and the Reserved bit (b7) is set to 1. All other bits of this register are cleared (i.e. set to 0) during the reset process.
When the TDR register is used to respond to trigger conditions the CTSR will be blocked when the TDR register transmit mode
is copied into the CTSR. The Write Reject bit of the ICR will be set if any writes are attempted at this time.
Note: This register has no effect while the device is in Stop Mode.
ACCESS RULES
ADDRESSREADWRITE
04hAlwaysConditional
D7D6D5D4D3D2D1D0
RESPRDPESEIC1IC0TM2TM1TM0
BitSymbolDescription
D0, D1, TM0, TM1, Transmit Modek0, 1, 2l: These bits select one of the 6 transmission modes for the PMD Request Data
D2TM2
output port (TXD
g
).
TM2 TM1 TM0
000Active Transmit Mode (ATM): Normal transmission of incoming PHY Request data.
001Idle Transmit Mode (ITM): Transmission of Idle symbol pairs (11111 11111).
010Off Transmit Mode (OTM): Transmission of Quiet symbol pairs (00000 00000) and
deassertion of the PMD transmitter Enable pin (TXE).
011Reserved: Reserved for future use. Users are discouraged from using this transmit
Note: This is the default transmit mode after reset.
mode. If selected, however, the transmitter will generate Quiet symbol pairs (00000
00000).
100Master Transmit Mode (MTM): Transmission of Halt and Quiet symbol pairs (00100
00000).
101Halt Transmit Mode (HTM): Transmission of Halt symbol pairs (00100 00100).
110Quiet Transmit Mode (QTM): Transmission of Quiet symbol pairs (00000 00000).
111Reserved: Reserved for future use. Users are discouraged from using this transmit
mode. If selected, however, the transmitter will generate Quiet symbol pairs
(00000 00000).
l
e
010), the Smoother is enabled (i.e. SE
48
5.0 Registers (Continued)
BitSymbolDescription
D3, D4 IC0, IC1 Injection Controlk0, 1l: These bits select one of the 4 injection modes. The injection modes have priority
D5SESMOOTHER ENABLE:
D6PRDPEPHYÐREQUEST DATA PARITY ENABLE:
D7RESRESERVED: Reserved for future use.
over data from the Smoother, Repeat Filter, Encoder, and Transmit Modes.
a
IC0 is the only bit of the register that is automatically cleared by the PLAYER
device after the One Shot
Injection is executed. The automatic clear of IC0 during the One Shot mode can be interpreted as a
acknowledgment that the One Shot has been completed.
IC1 IC0
00No Injection: The normal transmission of incoming PHY Request data (i.e. symbols are not
injected).
01One Shot: In one shot mode, the contents of Injection Symbol Register A (ISRA) and Injection
Symbol Register B (ISRB) are injected n symbol pairs after a JK, where n is the programmed
value of the Injection Count Register (IJCR). If IJCR is set to 0, the JK symbol pair is replaced by
ISRA and ISRB. Once the One Shot is executed, the PLAYER
a
device automatically sets IC0 to
0, thereby returning to normal transmission of data.
10Periodic: In Periodic mode, the contents of Injection Symbol Register A (ISRA) and Injection
Symbol Register B (ISRB) are injected every n-th symbol pair, where n is the programmed value
of the Injection Count Register (IJCR). If IJCR is set to 0, all data symbols are replaced with ISRA
and ISRB.
Note: The inserted symbol is not automatically aligned to a JK boundary.
11Continuous: In Continuous mode, all data symbols are replaced with the contents of Injection
Symbol Register A (ISRA) and Injection Symbol Register B (ISRB).
0:Disables the Smoother.
1:Enables the Smoother.
When enabled, the Smoother can redistribute Idle symbol pairs which were added or deleted by the
local or upstream receivers.
Note: Once the counter has started, it will continue to count irrespective of the incoming symbols with the exception of a JK symbol pair.
0:Disables PHYÐRequest Data parity.
1:Enables PHYÐRequest Data parity.
Note: Users are discouraged from using this bit. The reserved bit is set to 1 during the reset process. It may be set or cleared without any
effects to the functionality of the PLAYER
a
device.
49
5.0 Registers (Continued)
5.6 INJECTION THRESHOLD REGISTER (IJTR)
The Injection Threshold Register, in conjunction with the Injection Control bits (IC
(CTSR), set the frequency at which the contents of the Injection Symbol Register A (ISRA) and Injection Symbol Register B
(ISRB) are inserted into the data stream. It contains the start value for the Injection Counter.
The Injection Threshold Register value is loaded into the Injection Counter when the counter reaches zero or during every
Control Bus Interface write-cycle of this register.
The Injection Counter is an 8-bit down-counter which decrements every 80 ns. It’s current value is read for CIJCR.
The counter is active only during One Shot or Periodic Injection Modes (i.e. Injection Control
Current Transmit State Register (CTSR) are set to either 01 or 10). The Transmitter Block will replace a data symbol pair with
ISRA and ISRB when the counter reaches 0 and the Injection Mode is either One Shot or Periodic.
If the Injection Threshold Register is set to 0 during the One Shot mode, the JK will be replaced with ISRA and ISRB. If the
Injection Threshold Register is set to 0 during the Periodic mode, all data symbols are replaced with ISRA and ISRB.
The counter is initialized to 0 during the reset process (i.e.ERST
For further information, see the INJECTION CONTROL LOGIC section.
ACCESS RULES
ADDRESSREADWRITE
05hAlwaysAlways
D7D6D5D4D3D2D1D0
IJT7IJT6IJT5IJT4IJT3IJT2IJT1IJT0
BitSymbolDescription
D0-D7 IJT0 – IJT7 INJECTION THRESHOLD BITk0-7l: Start value for the Injection Counter.
IJT0 is the Least Significant Bit (LSB).
e
GND).
k
1:0l) in the Current Transmit State Register
k
1:0lbits (ICk1:0l)ofthe
50
5.0 Registers (Continued)
5.7 INJECTION SYMBOL REGISTER A (ISRA)
The Injection Symbol Register A, along with Injection Symbol Register B, contains the programmable value (already in 5B code)
that can be inserted to replace the data symbol pairs.
In One Shot mode, ISRA and ISRB are injected n bytes after a JK, where n is the programmed value of the Injection Threshold
Register. In the Periodic mode, ISRA and ISRB are injected every n-th symbol pair. In the Continuous mode, all data symbols are
replaced with ISRA and ISRB.
ACCESS RULES
ADDRESSREADWRITE
06hAlwaysAlways
D7D6D5D4D3D2D1D0
RESRESRESIJS4IJS3IJS2IJS1IJS0
BitSymbolDescription
D0–D4 IJS0 –IJS4 INJECTION SYMBOL BITk0-4l: Symbol to be injected.
IJS0 is the Least Significant Bit (LSB) and goes out onto the media last.
D5–D7 RESRESERVED: Reserved for future use.
Note: Users are discouraged from using these bits. The reserved bits are set to 0 during the reset process. They may be set or cleared
without any effects to the functionality of the PLAYER
a
device.
51
5.0 Registers (Continued)
5.8 INJECTION SYMBOL REGISTER B (ISRB)
The Injection Symbol Register B, along with Injection Symbol Register A, contains the programmable value (already in 5B code)
that will replace the data symbol pairs.
In One Shot mode, ISRA and ISRB are injected n bytes after a JK, where n is the programmed value of the Injection Threshold
Register. In the Periodic mode, ISRA and ISRB are injected every n-th symbol pair. In the Continuous mode, all data symbols are
replaced with ISRA and ISRB.
ACCESS RULES
ADDRESSREADWRITE
07hAlwaysAlways
D7D6D5D4D3D2D1D0
RESRESRESIJS9IJS8IJS7IJS6IJS5
BitSymbolDescription
D0–D4 IJS0 –IJS4 INJECTION SYMBOL BITk0-4l: Symbol to be injected.
IJS0 is the Least Significant Bit (LSB) and goes out onto the media last.
D5–D7 RESRESERVED: Reserved for future use.
Note: Users are discouraged from using these bits. The reserved bits are set to 0 during the reset process. They may be set or cleared
without any effects to the functionality of the PLAYER
a
device.
52
5.0 Registers (Continued)
5.9 CURRENT RECEIVE STATE REGISTER (CRSR)
The Current Receive State Register represents the current line state being detected by the Receiver Block. When the Receiver
Block recognizes a new Line State, the bits corresponding to the previous line state are cleared, and the bits corresponding to
the new line state are set.
During the reset process (ERST
(LSU) is set to 1).
Note: Users are discouraged from writing to this register. An attempt to write into this register will cause the PLAYERadevice to ignore the Control Bus write cycle
and set the Control Bus Write Command Reject bit (CCR) of the Interrupt Condition Register (ICR) to 1.
ACCESS RULES
ADDRESSREADWRITE
08hAlwaysWrite Reject
D7D6D5D4D3D2D1D0
RESRESRESRESLSULS2LS1LS0
BitSymbolDescription
D0,LS0, LS1, LINE STATEk0, 1, 2l: These bits represent the current Line State being detected by the Receiver Block.
D1, D2 LS2
Once the Receiver Block recognizes a new line state, the bits corresponding to the previous line state are
cleared, and the bits corresponding to the new line state are set.
LS2 LS1 LS0
000Active Line State (ALS): Received a JK symbol pair (11000 10001), possibly followed
001Idle Line State (ILS): Received a minimum of two consecutive Idle symbol pairs
010No Signal Detect (NSD): The Signal Detect (SD) has been deasserted, indicating that
011Reserved: Reserved for future use.
100Master Line State (MLS): Received a minimum of 8 consecutive Halt-Quiet symbol
101Halt Line State (HLS): Received a minimum of 8 consecutive Halt symbol pairs
110Quiet Line State (QLS): Received a minimum of 8 consecutive Quiet symbol pairs
111Noise Line State (NLS): Detected a minimum of 16 noise events. Refer to the Receiver
D3LSULINE STATE UNKNOWN: The Receiver Block has not detected the minimum conditions to enter a known
line state. When the Line State Unknown bit is set, LS
D4-D7RESRESERVED: Reserved for future use.
Note: Users are discouraged from using these bits. The reserved bits are reset to 0 during the reset process. They may be set or cleared
e
GND), the Receiver Block is forced to Line State Unknown (i.e. the Line State Unknown bit
by data symbols.
(11111 11111).
the PLAYER
a
device is not receiving data from the PMD receiver or that clock detect is
not being received from the Clock Recovery Module. SD is ignored during internal
loopback.
Note: NSD is the default value when the device is in Stop mode. However, while in Stop mode certain data
patterns entering the Receiver Block may cause the PLAYERato set LS0. Therefore, the user may see
either the NSD (010) or Reserved Value (011) during Stop mode.
pairs (00100 00000).
(00100 00100).
(00000 00000).
Block description for further information on noise events.
k
2:0lrepresent the most recently known line state.
a
without any effects to the functionality of the PLAYER
device.
53
5.0 Registers (Continued)
5.10 RECEIVE CONDITION REGISTER A (RCRA)
The Receive Condition Register A maintains a historical record of the Line States recognized by the Receiver Block.
When a new Line State is entered, the bit corresponding to that line state is set to 1. The bits corresponding to the previous Line
States are not cleared by the PLAYER
The Receive Condition A bit (RCA) of the Interrupt Condition Register (ICR) will be set to 1 when one or more bits within the
Receive Condition Register A is set to 1 and the corresponding mask bit(s) in Receive Condition Mask Register A (RCMRA) is
also set to 1.
ACCESS RULES
ADDRESSREADWRITE
09hAlwaysConditional
D7D6D5D4D3D2D1D0
LSUPILSCNTNLSMLSHLSQLSNSD
Bit SymbolDescription
D0 NSDNO SIGNAL DETECT: Indicates that the Signal Detect pin (TTLSD) has been deasserted and that the Clock
Recovery Module is not receiving data from the PMD receiver.
D1 QLSQUIET LINE STATE: Received a minimum of eight consecutive Quiet symbol pairs (00000 00000).
D2 HLSHALT LINE STATE: Received a minimum of eight consecutive Halt symbol pairs (00100 00100).
D3 MLSMASTER LINE STATE: Received a minimum of eight consecutive Halt-Quiet symbol pairs (00100 00000).
D4 NLSNOISE LINE STATE: Detected a minimum of sixteen noise events.
D5 NTNOISE THRESHOLD: This bit is set to 1 when the internal Noise Counter reaches 0. It will remain set until a value
equal to or greater than one is loaded into the Noise Threshold Register or Noise Prescale Threshold Register.
During the reset process (i.e.ERST
be set to 1.
D6 LSCLINE STATE CHANGE: A line state change has been detected.
D7 LSUPILINE STATE UNKNOWN AND PHY INVALID: The Receiver Block has not detected the minimum conditions to
enter a known line state.
In addition, the most recently known line state was one of the following line states: No Signal Detect, Quiet Line
State, Halt Line State, Master Line State, or Noise Line State.
a
device, thereby maintaining a record of the Line States detected.
e
GND), since the Noise Counter is initialized to 0, the Noise Threshold bit will
54
5.0 Registers (Continued)
5.11 RECEIVE CONDITION REGISTER B (RCRB)
The Receive Condition Register B maintains a historical record of the Lines States recognized by the Receiver Block.
When a new Line State is entered, the bit corresponding to that line state is set to 1. The bits corresponding to the previous Line
States are not cleared, thereby maintaining a record of the Line States detected.
The Receive Condition B bit (RCB) of the Interrupt Condition Register (ICR) will be set to 1 when one or more bits within the
Receive Condition Register B is set to 1 and the corresponding mask bit(s) in Receive Condition Mask Register B (RCMRB) is
also set to 1.
ACCESS RULES
ADDRESSREADWRITE
0AhAlwaysConditional
D7D6D5D4D3D2D1D0
RESSILSEBOUCSELSUPVALSSTILS
Bit SymbolDescription
D0 ILSIDLE LINE STATE: Received a minimum of two consecutive Idle symbol pairs (11111 11111).
D1 STSTATE THRESHOLD: This bit will be set to 1 when the internal State Counter reaches zero. It will remain set until
D2 ALSACTIVE LINE STATE: Received a JK symbol pair (11000 10001), and possibly data symbols following.
D3 LSUPVLINE STATE UNKNOWN AND PHY VALID: The Receiver Block has not detected the minimum conditions to
D4 CSECONNECTION SERVICE EVENT/CASCADE SYNCHRONIZATION ERROR:
D5 EBOUELASTICITY BUFFER UNDERFLOW / OVERFLOW: The Elasticity Buffer has either overflowed or underflowed.
D6 SILSSUPER IDLE LINE STATE: Received a minimum of eight Idle symbol pairs (11111 11111).
D7 RESRESERVED: Reserved for future use.
a value equal to or greater than one is loaded into the State Threshold Register or State Prescale Threshold
Register, and this register is cleared.
During the reset process (i.e.ERST
e
GND), since the State Counter is initialized to 0, the State Threshold bit is
set to 1.
enter a known line state.
In addition, the most recently known line state was either Active Line State or Idle Line State.
When one or more bits in the CMT Condition Register (CMTCR) are set and the corresponding bit(s) in the CMT
Condition Mask Register (CMTCMR) are set, the Connection service event bit will be set to a 1.
When a synchronization error occurs, the Cascade Synchronization Error bit is set to 1. A synchronization error
occurs if the Cascade Start signal (CS) is not asserted within approximately 80 ns of Cascade Ready (CR) release.
Note: Cascade mode and the CMT features can not be used at the same time.
Note: Cascade mode is only supported on the DP83257 device.
The Elasticity Buffer will automatically recover if the condition which caused the error is only transient, but the
event bit will remain set until cleared by software.
Note: Users are discouraged from using these bits. The reserved bits are reset to 0 during the reset process. They may be set or cleared without
any effects to the functionality of the PLAYER
a
device
55
5.0 Registers (Continued)
5.12 RECEIVE CONDITION MASK REGISTER A (RCMRA)
The Receive Condition Mask Register A allows the user to dynamically select which events will generate an interrupt.
The Receive Condition A bit (RCA) of the Interrupt Condition Register (ICR) will be set to 1 when one or more bits within the
Receive Condition Register A (RCRA) is set to 1 and the corresponding mask bit(s) in this register is also set to 1.
Since this register is cleared (i.e. set to 0) during the reset process, all interrupts are initially masked.
ACCESS RULES
ADDRESSREADWRITE
0BhAlwaysAlways
D7D6D5D4D3D2D1D0
LSUPIMLSCMNTMNLSMMLSMHLSMQLSMNSDM
Bit SymbolDescription
D0 NSDMNO SIGNAL DETECT MASK: The mask bit for the No Signal Detect bit (NSD) of the Receive Condition Register A
D1 QLSMQUIET LINE STATE MASK: The mask bit for the Quiet Line State bit (QLS) of the Receive Condition Register A
D2 HLSMHALT LINE STATE MASK: The mask bit for the Halt Line State bit (HLS) of the Receive Condition Register A
D3 MLSMMASTER LINE STATE MASK: The mask bit for the Master Line State bit (MLS) of the Receive Condition Register
D4 NLSMNOISE LINE STATE MASK: The mask bit for the Noise Line State bit (NLS) of the Receive Condition Register A
D5 NTMNOISE THRESHOLD MASK: The mask bit for the Noise Threshold bit (NT) of the Receive Condition Register A
D6 LSCMLINE STATE CHANGE MASK: The mask bit for the Line State Change bit (LSC) of the Receive Condition
D7 LSUPIM LINE STATE UNKNOWN AND PHY INVALID MASK: The mask bit for the Line State Unknown and PHY Invalid
(RCRA).
(RCRA).
(RCRA).
A (RCRA).
(RCRA).
(RCRA).
Register A (RCRA).
bit (LSUPI) of the Receive Condition Register A (RCRA).
56
5.0 Registers (Continued)
5.13 RECEIVE CONDITION MASK REGISTER B (RCMRB)
The Receive Condition Mask Register B allows the user to dynamically select which events will generate an interrupt.
The Receive Condition B bit (RCB) of the Interrupt Condition Register (ICR) will be set to 1 when one or more bits within the
Receive Condition Register B (RCRA) is set to 1 and the corresponding mask bits in this register is also set to 1.
Since this register is cleared (i.e. set to 0) during the reset process, all interrupts are initially masked.
ACCESS RULES
ADDRESSREADWRITE
0ChAlwaysAlways
D7D6D5D4D3D2D1D0
RESMSILSMEBOUMCSEMLSUPVMALSMSTMILSM
BitSymbolDescription
D0 ILSMIDLE LINE STATE MASK: The mask bit for the Idle Line State bit (ILS) of the Receive Condition Register B
D1 STMSTATE THRESHOLD MASK: The mask bit for the State Threshold bit (ST) of the Receive Condition Register B
D2 ALSMACTIVE LINE STATE MASK: The mask bit for the Active Line State bit (ALS) of the Receive Condition Register
D3 LSUPVM LINE STATE UNKNOWN AND PHY VALID MASK: The mask bit for the Line State Unknown and PHY Valid bit
D4 CSEMCASCADE SYNCHRONIZATION ERROR MASK/CONNECTION SERVICE EVENT MASK:
D5 EBOUMELASTICITY BUFFER OVERFLOW/UNDERFLOW MASK: The mask bit for the Elasticity Buffer Overflow/
D6 SILSMSUPER IDLE LINE STATE MASK: The mask bit for the Super Idle Line State bit (SILS) of the Receive Condition
D7 RESMRESERVED MASK: The mask bit for the Reserved bit (RES) of the Receive Condition Register B (RCRB).
(RCRB).
(RCRB).
B (RCRB).
(LSUPV) of the Receive Condition Register B (RCRB).
The mask bit for the Cascade Synchronization Error/Connection service event bit (CSE) of the Receive Condition
Register B (RCRB).
Underflow bit (EBOU) of the Receive Condition Register B (RCRB).
Register B (RCRB).
57
5.0 Registers (Continued)
5.14 NOISE THRESHOLD REGISTER (NTR)
The Noise Threshold Register contains the start value for the Noise Timer. This threshold register is used in conjunction with the
Noise Prescale Threshold register for setting the maximum allowable time between entry to ILS, HLS, MLS, ALS, or NSD line
states. The Noise timer is used to implement the TNE timing requirement of PCM. The Noise timer decrements by one for every
80 x (NPTR
zero:
The threshold values for the Noise Counter and Noise Prescale Counter are simultaneously loaded into both counters if one of
the following conditions is true:
1. Both the Noise Counter and Noise Prescale Counter reach zero and the current Line State is either Noise Line State, Active
or
2. The current Line State is either Halt Line State, Idle Line State, Master Line State, Quiet Line State, or No Signal Detect.
or
3. The Noise Threshold Register or Noise Prescale Threshold Register goes through a Control Bus Interface write cycle.
In addition, the value of the Noise Prescale Threshold register is loaded into the Noise Prescale Counter if the Noise Prescale
Counter reaches zero.
The Noise Counter and Noise Prescale Counter will continue to count, without resetting or reloading the threshold values, if a
Line State change occurs and the new line state is either Noise Line State, Active Line State, or Line State Unknown.
When both the Noise Threshold Counter and Noise Counter both reach zero, the Noise Threshold bit of the Receive Condition
Register A will be set.
The recommended default value for the NTR register is 40h and for the NPTR register is F9h which corresponds to 1.3 ms as
specified in the ANSI standard.
ACCESS RULES
a
1) ns in case of Noise events. As a result, the internal noise counter takes the following amount of time to reach
a
((NPTR
Line State, or Line State Unknown.
ADDRESSREADWRITE
0DhAlwaysAlways
D7D6D5D4D3D2D1D0
RESNT6NT5NT4NT3NT2NT1NT0
1) x NTRaNPTR) x 80 ns
BitSymbolDescription
D0-D6 NT0-NT6 NOISE THRESHOLD BITk0-6l: Start value for the Noise Counter.
NT0 is the Least Significant Bit (LSB).
D7RESRESERVED: Reserved for future use.
Note: Users are discouraged from using this bit. Write data is ignored since the reserved bit is permanently set to 0.
58
5.0 Registers (Continued)
5.15 NOISE PRESCALE THRESHOLD REGISTER (NPTR)
The Noise Prescale Threshold Register contains the start value for the Noise Prescale Timer. This threshold register is used in
conjunction with the Noise Threshold register for setting the maximum allowable time between entry to ILS, HLS, MLS, ALS, or
NSD. The Noise timer is used to implement the TNE timing requirement of PCM. The Noise Prescale threshold controls how
often the Noise timer is decremented. When the Noise Prescale Timer reaches zero, it reloads the count with the contents of the
Noise Prescale Threshold Register and also causes the Noise Timer to decrement.
The threshold values for the Noise Counter and Noise Prescale Counter are simultaneously loaded into both counters if one of
the following conditions is true:
1. Both the Noise Counter and Noise Prescale Counter reach zero and the current Line State is either Noise Line State, Active
Line State, or Line State Unknown.
or
2. The Current Line State is either Halt Line State. Idle Line State, Master Line State, Quiet Line State, or No Signal Detect
or
3. The Noise Threshold Register or Noise Prescale Threshold Register goes through a Control Bus Interface write cycle.
In addition, the value of the Noise Prescale Threshold Register is loaded into the Noise Prescale Counter if the Noise Prescale
Counter reaches zero.
The Noise Counter and Noise Prescale Counter will continue to count, without resetting or reloading the threshold values, if a
Line State change occurs and the new line state is either Noise Line State, Active Line State, or Line State Unknown.
When both the Noise Threshold Counter and Noise Counter both reach zero, the Noise Threshold bit of the Receive Condition
Register A will be set.
See the NTR register description for default value recommendations.
ACCESS RULES
ADDRESSREADWRITE
0EhAlwaysAlways
D7D6D5D4D3D2D1D0
NPT7NPT6NPT5NPT4NPT3NPT2NPT1NPT0
BitSymbolDescription
D0-D7 NPT0-NPT7 NOISE PRESCALE THRESHOLD BITk0-7l: Start value for the Noise Prescale Timer.
NPT0 is the Least Significant Bit (LSB).
59
5.0 Registers (Continued)
5.16 CURRENT NOISE COUNT REGISTER (CNCR)
The Current Noise Count Register takes a snap-shot of the Noise Timer during every Control Bus Interface read cycle of this
register.
During a Control Bus Interface write cycle, the Control Bus Write Command Reject bit (CCR) of the Interrupt Condition Register
(ICR) will be set to 1 and will ignore a write cycle.
ACCESS RULES
ADDRESSREADWRITE
0FhAlwaysWrite Reject
D7D6D5D4D3D2D1D0
NCLSCDCNC6CNC5CNC4CNC3CNC2CNC1CNC0
BitSymbolDescription
D0–D6 CNC0 –CNC6 CURRENT NOISE COUNT BITk0–6l: Snapshot of the Noise Counter.
D7NCLSCDNOISE COUNTER LINE STATE CHANGE DETECTION
60
5.0 Registers (Continued)
5.17 CURRENT NOISE PRESCALE COUNT REGISTER (CNPCR)
The Current Noise Prescale Count Register takes a snap-shot of the Noise Prescale Timer during every Control Bus Interface
read cycle of this register.
During a Control Bus Interface write cycle, the Control Bus Write Command Reject bit (CCR) of the Interrupt Condition Register
(ICR) will be set to 1 and will ignore a write cycle.
ACCESS RULES
ADDRESSREADWRITE
10hAlwaysWrite Reject
D7D6D5D4D3D2D1D0
CNPC7CNPC6CNPC5CNPC4CNPC3CNPC2CNPC1CNPC0
BitSymbolDescription
D0–D7 CNPC0 –7 CURRENT NOISE PRESCALE COUNT BITk0–7l: Snapshot of the Noise Prescale Timer.
61
5.0 Registers (Continued)
5.18 STATE THRESHOLD REGISTER (STR)
The State Threshold Register contains the start value for the State Timer. This timer is used in conjunction with the State
Prescale Timer to count the Line State duration. The State Timer will decrement every 80 ns if the State Prescale Timer is zero
and the current Line State is Halt Line State, Idle Line State, Master Line State, Quiet Line State, or No Signal Detect. The State
Timer takes
to reach zero during a continuous line state condition.
The threshold values for the State Timer and State Prescale Timer are simultaneously loaded into both counters if one of the
following conditions is true:
1. Both the State Timer and State Prescale Timer reach zero and the current Line State is Halt Line State, Idle Line State,
Master Line State, Quiet Line State, or No Signal Detect.
or
2. A line state change occurs and the new Line State is Halt Line State, Idle Line State, Master Line State, Quiet Line State, or
No Signal Detect.
or
3. The State Threshold Register or State Prescale Threshold Register goes through a Control Bus Interface write cycle.
In addition, the value of the State Prescale Threshold Register is loaded into the State Prescale Counter if the State Prescale
Timer reaches zero.
The State Timer and State Prescale Timer will reset by reloading the threshold values, if a Line State change occurs and the
new Line State is Halt Line State, Idle Line State, Master Line State, Quiet Line State, or No Signal Detect. On detection of ALS,
NLS, or LSU the timer will not decrement.
ACCESS RULES
ADDRESSREADWRITE
11hAlwaysAlways
D7D6D5D4D3D2D1D0
RESST6ST5ST4ST3ST2ST1ST0
((SPTR
a
1) x STRaSPTR) x 80 ns
BitSymbolDescription
D0-D6 ST0-ST6 STATE THRESHOLD BITk0-6l: Start value for the State Timer.
ST0 is the Least Significant Bit (LSB).
D7RESRESERVED: Reserved for future use.
Note: Users are discouraged from using this bit. Write data is ignored since the reserved bit is permanently set to 0.
62
5.0 Registers (Continued)
5.19 STATE PRESCALE THRESHOLD REGISTER (SPTR)
The State Prescale Threshold Register contains the start value for the State Prescale Timer. The State Prescale Timer is a down
counter. It is used in conjunction with the State Timer to count the Line State duration.
The threshold values for the State Timer and State Prescale Timer are simultaneously loaded into both timers if one of the
following conditions is true:
1. Both the State Timer and State Prescale Timer reach zero and the current Line State is Halt Line State, Idle Line State,
Master Line State, Quiet Line State, or No Signal Detect.
or
2. A Line State change occurs and the new Line State is Halt Line State, Idle Line State, Master Line State, Quiet Line State, or
No Signal Detect.
or
3. The State Threshold Register or State Prescale Threshold Register goes through a Control Bus Interface write cycle.
The State Prescale Timer will decrement every 80 ns if the current Line State is Halt Line State, Idle Line State, Master Line
State, Quiet Line State, or No Signal Detect.
ACCESS RULES
ADDRESSREADWRITE
12hAlwaysAlways
D7D6D5D4D3D2D1D0
SPT7SPT6SPT5SPT4SPT3SPT2SPT1SPT0
BitSymbolDescription
D0–D7 SPT0 –SPT7 STATE PRESCALE THRESHOLD BITk0–7l: Start value for the State Prescale Timer.
SPT0 is the Least Significant Bit (LSB).
63
5.0 Registers (Continued)
5.20 CURRENT STATE COUNT REGISTER (CSCR)
The Current State Count Register takes a snap-shot of the State Counter during every Control Bus Interface read cycle of this
register.
During a Control Bus Interface write cycle, the Control Bus Write Command Reject bit (CCR) of the Interrupt Condition Register
(ICR) will be set to 1 and will ignore a write cycle.
ACCESS RULES
ADDRESSREADWRITE
13hAlwaysWrite Reject
D7D6D5D4D3D2D1D0
SCLSCDCSC6CSC5CSC4CSC3CSC2CSC1CSC0
BitSymbolDescription
D0–D6 CSC0 –CSC6 CURRENT STATE COUNT BITk0–6l: Snapshot of the State Counter.
D7SCLSCDSTATE COUNTER LINE STATE CHANGE DETECTION
64
5.0 Registers (Continued)
5.21 CURRENT STATE PRESCALE COUNT REGISTER (CSPCR)
The Current State Prescale Count Register takes a snap-shot of the State Prescale Counter during every Control Bus Interface
read cycle of this register.
During a Control Bus Interface write cycle, the Control Bus Write Command Reject bit (CCR) of the Interrupt Condition Register
(ICR) will be set to 1 and will ignore a write cycle.
ACCESS RULES
ADDRESSREADWRITE
14hAlwaysWrite Reject
D7D6D5D4D3D2D1D0
CSPC7CSPC6CSPC5CSPC4CSPC3CSPC2CSPC1CSPC0
BitSymbolDescription
D0–D7 CSPC0 –7 CURRENT STATE PRESCALE COUNTk0–7l: Snapshot of the State Prescale Counter.
65
5.0 Registers (Continued)
5.22 LINK ERROR THRESHOLD REGISTER (LETR)
The Link Error Threshold Register contains the start value for the Link Error Monitor Counter. It is an 8-bit down-counter which
decrements if link errors are detected.
When the Counter reaches 0, the Link Error Monitor Threshold Register value is loaded into the Link Error Monitor Counter and
the Link Error Monitor Threshold bit (LEMT) of the Interrupt Condition Register (ICR) is set to one.
The Link Error Monitor Threshold Register value is also loaded into the Link Error Monitor Counter during every Control Bus
Interface write cycle of LETR.
The counter is initialized to 0 during the reset process (i.e.ERST
ACCESS RULES
ADDRESSREADWRITE
15hAlwaysAlways
D7D6D5D4D3D2D1D0
LET7LET6LET5LET4LET3LET2LET1LET0
BitSymbolDescription
D0–D7 LET0 –LET7 LINK ERROR THRESHOLD BITk0–7l: Start value for the Link Error Monitor Counter.
LET0 is the Least Significant Bit (LSB).
e
GND).
66
5.0 Registers (Continued)
5.23 CURRENT LINK ERROR COUNT REGISTER (CLECR)
The Current Link Error Count Register takes a snap-shot of the Link Error Monitor Counter during every Control Bus Interface
read cycle of this register.
During a Control Bus Interface write cycle, the Control Bus Write Command Reject bit (CCR) of the Interrupt Condition Register
(ICR) will be set to 1 and will ignore a write cycle.
ACCESS RULES
ADDRESSREADWRITE
16hAlwaysWrite Reject
D7D6D5D4D3D2D1D0
LEC7LEC6LEC5LEC4LEC3LEC2LEC1LEC0
BitSymbolDescription
D0–D7 LEC0 –LEC7 LINK ERROR COUNT BITk0–7l: Snapshot of the Link Error Monitor Counter.
67
5.0 Registers (Continued)
5.24 USER DEFINABLE REGISTER (UDR)
The User Definable Register is used to monitor and control events which are external to the PLAYER
The value of the Sense Bits reflect the asserted/deasserted state of their corresponding Sense pins. On the other hand, the
Enable bits assert/deassert the Enable pins.
Note: SB2 and EB2 are only effective for the DP83257.
ACCESS RULES
ADDRESSREADWRITE
17hAlwaysAlways
D7D6D5D4D3D2D1D0
RESEB2RESSB2EB1EB0SB1SB0
Bit SymbolDescription
D0 SB0SENSE BIT 0: This bit is set to 1 if the Sense Pin 0 (SP0) is asserted (i.e. SP0eVCC) for a minimum amount of
time. Once the asserted signal is latched, Sense Bit 0 can only be cleared through the Control Bus Interface, even
if the signal is deasserted. This ensures that the Control Bus Interface will record the source of events which can
cause interrupts in a traceable manner.
D1 SB1SENSE BIT 1: This bit is set to 1 if the Sense Pin 1 (SP1) is asserted (i.e. SP1eVCC) for a minimum amount of
time. Once the asserted signal is latched, Sense Bit 1 can only be cleared through the Control Bus Interface, even
if the signal is deasserted. This ensures that the Control Bus Interface will record the source of events which can
cause interrupts in a traceable manner.
D2 EB0ENABLE BIT 0: The Enable Bit 0 allows control of external logic through the Control Bus Interface. The User
Definable Enable Pin 0 (EP0) is asserted/deasserted by this bit.
e
0:EP0 is deasserted (i.e. EP0
1:EP0 is asserted (i.e. EP0
e
GND).
VCC).
D3 EB1ENABLE BIT 1: This bit allows control of external logic through the Control Bus Interface. The User Definable
Enable Pin 0 (EP0) is asserted/deasserted by this bit.
e
0:EP1 is deasserted (i.e. EP1
1:EP1 is asserted (i.e. EP1
e
GND).
VCC).
D4 SB2SENSE BIT 2: This bit is set to 1 if the Sense Pin 2 (SP2) is asserted (i.e. SP2eVCC) for a minimum amount of
time. Once the asserted signal is latched, Sense Bit 2 can only be cleared through the Control Bus Interface, even
if the signal is deasserted. This ensures that the Control Bus Interface will record the source of events which can
cause interrupts in a traceable manner.
Note: SB2 and EB2 are only effective for the DP83257.
D5 RESRESERVED: Reserved for future use. The reserved bit is set to 0 during the initialization process
(i.e.ERST
Note: Users are discouraged from using this bit. It may be set or cleared without any effects to the functionality of the PLAYERadevice.
e
GND).
D6 EB2ENABLE BIT2: The Enable Bit 2 allows control of external logic through the Control Bus Interface. The User
Definable Enable Pin 2 (EP2) is asserted/deasserted by this bit.
Note: SB2 and EB2 are only effective for the DP83257.
0:EP2 is deasserted (i.e. EP2eGND).
1:EP2 is asserted (i.e. EP2
D7 RESRESERVED: Reserved for future use. The reserved bit is set to 0 during the initialization process
(i.e.ERST
Note: Users are discouraged from using this bit. It may be set or cleared without any effects to the functionality of the PLAYERadevice.
e
GND).
e
VCC).
a
device.
68
5.0 Registers (Continued)
5.25 DEVICE ID REGISTER (IDR)
The Device ID Register contains the binary equivalent of the revision number for this device. It can be used to ensure proper
software and hardware versions are matched.
During a Control Bus Interface write cycle, the Control Bus Write Command Register bit (CCR) of the Interrupt Condition
Register (ICR) will be set to 1, and will ignore write cycle.
REVISION TABLE
IDR
(hex)
10PLAYERaRevision A
11PLAYER
ACCESS RULES
ADDRESSREADWRITE
D7D6D5D4D3D2D1D0
DID7DID6DID5DID4DID3DID2DID1DID0
BitSymbolDescription
D0–D3 DID0 –DID3 DEVICE ID BITk0-3l: Circuit enhancement revision number. Bit 3 is the MSB. The initial revision of the
D4–D7 DID4 –DID7 DEVICE ID BITk4-7l: Architecture level of the PHY device. Bit 7 is the MSB. The original PLAYER
DEVICE DESCRIPTION
a
Revision B
18hAlwaysWrite Reject
a
PLAYER
device was equal to 0 and the PLAYER
significant architectural change.
is equal to 0 and enhancements will increment this number.
a
is equal to 1. This number will only be incremented after a
69
5.0 Registers (Continued)
5.26 CURRENT INJECTION COUNT REGISTER (CIJCR)
The Current Injection Count Register takes a snap-shot of the Injection Counter during every Control Bus Interface read cycle of
this register.
During a Control Bus Interface write cycle, the Control Bus Write Command Reject bit (CCR) of the Interrupt Condition Register
(ICR) will be set to 1 and will ignore a write cycle.
The Injection Counter is an 8-bit down-counter which decrements every 80 ns.
The counter is active only during One Shot or Periodic Injection Modes (i.e. Injection Control
Current Transmit State Register (CTSR) are set to either 01 or 10).
The Injection Threshold Register (IJTR) value is loaded into the Injection Counter when the counter reaches zero and during
every Control Bus Interface write cycle of IJTR.
The counter is initialized to 0 during the reset process (i.e.ERST
ACCESS RULES
ADDRESSREADWRITE
19hAlwaysWrite Reject
D7D6D5D4D3D2D1D0
IJC7IJC6IJC5IJC4IJC3IJC2IJC1IJC0
BitSymbolDescription
D0–D7 IJC0 –IJC7 INJECTION COUNT BITk0-7l: Current value of the Injection Counter.
The Interrupt Condition Comparison Register ensures that the Control Bus must first read a bit modified by the PLAYER
device before it can be written to by the Control Bus Interface.
The current state of the Interrupt Condition Register (ICR) is automatically written into the Interrupt Condition Comparison
Register (i.e. ICCR
During a Control Bus Interface write cycle, the PLAYERadevice will set the Conditional Write Inhibit bit (CWI) of the Interrupt
Condition Register (ICR) to 1 and disallow the setting or clearing of a bit within ICR when the value of a bit in ICR differs from the
value of the corresponding bit in the interrupt Condition Comparison Register.
ACCESS RULES
ADDRESSREADWRITE
1AhAlwaysAlways
D7D6D5D4D3D2D1D0
UDICRCBCRCACLEMTCCWICCCRCCPECDPEC
Bit SymbolDescription
D0 DPECPHYÐREQUEST DATA PARITY ERROR COMPARISON: The comparison bit for the PHYÐRequest Data Parity
D1 CPECCONTROL BUS DATA PARITY ERROR COMPARISON: The comparison bit for the Control Bus Data Parity Error
D2 CCRCCONTROL BUS WRITE COMMAND REJECT COMPARISON: The comparison bit for the Control Bus Write
D3 CWICCONDITIONAL WRITE INHIBIT COMPARISON: The comparison bit for the Conditional Write Inhibit bit (CWI) of
D4 LEMTCLINK ERROR MONITOR THRESHOLD COMPARISON: The comparison bit for the Link Error Monitor Threshold
D5 RCACRECEIVE CONDITION A COMPARISON: The comparison bit for the Receive Condition A bit (RCA) of the
D6 RCBCRECEIVE CONDITION B COMPARISON: The comparison bit for the Receive Condition B bit (RCB) of the
D7 UDICUSER DEFINABLE INTERRUPT COMPARISON: The comparison bit for the User Definable Interrupt bit (UDIC) of
e
ICR) during a Control Bus Interface read-cycle of ICR.
Error bit (DPE) of the Interrupt Condition Register (ICR).
bit (CPE) of the Interrupt Condition Register (ICR).
Command Reject bit (CCR) of the Interrupt Condition Register (ICR).
the Interrupt Condition Register (ICR).
bit (LEMT) of the Interrupt Condition Register (ICR).
Interrupt Condition Register (ICR).
Interrupt Condition Register (ICR).
the Interrupt Condition Register (ICR).
a
71
5.0 Registers (Continued)
5.28 CURRENT TRANSMIT STATE COMPARISON REGISTER (CTSCR)
The Current Transmit State Comparison Register ensures that the Control Bus must first read a bit modified by the PLAYER
device before it can be written to by the Control Bus Interface.
The current state of the Current Transmit State Register (CTSR) is automatically written into the Current Transmit State
Comparison Register A (i.e. CTSCR
During a Control Bus Interface write cycle, the PLAYERadevice will set the Conditional Write Inhibit bit (CWI) of the Interrupt
Condition Register (ICR) to 1 and disallow the setting or clearing of a bit within the CTSR when the value of a bit in the CTSR
differs from the value of the corresponding bit in the Current Transmit State Comparison Register.
ACCESS RULES
ADDRESSREADWRITE
1BhAlwaysAlways
D7D6D5D4D3D2D1D0
RESCPRDPECSECIC1CIC0CTM2CTM1CTM0C
BitSymbolDescription
D0 TM0CTRANSMIT MODEk0lCOMPARISON: The comparison bit for the Transmit Modek0lbit (TM0) of the
Current Transmit State Register (CTSR).
D1 TM1CTRANSMIT MODEk1lCOMPARISON: The comparison bit for the Transmit Modek1lbit (TM1) of the
Current Transmit State Register (CTSR).
D2 TM2CTRANSMIT MODEk2lCOMPARISON: The comparison bit for the Transmit Modek2lbit (TM2) of the
Current Transmit State Register (CTSR).
D3 IC0CINJECTION CONTROLk0lCOMPARISON: The comparison bit for the Injection Controlk0lbit (IC0) of the
Current Transmit State Register (CTSR).
D4 IC1CINJECTION CONTROLk1lCOMPARISON: The comparison bit for the Injection Controlk1lbit (IC1) of the
Current Transmit State Register (CTSR).
D5 SECSMOOTHER ENABLE COMPARISON: The comparison bit for the Smoother Enable bit (SE) of the Current
Transmit State Register (CTSR).
D6 PRDPEC PHYÐREQUEST DATA PARITY ENABLE COMPARISON: The comparison bit for the PHYÐRequest Data
Parity Enable bit (PRDPE) of the Current Transmit State Register (CTSR).
D7 RESCRESERVED COMPARISON: The comparison bit for the Reserved bit (RES) of the Current Transmit State
Register (CTSR).
e
CTSR) during a Control Bus Interface read cycle of CTSR.
a
72
5.0 Registers (Continued)
5.29 RECEIVE CONDITION COMPARISON REGISTER A (RCCRA)
The Receive Condition Comparison Register A ensures that the Control Bus must first read a bit modified by the PLAYER
device before it can be written to by the Control Bus Interface.
The current state of RCRA is automatically written into the Receive Condition Comparison Register A (i.e. RCCRAeRCRA)
during a Control Bus Interface read cycle of RCRA.
During a Control Bus Interface write cycle, the PLAYER
Condition Register (ICR) to 1 and prevent the setting or clearing of a bit within RCRA when the value of a bit in RCRA differs
from the value of the corresponding bit in the Receive Condition Comparison Register A.
ACCESS RULES
ADDRESSREADWRITE
1ChAlwaysAlways
D7D6D5D4D3D2D1D0
LSUPICLSCCNTCNLSCMLSCHLSCQLSCNSDC
Bit SymbolDescription
D0 NSDCNO SIGNAL DETECT COMPARISON: The comparison bit for the No Signal Detect bit (NSD) of the Receive
Condition Register A (RCRA).
D1 QLSCQUIET LINE STATE COMPARISON: The comparison bit for the Quiet Line State bit (QLS) of the Receive
Condition Register A (RCRA).
D2 HLSCHALT LINE STATE COMPARISON: The comparison bit for the Halt Line State bit (HLS) of the Receive Condition
Register A (RCRA).
D3 MLSCMASTER LINE STATE COMPARISON: The comparison bit for the Master Line State bit (MLS) of the Receive
Condition Register A (RCRA).
D4 NLSCNOISE LINE STATE COMPARISON: The comparison bit for the Noise Line State bit (NLS) of the Receive
Condition Register A (RCRA).
D5 NTCNOISE THRESHOLD COMPARISON: The comparison bit for the Noise Threshold bit (NT) of the Receive
Condition Register A (RCRA).
D6 LSCCLINE STATE CHANGE COMPARISON: The comparison bit for the Line State Change bit (LSC) of the Receive
Condition Register A (RCRA).
D7 LSUPIC LINE STATE UNKNOWN AND PHY INVALID COMPARISON: The comparison bit for the Line State Unknown
and PHY Invalid bit (LSUPI) of the Receive Condition Register A (RCRA).
a
device will set the Conditional Write Inhibit bit (CWI) of the Interrupt
a
73
5.0 Registers (Continued)
5.30 RECEIVE CONDITION COMPARISION REGISTER B (RCCRB)
The Receive Condition Comparison Register B ensures that the Control Bus must first read a bit modified by the PLAYER
device before it can be written to by the Control Bus Interface.
The current state of RCRB is automatically written into the Receive Condition Comparison Register B (i.e. RCCRBeRCRB)
during a Control Bus Interface read cycle RCRB.
During a Control Bus Interface write cycle, the PLAYER
Condition Register (ICR) to 1 and prevent the setting or clearing of a bit within RCRB when the value of a bit in RCRB differs
from the value of the corresponding bit in the Receive Condition Comparison Register B.
ACCESS RULES
ADDRESSREADWRITE
1DhAlwaysAlways
D7D6D5D4D3D2D1D0
RESCSILSCEBOUCCSECLSUPVCALSCSTCILSC
BitSymbolDescription
D0 ILSCIDLE LINE STATE COMPARISON: The comparison bit for the Idle Line State bit (ILS) of the Receive Condition
Register B (RCRB).
D1 STCSTATE THRESHOLD COMPARISON: The comparison bit for the State Threshold bit (ST) of the Receive
Condition Register B (RCRB).
D2 ALSCACTIVE LINE STATE COMPARISON: The comparison bit for the Active Line State bit (ALS) of the Receive
Condition Register B (RCRB).
D3 LSUPVC LINE STATE UNKNOWN AND PHY VALID COMPARISON: The comparison bit for the Line State Unknown and
PHY Valid bit (LSUPV) of the Receive Condition Register B (RCRB).
D4 CSECCONNECTION SERVICE EVENT COMPARISON / CASCADE SYNCHRONIZATION ERROR: The comparison
bit for the Cascade Synchronization Error/Connection Service Event bit (CSE) of the Receive Condition Register
B (RCRB).
D5 EBOUCELASTICITY BUFFER OVERFLOW / UNDERFLOW COMPARISON: The comparison bit for the Elasticity Buffer
Overflow/Underflow bit (EBOU) of the Receive Condition Register B (RCRB).
D6 SILSCSUPER IDLE LINE STATE COMPARISON: The comparison bit for the Super Idle Line State bit (SILS) of the
Receive Condition Register B (RCRB).
D7 RESCRESERVED COMPARISON: The comparison bit for the Reserved bit (RES) of the Receive Condition Register B
(RCRB).
a
device will set the Conditional Write Inhibit bit (CWI) of the Interrupt
a
74
5.0 Registers (Continued)
5.31 MODE REGISTER 2 (MODE2)
The Mode Register 2 (MODE2) is used to configure the PLAYER
The register is used to software reset the chip, setup data parity, and enable scrubbing functions.
Note: This register can not be written to during reset.
ACCESS RULES
ADDRESSREADWRITE
1EhAlwaysConditional
D7D6D5D4D3D2D1D0
ESTCRESCLKSELRESRESRESCBPEPHYRST
BitSymbolDescription
D0PHYRST PLAYER RESET: This bit can be used as a master software reset of the PLAYER function within the
a
PLAYER
The PLAYER
device. The clock distribution and recovery sections of the chip are not affected by this reset.
a
automatically clears this bit 32 byte time after its assertion to indicate that the reset action
has been completed.
This bit can be set through a C-Bus write, but can only be cleared by the PLAYER
D1CBPEC-Bus Parity Enable: This bit disables or enables parity checking on C-Bus data. When this bit is set to 0, no
parity checking is done. When the bit is set to 1, parity checking is enabled during a C-Bus write cycle. Should
a mismatch occur, the C-Bus Data Parity Error (ICR.CPE) bit will be set and the corresponding C-Bus access
is discarded.
C-Bus data parity is always generated during a C-Bus read cycle.
D2–D4 RESRESERVED: Reserved for future use.
D5CLKSELCLOCK SELECT: This bit controls the frequency of the CLK16 output. It resets to 0 which sets the CLK16
output to a 15.625 MHz frequency. When set to 1 a 31.25 MHz frequency is generated.
Note: When the value of this bit is changed, no glitches appear on the CLK16 output due to the frequency change.
D6RESRESERVED: Reserved for future use.
D7ESTCENABLE SCRUBBING on TRIGGER CONDITIONS: When ESTC is set to 1 and a Trigger Condition occurs
(as set in the TDR register), the Trigger Transition Configuration Register (TTCR) is loaded into the
Configuration Register (CR) and scrubbing is started on all indicate ports that have changed.
Scrubbing is accomplished by sending out 2 PhyÐInvalid symbols followed by ‘‘scrub’’symbol pairs for a time
defined by the Scrub Timer Threshold register.
a
device.
a
.
75
5.0 Registers (Continued)
5.32 CMT CONDITION COMPARISON REGISTER (CMTCCR)
The CMT Condition Comparison Register (CMTCR) ensures that the Control Bus must first read a bit modified by the PLAYER
device before it can be written to by the Control Bus Interface.
The current state of the CMT Condition Register (CMTCR) is automatically written into the CMT Condition Comparison Register
(CMTCR) (i.e. CMTCCR
During a Control Bus Interface write cycle, the PLAYERadevice will set the Conditional Write Inhibit bit (CWI) of the Interrupt
Control Register (ICR) to 1 and disallow the setting or clearing of a bit within the CMTCR when the value of a bit in the CMTCR
differs from the value of the corresponding bit in the CMT Condition Comparison Register.
ACCESS RULES
ADDRESSREADWRITE
1FhAlwaysAlways
D7D6D5D4D3D2D1D0
TCOCSTECRESRESRESRESRESRES
BitSymbolDescription
D0-D5 RESRESERVED: Reserved for future use.
D6STECSCRUB TIMER EXPIRED COMPARISON: The comparison bit for the Scrub Timer Expire bit (STE) of the CMT
D7TCOCTRIGGER CONDITION OCCURRED COMPARISON: The comparison bit for the Trigger Condition Occurred
e
CMTCR) during a Control Bus Interface read-cycle of CMTCR.
Condition Register (CMTCR).
(TCO) bit of the CMT Condition Register (CMTCR).
a
76
5.0 Registers (Continued)
5.33 CMT CONDITION REGISTER (CMTCR)
The CMT Condition Register maintains a history of all CMT events and actions performed. The corresponding CMT Condition
Mask Register (CMTCMR) can be used to generate an interrupt. When the bits in both the CMTCMR and CMTCR are set, the
Receive Condition Register B’s Connection Service Event (RCRB.CSE) bit will be set.
ACCESS RULES
ADDRESSREADWRITE
20hAlwaysConditional
D7D6D5D4D3D2D1D0
TCOSTERESRESRESRESRESRES
BitSymbolDescription
D0-D5 RESRESERVED: Reserved for future use.
D6STESCRUB TIMER EXPIRED: This bit is set to 1 when the Scrub Timer expires.
Note: When STE is set, the Configuration Register (CR) is protected.
D7TCOTRIGGER CONDITION OCCURRED: This bit is set to 1 when a trigger condition is met. When a trigger occurs,
the values in the Trigger Transmit Mode (TDR.TTM2-0) are loaded into the Current Transmit Mode Register
(CTSR.TM2-0).
Note: When TCO is set, the Current Transmit State Register (CTSR) is protected.
77
5.0 Registers (Continued)
5.34 CMT CONDITION MASK REGISTER (CMTCMR)
This is the mask register for the CMT Condition Register (CMTCR). When the bits in both the CMTCMR and CMTCR are set, the
Receive Condition Register B’s Connection Service Event (RCRB.CSE) bit will be set.
ACCESS RULES
ADDRESSREADWRITE
21hAlwaysAlways
D7D6D5D4D3D2D1D0
TCOMSTEMRESRESRESRESRESRES
BitSymbolDescription
D0-D5 RESRESERVED: Reserved for future use.
D6STEMSCRUB TIMER EXPIRED MASK: The mask bit for the Scrub Timer Expired (STE) bit of the CMT Condition
D7TCOMTRIGGER CONDITION OCCURRED MASK: The mask bit for the Trigger Condition Occurred (TCO) bit of the
Register (CMTCR).
CMT Condition Register (CMTCR).
78
5.0 Registers (Continued)
5.35 RESERVED REGISTERS 22H–23H (RR22H –RR23H)
This register is reserved for future use.
DO NOT ACCESS THIS REGISTER
ACCESS RULES
ADDRESSREADWRITE
22h–23hAlwaysDO NOT WRITE
79
5.0 Registers (Continued)
5.36 SCRUB TIMER THRESHOLD REGISTER (STTR)
This is the threshold value of the internal scrub timer. It has a resolution of 40.96 ms and a maximum value ofE10 ms. When
the scrub timer reaches zero, the Scrub Timer Expired (CMTCR.STE) bit is set.
Scrubbing is initiated when MODE2.ESTC
Writing to STTR during scrubbing will not affect the scrubbing action.
This is a snap-shot of the current value of the upper 8 bits of the scrub timer.
During a Control Bus Interface write cycle, the Control Bus Write Command Reject bit (CCR) of the Interrupt Condition Register
(ICR) will be set to 1 and will ignore a write cycle.
ACCESS RULES
ADDRESSREADWRITE
25hAlwaysWrite Reject
D7D6D5D4D3D2D1D0
STV7STV6STV5STV4STV3STV2STV1STV0
BitSymbolDescription
D0–D7 STV0 –STV7 SCRUB TIMER VALUE BITk0-7l: Snap-shot of the scrub timer.
STV0 is the Least Significant Bit (LSB).
81
5.0 Registers (Continued)
5.38 TRIGGER DEFINITION REGISTER (TDR)
This register determines which events cause a trigger transition and which transmit mode is entered when a trigger transition is
detected. The trigger transmit modes are the same as those found in the Current Transmit State Register (CTSR), and are
loaded from the TDR into the CTSR when any of the selected trigger conditions occur. When a trigger condition occurs
CMTCR.TCO is set.
The Trigger Definition Register is useful to implement the strict PCÐReact time requirement.
ACCESS RULES
ADDRESSREADWRITE
26hAlwaysAlways
D7D6D5D4D3D2D1D0
TONTTOQLSTOHLSTOMLSTOSILSTTM2TTM1TTM0
Bit SymbolDescription
D0, TTM0,TRIGGER TRANSMIT MODEk0, 1, 2l: These bits select one of 6 transmission modes to be loaded into the
D1, TTM1,
D2TTM2
D3TOSILS TRIGGER ON SILS: Trigger when SILS is received.
D4TOMLSTRIGGER ON MLS: Trigger when MLS is received.
D5TOHLSTRIGGER ON HLS: Trigger when HLS is received.
D6TOQLSTRIGGER ON QLS (or NSD): Trigger when QLS is received.
D7TONTTRIGGER ON Noise Threshold: Trigger when Noise Threshold is reached (Current Noise Registere0).
Current Transmit State Register (CTSR) when a trigger condition is detected. The trigger condition is selected by
the upper 5 bits of this register.
TTM2 TTM1 TTM0
000Active Transmit Mode (ATM): Normal transmission of incoming PHY Request data.
001Idle Transmit Mode (ITM): Transmission of Idle symbol pairs (11111 11111).
010Off Transmit Mode (OTM): Transmission of Quiet symbol pairs (00000 00000) and
deassertion of the PMD transmitter Enable pin (TXE).
011Reserved: Reserved for future use. Users are discouraged from using this transmit
mode. If selected, however, the transmitter will generate Quiet symbol pairs
(00000 00000).
100Master Transmit Mode (MTM): Transmission of Halt and Quiet symbol pairs
(00100 00000).
101Halt Transmit Mode (HTM): Transmission of Halt symbol pairs (00100 00100).
110Quiet Transmit Mode (QTM): Transmission of Quiet symbol pairs (00000 00000).
111Reserved: Reserved for future use. Users are discouraged from using this transmit
mode. If selected, however, the transmitter will generate Quiet symbol pairs
(00000 00000).
The Trigger Transition Configuration Register holds the configuration switch setting to be loaded into the Configuration Register
(CR) when a trigger transition takes place. When scrubbing is enabled, scrubbing is performed for a period of time indicated by
the Scrub Timer Threshold Register (STTR).The register bit descriptions for the Configuration Register and, therefore, the
Trigger Transition Configuration Register are reprinted below.
ACCESS RULES
ADDRESSREADWRITE
27hAlwaysAlways
D7D6D5D4D3D2D1D0
BIEAIETRS1TRS0BIS1BIS0AIS1AIS0
BitSymbolDescription
D0, D1 AIS0, AIS1AÐINDICATE SELECTORk0, 1l: The AÐIndicate Selectork0, 1lbits selects one of the four
Configuration Switch data buses for the AÐIndicate output port (AIP, AIC, AID
AIS1AIS0
00PHY Invalid Bus
01Receiver Bus
10A
11B
Request Bus
Ð
Request Bus
Ð
D2, D3 BIS0, BIS1BÐINDICATE SELECTORk0, 1l: The BÐIndicate Selectork0, 1lbits selects one of the four
Configuration Switch data buses for the BÐIndicate output port (BIP, BIC, BID
BIS1BIS0
00PHY Invalid Bus
01Receiver
10A
11B
Note: Even though this bit can be set and/or cleared in the DP83256 (for single path stations), it will not affect any I/Os since the
DP83256 does not offer a BÐIndicate port.
Request Bus
Ð
Request Bus
Ð
D4, D5 TRS0, TRS1 TRANSMIT REQUEST SELECTORk0, 1l: The Transmit Request Selectork0, 1lbits selects one of
the four Configuration Switch data buses for the input to the Transmitter Block.
TRS1 TRS0
00PHY Invalid Bus
01Receiver Bus
10A
11B
Note: If the PLAYERadevice is in Active Transmit Mode (i.e. the Transmit Mode bits (TMk2:0l) of the Current Transmit State
Register (CTSR) are set to 00) and the PHY Invalid Bus is selected, then the PLAYER
symbols due to the Repeat Filter.
Request Bus
Ð
Request Bus
Ð
D6AIEAÐINDICATE ENABLE:
0: Disables the AÐIndicate output port. The AÐIndicate port pins will be tri-stated when the port is
disabled.
1: Enables the AÐIndicate output port (AIP, AIC, AID
k
7:0l).
D7BIEBÐINDICATE ENABLE:
0: Disables the BÐIndicate output port. The BÐIndicate port pins will be tri-stated when the port is
disabled.
1: Enables the BÐIndicate output port (BIP, BIC, BIDk7:0l).
Note: Even though this bit can be set and/or cleared in the DP83256 (for single path stations), it will not affect any I/Os since the
DP83256 does not offer a BÐIndicate port.
k
7:0l).
k
7:0l).
a
device will transmit continuous Idle
83
5.0 Registers (Continued)
5.40 RESERVED REGISTERS 28H-3AH (RR28H-RR3AH)
These registers are reserved for future use.
DO NOT ACCESS THESE REGISTERS
ACCESS RULES
ADDRESSREADWRITE
28h–3AhAlwaysDO NOT WRITE
84
5.0 Registers (Continued)
5.41 CLOCK GENERATION MODULE REGISTER (CGMREG)
This register is used to enable or disable the 125 MHz ECL Transmit clock outputs. These outputs are not required for use in a
standard FDDI board implementation and are disabled by default to reduce high frequency noise.
These TXC outputs are included for support of alternate FDDI PMDs, such as unshielded twisted pair copper cable.
DO NOT WRITE TO RESERVED REGISTER BITS. Writes to reserved register bits could prevent proper device operation.
Therefore, read the register first, and then write it back with the non-reserved bits set to the desired value.
ACCESS RULES
ADDRESSREADWRITE
3BhAlwaysAlways
D7D6D5D4D3D2D1D0
RESRESFLTRENRESTXCERESRESRES
BitSymbolDescription
D0-D2 RESRESERVED BITS: DO NOT CHANGE THE VALUE OF THESE BITS. Changes to reserved register bits could
D3TXCETRANSMIT CLOCK ENABLE: When bit is set to 1, 125 MHz ECL TXC outputs are enabled. When this bit is
D4RESRESERVED BITS: DO NOT CHANGE THE VALUE OF THESE BITS. Changes to reserved register bits could
D5FLTREN FILTER ENABLE: When bit is set to 1, the internal loop filter node is connected to the LPFLTR pin for
D6-D7 RESRESERVED BITS: DO NOT CHANGE THE VALUE OF THESE BITS. Changes to reserved register bits could
prevent proper device operation.
reset to 0, TXC outputs are disabled. TXC outputs are disabled on reset.
Note: TXC clocks are only available on the 160-pin DP83257 PLAYERadevice.
prevent proper device operation.
diagnostic viewing. This bit is reset to 0 by default, which disconnects the filter node from the LPFLTR pin.
Note: In normal operation this bit should be disabled (e0).
prevent proper device operation.
85
5.0 Registers (Continued)
5.42 ALTERNATE PMD REGISTER (APMDREG)
This register is used to enable or disable the Alternate PMD inputs and ouputs. These signals are not required for use in FDDI
board implementations that do not require a scrambler that is external to the PLAYER
the signal pairs RXCÐOUT, RXDÐOUT, RXCÐIN, and RXDÐIN.
The interface is disabled by default and should only be enabled if it is being used. Note that Long Internal Loopback should not
be used when the Alternate PMD Interface is enabled.
DO NOT WRITE TO RESERVED REGISTER BITS. Writes to reserved register bits could prevent proper device operation.
Therefore, read the register first, and then write it back with the non-reserved bits set to the desired value.
Note: The Alternate PMD Interface pins are only available on the 100-pin DP83256-AP and 160-pin DP83257 PLAYERadevices. The Alternate PMD Interface is
disabled on reset.
ACCESS RULES
ADDRESSREADWRITE
3ChAlwaysAlways
D7D6D5D4D3D2D1D0
RESRESRESRESAPMDENRESRESRES
BitSymbolDescription
D0–D2 RESRESERVED BITS: DO NOT CHANGE THE VALUE OF THESE BITS. Changes to reserved register bits could
prevent proper device operation.
D3APMDEN ALTERNATE PMD ENABLE: When bit is set to 1, the Alternate PMD Interface is enabled. When this bit is
reset to 0, the Alternate PMD Interface is disabled.
The Alternate PMD Interface consists of the following extra ECL signal pairs
RXCÐOUT, RXDÐOUT, RXCÐIN, and RXDÐIN.
In some alternate PMD implementations it may also be necessary to use the 125 MHz Transmit Clock
signals (TXC). The TXC outputs must be separately enabled by the TXCE bit in the CGMREG register.
Note: The Alternate PMD Interface pins are only available on the 100-pin DP83256-AP and 160-pin DP83257 PLAYERadevices. The
Alternate PMD Interface is disabled on reset.
D4–D7 RESRESERVED BITS: DO NOT CHANGE THE VALUE OF THESE BITS. Changes to reserved register bits could
prevent proper device operation.
a
device. The actual interface consists of
86
5.0 Registers (Continued)
5.43 GAIN REGISTER (GAINREG)
The Gain Register contains the settings for the CGM’s on-chip programmable loop filter. For optimal jitter performance on the
revision A and B PLAYER
revision A or B (10h or 11h) before changing the filter setting as later revisions will default to the correct setting which may be a
different filter position number.
Pseudo Code Programming Example:
Care must be taken when changing the settings of the on-chip programmable loop filter. The filter should only be set to the
recommended value and the additional bits in the Gain Register must not be altered. Alteration of the reserved bits in the Gain
Register may result in improper PLAYER
The following pseudo code outlines the proper procedure for setting the Gain Register loop filter settings to the correct value.
// Register names and constants are all in UPPERCASE
//
//
#define REV
B 0x11
#define REV A 0x10
#define LOOP
#define NEW LOOP 0x40
a
MASK 0x1F
device’s Filter Position 4 should be used. The user should check that the IDR register is equal to
a
device operation.
if (IDRk4 REV B)
À
temp 4 GAIN REG
temp 4 temp & LOOP MASK
temp 4 templNEW LOOP
GAIN REG 4 temp
Ó
elseÀDo Nothing
Ó
ACCESS RULES
ADDRESSREADWRITE
3DhAlwaysAlways
D7D6D5D4D3D2D1D0
FILT2FILT1FILT0RESRESRESRESRES
BitSymbolDescription
D0–D4RESRESERVED: Do not alter these bits. The device may cease to operate properly if these bits are
changed.
D5–D7
FILT0,
FILT1,
FILT2
FILTER SELECTIONk0, 1, 2l: The Filter Selectionk0, 1, 2lbits select one of five on-chip CGM
loop filters.
Note: Filter combinations that are not specified or recommended should not be used and may result in non-optimal device
performance.
FILT2FILT1FILT0
110FP0: Filter Position 0.
111FP1: Filter Position 1.
000FP2: Filter Position 2. This is the filter selected after reset on the
revision A and B PLAYER
a
devices.
001FP3: Filter Position 3.
010FP4: Filter Position 4. This is the recommended filter position for
the revision A and B PLAYERadevices.
87
5.0 Registers (Continued)
5.44 RESERVED REGISTERS 3EH-3FH (RR3EH-RR3FH)
These registers are reserved for future use.
DO NOT ACCESS THESE REGISTERS
ACCESS RULES
ADDRESSREADWRITE
3Eh–3FhAlwaysDO NOT WRITE
88
6.0 Signal Descriptions
6.1 DP83256VF PIN DESCRIPTIONS
The pin descriptions for the DP83256VF are divided into 5 functional interfaces: PMD Interface, PHY Port Interface, Control Bus
Interface, Clock Interface, and Miscellaneous Interface.
For a Pinout Summary list, refer to Table 8-1 and
Figure 8-1
, DP83256VF 100-Pin JEDEC Metric PQFP Pinout.
PMD INTERFACE
a
The PMD Interface consists of I/O signals used to connect the PLAYER
device to the Physical Medium Dependant (PMD)
sublayer.
SymbolPinÝI/ODescription
a
PMID
PMID
PMRD
PMRD
a
SD
b
SD
39IPMD Indicate Data: Differential, 100k ECL, 125 Mbps serial data input signals from the PMD receiver.
b
38
a
33OPMD Request Data: Differential, 100k ECL, 125 Mbps serial data output signals to the PMD transmitter.
b
32
37ISignal Detect: Differential 100k ECL input signals from the PMD receiver indicating that a signal is being
36
received by the PMD receiver.
TEL47IPMD Transmitter Enable Level: A TTL input signal to select the PMD transmitter Enable (TXE) signal
level.
TXE46OPMD Transmitter Enable: A TTL output signal to enable/disable the PMD transmitter. The output level
of the TXE pin is determined by three parameters: the Transmit Enable (TE) bit in the Mode Register, the
TM2-TM0 bits in the Current Transmit State Register, and the input to the TEL pin. The following rules
summarize the output of the TXE pin:
1. If TEe0 and TELeGND, then TXEeV
2. If TEe0 and TELeVCC, then TXEeGND
e
3. If TE
1 and OTM and TELeGND, then TXEeV
4. If TEe1 and OTM and TELeVCC, then TXEeGND
e
5. If TE
1 and not OTM and TELeGND, then TXEeGND
e
6. If TE
1 and not OTM and TELeVCC, then TXEeV
CC
CC
CC
89
6.0 Signal Descriptions (Continued)
PHY PORT INTERFACE
The PHY Port Interface consists of I/O signals used to connect the PLAYER
sublayer or other PLAYER
a
device. The DP83256 Device has two PHY Port Interfaces. The AÐIndicate path from one PHY
Port Interface and the BÐRequest path from the second PHY Port Interface. Each path consists of an odd parity bit, a control
bit, and two 4-bit symbols.
Refer to section 3.3, the Configuration Switch, for more information.
Symbol PinÝI/ODescription
AIP6OPHY Port A Indicate Parity: A TTL output signal representing odd parity for the 10-bit wide Port A
Indicate signals (AIP, AIC, and AID
AIC7OPHY Port A Indicate Control: TTL output signal indicating that the two 4-bit symbols (AIDk7:4land
k
AID
3:0l) are either control symbols (AICe1) or data symbols (AICe0).
k
7:0l).
AID78OPHY Port A Indicate Data: TTL output signals representing the first 4-bit data/control symbol.
AID69
AID510
AID7 is the most significant bit and AID4 is the least significant bit of the first symbol.
AID413
AID314OPHY Port A Indicate Data: TTL output signals representing the second 4-bit data/control symbol.
AID215
AID116
AID3 is the most significant bit and AID0 is the least significant bit of the second symbol.
AID017
BRP70IPHY Port B Request Parity: A TTL input signal representing odd parity for the 10-bit wide Port A
Request signals (BRP, BRC, and BRD
k
7:0l).
BRC69IPHY Port B Request Control: A TTL input signal indicating that the two 4-bit symbols
k
7:4land BRDk3:0l) are either control symbols (BRCe1) or data symbols (BRCe0).
(BRD
BRD768IPHY Port B Request Data: TTL input signals representing the first 4-bit data/control symbol.
BRD667
BRD566
BRD7 is the most significant bit and BRD4 is the least significant bit of the first symbol.
BRD463
BRD362IPHY Port B Request Data: TTL input signals representing the second 4-bit data/control symbol.
BRD261
BRD160
BRD3 is the most significant bit and BRD0 is the least significant bit of the second symbol.
BRD059
a
device to the Media Access Control (MAC)
90
6.0 Signal Descriptions (Continued)
CONTROL BUS INTERFACE
The Control Bus Interface consists of I/O signals used to connect the PLAYER
The Control Bus is an asynchronous interface between the PLAYERadevice and a general purpose microprocessor or other
controller. It provides access to 64 8-bit internal registers.
In the PLAYER
a
device the Control Bus address range has been expanded by 1-bit to 6 bits of address space.
Symbol PinÝI/ODescription
E
CE73IControl Enable: An active-low, TTL, input signal which enables the Control Bus port for a read or write
cycle. R/EW, CBA
R/EW72 IRead/EWrite: A TTL input signal which indicates a read Control Bus cycle(R/EWe1), or a write
Control Bus cycle (R/EW
E
ACK75OEAcknowledge: An active low, TTL, open drain output signal which indicates the completion of a read
or write cycle. During a read cycle, CBDk7:0lare valid as long asEACK is low (EACKe0). During a
write cycle, a microprocessor must hold CBD
k
5:0l, CBP, and CBDk7:0lmust be valid at the timeECE is low.
e
0).
k
it will remain low as long asECE remains low (ECE
E
INT74OEInterrupt: An active low, open drain, TTL, output signal indicating that an interrupt condition has
occurred. The Interrupt Condition Register (ICR) should be read in order to find out the source of the
interrupt. Interrupts can be masked through the use of the Interrupt Condition Mask Register (ICMR).
CBA583IControl Bus Address: TTL input signals used to select the address of the register to be read or written.
CBA482
CBA381
CBA5 is the most significant bit (MSB) and CBA0 is the least significant bit (LSB) of the address signals.
CBA280
CBA177
CBA076
CBP96I/O Control Bus Parity: A bidirectional, TTL signal representing odd parity for the Control Bus data
(CBD
k
7:0l).
During a read cycle, the signal is held valid by the PLAYERadevice as long asEACK is low.
During a write cycle, the signal must be valid whenECE is low, and must be held valid untilEACK
becomes low. If incorrect parity is used during a write cycle, the PLAYER
cycle and set the Control Bus Data Parity Error (CPE) bit in the Interrupt Condition Register (ICR).
CBD795I/O Control Bus Data: Bidirectional, TTL signals containing the data to be read from or written to a register.
CBD694
CBD593
CBD492
CBD391
During a read cycle, the signal is held valid by the PLAYER
During a write cycle, the signal must be valid whenECE is low, and must be held valid untilEACK
becomes low.
CBD290
CBD189
CBD086
a
device to Station Management (SMT).
7:0lvalid untilEACK becomes low. OnceEACK is low,
e
0).
a
device will inhibit the write
a
device as long asEACK is low.
91
6.0 Signal Descriptions (Continued)
CLOCK INTERFACE
The Clock Interface consists of 12.5 MHz and 25 MHz clocks supplied by the PLAYER
feedback inputs.
SymbolPinÝI/ODescription
LBC14OLocal Byte Clock: TTL compatible, 12.5 MHz, 50% duty cycle clock outputs which are phase
LBC23
LBC32
LBC41
LBC5100
PHÐSEL22IPhase Select: TTL compatible input used to select eithera8nsor16nsphase offset between the 5
FBKÐIN25IFeedback Input: TTL compatible input for use as the PLL’s phase comparator feedback input to
LSC99OLocal Symbol Clock: TTL compatible 25 MHz output for driving the MACSI or BMAC devices. This
CLK165OClock 16/32: TTL compatible clock with a selectable frequency of approximately 15.625 MHz or
XTALÐIN27IExternal Crystal Oscillator Input: This input in conjunction with the XTALÐOUT output, is
XTALÐOUT26OExternal Crystal Oscillator Output: This output in conjunction with the XTALÐIN input, is designed
REFÐIN24IReference Input: TTL compatible input for use as the PLL’s phase comparator reference frequency.
REFÐSEL23IReference Select: TTL compatible input which selects either the crystal oscillator inputs XTALÐIN
LPFLTR30OLoop Filter: This is a diagnostic output that allows monitoring of the clock generation module’s filter
locked to a crystal oscillator or reference signal. The PHÐSEL input determines whether the five
phase outputs are phase offset by 8 ns or 16 ns.
local byte clocks (LBC’s). The LBC’s are phase offset 8ns apart when PHÐSEL is at a logic LOW
level and 16 ns apart when at a logic HI level.
close the Phase Locked Loop. This input is intended to be driven from one of the Local Byte Clocks
(LBC’s) from the same PLAYER
output’s negative phase transition is aligned with the LBC1 output transitions and has a 40% HI and
60% LOW duty cycle.
31.25 MHz. The frequency can be selected using the Clock Select (CLKSEL) bit of the Mode 2
Register (MODE2).
Note: No glitches appear at the output when switching frequencies.
designed for use of an external crystal oscillator network as the frequency reference for the clock
generation module’s internal VCO. A diagram of the required circuit, which includes only a 12.5 MHz
crystal and 2 loading capacitors, is shown in
This input is selected when the REFÐSEL input is at a logic LOW level. When not being used, this
input should be tied to ground.
for use of an external crystal oscillator network as the frequency reference for the clock generation
module’s internal VCO. A diagram of the required circuit, which includes only a 12.5 MHz crystal and
2 loading capacitors, is shown in
This input is for use in dual attach station or concentrator configurations where there are multiple
a
PLAYER
This input is selected when the REFÐSEL input is at a logic HI level.
and XTALÐOUT or the REFÐIN inputs as the reference frequency inputs for the PLL.
The crystal oscillator inputs are selected when REFÐSEL is at a logic LOW level and the REFÐIN
input is selected as the reference when REFÐSEL is at a logic HI level.
node. This output is disabled by default and does not need to be connected to any external device. It
can be enabled using the FLTREN bit of the Clock generation module register (CGMREG).
Note: In normal operation this pin should be disabled.
devices at a given site requiring synchronization.
a
device.
Figure 3-19
Figure 3-19
.
a
device as well as reference and
.
92
6.0 Signal Descriptions (Continued)
MISCELLANEOUS INTERFACE
The Miscellaneous Interface consist of a reset signal, user definable sense signals, and user definable enable signals.
Symbol PinÝI/ODescription
E
RST71IReset: An active low, TTL, input signal which clears all registers. The signal must be kept asserted for a
minimum amount of time. Once theERST signal is asserted, the PLAYER
the specified amount of time to reset internal logic. Note that bit zero of the Mode Register will be set to
zero (i.e. Stop Mode). See section 4.2, Stop Mode of Operation for more information
SP040IUser Definable Sense Pin 0: A TTL input signal from a user defined source. Sense Bit 0 (SB0) of the
User Definable Register (UDR) will be set to one if the signal is asserted for a minimum of 160 ns. Once
the asserted signal is latched, Sense Bit 0 can only be cleared through the Control Bus Interface, even if
the signal is deasserted. This ensures that the Control Bus Interface will record the source of events
which can cause interrupts.
SP142IUser Definable Sense Pin 1: A TTL input signal from a user defined source. Sense Bit 1 (SB1) of the
User Definable Register (UDR) will be set to one if the signal is asserted for a minimum of 160 ns. Once
the asserted signal is latched, Sense Bit 1 can only be cleared through the Control Bus Interface, even if
the signal is deasserted. This ensures that the Control Bus Interface will record the source of events
which can cause interrupts.
EP041OUser Definable Enable Pin 0: A TTL output signal allowing control of external logic through the Control
Bus Interface. EP0 is asserted/deasserted through Enable Bit 0 (EB0) of the User Definable Register
(UDR). When Enable Bit 0 is set to zero, EP0 is deasserted. When Enable Bit 0 is set to one, EP0 is
asserted.
EP143OUser Definable Enable Pin 1: A TTL output signal allowing control of external logic through the Control
Bus Interface. EP1 is asserted/deasserted through Enable Bit 1 (EB1) of the User Definable Register
(UDR). When Enable Bit 1 is set to zero, EP1 is deasserted. When Enable Bit 1 is set to one, EP1 is
asserted.
a
device should be allowed
93
6.0 Signal Descriptions (Continued)
POWER AND GROUND
All power pins should be connected to a single
connected to a common 0V ground supply. Bypassing and filtering requirements are given in a separate User Information
Document.
SymbolPinÝI/ODescription
ANALOG20Power: Positive 5V power supply for the PLAYER
V
CC
Ð
GNDÐANALOG21Ground: Power supply return for the PLAYERadevice’s CGM VCO.
CORE88Power: Positive 5V power supply for the core PLAYER section logic gates.
V
CC
Ð
GNDÐCORE87Ground: Power supply return for the core PLAYER section logic gates.
ECL31,Power: Positive 5V power supply for the PLAYER
V
CC
Ð
34,
44,
56
GNDÐECL35,Ground: Power supply return for the PLAYERadevice’s ECL logic gates.
45,
55
ESD28Power: Positive 5V power supply for the PLAYER
V
CC
Ð
GNDÐESD29Ground: Power supply return for the PLAYERadevice’s ESD protection circuitry.
IO11,Power: Positive 5V power supply for the input/output buffers.
V
CC
Ð
65,
79,
98
GNDÐIO12,Ground: Power supply return for the input/output buffers.
64,
78,
97
SPECIAL CONNECT PINS
These are pins that have special connection requirements.
No Connect (N/C) pins should not be connected to anything. This means not to power, not to ground, and not to each other.
ReservedÐ0 (RESÐ0) pins must be connected to ground. These pins are not used to supply device power so they do not need
to be filtered or bypassed.
ReservedÐ1 (RESÐ1) pins must be connected to power. These pins are not used to supply device power so they do not need
to be filtered or bypassed.
a
5V power supply using the recommended filtering. All ground pins should be
a
device’s CGM VCO.
a
device’s ECL logic gates.
a
device’s ESD protection circuitry.
SymbolPinÝI/ODescription
N/C49, 54No Connect: Pins should not be connected to anything. This means not to power, not to ground, and
not to each other.
RESÐ0 18, 19,Reserved 0: Pins must be connected to ground. These pins are not used to supply device power so
48, 50,
they do not need to be filtered or bypassed.
51, 52,
53, 57,
58, 84
RESÐ185Reserved 1: Pins must be connected to power. These pins are not used to supply device power so they
do not need to be filtered or bypassed.
94
6.0 Signal Descriptions (Continued)
6.2 DP83256VF-AP SIGNAL DESCRIPTIONS
The pin descriptions for the DP83256VF-AP are divided into five functional interfaces; PMD Interface, PHY Port Interface,
Control Bus Interface, Clock Interface, and Miscellaneous Interface.
For a Pinout Summary List, refer to Table 8-2 and
PMD INTERFACE
The PMD Interface consists of I/O signals used to connect the PLAYER
sublayer.
The DP83256VF-AP PLAYER
a
device actually has two PMD interfaces. The Primary PMD Interface and the Alternate PMD
Interface.
The Primary PMD Interface should be used for all PMD implementations that do not require an external scrambler/descrambler
function, clock recovery function, or clock generation function, such as a Fiber Optic or Shielded Twisted Pair (SDDI) PMD. The
second, Alternate PMD Interface can be used to support Unshielded Twisted Pair (UTP) PMDs that require external scrambling,
with no external clock recovery or clock generation functions required.
Section 3.8 describes how the PLAYER
a
Note that when the Alternate PMD Interface is not being used, the pins that make up the interface must be connected in the
specific way described in the following Alternate PMD Interface table.
Primary PMD Interface
SymbolPinÝI/ODescription
a
PMID
PMID
PMRD
PMRD
a
SD
b
SD
42IPMD Indicate Data: Differential, 100k ECL, 125 Mbps serial data input signals from the PMD Receiver
b
41
a
34OPMD Request Data: Differential, 100k ECL, 125 Mbps serial data output signals to the PMD transmitter.
b
33
into the Clock Recovery Module (CRM) of the PLAYER
40ISignal Detect: Differential 100k ECL input signals from the PMD receiver indicating that a signal is being
39
received by the PMD receiver.
Figure 8-2
, DP83256VF-AP 100-Pin JEDEC Metric PQFP Pinout.
a
device to the Physical Medium Dependant (PMD)
can be connected to the PMD and how the Alternate PMD can be enabled.
a
.
95
6.0 Signal Descriptions (Continued)
Alternate PMD Interface
SymbolPinÝI/ODescription
a
PMID
b
PMID
RXCÐOUT
RXCÐOUT
RXDÐOUT
RXDÐOUT
RXCÐIN
RXCÐIN
RXDÐIN
RXDÐIN
a
PMRD
b
PMRD
a
TXC
b
TXC
a
SD
b
SD
42IPMD Indicate Data: Differential, 100k ECL, 125 Mbps serial data input signals from the PMD
41
a
36ORecovered Clock Out: 125 MHz clock recovered by the Clock Recovery Module (CRM) from the
b
35
Receiver into the Clock Recovery Module (CRM) of the PLAYER
PMID data input.
These signals are only active when the Alternate PMD Enable (APMDEN) bit of the Alternate PMD
Register (APMDREG) is set to a 1 and are off by default after Reset.
When these two pins are not used they should be left Not Connected (N/C).
a
52ORecovered Data Out: 125 Mbps data recovered by the Clock Recovery Module (CRM) from the
b
51
PMID data input.
These signals are only active when the Alternate PMD Enable (APMDEN) bit of the Alternate PMD
Register (APMDREG) is set to a 1 and are off by default after Reset.
When these two pins are not used they should be left Not Connected (N/C).
a
48IReceive Clock In: Clock inputs to the Player section of the PLAYERa. These inputs must be
b
47
synchronized with the RXDÐIN inputs.
These signals are only active when the Alternate PMD Enable (APMDEN) bit of the Alternate PMD
Register (APMDREG) is set to a 1 and are off by default after Reset.
When these two pins are not used, pin 76 should be left Not Connected (N/C) and pin 75 should be
connected directly to ground (ReservedÐ0).
a
50IReceive Data In: Data inputs to the Player section of the PLAYERa. These inputs must be
b
49
synchronized with the RXCÐIN inputs.
These signals are only active when the Alternate PMD Enable (APMDEN) bit of the Alternate PMD
Register (APMDREG) is set to a 1 and are off by default after Reset.
When these two pins are not used, pin 78 should be left Not Connected (N/C) and pin 77 should be
connected directly to ground (ReservedÐ0).
34OPMD Request Data: Differential, 100k ECL, 125 Mbps serial data output signals to the PMD
33
transmitter.
31OTransmit Clock: 125 MHz, 100k ECL compatible differential outputs synchronized to the outgoing
30
PMRD data.
These signals can be enabled using the Transmit Clock Enable (TXCE) bit in the Clock Generation
Module Register (CGMREG).
When these two pins are not used they should be left Not Connected (N/C).
40ISignal Detect: Differential, 100k ECL, input signals from the PMD receiver indicating that a signal
39
is being received by the PMD receiver.
a
.
96
6.0 Signal Descriptions (Continued)
PHY PORT INTERFACE
The PHY Port Interface consists of I/O signals used to connect the PLAYER
sublayer or other PLAYER
a
device. The DP83256 Device has two PHY Port Interfaces. The AÐIndicate path from one PHY
Port Interface and the BÐRequest path from the second PHY Port Interface. Each path consists of an odd parity bit, a control
bit, and two 4-bit symbols.
Refer to section 3.3, the Configuration Switch, for more information.
Symbol PinÝI/ODescription
AIP6OPHY Port A Indicate Parity: A TTL output signal representing odd parity for the 10-bit wide Port A
Indicate signals (AIP, AIC, and AID
AIC7OPHY Port A Indicate Control: TTL output signal indicating that the two 4-bit symbols (AIDk7:4land
k
AID
3:0l) are either control symbols (AICe1) or data symbols (AICe0).
k
7:0l).
AID78OPHY Port A Indicate Data: TTL output signals representing the first 4-bit data/control symbol.
AID69
AID510
AID7 is the most significant bit and AID4 is the least significant bit of the first symbol.
AID413
AID314OPHY Port A Indicate Data: TTL output signals representing the second 4-bit data/control symbol.
AID215
AID116
AID3 is the most significant bit and AID0 is the least significant bit of the second symbol.
AID017
BRP70IPHY Port B Request Parity: A TTL input signal representing odd parity for the 10-bit wide Port A
Request signals (BRP, BRC, and BRD
BRC69IPHY Port B Request Control: A TTL input signal indicating that the two 4-bit symbols (BRDk7:4land
k
BRD
3:0l) are either control symbols (BRCe1) or data symbols (BRCe0).
k
7:0l).
BRD768IPHY Port B Request Data: TTL input signals representing the first 4-bit data/control symbol.
BRD667
BRD566
BRD7 is the most significant bit and BRD4 is the least significant bit of the first symbol.
BRD463
BRD362IPHY Port B Request Data: TTL input signals representing the second 4-bit data/control symbol.
BRD261
BRD160
BRD3 is the most significant bit and BRD0 is the least significant bit of the second symbol.
BRD059
a
device to the Media Access Control (MAC)
97
6.0 Signal Descriptions (Continued)
CONTROL BUS INTERFACE
The Control Bus Interface consists of I/O signals used to connect the PLAYER
The Control Bus is an asynchronous interface between the PLAYERadevice and a general purpose microprocessor or other
controller. It provides access to 64 8-bit internal registers.
In the PLAYER
a
device the Control Bus address range has been expanded by 1-bit to 6 bits of address space.
Symbol PinÝI/ODescription
E
CE73IControl Enable: An active-low, TTL, input signal which enables the Control Bus port for a read or write
cycle. R/EW, CBA
R/EW72 IRead/EWrite: A TTL input signal which indicates a read Control Bus cycle (R/EWe1), or a write
Control Bus cycle (R/EW
E
ACK75O
E
Acknowledge: An active low, TTL, open drain output signal which indicates the completion of a read
or write cycle. During a read cycle, CBDk7:0lare valid as long asEACK is low (EACKe0). During a
write cycle, a microprocessor must hold CBD
k
5:0l, CBP, and CBDk7:0lmust be valid at the timeECE is low.
e
0).
k
it will remain low as long asECE remains low (ECE
E
INT74O
E
Interrupt: An active low, open drain, TTL, output signal indicating that an interrupt condition has
occurred. The Interrupt Condition Register (ICR) should be read in order to find out the source of the
interrupt. Interrupts can be masked through the use of the Interrupt Condition Mask Register (ICMR).
CBA583IControl Bus Address: TTL input signals used to select the address of the register to be read or written.
CBA482
CBA381
CBA5 is the most significant bit (MSB) and CBA0 is the least significant bit (LSB) of the address signals.
CBA280
CBA177
CBA076
CBP96I/O Control Bus Parity: A bidirectional, TTL signal representing odd parity for the Control Bus data
(CBD
k
7:0l).
During a read cycle, the signal is held valid by the PLAYERadevice as long asEACK is low.
During a write cycle, the signal must be valid whenECE is low, and must be held valid untilEACK
becomes low. If incorrect parity is used during a write cycle, the PLAYER
cycle and set the Control Bus Data Parity Error (CPE) bit in the Interrupt Condition Register (ICR).
CBD795I/O Control Bus Data: Bidirectional, TTL signals containing the data to be read from or written to a register.
CBD694
CBD593
CBD492
CBD391
During a read cycle, the signal is held valid by the PLAYER
During a write cycle, the signal must be valid whenECE is low, and must be held valid untilEACK
becomes low.
CBD290
CBD189
CBD086
a
device to Station Management (SMT).
7:0lvalid untilEACK becomes low. OnceEACK is low,
e
0).
a
device will inhibit the write
a
device as long asEACK is low.
98
6.0 Signal Descriptions (Continued)
CLOCK INTERFACE
The Clock Interface consists of 12.5 MHz and 25 MHz clocks supplied by the PLAYER
feedback inputs.
SymbolPinÝI/ODescription
LBC14OLocal Byte Clock: TTL compatible, 12.5 MHz, 50% duty cycle clock outputs which are phase
LBC23
LBC32
LBC41
LBC5100
PHÐSEL22IPhase Select: TTL compatible input used to select eithera8nsor16nsphase offset between the 5
FBKÐIN25IFeedback Input: TTL compatible input for use as the PLL’s phase comparator feedback input to
LSC99OLocal Symbol Clock: TTL compatible 25 MHz output for driving the MACSI or BMAC devices. This
CLK165OClock 16/32: TTL compatible clock with a selectable frequency of approximately 15.625 MHz or
XTALÐIN27IExternal Crystal Oscillator Input: This input in conjunction with the XTALÐOUT output, is
XTALÐOUT26OExternal Crystal Oscillator Output: This output in conjunction with the XTALÐIN input, is designed
REFÐIN24IReference Input: TTL compatible input for use as the PLL’s phase comparator reference frequency.
REFÐSEL23IReference Select: TTL compatible input which selects either the crystal oscillator inputs XTALÐIN
locked to a crystal oscillator or reference signal. The PHÐSEL input determines whether the five
phase outputs are phase offset by 8 ns or 16 ns.
local byte clocks (LBC’s). The LBC’s are phase offset 8 ns apart when PHÐSEL is at a logic LOW
level and 16 ns apart when at a logic HI level.
close the Phase Locked Loop. This input is intended to be driven from one of the Local Byte Clocks
(LBC’s) from the same PLAYER
output’s negative phase transition is aligned with the LBC1 output transitions and has a 40% HI and
60% LOW duty cycle.
31.25 MHz. The frequency can be selected using the Clock Select (CLKSEL) bit of the Mode 2
Register (MODE2).
Note: No glitches appear at the output when switching frequencies.
designed for use of an external crystal oscillator network as the frequency reference for the clock
generation module’s internal VCO. A diagram of the required circuit, which includes only a 12.5 MHz
crystal and 2 loading capacitors, is shown in
This input is selected when the REFÐSEL input is at a logic LOW level. When not being used, this
input should be tied to ground.
for use of an external crystal oscillator network as the frequency reference for the clock generation
module’s internal VCO. A diagram of the required circuit, which includes only a 12.5 MHz crystal and
2 loading capacitors, is shown in
This input is for use in dual attach station or concentrator configurations where there are multiple
a
PLAYER
This input is selected when the REFÐSEL input is at a logic HI level.
and XTALÐOUT or the REFÐIN inputs as the reference frequency inputs for the PLL.
The crystal oscillator inputs are selected when REFÐSEL is at a logic LOW level and the REFÐIN
input is selected as the reference when REFÐSEL is at a logic HI level.
devices at a given site requiring synchronization.
a
device.
Figure 3-19
Figure 3-19
.
a
device as well as reference and
.
99
6.0 Signal Descriptions (Continued)
MISCELLANEOUS INTERFACE
The Miscellaneous Interface consist of a reset signal and user definable enable signals.
Symbol PinÝI/ODescription
E
RST71IReset: An active low, TTL, input signal which clears all registers. The signal must be kept asserted for a
minimum amount of time. Once theERST signal is asserted, the PLAYER
the specified amount of time to reset internal logic. Note that bit zero of the Mode Register will be set to
zero (i.e. Stop Mode). See section 4.2, Stop Mode of Operation for more information
EP041OUser Definable Enable Pin 0: A TTL output signal allowing control of external logic through the Control
Bus Interface. EP0 is asserted/deasserted through Enable Bit 0 (EB0) of the User Definable Register
(UDR). When Enable Bit 0 is set to zero, EP0 is deasserted. When Enable Bit 0 is set to one, EP0 is
asserted.
EP143OUser Definable Enable Pin 1: A TTL output signal allowing control of external logic through the Control
Bus Interface. EP1 is asserted/deasserted through Enable Bit 1 (EB1) of the User Definable Register
(UDR). When Enable Bit 1 is set to zero, EP1 is deasserted. When Enable Bit 1 is set to one, EP1 is
asserted.
a
device should be allowed
100
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.