Agilent HDMP-3001
Ethernet over SONET Mapper IC
Device Specification
Data Sheet
Table of Contents
1. Introduction ............................................................................................... 5
1.1 Internal Functional Blocks .............................................................. 5
1.2 HDMP-3001 Features List ................................................................ 5
1.3 Applications ....................................................................................... 6
1.4 Benefits ............................................................................................... 6
1.5 Interfaces ............................................................................................ 6
1.6 Data Processing................................................................................. 6
2. Pinout ......................................................................................................... 7
2.1 Pin Assignments ................................................................................ 7
2.2 Pin Descriptions ................................................................................ 8
2.3 I/O Buffer Types .............................................................................. 16
3. Functional Description .......................................................................... 17
3.1 Introduction ..................................................................................... 17
3.2 Interface Descriptions .................................................................... 17
3.2.1 Microprocessor Interface ....................................................... 17
3.2.2 MII Management Interface .................................................... 17
3.2.3 EEPROM Interface .................................................................. 17
3.2.4 MII Interface ............................................................................. 17
3.2.5 SONET/SDH Interface ............................................................. 18
3.3 Initialization ..................................................................................... 18
3.3.1 Hardware reset ......................................................................... 18
3.3.2 Software Reset ......................................................................... 18
3.3.3 Software State Machine Reset ............................................... 18
3.4 Bit Order ........................................................................................... 18
3.4.1 GFP Mode ................................................................................. 18
3.4.2 LAPS Mode ............................................................................... 19
3.5 Performance Monitoring ................................................................ 19
3.6 Test .................................................................................................... 20
3.6.1 Loopbacks ................................................................................. 20
3.6.2 JTAG .......................................................................................... 21
3.7 Interrupts .......................................................................................... 21
3.7.1 Interrupt Driven Mode ........................................................... 21
3.7.2 Polled Mode .............................................................................. 21
3.7.3 Interrupt Sources ..................................................................... 21
3.7.4 APS_INTB ................................................................................. 22
3.8 Data Processing............................................................................... 22
3.8.1 LAPS Processing ...................................................................... 22
3.8.2 GFP Processing ........................................................................ 23
Download from Www.Somanuals.com. All Manuals Search And Download.
List of Figures
Figure 1. Functional Block Diagram ......................................................... 5
Figure 2. HDMP-3001 applications ............................................................ 6
Figure 3. HDMP-3001 pin assignments ..................................................... 7
Figure 4. GFP Payload Bit Order ............................................................. 18
Figure 5. GFP FCS Bit Order .................................................................... 18
Figure 6. LAPS Payload Bit Order ........................................................... 19
Figure 7. LAPS FCS Bit Order .................................................................. 19
Figure 8. Loopbacks .................................................................................. 20
Figure 9. An Ethernet MAC frame ........................................................... 22
Figure 10. The format of a LAPS frame with a MAC payload .............. 22
Figure 11. The GFP frame ......................................................................... 24
Figure 12. The structure of the SONET STS-3c SPE and SDH VC-4 ... 25
Figure 13. STS-3c SPE or VC-4 Structure ............................................... 25
Figure 14. Pointer Byte Fields .................................................................. 29
Figure 15. Pointer Processing .................................................................. 33
Figure 16. Pointer tracking algorithm. .................................................... 33
Figure 17. Functional block of SONET framer scrambler ................... 36
Figure 18. HDMP-3001 connecting to a MAC ......................................... 38
Figure 19. HDMP-3001 connecting to a PHY.......................................... 38
Figure 20. Mode = 00, O/D (Default) ...................................................... 39
Figure 21. Mode = 01, O/S ......................................................................... 39
Figure 22. Mode = 10, Always Enabled, Active-0 .................................. 39
Figure 23. Mode = 11, Always Enabled, Active-1 .................................. 39
Figure 24. Package Marking ................................................................... 104
Figure 25. Top View of Package ............................................................ 104
Figure 26. Bottom View of Package ...................................................... 105
Figure 27. Side View of Package ........................................................... 105
Figure 28. Detailed View of Pin ............................................................. 105
Figure 29. Microprocessor Write Cycle Timing ................................... 110
Figure 30. Microprocessor Read Cycle Timing ................................... 111
Figure 31. Line Interface Transmit Timing........................................... 112
Figure 32. Line Interface Receive Timing............................................. 113
Figure 33. TOH Interface E1/E2/F1 Transmit Timing. ........................ 113
Figure 34. TOH Interface E1/E2/F1 Receive Timing ........................... 114
Figure 35. DCC Interface Transmit Timing .......................................... 114
Figure 36. DCC Interface Receive Timing ............................................ 115
Figure 37. JTAG Interface Timing ......................................................... 115
Figure 38. MII timing as defined by IEEE 802.3 .................................. 116
Figure 39. In Frame Declaration. ........................................................... 118
Figure 40. Out of Frame Declaration ................................................... 119
Figure 41. Loss of Frame Declaration/Removal .................................. 119
Figure 42. Line AIS and Line RDI Declaration/Removal .................... 119
Figure 43. Transmit Overhead Clock and Data Alignment ................ 120
Figure 44. Receive Overhead Clock and Data Alignment .................. 121
Figure 45. Transmit Data Link Clock and Data Alignment ................ 122
Figure 46. Receive Data Link Clock and Data Alignment .................. 123
3
Download from Www.Somanuals.com. All Manuals Search And Download.
List of Tables
Table 1. Line Side Interface Pins Description ........................................... 8
Table 2. MII Interface Pins Description ..................................................... 9
Table 3. Transport Overhead Pins Description ...................................... 10
Table 4. Microprocessor Interface Pins Description ............................. 12
Table 5. JTAG Interface Pins Description ............................................... 13
Table 6. Two-Wire EEPROM Interface Pins Description ...................... 14
Table 7. Miscellaneous Pins Description ................................................. 14
Table 8. Buffer types .................................................................................. 16
Table 9. JTAG pins ...................................................................................... 21
Table 10. JTAG instructions supported ................................................... 21
Table 11. Path RDI bit values .................................................................... 27
Table 12. STS-3c/STM-1 TOH/SOH ........................................................... 28
Table 13. Pointer Processing ..................................................................... 34
Table 14. Pointer Tracking ........................................................................ 34
Table 15. INT Pin Configuration ............................................................... 39
Table 16. Pin Connections – MPC860 ...................................................... 40
Table 17. Pin Connections – MII Interface. ............................................. 41
Table 18. MII Management Register Map ................................................ 42
Table 19. HDMP-3001 Register Map ......................................................... 44
Table 20. G1 values ..................................................................................... 59
Table 21. STS-3c/STM-1 Configuration for
RX_FRAME_POSITION [3:0] .......................................................... 64
Table 22. Package Dimensions ............................................................... 106
Table 23. Absolute Maximum Ratings ................................................... 107
Table 24. Operating Conditions .............................................................. 107
Table 25. Thermal Performance ............................................................. 107
Table 26. DC Electrical Characteristics ................................................. 108
Table 27. Power Dissipation .................................................................... 108
Table 28. Clock requirements and switching characteristics ............. 108
Table 29. MII AC Specification ................................................................ 109
Table 30. Timing of microprocessor bus ............................................... 112
Table 31. MII signal clocking ................................................................... 117
Table 32. EEPROM Interface Timing Parameters ................................ 118
This IC was jointly developed with Wuhan Research Institute of Post and Telecommunications
4
Download from Www.Somanuals.com. All Manuals Search And Download.
43
1. Introduction
Procedure) support which in-
cludes framing, 32-bit FCS
processing, 16-bit HEC process-
ing, and self-synchronous
scrambling/descrambling
(X +1) polynomial for LAPS/
The Agilent HDMP-3001 is a
GFP frames.
highly integrated VLSI device that
provides mapping of Ethernet en-
capsulated packets into STS-3c
payloads. The HDMP-3001 sup-
ports full-duplex processing of
SONET/SDH data streams with
full section, line, and path over-
head processing. The device
supports framing pattern,
•
•
Link-level scrambling function
to improve operational
robustness.
43
(X +1).
Monitors link status when
mapping MAC frame into
SONET/SDH SPE. Statis-
tics of invalid frames are also
provided.
1.1 Internal Functional Blocks
See the Figure 1 block diagram.
1.2 HDMP-3001 Features List
•
•
Device control, configuration,
and status monitoring by
either an 8-bit external
microprocessor interface or an
MII management interface.
scrambling/descrambling, alarm
signal insertion/detection, and bit
interleaved parity (B1/B2/B3)
processing. Serial interfaces for
SONET/SDH TOH overhead bytes
are also provided. The HDMP-
3001 provides a line side interface
that operates at 155.52 Mb/s (8-bit
bus at 19.44 MHz). For Ethernet
applications a system interface
operating at 25 MHz is provided.
LAPS (Link Access Procedure –
SDH) support includes framing,
transparency processing, 32-bit
FCS processing, and self- synchro-
nous scrambling/descrambling
•
Full Duplex Fast Ethernet
(100 Mb/s) over SDH/SONET
(OC-3c/STM-1).
•
Handles the source and sink of
SONET/SDH section, line, and
path layers, with E1, E2, F1
and D1-D12 overhead inter-
faces in both transmit and
receive directions.
Compliant with SONET/ SDH
specifications ANSI T1.105,
Bellcore GR-253-CORE and
ITU G.707.
•
•
Provides IEEE 1149.1 JTAG
test port.
•
•
Implements the processing of
STS-3c/STM-1 data streams
with full duplex mapping of
LAPS or GFP frames into
SONET/SDH payloads.
Supports internal loopback
paths for diagnostics.
•
•
Packaged in a 160 pin PQFP.
Self-synchronous scrambler/
descrambler implementing
Typical power dissipation
250 mW.
43
(X +1). The HDMP-3001 also
provides GFP (Generic Framing
8-BIT GENERIC
MICROPROCESSOR BUS
ETHERNET
MANAGEMENT BUS
STANDARD 2-WIRE
EEPROM BUS
E1, E2, F1 AND DCC
TOH OVERHEAD
INSERT
MICROPROCESSOR
INTERFACE
MDIO INTERFACE
EEPROM INTERFACE
8 BITS AT
19.44 MHz TO
TRANSCEIVER
LAPS/ GFP
FRAME
PROCESSOR
43
SPE/ VC
GENERATOR
X
+ 1
4 BITS AT
TX FRAMER
TX FIFO
25MHz
SCRAMBLER
PARALLEL
INTERFACE
TO
ETHERNET
MII
INTERFACE
TO
PERFORMANCE
MONITOR
TOH MONITOR
RX FRAMER
POH MONITOR
LINE
SYSTEM
LAPS/ GFP
FRAME
PROCESSOR
8 BITS AT
19.44 MHz FROM
TRANSCEIVER
43
X
+ 1
POINTER
PROCESSOR
4 BITS AT
RX FIFO
25MHz
DESCRAMBLER
TOH OVERHEAD
EXTRACT
JTAG TEST
ACCESS PORT
GPIO REGISTER
E1, E2, F1 AND DCC
16 GENERAL
TEST DATA
PURPOSE PINS
Figure 1. Functional Block Diagram
5
Download from Www.Somanuals.com. All Manuals Search And Download.
•
Implemented in 0.25 micron
CMOS with 1.8 V core, 3.3 V I/O
power and LVCMOS
•
•
Ethernet switches in each LAN
can be connected together di-
rectly which reduces cost and
complexity.
•
•
IEEE 802.3 MDIO management
interface.
Standard 2-wire EEPROM
interface for optional boot-up
configuration.
compatible I/Os.
•
•
Provides a 16-bit general pur-
pose I/O (GPIO) register.
Enables Transparent LAN
Services which, unlike POS
solutions, do not require
WAN access routers.
•
•
Provides 16-bit General
Purpose I/O (GPIO) register.
Device power-up initialization
optionally through 2-wire
EEPROM interface.
Provides standard five-pin
IEEE 1149.1 JTAG test port.
1.5 Interfaces
•
Configurable by hardware to
be connected to either a PHY
or a MAC from the system
connectivity viewpoint.
•
System interface is a 25 MHz
1.6 Data Processing
IEEE 802.3 full-duplex, 100
Mb/s Ethernet MII port that
connects to either a PHY or a
MAC.
•
Complies to the GFP (Generic
Framing Procedure) draft
specification, revision 2, of
ANSI T1X1.5 and implements
both the null and linear header
options.
1.3 Applications
•
Line side SERDES interface is
8-bit parallel data operating at
19.44 MHz. SONET/SDH
framer is compliant to
specifications ANSI T1.105 and
ITU G.707.
•
Multi-Service Ethernet
Switches.
•
Enhanced Services SONET/
SDH Add/Drop Multiplexers
(ADMs).
•
•
Complies to the LAPS (Link
Access Procedure – SDH)
specification X.86 of ITU.
•
DSU/CSUs.
Optional self-synchronous
•
•
Serial data channels for add
and drop of SONET overhead
bytes E1, E2, F1 and DCC.
43
X
+1 scrambling of the
1.4 Benefits
Allows LANs to be intercon-
payload.
•
8-bit microprocessor
interface allows direct
connection to the Motorola
MPC860.
nected over leased OC-3c
lines, thereby extending a LAN
to multiple sites.
LINE CARD OF SONET ADM
STAND ALONE DSU/ CSU
OC-3c
OC-48/ 12
SONET RING
PORT ON ETHERNET SWITCH
MICROPROCESSOR
AGILENT
AGILENT
FIBER OPTICS
FIBER OPTICS
SWITCH
FABRIC
SERDES
WITH CDR
SONET SERDES
WITH CDR
AGILENT
HDMP-3001
ETHERNET
PHYs
AGILENT
HDMP-3001
ADM
EEPROM
MICROPROCESSOR
SERDES
WITH CDR
AGILENT
HDMP-3001
ETHERNET
PHY
AGILENT
FIBER OPTICS
ETHERNET
PHY
OC-3c PORT
ETHERNET PORTS
DROP SIDE - 100 MBIT/ S
FULL-DUPLEX ETHERNET
100 MBIT/ S
FULL-DUPLEX ETHERNET
Figure 2. HDMP-3001 Applications
6
Download from Www.Somanuals.com. All Manuals Search And Download.
2. Pinout
2.1 Pin Assignments
GND
VDD
DGND
DVDD
NO CONNECT
TRSTB
TX_SDCC_CLK
TX_SDCC_DATA
LOC_RX
LOC_TX
MDC
MDIO
P_TX_ER_M_RX_ER
GND
TMS
TDO
TCK
TDI
GPIO[0]
DGND
DGND
GPIO[1]
GPIO[2]
GPIO[3]
GPIO[4]
GPIO[5]
GPIO[6]
GPIO[7]
DVDD
DGND
GND
VDD
5
115
110
10
DGND
P_TX_EN_M_RX_DV
P_TXD_M_RXD[0]
P_TXD_M_RXD[1]
P_TXD_M_RXD[2]
P_TXD_M_RXD[3]
P_TX_CLK_M_RX_CLK
P_RX_ER_M_TX_ER
VDD
15
20
105
100
GND
DGND
DVDD
RX_FRAME_IN
RX_SONETCLK
RX_DATA[0]
RX_DATA[1]
RX_DATA[2]
RX_DATA[3]
RX_DATA[4]
BUSMODE1
GND
P_RX_DV_M_TX_EN
P_RXD_M_TXD[0]
P_RXD_M_TXD[1]
P_RXD_M_TXD[2]
P_RXD_M_TXD[3]
P_RX_CLK_M_TX_CLK
SCL
25
30
95
90
VDD
DGND
RX_DATA[5]
RX_DATA[6]
RX_DATA[7]
RX_E1E2F1_CLK
RX_F1_DATA
RX_E2_DATA
RX_E1_DATA
DVDD
SDA
SYS_25M_CLK
BUSMODE0
INT
RSTB
CSB
35
85
APS_INTB
VDD
DGND
GND
Figure 3. HDMP-3001 Pin Assignments
7
Download from Www.Somanuals.com. All Manuals Search And Download.
2.2 Pin Descriptions
Table 1. Line Side Interface Pins Description
Signal name
Pin #
Type(I/O)
Signal description
RX_DATA[0]
RX_DATA[1]
RX_DATA[2]
RX_DATA[3]
RX_DATA[4]
RX_DATA[5]
RX_DATA[6]
RX_DATA[7]
25
26
27
28
29
32
33
34
I
RECEIVE DATA: Byte-wide STS-3c data input stream.
RX_DATA [7] is the MSB, and RX_DATA [0] the LSB.
Data is sampled on the rising edge of RX_SONETCLK.
RX_FRAME_IN
23
I
RECEIVE FRAME INDICATOR: Frame position indication signal is
active high and indicates the SONET frame position on the RX_
DATA [7:0] bus. Sampled on the rising edge of RX_SONETCLK.
Only used when RX_FRAME_INH is set, otherwise tie this pin low.
RX_LAIS_OUT
153
O
RECEIVE LINE ALARM INDICATION SIGNAL OUTPUT:
Receive line alarm indication signal will be set high if a binary
“111” pattern is received for the number of consecutive frames
programmed into the K2_CONSEC register. RX_LAIS_OUT will
be cleared if a binary “111” pattern is not received for the
number of consecutive frames programmed into the
K2_CONSEC register.
RX_LOF_OUT
149
O
RECEIVE LOSS OF FRAME OUTPUT:
RX_LOF_OUT is set high when there is a loss of frame indication.
If RX_OOF_OUT is active continuously for 24 consecutive frames
(3 ms), the RX_LOF bit is set high. Once RX_LOF is set, it remains
high until RX_OOF_OUT is inactive continuously for 3 ms.
RX_LOS
147
152
24
I
RECEIVE LOSS OF SIGNAL: RX_LOS should be used to indicate
to the framer that there is no signal present from the optical
receiver. The signal’s default is active high, but can be set to
active low by programming RX_LOS_LEVEL = 1.
RX_OOF_OUT
RX_SONETCLK
O
I
RECEIVE OUT OF FRAME OUTPUT: RX_OOF_OUT is set high when
there is an out of frame indication. An out of frame condition occurs
when five consecutive erroneous framing patterns specified
in the A1 or A2 bytes have been received.
RECEIVE SONET CLOCK: RX_SONETCLK is the receive
input clock from the line side, and provides timing for the
receive data bus and frame position indication inputs.
This clock should be 19.44 MHz ± 20 ppm.
TX_DATA[0]
TX_DATA[1]
TX_DATA[2]
TX_DATA[3]
TX_DATA[4]
TX_DATA[5]
TX_DATA[6]
TX_DATA[7]
145
144
143
138
137
136
135
134
O
TRANSMIT DATA: Byte-wide STS-3c data output stream.
TX_DATA [7] is the MSB, TX_DATA [0] is the LSB. Data is
updated on the rising edge of TX_SONETCLK.
( cont inues)
8
Download from Www.Somanuals.com. All Manuals Search And Download.
Signal name
Pin #
Type(I/O)
Signal description
TX_FRAME_SFP
125
O
TRANSMIT FRAME POSITION OUTPUT INDICATOR: Frame position
indication signal is active high and indicates the SONET frame
position on the TX_DATA [7:0] bus. Updated on the rising edge of
TX_SONETCLK. This signal is also used for the outer board to start
sending the first bit (MSB) of the serial data E1, E2, F1, SDCC,
and LDCC.
TX_SONETCLK
133
I
TRANSMIT SONET CLOCK: TX_SONETCLK is the transmit output
clock to the line side, and provides timing for the transmit data
bus and frame position indication outputs. This clock should be
19.44 MHz ± 20 ppm.
LOC_TX
LOC_RX
115
116
O
O
Loss of SONET_TX clock.
Loss of SONET_RX clock.
Table 2. MII Interface Pins Description
Signal name
Pin #
Type(I/O)
Signal description
SYS_25M_CLK
88
I
Drives the two MII clocks in PHY mode, TX_CLK and
RX_CLK. It is also used to monitor the TX_SONETCLK
and RX_SONETCLK.
The requirement for this clock is 25 MHz ±100 ppm.
P_TX_CLK_M_RX_CLK
104
I/O (Int. PU) PHY mode: transmit clock output. Derived from
SYS_25M_CLK.
MAC mode: receive clock input. Nominally 25 MHz.
P_TXD_M_RXD[0]
P_TXD_M_RXD[1]
P_TXD_M_RXD[2]
P_TXD_M_RXD[3]
108
107
106
105
I
PHY mode: transmit data nibble.
MAC mode: receive data nibble.
P_TX_EN_M_RX_DV
109
I
PHY mode: transmit data enable.
MAC mode: receive data valid.
P_RX_CLK_M_TX_CLK
93
I/O (Int. PU) PHY mode: receive clock output. Derived from
SYS_25M_CLK.
MAC mode: transmit clock input. Nominally 25 MHz.
P_RXD_M_TXD[0]
P_RXD_M_TXD[1]
P_RXD_M_TXD[2]
P_RXD_M_TXD[3]
97
96
95
94
O (T/S)
PHY mode: receive data nibble.
MAC mode: transmit data nibble.
P_RX_DV_M_TX_EN
P_RX_ER_M_TX_ER
P_TX_ER_M_RX_ER
98
O (T/S)
O (T/S)
I
PHY mode: receive data valid.
MAC mode: transmit data enable.
103
112
PHY mode: receive error.
MAC mode: transmit error.
PHY mode: transmit error.
MAC mode: receive error.
( cont inues)
9
Download from Www.Somanuals.com. All Manuals Search And Download.
Signal name
Pin #
Type(I/O)
Signal description
MDIO
113
I/O
MII management input/output serial data. When this interface
is unused, connect this pin high. If HDMP-3001 is attached
to a MAC via the mechanical interface specified in IEEE 802.3,
clause 22.6, an external pull-up of 1.5 kohm ± 5% is required.
MDC
114
I
MII management clock, up to 2.5 MHz. When this interface is
unused, connect this pin high.
Table 3. Transport Overhead Pins Description
Signal name
Pin #
Type(I/O)
Signal description
RX_E1_DATA
38
O
RECEIVED E1 DATA: Local orderwire channel data byte
(E1) received from the line side.
RX_E2_DATA
RX_F1_DATA
RX_E1E2F1_CLK
37
36
35
O
O
O
RECEIVED E2 DATA: Express orderwire channel data byte
(E2) received from the line side.
RECEIVED F1 DATA: Maintenance channel data byte (F1)
received from the line side.
RECEIVED E1/E2/F1 DATA REFERENCE CLOCK: A
64 kHz clock reference output for E1/E2/F1 data. The MSB of
the E1/E2/F1 bytes appears in the first 64 kHz clock cycle
after a rising edge of RX_FRAME_SFP.
RX_FRAME_SFP
158
O
RECEIVE FRAMER START-OF-FRAME INDICATION: This signal is
nominally 8 kHz and is high during the first row of overhead
of the received frame. The RX_FRAME_SFP signal is also used
for byte alignment of the received E1/E2/F1 data outputs. This
is a SFP (Start-of-Frame-Pulse) indicating the SONET frame
position on the RX_DATA [7:0] bus.
RX_LDCC_DATA
RX_LDCC_CLK
154
155
O
O
RECEIVED LINE DCC DATA: Drop output for received
Line Data Communications Channel (DCC).
RECEIVED LINE DCC REFERENCE CLOCK : A gapped 576 kHz clock
reference for Line DCC data. The RX_LDCC_DATA outputs are
updated on the falling edge of RX_LDCC_CLK.
RX_SDCC_DATA
RX_8K_CLK
156
146
O
O
RECEIVED SECTION DCC DATA: Drop output for received Section
Data Communications Channel (DCC).
8kHz RECEIVE CLOCK: A general purpose 8kHz buffered clock
derived from RX_SONETCLK which may be used for external
clock reference purposes.
RX_SDCC_CLK
157
O
RECEIVED SECTION DCC REFERENCE CLOCK : A gapped 192 kHz
clock reference for Section DCC data. The RX_SDCC_DATA out-
puts are updated on the falling edge of RX_SDCC_CLK.
( cont inues)
10
Download from Www.Somanuals.com. All Manuals Search And Download.
Signal name
Pin #
Type(I/O)
Signal description
TX_E1_DATA
126
I
TRANSMIT E1 DATA: Local orderwire channel data byte
(E1) to be inserted by the HDMP-3001 into the outgoing
SONET data stream.
TX_E2_DATA
127
128
129
123
124
I
TRANSMIT E2 DATA: Express orderwire channel data byte
(E2) to be inserted by the HDMP-3001 into the outgoing
SONET data stream.
TX_F1_DATA
I
TRANSMIT F1 DATA: Maintenance channel data byte (F1)
to be inserted by the HDMP-3001 into the outgoing SONET
data stream.
TX_E1E2F1_CLK
TX_LDCC_DATA
TX_LDCC_CLK
O
I
TRANSMIT E1/E2/F1 DATA REFERENCE CLOCK: A 64 kHz clock
reference output for E1/E2/F1 data to be inserted by the
HDMP-3001 into the outgoing SONET data stream.
TRANSMIT LINE DCC DATA: Input for the Line Data
Communications Channel (DCC) to be inserted by the HDMP-3001
into the outgoing SONET data stream.
O
TRANSMIT LINE DCC REFERENCE CLOCK: A 576 kHz clock
reference for Line DCC data to be inserted by the
HDMP-3001 into the outgoing SONET data stream. The
TX_LDCC_DATA inputs are sampled on the falling edge of
TX_LDCC_CLK.
TX_SDCC_DATA
TX_SDCC_CLK
117
118
I
TRANSMIT SECTION DCC DATA: Input for the Section
Data Communications Channel (DCC) to be inserted into the
outgoing SONET data stream from the HDMP-3001.
O
TRANSMIT SECTION DCC REFERENCE CLOCK:
A 192 kHz clock reference for Section DCC data to be inserted
by the HDMP-3001 into the outgoing SONET data stream. The
TX_SDCC_DATA inputs are sampled on the falling edge of
TX_LDCC_CLK.
TX_8K_CLK
132
O
8kHz TRANSMIT CLOCK: A general purpose 8kHz
buffered clock derived from TX_SONETCLK which may be
used for external clock reference purposes.
11
Download from Www.Somanuals.com. All Manuals Search And Download.
Table 4. Microprocessor Interface Pins Description
Signal name
Pin #
Type(I/O)
Signal description
ADDR[0]
ADDR[1]
ADDR[2]
ADDR[3]
ADDR[4]
ADDR[5]
ADDR[6]
ADDR[7]
ADDR[8]
56
57
58
63
64
65
66
67
68
I
ADDRESS BUS: Allows host microprocessor to perform
register selection within the HDMP-3001.
APS_INTB
83
O (O/D)
I/O
APS INTERRUPT: Active-low output triggered by an APS
event. APS_INTB is an open-drain output which is in a high
impedance state when inactive.
When used, this pin needs an external pull-up.
BUSMODE0
BUSMODE1
87
30
BUS INTERFACE MODE:
BUSMODE1, BUSMODE0 = 00 -> Motorola MPC860 mode
BUSMODE1, BUSMODE0 = 01 -> Reserved
BUSMODE1, BUSMODE0 = 10 -> Reserved
BUSMODE1, BUSMODE0 = 11 -> Reserved
Both pins are latched at reset and are also used as test outputs in
test mode. In normal applications, tie these pins low.
CPU_CLK
CSB
60
84
I
CPU CLOCK: Used in Motorola MPC860 mode.
CHIP SELECT: Active-low chip select.
I
D[0]
D[1]
D[2]
D[3]
D[4]
D[5]
D[6]
D[7]
69
72
73
74
75
76
77
78
I/O
I/O DATA BUS: Allows transfer of data between host
microprocessor and the HDMP-3001.
Refer to microprocessor application notes on the usage of
board level pull-ups.
( cont inues)
12
Download from Www.Somanuals.com. All Manuals Search And Download.
Signal name
Pin #
Type(I/O)
Signal description
INT
86
O (T/S)
INTERRUPT: Configurable interrupt output. Refer to
Table 18 for a detailed description of how INT is configured.
In open-drain configurations, an external pull-up is required.
In open-source configurations, an external pull-down is
required.
To prevent undesired interrupts before configuration is
complete, microprocessors with an active-high interrupt pin
should have a pull-down and those with an active-low interrupt
pin, a pull-up.
RDB
55
53
I
READ ENABLE: Active low.
RDYB
I/O
READY: RDYB is an active-low output to acknowledge the
end of data transfer. This pin is briefly driven to its inactive state
before being tristated.
Refer to microprocessor application notes for board pull-up
requirements.
RSTB
WRB
85
54
I
I
RESET: Active low input to reset the HDMP-3001.
WRITE ENABLE: Active low.
Table 5. JTAG Interface Pins Description
Signal name
Pin #
Type(I/O)
Signal description
TCK
7
I
TEST CLOCK: JTAG input clock used to sample data on the
TDI and TDO pins. Should be tied high when the JTAG interface
is not in use.
TDI
8
6
5
4
I (Int PU)
O
TEST DATA IN: Input pin for serial data stream to be sent to
HDMP-3001. TDI is sampled on the rising edge of TCK.
TDO
TMS
TRSTB
TEST DATA OUT: Output pin for serial data stream sent
from the HDMP-3001. TDO is sampled on the falling edge of` TCK.
I (Int. PU)
I (Int. PU)
TEST MODE SELECT: Controls the operating mode of the
JTAG interface. TMS is sampled on the rising edge of TCK.
TEST PORT RESET: Active low input used to reset the
JTAG interface.
13
Download from Www.Somanuals.com. All Manuals Search And Download.
Table 6. Two-Wire EEPROM Interface Pins Description
Signal name
Pin #
Type(I/O)
Signal description
SCL
92
I/O
EEPROM bus clock. If no EEPROM is present, connect this pin
to ground.
Refer to EEPROM application notes for board pull-up requirements.
SDA
89
I/O
EEPROM bus data. If no EEPROM is present, connect this pin
to ground.
Refer to EEPROM app notes for board pull-up requirements.
Table 7. Miscellaneous Pins Description
Signal name
Pin #
Type(I/O)
Signal description
GPIO[0]
GPIO[1]
GPIO[2]
GPIO[3]
GPIO[4]
GPIO[5]
GPIO[6]
GPIO[7]
GPIO[8]
GPIO[9]
GPIO[10]
GPIO[11]
GPIO[12]
GPIO[13]
GPIO[14]
GPIO[15]
9
I/O (int. PU) GENERAL PURPOSE I/O: The GPIO register allows the
user to define each grouping (GPIO [0, 1], GPIO [2, 3], GPIO [4, 5],
GPIO[6, 7], GPIO [8, 9], GPIO [10, 11], GPIO [12, 13],
GPIO [14, 15] ) as either input or output bits. These bits can
be used for functions such as LED control or user-defined
input control.
12
13
14
15
16
17
18
43
44
45
46
47
48
49
52
NO CONNECT
GND
3, 148
These pins should be left unconnected.
1, 21, 31,
41,61, 71,
81, 101,
Logic GROUND: These pins should be connected to the logic
ground plane.
111, 121,
141, 151
( cont inues)
14
Download from Www.Somanuals.com. All Manuals Search And Download.
Signal name
Pin #
Type(I/O)
Signal description
DGND
10, 11, 20,
40, 50,
Driver GROUND: These pins should be connected to the I/O
ground plane.
70, 80,
90, 100,
110, 120,
130, 140,
150, 160
VDD
2, 22,
Logic POWER: These pins should be connected to the 1.8 V
42, 51,
62, 82,
91, 102,
122, 131,
142
power supply for logic.
DVDD
Note:
19, 39,
59, 79,
99, 119,
139, 159
Driver POWER: These pins should be connected to the 3.3 V
power supply for I/O.
I = Input, O = output, T/S = Tristateable output, O/D = Open-drain output, and Int. PU = Internal pull-up.
Not e: All unused input s must be t ied off t o t heir inact ive st at es. No input pins
should be left float ing.
15
Download from Www.Somanuals.com. All Manuals Search And Download.
2.3 I/O Buffer Types
This section lists the types of some particular I/Os used in the HDMP-3001 chip.
Table 8. Buffer types
Buffer Type
I/O Name
Comment
O/D
APS_INTB
Need external P/U
Output
TS
Output
P_RXD_M_TXD[0]
P_RXD_M_TXD[1]
P_RXD_M_TXD[2]
P_RXD_M_TXD[3]
P_RX_DV_M_TX_EN
P_RX_ER_M_TX_ER
Controlled by the “Isolate MII” register bit
INT
See INT Pin Configuration Section
RDYB
Uses a T/S output buffer and logically drives high before output buffer is
released or tristated
Input
TMS, TRSTB, TDI
w/
Internal P/U
Bidirectional
w/
Internal P/U
for input
mode
P_TX_CLK_M_RX_CLK
P_RX_CLK_M_TX_CLK
SDA
P/U can be disabled if there is an external P/U
SCL
GPIO [15:0]
Note:
All of the internal P/Us are normally enabled, and they can be disabled through the JTAG port, with the exception of SCL and SDA.
The pullups on these two pins can be disabled using controls from register 0x003 bits [5:4].
16
Download from Www.Somanuals.com. All Manuals Search And Download.
3. Functional Description
is in turn connected to an optical
transceiver for interfacing to a
fiber. The Ethernet interface is a
standard MII interface which op-
erates at 25 MHz (4-bit). Only 100
Mb/s full-duplex operation is sup-
ported, i.e. collisions are not
supported. This device can be
controlled through either a micro- This port operates in master mode
processor port or a two-wire
access to the internal chip regis-
ters through indirect addressing.
One of the vendor specific regis-
ters is used to shadow the
frequently polled master alarm
register.
3.1 Introduction
The HDMP-3001 performs full-
duplex mapping of Ethernet
frames into a SONET STS-3c /
SDH STM-1 payload using the
LAPS or GFP protocol. All
SONET/SDH framing functions
are included. A TOH
interface provides direct add/drop MDIO (MII Management)
capability for E1, E2, F1, and both port. The complete register map
Section and Line DCC channels.
SONET or SDH mode is selected
during initial configuration.
3.2.3 EEPROM Interface
only, i.e. the HDMP-3001 cannot
be accessed through this port.
One use of this port is to config-
ure the chip in stand-alone
can be accessed from both these
ports. Additionally, the initial con- applications. Another use is to
figuration can be automatically
downloaded from an EEPROM
assign unique PHY addresses to
cascaded HDMP-3001 ICs when
By default, the HDMP-3001 oper-
ates in LAPS mode. LAPS is a
HDLC-compatible protocol. The
LAPS transmit processing in-
cludes packet framing,
which is useful in designs without they are controlled through the
on-board intelligence.
MDIO port.
3.2 Interface Descriptions
If enabled, this port is automati-
cally activated after reset to load
the HDMP-3001 configuration
from an EEPROM. The complete
address space of the HDMP-3001,
511 to 0, is filled with the data
from EEPROM addresses 511 to 0.
inter-frame fill, payload scram-
3.2.1 Microprocessor Interface
The interface consists of eight
data bits, nine address bits, three
control signals and one acknowl-
edge signal. Through this
43
bling (X +1), transparency
processing (byte stuffing) and 32-
bit CRC generation. The receive
LAPS processing provides for the
extraction of LAPS frames, trans-
parency removal, descrambling,
header and FCS checking.
interface the HDMP-3001 internal
register map can be accessed.
Only one of the microprocessor,
MII Management or EEPROM
ports can be active at any one
time. Hence, in the rare cases
EEPROMs like Philips’
PCF8594C-2, Fairchild’s
NM24C02U or Atmel’s AT24C04
are supported. The EEPROM de-
vice address should be set to zero.
The HDMP-3001 can also be con-
figured to operate in GFP mode.
The GFP transmit processing in-
cludes the insertion of framed
packet framing, idle frame inser-
where more than one port is used, The SCL clock rate is just under
care has to be taken not to have 100 kHz. It takes a little under 300
more than one port active simulta- ms for the EEPROM to load, so
43
tion, payload scrambling (X +1)
and 32-bit CRC generation. The
receive GFP processing provides
for the extraction of GFP frames,
descrambling, header and FCS
error checking.
neously.
during this time the microproces-
sor and MII Management ports
must stay inactive.
3.2.2 MII Management Interface
The MII Management interface is
a standard port for Ethernet PHYs 3.2.4 MII Interface
and is defined in the IEEE 802.3
specification. It is a two wire in-
terface that allows access to
This interface is a 100 Mb/s full-
A robust set of performance
counters and status/control regis-
ters for performance monitoring
via the external microprocessor
or MDIO is provided.
duplex Ethernet MII interface as
defined by IEEE 802.3. It operates
at 25 MHz. At power-up the MII
Isolate bit in the register map is
active, which sets all output pins
in this interface to high impedance
and ignores all MII inputs.
thirty-two sixteen-bit data regis-
ters. These are defined in the MII
Management memory map. Six-
teen of the data registers are
defined by the IEEE specification
and sixteen are left for vendor
specific purposes. Two of the ven-
dor specific registers in the
The SONET/SDH line side con-
sists of an 8-bit parallel interface
which operates at 19.44 MHz.The
device is typically connected to a
parallel-to-serial converter, which
HDMP-3001 are used to enable
17
Download from Www.Somanuals.com. All Manuals Search And Download.
3.2.5 SONET/SDH Interface
3.3.2 Software Reset
3.4 Bit Order
This interface is 8 bits wide and
runs at 19.44 MHz. The Serial
SONET/SDH overhead channels
are clocked in and out of the IC
through low-speed serial ports.
Software resets are functionally
equivalent to hardware resets.
There are two identical software
resets, one in the microprocessor
register map and one in the MII
register map. Both resets are self-
cleared in less than 10 µs.
3.4.1 GFP Mode
The bit order for the MII nibbles
through the HDMP-3001 chip is
shown in Figure 4. The order in
which the FCS bits are transmit-
ted is shown in Figure 5.
3.3 Initialization
3.3.1 Hardware reset
3.3.3 Software State Machine Reset
This reset should always be active
when the chip is configured. Only
when the configuration is com-
pleted should the state machine
reset be cleared to begin normal
operation.
The HDMP-3001 hardware reset,
RSTB, is asynchronous and must
be active for at least 200 SONET
clock cycles (>10 µs) with stable
power.
X
4
3
PINS
TX_DATA[7]
7
S
C
R
TX_DATA[6]
TX_DATA[5]
TX_DATA[4]
TX_DATA[3]
TX_DATA[2]
TX_DATA[1]
TX_DATA[0]
6
5
4
3
2
1
0
X
7
F
F
L
L
L
7
6
5
4
3
2
1
0
F
L
PINS
7 6 5 4 3 2 1 0
7 6 5 4 3 2 1 0
7 6 5 4 3 2 1 0
M
I
I
S
C
R
TXD0
TXD1
TXD2
TXD3
0
1
2
3
4
5
6
7
[7]
[0]
G
F
P
I
/
F
F
LSN
MSN
C
R
C
G
E
N
F = FIRST
L = LAST
Figure 4. GFP Payload Bit Order
X
4
3
PINS
TX_DATA[7]
7
S
C
R
TX_DATA[6]
TX_DATA[5]
TX_DATA[4]
TX_DATA[3]
TX_DATA[2]
TX_DATA[1]
TX_DATA[0]
6
5
4
3
2
1
0
C
R
C
X
7
F
F
L
L
7 6 5 4 3 2 1 0
[7] [0]
7 6 5 4 3 2 1 0
7 6 5 4 3 2 1 0
7 6 5 4 3 2 1 0
7 6 5 4 3 2 1 0
S
C
R
31
23
15
7
24
16
8
0
G
E
X
X
X
X
X
X
X
X
N
Figure 5. GFP FCS Bit Order
18
Download from Www.Somanuals.com. All Manuals Search And Download.
3.4.2 LAPS Mode
In LAPS mode the FCS is calcu-
clears the bit. If a clear occurs si-
multaneously with a parameter
running counters are latched into
the hold registers and the running
lated LSB first and the FCS sum is state change, the delta bit remains counters are cleared when a pulse
transmitted in reversed bit order
set. Delta bits are indicated by a
occurs on LATCH_EVENT.
within each byte. See Figure 6 and _D suffix.
Figure 7.
To prevent missing a count that
occurs when latching occurs, a
counter is set to one, rather than
zero, if the clear signal is simulta-
neous with an increment. After
being latched, the results are held
to be read by the microprocessor.
The running counters will stop at
their maximum value rather than
roll over to zero.
When LATCH_CNT in register
3.5 Performance Monitoring
0x001 is written from a 0 to a 1, it
produces a pulse on an internal
signal, LATCH_EVENT.
For performance monitoring pur-
poses, the HDMP-3001 contains a
number of delta bits, event bits
and error counters.
All the internal performance
monitoring counter blocks are
comprised of a running error
Delta bits are set by the HDMP-
3001 when a monitored parameter counter and a holding register
changes state. The delta bit then
stays high until the controller
that presents stable results to the
controller. The counts in all of the
X
4
3
PINS
TX_DATA[7]
7
S
C
R
TX_DATA[6]
TX_DATA[5]
TX_DATA[4]
TX_DATA[3]
TX_DATA[2]
TX_DATA[1]
TX_DATA[0]
6
5
4
3
2
1
0
X
7
F
F
L
L
L
7
6
5
4
3
2
1
0
F
L
PINS
7 6 5 4 3 2 1 0
7 6 5 4 3 2 1 0
0 1 2 3 4 5 6 7
M
I
I
S
C
R
TXD0
TXD1
TXD2
TXD3
0
1
2
3
4
5
6
7
[7]
[0]
L
A
P
I
/
F
S
F
LSN
MSN
C
R
C
G
E
N
F = FIRST
L = LAST
Figure 6. LAPS Payload Bit Order
X
4
3
PINS
TX_DATA[7]
7
S
C
R
TX_DATA[6]
TX_DATA[5]
TX_DATA[4]
TX_DATA[3]
TX_DATA[2]
TX_DATA[1]
TX_DATA[0]
6
5
4
3
2
1
0
C
R
C
X
7
F
F
L
L
7 6 5 4 3 2 1 0
7 6 5 4 3 2 1 0
7 6 5 4 3 2 1 0
7 6 5 4 3 2 1 0
7 6 5 4 3 2 1 0
S
C
R
24
16
8
0
31
23
15
7
G
E
[7]
[0]
X
X
X
X
X
X
X
X
N
Figure 7. LAPS FCS Bit Order
19
Download from Www.Somanuals.com. All Manuals Search And Download.
Summary delta event bits provide
a consolidated view of the various by programming register bits in
The loopback modes are selected
data is looped back to the line
side transmit circuitry, from
where it is sent out on the
TX_DATA pins.
individual delta event bits,
grouped either by function or
SONET tributary. Summary delta
events are therefore a function of
the other delta events bits in the
register maps. The summary bits
are read only, and will only be
cleared when all delta event bits
that contribute to them are
cleared.
the register map. For details
please refer to the description of
register 0x001.
The Ethernet loopback mode can
be enabled by setting register bit
MII_LOOPBACK_MODE. In
In SONET loopback mode
SONET_R_TO_T_LOOPL, the
data received on the RX_DATA
pins is routed straight to the
TX_DATA pins. The data is not
processed by the chip. In SONET
loopback mode
SONET_R_TO_T_LOOP, the data
received on the RX_DATA pins is
processed by the line side receive
circuitry. After the framer the
loopback mode, the MII RX inter-
face and MII TX interface are
used together to route the MAC
frames from the MAC device back
to the MAC device. That is, the
MAC frames under test are re-
ceived from the MAC device
through the MII TX interface.
Then, the MAC frames are not
processed and are sent directly to
the MII RX interface.
The summary bits are O/R'd to-
gether to form the HDMP-3001
interrupt outputs, INTB and
APS_INTB. The contribution of
any of these bits to the summary
interrupts can be deleted by set-
ting the corresponding mask bit.
THIRD LOOPBACK
OUTSIDE CHIP
3
3.6 Test
TX
TX_LAPS
4
F
I
F
O
MII
3.6.1 Loopbacks
OVERHEAD
RX
RX_LAPS
1
Several loopbacks are provided
for test purposes, as shown in
Figure 8:
2
Figure 8. Loopbacks
•
Loopback 1:
SONET_R_TO_R_LOOPL,
requires STS-3c/STM-1 mode
with TX_SONETCLK =
RX_SONETCLK.
•
Loopback 2:
SONET_R_TO_T_LOOP,
requires STS-3c/STM-1 mode
with TX_SONETCLK =
RX_SONETCLK.
•
•
Loopback 3: Loopback done
on the board level.
Loopback 4:
MII_T_TO_R_LOOP, only
supported in PHY mode, i.e.
when the HDMP-3001 drives
the MII clocks.
20
Download from Www.Somanuals.com. All Manuals Search And Download.
3.6.2 JTAG
Table 9. JTAG pins
The HDMP-3001 supports the
IEEE 1149.1 Boundary Scan stan-
dard. The Test Access Port
consists of 5 pins as defined in
Table 10. Signals TDI, TMS and
TRSTSB are all pulled up to logic
one when not driven.
Signal Name
TDI
Description
Signal input to the TAP controller
TAP controller state machine control
TAP controller clock
TMS
TCK
TRSTB
TDO
Asynchronous TAP reset
Scan output from TAP
The HDMP-3001 TAP supports the
mandatory EXTEST, SAMPLE/
PRELOAD, and BYPASS instruc-
tions along with the optional
CLAMP and HIGHZ instructions.
The instructions and their
Table 10. JTAG instructions supported
opcodes are listed in Table 11.
Instruction
EXTEST
Opcode
00
Description
Board Level Interconnection Testing
Snapshots of Normal Operation
Normal Chip Operation
The TAP generates a two-phase
non-overlapping clock to control
the boundary scan chain based
upon the input signal TCK. The
TAP controller is optimized to
work at 10 MHz.
SAMPLE/ PRELOAD
BYPASS
02
FF
HIGHZ
08
Outputs in High Impedance State
CLAMP
04
Holds Values from Boundary-Scan
Chain to Outputs
3.7 Interrupts
The microprocessor interface can
be operated in either an interrupt
driven or a polled mode. In both
modes, the HDMP-3001 register
bit SUM_INT can be used to deter-
mine whether or not changes have
occurred in the state of monitor-
ing registers.
TOH_D_SUM group indicates
that at least one of the delta sig-
nals below is unmasked and set.
RX_LOS_D, RX_OOF_D,
RX_LOF_D, RX_LAIS_D,
RX_LRDI_D, RX_K1_D,
K1_UNSTAB_D,
3.7.2 Polled Mode
The SUM_INT_MASK and
RX_APS_INT_MASK bits should
be set to logic 1 to suppress all
hardware interrupts and operate
in a polled mode. In this mode,
the HDMP-3001 outputs INT and
APS_INTB are held in the inactive
(logic one) state.
3.7.1 Interrupt Driven Mode
RX_K2_D, J0_OOF_D
In an interrupt driven mode, the
SUM_INT_MASK bit should be
cleared. This allows the INT out-
put to become active. In addition,
the RX_APS_INT_MASK bits of
the receive side should be cleared
(to logic zero). This allows the
APS_INTB output to become ac-
tive (logic zero). If an interrupt
occurs, the microprocessor can
first read the summary status reg-
isters to determine the class(es)
of interrupt source(s) that is ac-
tive, and then read the specific
registers in that class(es) to deter-
mine the exact cause of the
PTR _D_SUM group indicates
that at least one of the delta sig-
nals below is unmasked and set.
RX_PAIS_D, RX_LOP_D
Note that the SUM_INT_MASK
and RX_APS_INT_MASK bits do
not affect the state of the register
bits SUM_INT and RX_APS_INT.
These bits can be polled to deter-
mine if further register
PATH_D_SUM group indicates
that at least one of the delta sig-
nals below is unmasked and set.
RX_PLM_D, RX_UNEQ_D,
RX_G1_D, RX_C2_D, J1 _AVL,
J1_OOF_D
interrogation is needed.
3.7.3 Interrupt Sources
The interrupt sources are divided
into four groups. Each group can
be masked and each interrupt
source within the group can be
individually masked.
interrupt.
21
Download from Www.Somanuals.com. All Manuals Search And Download.
EOS_D_SUM group indicates
that at least one of the delta sig-
nals below is unmasked and set.
NEW_RX_MIN_ERR,
NEW_RX_MAX_ERR,
NEW_RX_OOS_ERR,
NEW_RX_FORM_DEST_ERR,
NEW_RX_FIFO_UR_ERR,
NEW_RX_FIFO_OF_ERR,
NEW_RX_FCS_HEC_ERR,
NEW_TX_FIFO_UR_ERR,
NEW_TX_FIFO_OF_ERR,
NEW_TX_ER_ERR,
7 OCTETS
1 OCTET
PREAMBLE
START OF FRAME DELIMITER
DESTINATION ADDRESS (DA)
SOURCE ADDRESS (SA)
LENGTH/ TYPE
6 OCTETS
6 OCTETS
2 OCTETS
46 - 1500 OCTETS
4 OCTETS
OCTETS WITHIN
FRAME ARE
TRANSMITTED FROM
TOP TO BOTTOM
MAC CLIENT DATA
FCS
LSB
MSB
BIT 7
BIT 0
NEW_TX_MII_ALIGN_ERR
Figure 9. An Ethernet MAC frame
3.7.4 APS_INTB
RX_APS_INT interrupt message
for APS (K1 and K2) indicates that
at least one of the RX_K1_D,
RX_K2_D, K1_UNSTAB_D is one
and the corresponding mask bits
and RX_APS_INT_MASK are zero.
1 OCTET
LSB
MSB
MSB
MSB
MSB
FLAG (0x7E)
ADDRESS (0x04)
CONTROL (0x03)
SAPI MSB (0xFE)
SAPI LSB (0x01)
1 OCTET
1 OCTET
1 OCTET
1 OCTET
LSB
LSB
LSB
LSB
OCTETS WITHIN
FRAME ARE
MSB
6 OCTETS
6 OCTETS
2 OCTETS
DESTINATION ADDRESS (DA)
SOURCE ADDRESS (SA)
LENGTH/ TYPE
TRANSMITTED FROM
TOP TO BOTTOM
3.8 Data Processing
The LAPS and GFP TX Processing
refers to the encapsulation of the
MAC (Media Access Control)
frames coming from the MII (Me-
dia Independent Interface, see
IEEE 802.3 specification) into the
LAPS/GFP frames, which are then
sent to the Line Side Interface
(SONET/SDH). Figure 9 shows an
Ethernet MAC frame, and Figure
10 a LAPS frame with a MAC pay-
load.
MAC
FRAME
46 - 1500 OCTETS
4 OCTETS
MAC CLIENT DATA
FCS OF MAC
FCS OF LAPS
4 OCTETS
LSB
FLAG (0x7E)
1 OCTET
MSB
MSB
LSB
BIT 8
BIT 1
Figure 10. The format of a LAPS frame with a MAC payload
3.8.1 LAPS Processing
each byte within a frame that
matches the flag or control
code bytes with a two-byte
sequence.
The Transmit LAPS Processor
provides the insertion of packet-
based information into the STS
SPE. It provides packet encapsu-
lation, FCS field generation,
inter-packet fill and scrambling.
The Transmit LAPS Processor
performs the following functions:
fields, and an end of field flag
(0x7E). All fields except the
start flag can be disabled
through configuration.
•
•
Provides the ability to insert
FCS errors for testing under
SW control.
•
•
Optional self-synchronous
transmit payload scrambler
43
(X +1 polynomial).
Provides for selectable
Transparency processing
•
Encapsulates packets within
an LAPS frame. Each packet is
encapsulated with a start flag
(0x7E), a 32-bit FCS field,
Address, Control and SAPI
treatment of FIFO underflow.
A FIFO underflow condition
occurs when a TX FIFO empty
occurs prior to the end of a
(octet stuffing for Flags &
Control Escape). Byte stuffing
occurs between start and end
of field flags. Stuffing replaces
22
Download from Www.Somanuals.com. All Manuals Search And Download.
packet. When this occurs an
interrupt is generated. The
packet can be ended via
3.8.1.2 LAPS Scrambling
Scrambling is performed to pro-
tect the SONET/SDH line against
3.8.2.1 FCS Polynomial for GFP
Processing
The HDMP-3001 supports CRC-32
generation of an FCS error, via malicious users deliberately send- Frame Check Sequence (FCS)
an abort sequence, or via “fill”
bytes inserted in the gap,
depending upon a software
configurable escape code.
ing packets to cause long
generation and checking. The
polynomial used to generate and
check the FCS is
run-lengths of ones or zeros or
replicating the SONET/SDH fram-
ing bytes. In the transmit
32
26
23
22
16
12
X
+ X + X + X + X + X
43
11
10
8
7
5
4
direction an X +1 scrambler
+ X + X + X + X + X + X +
•
Maintains performance
monitor counters.
2
scrambles all SPE payload data.
In the receive direction, a self-syn-
X + X + 1.
43
3.8.1.1 FCS Polynomial for LAPS
Processing
chronous X +1 descrambler
The FCS field is calculated over
the GFP payload, excluding all
headers. The CRC generator and
checker are initialized to all ones.
recovers the scrambled data.
The HDMP-3001 supports CRC-32
Frame Check Sequence (FCS)
generation and checking. The
polynomial used to generate and
check the FCS is
3.8.2 GFP Processing
The Transmit GFP Processor pro- Upon completion of the FCS cal-
vides the insertion of packet-
based information into the STS
SPE. It provides packet encapsu-
lation, FCS field generation,
inter-packet fill and scrambling.
The GFP Processor performs the
following functions:
culation the FCS value is
ones-complemented. It is this new
value that is inserted in the FCS
field.
32
26
23
22
16
12
X
+ X + X + X + X + X
11
10
8
7
5
4
+ X + X + X + X + X + X +
2
X + X + 1.
3.8.2.2 HEC Polynomial for GFP
Processing
The FCS field is calculated over
all bits of the Address, Control,
Payload, Information and Padding
fields, not including any octets
inserted for transparency. This
does not include the Flag Se-
quences nor the FCS field itself.
The following polynomial is used
for generating and checking the
HECs:
•
•
•
•
•
Counts the Ethernet frame
length.
Calculates the payload length
field, (PLI).
16
12
5
X
+ X + X + 1
An HEC is calculated over each
header. The initial value of the
CRC registers is zero and the HEC
is not inverted before being sent.
Performs XOR with values as
shown in Figure 11.
The CRC generator and checker
are initialized to all ones. Upon
completion of the FCS calculation
the FCS value is ones-comple-
mented. It is this new value that is
inserted in the FCS field.
Generates and sends cHEC
and XOR (Figure 11).
Sends programmable TYPE
values.
•
•
Generates and sends tHEC.
Sends programmable DP, SP,
and SPARE.
•
•
Generates and sends eHEC.
Generates and sends optional
FCS.
23
Download from Www.Somanuals.com. All Manuals Search And Download.
NOTE: ‘+’ IN THE DIAGRAM BELOW IS AN EXCLUSIVE OR FUNCTION
In the receive direction the pro-
cess is reversed. The byte wide
STS signal is received, the HDMP-
3001 locates the frame and TOH/
SOH, interprets the pointer, termi-
nates the TOH/SOH and POH,
extracts the SPE/VC, and then ex-
tracts the LAPS/GFP packets from
the SPE/VC payload. The LAPS/
GFP frames are then processed
and passed on to an appropriate
link layer device via the MII sys-
tem interface.
MSB
LSB
PLI '+' 0xB6
PLI '+' 0xAB
NUMBER OF BYTES IN THE GFP PAYLOAD
MSB
LSB
cHEC '+' 0x31
cHEC '+' 0xE0
MSB
LSB
TYPE
TYPE
tHEC
PROGRAMMABLE
PROGRAMMABLE
MSB
LSB
tHEC
DP PROGRAMMABLE
SP PROGRAMMABLE
PROGRAMMABLE
3.9.1 Transmit SONET/SDH Process-
ing Overview
The Transmit SONET/SDH Pro-
cessor provides for the
SPARE
eHEC
MSB
LSB
eHEC
encapsulation of LAPS/GFP pack-
ets into the SPE/VC. It then
inserts the appropriate POH and
TOH/SOH and outputs the final
STS signal to a parallel to serial
converter. The processor per-
forms the following functions:
MAC PAYLOAD
64-1522 BYTES
•
Multiplexes LAPS/GFP packets
from the system interface with
Path Overhead (POH) bytes
that it generates to create the
SPE for SONET or VC for SDH.
MSB
FCS[31:24]
FCS[23:16]
FCS[15:8]
FCS[7:0]
1) 32-BIT CRC POLYNOMIAL
2) ON PRE-SCRAMBLED DATA
•
Supports the following POH
bytes: Path Trace (J1), Path
BIP-8 (B3), Signal Label (C2),
and Path Status (G1). Other
POH bytes are transmitted as
fixed all zeros.
3) COVERS THE GFP PAYLOAD DATA ONLY
LSB
BIT TRANSMISSION ORDER
•
•
Performs AIS and Unequipped
signal insertion.
Figure 11. The GFP frame
3.8.2.3 GFP Scrambling
TOH/SOH generation,
including:
3.9 SONET/SDH Processing
Scrambling is performed to pro-
tect the SONET/SDH line against
malicious users deliberately send-
ing packets to cause long
The HDMP-3001 performs standard
STS-3c/STM-1 processing for both
the transmit and receive direc-
tions. In the transmit direction, the
LAPS/GFP packets are encapsu-
lated into the SONET/SDH SPE/
VC. The POH and TOH/SOH are
inserted, and the resulting STS sig-
nal is transmitted in byte wide
format to a parallel to serial
converter and then to a fiber optic
transceiver.
• Frame bytes, A1A2
• Section Trace, J0
• Section Growth, Z0
• Section BIP-8, B1
run-lengths of ones or zeros or
replicating the SONET/SDH fram-
ing bytes. In the transmit
• Orderwire, E1, E2
• Section User Channel, F1
43
direction an X +1 scrambler
scrambles all SPE payload data
except core headers. In the re-
ceive direction, a
self-synchronous X +1
descrambler recovers the
scrambled data.
• Data Communications
Channel, D1-D12
43
24
Download from Www.Somanuals.com. All Manuals Search And Download.
consistent values in
consecutive frames.
• Pointer Bytes, H1, H2, H3
• BIP-96/24, B2
SONET POH
SDH POH
J1
B3
C2
G1
F2
H4
Z3
Z4
Z5
J1
B3
C2
G1
F2
•
Monitors the M1 byte to
determine the number of B2
errors that are detected by the
remote terminal in its received
signal.
• APS bytes, K1, K2
• Synchronization Status, S1
• Line/MS REI, M1
•
•
Transmits undefined TOH/SOH
as fixed all zeros.
•
•
Outputs the received E1, F1,
and E2 bytes and two serial
DCC channels, SDCC (D1-D3)
and LDCC (D4-D12).
H4
F3
Scrambles payload using
SONET/SDH frame
synchronous descrambler,
7
6
polynomial (X + X +1).
Examines the H1-H2 bytes to
establish the state of the
received pointer (Normal,
LOP, AIS). If the pointer state
is normal, the first H1H2 bytes
are read to determine the
start of the SPE/VC.
K3
N1
3.9.2 Receive SONET/SDH Process-
ing Overview
Figure 12. The structure of the SONET STS-3c
SPE and SDH VC-4
The Receive SONET/SDH Proces-
sor provides for the framing of the
STS signal, descrambling, TOH/
SOH monitoring including B1 and
B2 monitoring, AIS detection,
pointer processing, and POH
monitoring. The Receive SONET/
SDH Processor performs the fol-
lowing functions:
•
•
Monitors POH bytes J1, B3, C2,
and G1 for errors or changes in
state.
Monitors/captures J1 bytes. In
SONET applications, captures
64 consecutive J1 bytes and in
SDH applications looks for a
repeating 16 consecutive J1
byte pattern.
•
SONET/SDH framing, [A1
A2] bytes are detected and
used for framing. Provides
OOF and LOF indicators
(single event and second
event).
PAYLOAD CAPACITY (2340 BYTES)
•
Monitors C2 bytes for
verification of correct
tributary types. The tributary
is checked for five consecutive
frames with identical C2 byte
values.
261 COLUMNS
Figure 13. STS-3c SPE or VC-4 Structure
•
•
Descrambles payload
using SONET/SDH frame
synchronous descrambler,
7
6
polynomial (X + X +1).
•
•
Monitors G1 for REI-P and
RDI-P.
Monitors incoming B1 bytes
and compares them to
recalculated BIP-8 values.
Provides error event
information.
Monitors incoming B3 bytes
and compares them to
recalculated BIP-8 values.
Provides error event
information.
•
Monitors incoming B2 bytes
and compares them to
recalculated BIP-96/24 values.
Provides error event
3.9.3 Transmit SONET/SDH
Processing Details
information.
•
Monitors K1 and K2 bytes,
which are used for sending
Line/MS AIS or RDI, and for
APS signaling.
3.9.3.1 SPE/VC Structure
The first column of the SPE/VC is
the POH. The ordering of these
nine bytes is shown in Figures 12
and 13 for SONET and SDH.
•
Monitors the four LSBs of
received S1 bytes for
25
Download from Www.Somanuals.com. All Manuals Search And Download.
3.9.3.2 POH
the SPE/VC. The provisioned
are transmitted as all zeros. These
include the path user channel
(F2), the position indicator (H4),
the path growth/user channel (Z3/
F3), the path growth/path APS
channel (Z4/K3), and the tandem
connection monitoring (Z5/N1)
bytes.
There are nine bytes of path over- value, TX_C2[7:0], is inserted into
head. The first byte of the path
overhead is the path trace byte,
the generated C2 bytes.
J1. Its location with respect to the 3.9.3.2.4 Path Status (G1)
SONET/SDH TOH/SOH is indi-
cated by the associated STS/AU
pointer. The following sections
define the transmitted values of
the POH bytes. Where the byte
The receive side monitors B3 bit
errors in the received SPE/VC.
The number of B3 errors detected
in each frame (0 to 8) is trans-
ferred from the receive side to the 3.9.3.2.6 SONET/SDH Frame
names differ between SONET and transmit side for insertion into the Generation
SDH, the SONET name is listed
first.
transmit path status byte, G1, as a
Remote Error Indication. If regis-
ter bit PREI_INH = 0, the bits are
set to the binary value (0000
through 1000, indicating between
0 and 8) equal to the number of
B3 errors most recently detected
by the Receive Side POH monitor- for the first row of TOH/SOH
ing block. Otherwise, they are set
to all zeros.
The SONET/SDH frame generator
creates an STS-3c/STM-1 by gen-
erating the Transport (Section)
Overhead (TOH/SOH) bytes, fill-
ing the payload with bytes from
SPE/VC, and scrambling all bytes
of the SONET/SDH signal except
3.9.3.2.1 Path Trace (J1)
The HDMP-3001 can be pro-
grammed to transmit either a
16-byte or a 64-byte path trace
message in the J1 byte. The mes-
sages are stored in
TX_J1[63:0]_[7:0]. In SDH mode,
the J1 byte is transmitted repeti-
tively as the 16-byte sequence in
TX_J1[15]_[7:0] down to
bytes.
3.9.3.2.7 Frame Alignment
Pat h RDI. Bit 5 of G1 can be used HDMP-3001 does not support
as a Path/AU Remote Defect Indi- frame alignment in the transmit
TX_J1[0]_[7:0]. Otherwise, the
64-byte sequence in
cation, RDI-P, or bits 5, 6, and 7 of direction.
G1 can be used as an enhanced
TX_J1[63]_[7:0] down to
RDI-P indicator. The values trans- 3.9.3.2.8 Payload Generation
TX_J1[0]_[7:0] is transmitted.
(The 16-byte sequence is used in
the SDH mode, and the 64-byte
sequence in the SONET mode.)
mitted in bits 5, 6, and 7 of G1 are
taken either from the TX_G1[2:0]
registers (if PRDI_AUTO = 0), or
the HDMP-3001 automatically
The SONET or SDH payload is
normally filled with bytes from
the SPE/VC. The J1 byte of the
SPE/VC is placed into column 10
generates an enhanced RDI signal of row 1.
(if PRDI_AUTO = 1 and
3.9.3.2.2 Path BIP-8 (B3)
The Bit Interleaved Parity 8 (BIP-
8) is transmitted as even parity
(normal) if register bit B3_INV =
0. Otherwise, odd parity (incor-
rect) is generated. The BIP-8 is
calculated over all bits of the pre-
PRDI_ENH = 1), or a one bit RDI
signal (if PRDI_AUTO = 1 and
PRDI_ENH = 0). The values trans-
mitted in bits 5, 6, and 7 of G1 are
shown in Table 11.
vious SPE/VC (including the POH) If PRDI_AUTO = 1, the values
before scrambling and placed into shown above are transmitted for a
the B3 byte of the current SPE/VC minimum of 20 frames. Once 20
before scrambling. By definition
of BIP-8, the first bit of B3 pro-
frames have been transmitted
with the same value, the value
vides parity over the first bit of all corresponding to the current state
bytes of the previous SPE/VC, the
second bit of B3 provides parity
over the second bit of all bytes of
the previous SPE/VC, etc.
of the defect indication values
listed in Table 1 will be transmit-
ted. Bit 8 of G1 (the LSB) is
unused, and it is set to zero.
3.9.3.2.3 Signal Label (C2)
3.9.3.2.5 Other POH Bytes
The signal label byte indicates the The remaining POH bytes are not
composition, e.g. LAPS or GFP, of supported by the HDMP-3001 and
26
Download from Www.Somanuals.com. All Manuals Search And Download.
Table 11. Path RDI bit values
PRDI_AUTO
PRDI_ENH
RX_PAIS
RX_LOP
RX_UNEQ
RX_PLM
G1 Bits 5, 6, and 7
0
1
x
0
x
1
0
1
0
0
0
x
x
x
x
1
0
0
x
x
x
x
x
1
0
TX_G1[2:0]
100
000
1
101
110
010
001
3.9.3.2.9 POH AIS Generation
Normal generation of SONET/
SDH payload is suspended during
transmission of the Line (Multi-
plex Section or MS) Alarm
Indication Signal, LAIS, or the
Path (Administrative Unit or AU)
AIS signals, PAIS. AIS is gener-
ated if:
first. Entries that are blank in
Table 15 are SONET undefined or
SDH non-standardized reserved
bytes. The HDMP-3001 fills these
bytes with all zeros. The Z1 and
Z2 bytes are non-standardized re-
served bytes for STM-1.
3.9.3.3.3 Section Trace/Regenerator
Section Trace (J0)
Over periods of 16 consecutive
frames, the HDMP-3001 continu-
ously transmits the 16-byte
pattern contained in
TX_J0[15:0]_[7:0]. The bytes are
transmitted in descending order
starting with TX_J0[15]_[7:0].
3.9.3.3.1 TOH/SOH AIS Generation
Normal generation of TOH/SOH
bytes is suspended during trans-
mission of LAIS or PAIS. If
TX_LAIS = 1, the first three rows
of the TOH/SOH are generated
•
TX_LAIS or TX_PAIS = 1. In
addition the entire payload
(9396 or 2349 bytes) is filled
with all ones.
The ITU-T G.707 standard states
that a 16-byte section trace frame
containing the Section Access
Point Identifier (SAPI) defined in
•
•
•
LOF is detected.
normally, but the remainder of the clause3/G.831 should be transmit-
Bits 6 - 8 of K2 are all ones.
TOH/SOH as well as all SPE/VC
bytes are transmitted as all ones
bytes. If TX_PAIS = 1, all rows of
the TOH/SOH are generated nor-
mally, except for the pointer bytes
in row four. The H1, H2, and H3
bytes as well as all SPE/VC bytes
are transmitted as all ones.
ted continuously in consecutive
J0 bytes. Note that only the frame
start marker byte should contain a
one in its MSB.
The pointer bytes H1, H2 are
all ones.
3.9.3.2.10 Unequipped Generation
Unless AIS is active, unequipped
SPE/VC (all SPE/VC bytes are
filled with all zeros) is generated
if TX_UNEQ = 1.
The Section Trace function is not
currently defined for SONET. Un-
less a similar section trace is
defined for SONET, all of the
TX_J0 bytes should be filled with
3.9.3.3.2 Frame Bytes (A1 and A2)
3.9.3.3 TOH/SOH Generation
The frame bytes are normally gen- 0000_0001 so that a decimal one is
The SONET TOH bytes are gener-
ally the same as the SDH SOH
bytes. The following sections de-
fine the values generated for all
TOH/SOH bytes. Where the byte
names differ between SONET and
SDH, the SONET names are listed
erated with the fixed patterns:
transmitted continuously in J0.
• A1: 1111_0110 = F6
• A2: 0010_1000 = 28
27
Download from Www.Somanuals.com. All Manuals Search And Download.
Table 12. STS-3c/STM-1 TOH/SOH
Row
through D12 to create a 576 kb/s
channel. The Transmit Side ac-
cepts DCC data on two serial
inputs, TX_SDCC_DATA
Column
5-6
1
2-3
4
7
8-9
and TX_LDCC_DATA. In order to
assure bit synchronization, the
Transmit Side outputs two clocks,
TX_SDCC_CLK at 192 kHz and
TX_LDCC_CLK at 576 kHz. The
clock signals enable the clocking
of bits from TX_SDCC_DATA and
TX_LDCC_DATA into registers
for inserting into the TOH/SOH.
The TX_SDCC_DATA and
TX_LDCC_DATA inputs should
change on the falling edges of
TX_SDCC_CLK and
TX_LDCC_CLK, since the clock-
ing is done on the rising edges.
1
2
3
4
5
6
7
8
9
A1[1]
B1
A1[2,3]
A2[1]
E1
A2[2,3]
J0[1]
F1
Z0[2,3]
D1
D2
D3
H1[1]
B2[1]
D4
H1[2,3]
B2[2,3]
H2[1]
K1
H2[2,3]
H3[1]
K2
H3[2,3]
D5
D6
D7
D8
D9
D10
S1
D11
Z2[1]1
D12
Z1[2,3]1
Z2[2]1 , M1 E2
3.9.3.3.8 Pointer Bytes (H1, H2) and
Pointer Action Byte (H3)
Note: 1. The Z1 and Z2 bytes are nonstandardized reserved bytes for STM-1.
The H1 and H2 bytes contain
three fields. Because the SPE/VC
is generated synchronously with
the TOH, variable pointer genera-
tion is not required. Instead,
active H1 and H2 bytes are gener-
ated with the fixed pointer value
of 522 (decimal) = 10_0000_1010
(binary), and the H3 bytes are
fixed at all zeros.
64kb/s digitized voice signals. The
F1 byte is available for use by the
network provider. The transmit
block accepts three serial inputs,
TX_E1_DATA, TX_E2_DATA, and
TX_F1_DATA, for insertion into
the transmitted E1, E2, and F1
bytes. A single 64 kHz clock
(TX_E1E2F1_CLK) is output from
the HDMP-3001 in order to pro-
vide a timing reference for these
three serial inputs. The first bit
(the MSB) of these bytes should
correspond with the frame start
pulse, TX_FRAME_SFP. The re-
ceived E1, E2 and F1 bytes will be
inserted into the outgoing
3.9.3.3.4 Section Growth/Spare (ZO)
Section Trace
The Z0 bytes are transmitted in
order as 2 and 3. This is specified
in GR-253.
3.9.3.3.5 Section BIP-8 (B1)
The B1 Bit Interleaved Parity 8
(BIP-8) is transmitted as even par-
ity (normal) if B1_INV = 0.
Otherwise, odd parity (incorrect)
is generated. The BIP-8 is calcu-
lated over all bits of the previous
STS-3c/STM-1 frame after scram-
bling and placed into the B1 byte
of the current frame before
scrambling. By definition of
BIP-8, the first bit of B1 provides
parity over the first bit of all bytes
of the previous frame, the second
bit of B1 provides parity over the
second bit of all bytes of the pre-
vious frame, etc.
AIS Generat ion: If TX_LAIS or
TX_PAIS = 1, the H1, H2, and H3
bytes are transmitted as all ones.
When TX_LAIS or TX_PAIS tran-
sitions so that both bits become
zero, the HDMP-3001 transmits
the first H1 byte in the next frame
with an enabled New Data Flag
(NDF). Succeeding frames are
generated with the NDF field dis-
abled in the first H1 byte.
SONET/SDH frame which follows
the reception of the last bit of the
E1, E2 and F1 bytes.
3.9.3.3.7 Data Communications Chan-
nels, DCC, (D1-D12)
There are two DCCs defined in
the TOH/SOH. The Section/Regen-
erator Section DCC uses the D1,
D2, and D3 bytes to create a 192
kb/s channel. The Line/Multiplex
Section DCC uses bytes D4
3.9.3.3.6 Orderwire (E1 and E2) and
Section User Channel (F1)
The orderwire bytes are defined
for the purpose of carrying two
28
Download from Www.Somanuals.com. All Manuals Search And Download.
Non-AIS Generat ion. The first
H1-H2 byte pair is transmitted as
a normal pointer with:
NEW DATA FLAG (NOF)
SS BITS
10--BIT POINTER VALUE
N
1
N
2
N
3
N
4
S
5
S
6
I
D
8
I
D
I
D
I
D
6
I
D
8
BIT
7
1
2
3
4
5
7
•
•
•
NDF = 0110
MSB
LSB
SS (SONET/SDH) = 0
Pointer Value = 10_0000_1010
H2 BYTE
H1 BYTE
NDF DISABLED: 0110
NDF ENABLED: 1001
POSITIVE STUFF: INVERT 5 I-BITS
NEGATIVE STUFF: INVERT 5 D-BITS
All other H1-H2 byte pairs are
transmitted as concatenation indi-
cation bytes, with
Figure 14. Pointer Byte Fields
•
•
•
NDF =1001
SS = 0
3.9.3.3.11 Synchronization Status (S1)
The four LSBs of this byte convey
synchronization status messages.
The transmitted S1 byte is set
equal to TX_S1[7:0].
the transmitted five MSBs of K2
bytes.
Pointer Value = 11_1111_1111.
See Figure 14.
The three LSBs of K2 are con-
trolled from three sources. In
order of priority, these are
3.9.3.3.9 Line/MS BIP-24 (B2)
There are three B2 bytes in the
TOH/SOH, and together they pro-
vide a BIP-24 error detection
3.9.3.3.12 Line/MS REI (M1)
•
•
•
if TX_LAIS = 1, the bits are
transmitted as all ones (as are
all line/MS overhead bytes)
indicating LAIS.
The Receive Side monitors B2 bit
errors in the received signal. The
number of B2 errors detected in
each frame can range from 0 to 24
B2 bits. The line/MS Remote Error
Indication (REI) byte, the M1
byte, normally conveys the count
of B2 errors detected in the re-
ceived signal.
capability. Each B2 byte provides
BIP-8 parity over bytes in one of
three groups of bytes in the previ-
ous frame. The B2 byte in column
j provides BIP-8 parity over bytes
in the previous frame (except
those in the first three rows of
TOH/SOH) that appear in columns
j + 3k, where k = 0 through 89 and
j = 0 through 2. The BIP-8 is trans-
mitted as even parity (normal) if
B2_INV = 0. Otherwise, odd parity
(incorrect) is generated. The BIP-
8 values are calculated over bytes
in the previous STS-3c/STM-1
frame before scrambling and
if bits 6 to 8 of received K2 are
111, the three LSBs of the
transmit K2 are transmitted as
all ones indicating LRDI.
if LRDI_INH = 0 and if
any of (RX_LOS AND NOT
RX_LOS_INH), RX_LOF and
RX_LAIS =1, the bits are
transmitted as 110 indicating
LRDI. Any time this particular
event is active, the three LSBs
of K2 are set to 110 for a
minimum of 20 frames.
If LREI_INH = 0, the M1 byte is
set equal to the most recent B2
error count. Otherwise, the M1
byte is set to all zeros.
3.9.3.3.13 Growth/Undefined
(Z1 and Z2)
The use of the Z1 and Z2 bytes is
not standardized. The HDMP-3001
fills these bytes with all zeros.
•
otherwise TX_K2[2:0] is
transmitted.
placed into the B2 bytes of the
current frame before scrambling.
RX_LOS can be active high
(RX_LOS_LEVEL = 0, the
default) or active low
3.9.3.3.10 APS Channel and Line/MS
AIS/RDI (K1 and K2)
3.9.3.4 Scrambling
(RX_LOS_LEVEL = 1).
The input is scrambled with a
frame synchronous scrambling
sequence generated from the
K1 and the five MSBs of K2 are
used for automatic protection
switching (APS) signaling. The
three LSBs of K2 are used as an
AIS or Remote Defect Indication
(RDI) at the line/MS level. In
SONET, they are also used for
APS signalling. The HDMP-3001
inserts TX_K1[7:0] in the transmit-
ted K1 bytes and TX_K2[7:3] in
The requirements R6-180 through
R6-182 of GR-253 specify that RDI
should be inserted and removed
within 125 µs of detection and re-
moval of received LOS, LOF, or
LAIS.
7
6
polynomial X +X +1. The scram-
bler is initialized to 1111111 at the
beginning of the first SPE/VC byte
(the byte in column 10 of row 1 in
STS-3c/STM-1 mode), and it
29
Download from Www.Somanuals.com. All Manuals Search And Download.
scrambles the entire SONET/SDH
frame except for the first row of
TOH/SOH. For testing purposes,
the scrambler can be disabled
through the SCR_INH bit in the
register map.
sistent frame value is received, it
is written to RX_J0[15:0]_[7:0].
The first byte of the section trace
frame (which contains the frame
start marker) is written to
This value is then compared to
the B2 values in the following
frame after descrambling. The
comparison can result in from 0
to 24 mismatches (B2 bit errors).
The number of B2 bit errors de-
tected each frame is inserted into
the transmitted M1 TOH byte.
RX_J0[15]_[7:0].
3.9.4 Receive SONET/SDH
Processing Details
3.9.4.2.2 Framing
The MSBs of all section trace
frame bytes are zero, except for
3.9.4.2.5 B2 Error Counting
3.9.4.1 LOC
the MSB of the frame start marker The HDMP-3001 contains a 20-bit
The RX_SONETCLK input is
monitored for loss of clock using
the TCLK input. If no transitions
are detected on RX_SONETCLK
for 24 periods of the 25 MHz sys-
tem clock, the RX_LOC pin is set.
It is cleared when transitions are
again detected.
byte. The J0 monitor framer
searches for 15 consecutive J0
bytes that have a zero in their
MSB, followed by a J0 byte with
a one in its MSB. When this pat-
B2 error counter that counts ev-
ery B2 bit error. When the
performance monitoring counters
are latched (LATCH_EVENT tran-
sitions high), the value of this
tern is found, the framer goes into counter is latched to the
frame mode, J0_OOF = 0. Once
the J0 monitor framer is in frame,
it remains in frame until three
consecutive section trace frames
are received with at least one
MSB bit error. In SONET mode,
the J0 frame indication is held in
the in-frame state, J0_OOF = 0.
The J0_OOF_D delta bit is set
when J0_OOF changes state.
B2_ERRCNT[23:0] register, and
the B2 error counter is cleared.
3.9.4.2 Transport Overhead
Monitoring
3.9.4.2.6 K1K2 Monitoring
The K1 and K2 bytes, which are
used for sending Line/MS AIS or
RDI and for APS signaling, are
monitored for change in status.
The TOH/SOH monitoring block
consists of J0, B2, K1, K2, S1 and
M1 monitoring. These TOH/SOH
bytes are monitored for errors or
changes in states.
3.9.4.2.7 Line/MS AIS Monitoring and
LRDI Generation
3.9.4.2.1 J0 Monitoring
There are two modes of operation Comparison
for J0 monitoring, one typically
used in SONET applications, the
other used in SDH applications. In 16 byte (SDH mode) or one byte
SONET mode, J0 monitoring con-
sists of examining the received J0
bytes for values that match con-
sistently for three consecutive
frames. When a consistent J0
value is received, it is written to
RX_J0[15]_[7:0].
3.9.4.2.3 Pattern Acceptance and
The three LSBs of K2 can be used
as a AIS or Remote Defect Indica-
tion (RDI) at the line/MS level. If
they are received as 111 for
K2_CONSEC[3:0] consecutive
frames, RX_LAIS is set, and the
RX_LAIS_OUT output is high. If
for K2_CONSEC[3:0] consecutive
frames, they are not received as
111, then RX_LAIS and
Once in frame, the J0 monitor
block looks for three consecutive
(SONET) section trace frames.
When three consecutive identical
frames are received, the accepted
frame is stored in
RX_J0[15:0]_[7:0] (or
RX_J0[15]_[7:0] in the SONET
mode).
RX_LAIS_OUT are cleared. The
RX_LAIS_D delta bit is set when
RX_LAIS changes state.
In SDH mode, the J0 byte is ex-
pected to contain a repeating
16-byte section trace frame that
includes the Section Access Point
Identifier. J0 monitoring consists
of locking on to the start of the
16-byte section trace frame and
examining the received section
3.9.4.2.4 BIP-24 (B2) Checking
The HDMP-3001 checks the re-
ceived B2 bytes for correct BIP-8
values. (The 3 B2 bytes together
form a BIP-24.) Even parity BIP-
24 is calculated over all groups of
three bytes of each frame, except
the first three rows of TOH (SOH
3.9.4.2.8 Line/MS RDI Monitoring
The three LSBs of K2 are also
monitored for K2_CONSEC[3:0]
consecutive receptions or non-
receptions of 110. When this is
received, RX_LRDI is set or
cleared. RX_LRDI_D is set when
trace frames for values that match in SONET and RSOH in SDH). The RX_LRDI changes state.
consistently for three consecutive calculation is done on the re-
section trace frames. When a con- ceived data after descrambling.
30
Download from Www.Somanuals.com. All Manuals Search And Download.
3.9.4.2.9 APS Monitoring
tent synchronization status mes-
outputs change on the falling
If the K1 byte and the four MSBs
of the K2 byte, which are used to
send APS requests and channel
numbers, are received identically
for three consecutive frames,
their values are written to
sage, the accepted value is written edges of RX_SDCC_CLK and
to RX_S1[3:0].
RX_LDCC_CLK.
3.9.4.2.11 M1 Monitoring
3.9.4.4 Pointer State Determination
The M1 byte indicates the number Pointer state determination in-
of B2 errors that were detected by volves examining H1-H2 bytes to
the remote terminal in its received establish the state of the
RX_K1[7:0] and RX_K2[7:4]. Ac-
cepted values are compared to the signal. The HDMP-3001 contains a STS-3c/AU-4 received pointer.
previous contents of these regis-
ters, and when a new 12-bit value
is stored, the RX_K1_D delta bit is M1. The valid values of M1 are 0
20-bit M1 error counter that
counts every error indicated by
3.9.4.5 State Transition Rules
The first pair of H1-H2 bytes con-
tain the STS-3c/AU-4 pointer.
They are in one of the following
three states:
set.
to 24; any other value is inter-
preted as 0. When the
performance monitoring counters
The K1 byte is checked for insta-
bility. If, for 12 successive frames, are latched, the value of this
• Normal (NORM = 00)
no three consecutive frames are
received with identical K1 bytes,
the K1_UNSTAB bit is set. It is
cleared when three consecutive
identical K1 bytes are received.
counter is latched to the
M1_ERRCNT [23:0] register, and
the M1 error counter is cleared.
• Alarm Indication Signal
(AIS = 01)
• Loss of Pointer (LOP = 10)
3.9.4.3 Transport Overhead Drop
The remaining two pairs of H1-H2
bytes are monitored for correct
concatenation indication. They
are in one of the following three
states:
When K1_UNSTAB changes state, The TOH/SOH drop block outputs
the K1_UNSTAB_D delta bit is
set. Bits 3 down to 0 of K2 may
contain APS mode information.
These bits are monitored for
K2_CONSEC[3:0] consecutive
identical values. RX_K2[3:0] is
written when this occurs, unless
the value of bits 2 and 1 of K2 is
11 (indicating Line/MS AIS or
RDI). The RX_K2_D delta bit is
the received E1, F1, and E2 bytes
and two serial DCC channels.
3.9.4.3.1 Orderwire (E1 and E2) and
Section User Channel (F1)
The three serial outputs,
RX_E1_DATA, RX_E2_DATA, and
RX_F1_DATA, contain the values
of the received E1, E2, and F1
bytes. A single 64 kHz clock refer-
• Concatenated (CONC = 11)
• Alarm Indication Signal
(AISC = 01)
• Loss of Pointer (LOPC = 10)
The individual states are stored in
PTR_STATE[1:0], where
set when a new value is written to ence output (RX_E1E2F1_CLK) is
PTR_STATE[1:0] indicates the
state of the H1-H2 bytes. The
states of individual pairs of H1-H2
bytes are then combined to deter-
mine the state of the STS-3c/AU-4
pointer.
RX_K2[3:0]. The three delta bits
associated with APS monitors,
RX_K1_D, RX_K2_D and
K1_UNSTAB_D all contribute to
an APS interrupt signal,
APS_INTB. In addition, these
three deltas contribute to the
standard summary interrupt sig-
nal, INTB.
provided as well.
3.9.4.3.2 Data Communications
Channels, DCC, (D1-D12)
There are two DCCs defined in
the TOH/SOH. The Section/Regen-
erator Section DCC uses the D1,
D2, and D3 bytes to create a 192
kb/s channel. The Line/Multiplex
Section DCC uses bytes D4
through D12 to create a 576 kb/s
channel. The TOH/SOH drop
block outputs DCC data on two
serial channels, RX_SDCC_DATA
and RX_LDCC_DATA. These
3.9.4.6 State of STS-3c/AU-4 Pointer
The HDMP-3001 generates the sta-
tus bits RX_PAIS and RX_LOP
based on the state of the STS_3c/
AU-4 pointer received.
3.9.4.2.10 S1 Monitoring
The four LSBs of received S1
bytes are monitored for consis-
tent values in eight consecutive
frames in SONET mode or three
consecutive frames in SDH mode. channels are synchronous to the
When these bits contain a consis-
outputs RX_SDCC_CLK and
RX_LDCC_CLK. The DCC data
31
Download from Www.Somanuals.com. All Manuals Search And Download.
•
If PTR_STATE[1:0] = 00
and {LOP2,AIS2} = 11 and
{LOP3,AIS3} = 11, which is the
normal case, then RX_PAIS = 0
and RX_LOP = 0.
current accepted pointer value
is incremented by 1 (mod 783).
5. In the case of SONET mode,
if at least three out of four of
the NDF bits match the
In the case of SDH mode, if at
least three out of four of the
NDF bits match the disabled
indication (0110), three or
more of the pointer value I-bits
and two or fewer of the
pointer value D-bits match the
current accepted pointer with
all its bits inverted, and either
the received SS-bits are 10 or
RX_SS_EN = 0, a positive
justification is indicated. The
byte following the H3 byte is
considered a positive stuff
byte, and the current accepted
pointer value is incremented
by 1 (mod 783).
enabled indication (1001), and
the pointer value is between 0
and 782, the received pointer
replaces the current accepted
pointer value. For SDH mode,
if at least three out of four of
the NDF bits match the
enabled indication (1001), the
pointer value is between 0 and
782, and either the received
SS-bits are 10 or RX_SS_EN =
0, the received pointer
replaces the current accepted
pointer value. Using these
pointer interpretation rules,
the Pointer Interpreter block
determines the location of
SPE/VC payload and POH
bytes.
•
•
If PTR_STATE[1:0] = 01
and {LOP2,AIS2} = 01 and
{LOP3,AIS3} = 01, then
RX_PAIS = 1 and RX_LOP = 0.
If PTR_STATE[1:0] = 10
and {LOP2,AIS2} = 01 and
{LOP3,AIS3} = 10, then
RX_PAIS = 0 and RX_LOP = 1.
The RX_PAIS and RX_LOP signals
contribute to the Path Remote De-
fect Indication (PRDI). Changes in
these state values are indicated by
the RX_PAIS_D and RX_LOP_D
delta bits.
4. In the case of SONET mode, if
at least three out of four of the
NDF bits match the disabled
indication (0110) and at least
eight out of ten of the pointer
value bits match the current
accepted pointer with its
3.9.4.7 Pointer Interpretation
The first H1-H2 byte pair is inter-
preted to locate the start of the
SPE/VC. The rules for pointer
interpretation are:
1. During normal operation, the
pointer locates the start of the
SPE/VC.
3.9.4.8 Pointer Processing
The pointer tracking algorithm
implemented in the HDMP-3001
device is illustrated in Figure 16.
Please refer to G.783 and GR-253
for definitions of the transitions.
D-bits inverted, a negative
justification is indicated. The
H3 byte is considered a negative The pointer tracking state ma-
stuff byte (it is part of the
SPE), and the current accepted
pointer value is decremented
by 1 (mod 783).
chine is based on the pointer
tracking state machine found in
the ITU-T requirements, and is
also valid for both Bellcore and
ANSI. The AIS to LOP transition
of the state machine does not oc-
cur in Bellcore mode (i.e., the
BELLCORE bit is set to logic one).
2. Any variation from the current
accepted pointer is ignored
unless a consistent new value
is received three times
consecutively, or it is preceded
by one of the rules 3, 4, or 5.
Any consistent new value
received three times
consecutively overrides rules 3
or 4.
In the case of SDH mode, if at
least three out of four of the
NDF bits match the disabled
indication (0110), three or
more of the pointer value D-
bits and two or fewer of the
pointer value I-bits match
the current accepted pointer
with all its bits inverted, and
either the received SS-bits are
For STM-1/STS-3c operation, the
pointer is a binary number with
the range of 0 to 782 (decimal). It
is a 10-bit value derived from the
two least significant bits of the H1
byte, with the H2 byte concat-
3. In the case of SONET mode, if
at least three out of four of the
NDF bits match the disabled
indication (0110) and at least 8
out of 10 of the pointer value
bits match the current accepted
pointer with its I-bits inverted,
a positive justification is
10 or RX_SS_EN = 0, a negative enated, to form an offset in 3-byte
justification is indicated. The
H3 byte is considered a
counts from the H3 byte location.
For example, for an STM-1 signal,
negative stuff byte (it is part of a pointer value of zero indicates
the VC), and the current
accepted pointer value is
decremented by 1 (mod 783).
that the VC-4 starts in the byte lo-
cation three bytes after the H3
byte, whereas an offset of 87 indi-
indicated. The byte following
the H3 byte is considered a
positive stuff byte, and the
32
Download from Www.Somanuals.com. All Manuals Search And Download.
cates that the VC-4 starts three
bytes after the K2 byte.
pointer, new pointer and concat-
enation indication. When the LOP
or LOPC states are entered as in-
3.9.4.9 Path Overhead Monitoring
The POH monitoring block con-
sists of J1, B3, C2, and G1
monitoring. These POH bytes are
monitored for errors or changes
in state.
In addition, 8-bit counters are pro- dicated in Figures 15 and 16, the
vided for counting positive and
negative justification events, as
well as NDF events. Status bits
LOP interrupt request bit in the
corresponding OR#IRQ2 register
will be set. Likewise if the AIS or
are provided for indicating the de- AISC states are entered, the corre- 3.9.4.9.1 Path Trace (J1) Capture/
tection of negative justification,
sponding HPAIS interrupt request
Monitor
positive justification, NDF, invalid bit will be set.
As with J1 insertion, the HDMP-
3001 supports two methods of
Path Trace (J1) capture. The first,
typically used in SONET applica-
tions, captures 64 consecutive J1
bytes in the STS-3c/AU-4. The sec-
ond, used in SDH applications,
looks for a repeating 16 consecu-
tive J1 byte pattern. When it has
detected a consistent 16 byte pat-
tern for three consecutive
NDF_enable
lnc_lnd/ dec_lnd
3x norm_point
NORM
Nx inv_point
3x norm_point
instances, the J1 pattern is stored
in designated registers.
NDF_enable
Nx NDF_enable
3x AIS_ind
3x norm_point
3x AIS_ind
LOP
AIS
Nx inv_point
NOTE: x MEANS TIMES
Figure 15. Pointer Processing
CONC
Nx inv_point
3x conc_ind
3x AIS_ind
3x conc_ind
3x AIS_ind
LOPC
AISC
Nx inv_point
NOTE: x MEANS TIMES
Figure 16. Pointer tracking algorithm
33
Download from Www.Somanuals.com. All Manuals Search And Download.
Table 13. Pointer Processing
Norm_point:
NDF_enable:
AIS_ind:
Normal NDF AND match of ss bits AND offset value in range.
NDF enabled AND match of ss bits AND offset value in range.
11111111 11111111.
Incr_ind:
Normal NDF AND match of ss bits AND majority of I bits inverted AND no majority of
D bits inverted AND previous NDF_enable, incr_ind or decr_ind more than three frames ago.
Decr_ind:
Inv_point:
Normal NDF AND match of ss bits AND majority of D bits inverted AND no majority
of I bits inverted AND previous NDF_enable, incr_ind or decr_ind more than three frames ago.
Any other state OR norm_point with offset value not equal to active offset.
pattern is found, the framer goes
Table 14. Pointer Tracking
into frame, J1_OOF = 0. Once the
J1 monitor framer is in frame, it
remains in frame until three con-
secutive path trace frames are
received with at least one MSB bit
error. (In SONET mode, the J1
frame indication is always held in
the in frame state, J1_OOF = 0.)
The J1_OOF_D delta bit is set
when J1_OOF changes state.
Norm_point: Normal NDF AND match of ss bits AND offset value in range.
Conc_ind:
AIS_ind:
NDF enabled and pointer value = 1111111111
11111111 11111111
Inv_point:
Any other state
3.9.4.9.3 16-Byte J1 Monitoring
In SDH mode, the J1 bytes are ex-
pected to contain a repeating
16-byte path trace frame that in-
cludes the PAPI. In this mode, the
J1_READ, J1_MODE, and J1_AVL
bits are not used. J1 monitoring
consists of locking on to the start
of the 16-byte path trace frame
and examining the received path
trace frames for values that match
consistently for three consecutive
path trace frames. When a consis-
tent frame value is received, it is
written to RX_J1[15:0]_[7:0]. The
first byte of the path trace frame
(which contains the frame start
marker) is written to
3.9.4.9.2 SONET J1 Capture
When in SONET mode, the
Pat t ern Accept ance and Com-
parison. Once in frame, the J1
monitor block looks for three con-
secutive 16-byte path trace
frames. When three consecutive
identical frames are received, the
accepted frame is stored in
RX_J1[15:0]_[7:0].
HDMP-3001 can be provisioned to
capture a sample of the path trace
message. When J1_READ transi-
tions from 0 to 1, the HDMP-3001
captures 64 consecutive J1 bytes
from the specified tributary and
writes them to RX_J1[63:0]_[7:0].
No path trace frame structure is
defined for SONET, but GR-253
does recommend that the 64-byte
sequence consist of a string of
ASCII characters padded out to 62
bytes with NULL characters (00)
and terminated with <CR> (0D)
and <LF> (0A) bytes. If the
J1_MODE bit is set, the HDMP-
3001 captures the first 64 byte
string it receives in the J1 byte
position that ends with {0D, 0A}. If
the J1_MODE bit is zero, the
HDMP-3001 captures the next 64
J1 bytes without regard to their
content. On completion of the
capture, the HDMP-3001 sets the
J1_AVL event bit.
Accepted frames are compared to
the previous contents of these
registers. When a new value is
stored, the RX_J1_D delta bit is
set.
3.9.4.9.4 BIP-8 (B3) Checking
RX_J1[15]_[7:0].
The HDMP-3001 checks the re-
ceived B3 bytes for correct BIP-8
values. Even parity BIP-8 is calcu-
lated over all bits in the SPE/VC
(including the POH) each frame.
These values are then compared
to the B3 values received in the
following frame. The comparison
Framing. The MSBs of all path
trace frame bytes are zero, except
for the MSB of the frame start
marker byte. The J1 monitor
framer searches for 15 consecu-
tive J1 bytes that have a zero in
their MSB, followed by a J1 byte
with a one in its MSB. When this
34
Download from Www.Somanuals.com. All Manuals Search And Download.
can result in from 0 to 8 mis-
matches (B3 bit errors). This
value can be inserted into the
Transmit Side G1 byte from bit
one to bit four as a Path REI.
ister bit, RX_UNEQ, is set high.
The RX_PLM and RX_UNEQ sig-
nals contribute to the insertion of
In SONET mode, an STS SPE de-
tects an RDI-P defect when an
RDI-P signal is received for five to
Path RDI on the Transmit Side G1 ten consecutive frames and termi-
byte from bit 5 to bit 7(shown in
Table 1). When RX_PLM or
RX_UNEQ changes state, the
nates the RDI-P defect when a
zero is in bits 5 and 6 of the G1
byte for five to ten consecutive
frames. It does not detect an RDI-
P defect and terminate the RDI-P
defect when it has detected an
AIS-P defect on the affected path.
The HDMP-3001 contains a 16-bit
B3 error counter that counts every RX_PLM_D or the RX_UNEQ_D
B3 bit error. When the perfor-
mance monitoring counters are
latched (LATCH_EVENT transi-
tions high), the value of this
counter is latched to the
delta bit is set.
3.9.4.9.6 Path REI Monitoring
Bits 1 through 4 (the four MSBs)
of the path status byte indicate
3.9.4.9.8 Other POH Bytes
B3ERRCNT[15:0] register, and the the number of B3 errors that were The remaining POH bytes are not
B3 error counter is cleared.
detected by the remote terminal
in its received SPE/VC signal.
monitored by the HDMP-3001.
These include the path user chan-
nel (F2), the position indicator
(H4), the path growth/user chan-
nel (Z3/F3), the path growth/path
APS channel (Z4/K3), and the tan-
dem connection monitoring (Z5/
N1) bytes.
3.9.4.9.5 Signal Label (C2) Monitoring Only the binary values between 0
The received C2 bytes are moni-
tored so that reception of the
correct type of payload can be
verified. When a consistent C2
and 8 are legitimate. If a value
greater than 8 is received, it is in-
terpreted as zero errors (as is
specified in GR-253 and ITU-T
value is received for five consecu- Recommendation G.707). The
tive frames, the accepted value is
written to RX_C2[7:0]. The
RX_C2_D delta bit is set when a
new C2 value is accepted.
HDMP-3001 contains a 16-bit G1
error counter that counts every
error indicated by G1 When the
performance monitoring counters
3.9.4.10 STS-3C/STM-1 Framer
The HDMP-3001 receive framer
operates in two modes. If
are latched (LATCH_EVENT tran- RX_FRMR_INH = 0 (the default),
The expected value of the re-
ceived C2 bytes is provided in
EXP_C2[7:0]. If the current ac-
cepted value does not match the
expected value, and the accepted
value is NOT
sitions high), the value of this
counter is latched to the
G1_ERRCNT[15:0] register, and
the G1 error counter is cleared.
the HDMP-3001 device framer is
enabled. In this mode, the parallel
input signal is not assumed to be
byte aligned. The SONET/SDH
framer locates the framing bytes
in the selected data signal to find
byte alignment and determine the
3.9.4.9.7 Path RDI Monitoring
The HDMP-3001 can be set to
monitor bit 5 of G1 (RDI-P indica- position of all TOH/SOH bytes.
tor), if RX_PRDI5 = 1; or bits 5, 6 After finding frame, the framer
and 7 of G1 (enhanced RDI-P indi- shifts the data so that its output
•
•
the all zeros Unequipped label,
the 0x01(hex) Equipped -
non-specific label,
•
0xFC (hex), which in SONET
mode indicates non-VT-
structured STS-3c SPE with
Payload Defect(PDI-P), and in
SDH mode is reserved for
national use,
cator), if RX_PRDI5 = 0.
data is byte aligned. It also de-
scrambles the data, performs B1
monitoring, and provides frame
counter outputs.
Monitoring consists of checking
for G1_CONSEC[3:0] consecutive
received values of the monitored
bit(s) that are identical. When a
consistent value is received, bits
5, 6 and 7 of G1 are written to
If RX_FRMR_INH = 1, the framer
circuitry in the HDMP-3001 is by-
passed. In this mode, the
•
0xFF (hex), which is a
reserved label in SONET mode, RX_G1[2:0]. Accepted values are
and in SDH mode indicates
VC-AIS,
compared to the previous con-
tents of this register. (All three
bits are written, but if RX_PRDI5
= 1, only G1 bit 5 and RX_G1[2]
are involved in the comparisons.)
When a new value is stored, the
RX_G1_D delta bit is set.
HDMP-3001 requires a frame start
indication, RX_FRAME_IN, as
well as data and clock. The data
may come from a high-speed de-
vice that performs framing and
serial-to-parallel conversion of an
STS-3c/STM-1 signal or from a
then the Payload Label Mismatch
register bit, RX_PLM, is set high.
If the current accepted value is
the all zeros Unequipped label,
and the provided EXP_C2[7:0]
≠0(hex), then the Unequipped reg-
35
Download from Www.Somanuals.com. All Manuals Search And Download.
high-speed device that locates
frame, does byte de-interleaving,
and performs serial-to-parallel
conversion of an STS-3c/STM-1
signal.
nal is nominally 8 kHz and is high
during the first row of overhead
of the received frame. The
RX_FRAME_OUT signal is also
used for byte alignment of the re-
ceived E1, E2, and F1 data
outputs.
functional diagram of the frame
synchronous scrambler.
The scrambler is reset to all ones
on receipt of the most significant
bit of the byte following the last
byte of the first row of the STM-N
SOH. This bit, and all subsequent
bits to be scrambled are added
modulo 2 to the output from the
3.9.4.11 Framer Enabled Details
If the framer is enabled
(RX_FRMR_INH = 0), the
HDMP-3001 device performs the
framer processing as follows.
3.9.4.12 Framer Bypass Details
If the framer is bypassed
(RX_FRMR_INH = 1), an external
framer must supply the HDMP-
3001 with a start of frame
indication, RX_FRAME_IN. The
HDMP-3001 sets its internal frame (N x 64), SOH (9 x N bytes, 3
counter when the RX_FRAME_IN
input transitions from 0 to 1. The
relationship of the start of frame
to the 0 to 1 transition of
7
X position of the scrambler. The
scrambler runs continuously
throughout the complete STM-N
frame. The first row of the STM-N
When the framer state machine is
out-of-frame (RX_OOF = 1), it
searches for the 32-bit A1-A1-A2-
A2 framing byte sequence of
0xF6F6_2828. This pattern may
start on any of the 8 input data
lines and span up to five input
bytes. When the framer finds two
bytes for STM-0, including the A1
and A2 framing bytes) are not
scrambled. So, in the receive di-
rection, in either framer enabled
or framer bypass mode, before
the data is output it can be de-
scrambled using the same frame
synchronous sequence that is
used to scramble the transmit
data.
RX_FRAME_IN is set through the
successive sequences separated in RX_FRAME_POSITION[3:0] in
time by 125 µs that exactly match
the framing pattern, it goes into
frame (RX_OOF = 0) and byte
aligns its output data bus. The
framer remains in-frame, until it
receives five successive frames
with at least one bit error in the
A1-A1-A2-A2 framing pattern.
When this occurs, RX_OOF is set
to one, and a new frame search is
begun. The framer also provides a
loss-of-frame indication. If
RX_OOF is active (high) continu-
ously for 24 consecutive frames
(3 ms), the RX_LOF bit is set to
one. Once RX_LOF is set, it re-
mains high until RX_OOF is
register 0x101.
3.9.4.13 Descrambling
For transmitting direction, the
STM-N (N = 0, 1, 4, 16, 64, 256)
signal must have sufficient bit tim- The descrambler is reset to all
ing content at the NNI. A suitable
bit pattern, which prevents a long
sequence of ones or zeros, is pro-
vided by using a scrambler.
ones at the beginning of the first
SPE/ VC byte (the byte in column
10 of row 1), and it descrambles
the entire SONET/SDH signal ex-
cept for the first row of TOH/SOH.
For testing purposes, the
The STM-N (N = 0, 1, 4, 16, 64,
256) signal shall be scrambled
with a frame synchronous scram-
bler of sequence length 127
descrambler can be disabled by
setting DSCRINH to one.
operating at the line rate.The gen-
erating polynomial shall be
6
7
inactive (low) continuously for
either 24 (if RX_LOF_ALG = 0) or
8 (if RX_LOF_ALG = 1) consecu-
tive frames.
1 + X + X . Figure 17 gives a
INPUT
The out-of-frame and loss-of-
frame indications are also
XOR
D1
D2
D3
D4
D5
D6
D7
available as HDMP-3001 output
pins, RX_OOF_OUT and
OUTPUT
RX_LOF_OUT. The RX_OOF_D
and RX_LOF_D delta bits contrib-
ute to the summary interrupt. The
framer also outputs the
XOR
Figure 17. Functional block of SONET framer scrambler
RX_FRAME_OUT signal. This sig-
36
Download from Www.Somanuals.com. All Manuals Search And Download.
3.9.4.14 B1 Monitor
In both modes, the HDMP-3001
checks the received B1 bytes for
correct Bit Interleaved Parity 8
(BIP-8) values. Even parity BIP-8
is calculated over all bytes of each
frame before descrambling. This
value is then compared to the re-
ceived B1 value in the following
frame after descrambling. The
comparison can result in 0 to 8
mismatches (B1 bit errors).
The HDMP-3001 contains a 16-bit
B1 error counter that counts ev-
ery B1 bit error. When the
performance monitoring counters
are latched (LATCH_EVENT tran-
sitions high), the value of this
counter is latched to the
B1_ERRCNT[15:0] register, and
the B1 error counter is cleared.
37
Download from Www.Somanuals.com. All Manuals Search And Download.
4. Application Information
4.1 Chip setup and configuration
4.1.1 EEPROM Detection
After reset, HDMP-3001 will probe lected by writing to an internal
the SDA pin. If tied to ground, no register which should only be
boot EEPROM is present and nor- done after reset and then remain
3001 is defaulted to MAC mode.
This is because in MAC mode
both MII clocks are inputs so
there is no risk of having enabled
opposing drivers. The mode is se-
3. Transmit Rate Adaptation /
Type_H = 0x10 (FCS enabled,
null header)
4. Transmit GFP Mode = 0x04
(no extended header)
5. Receive ADR / Type_L = 0x01
(frame-mapped Ethernet)
mal operation will resume. If
connected to an EEPROM, SDA is
pulled high by an internal resistor
and HDMP-3001 will start to load
its configuration from the
constant.
6. Receive Control / Type_H =
0x10 (FCS enabled, null header)
4.2.2 SDH and SONET mode
7. Receive GFP Mode = 0xA0 (no
extended header)
After power on reset, HDMP-3001
is defaulted to SONET mode. By
setting an internal register, SDH
mode can be selected.
8. RX-FIFO Transmit
EEPROM. During this time,
Threshold = 0x14, since GFP
does not need to buffer data to
avoid underrun in the case of
many flags in the payload
HDMP-3001 will not respond to
any transactions on the micropro-
cessor or MII Management ports.
SONET is predominantly used in
North America, while SDH domi-
nates in Europe and Asia.
4.2 Configurations
For further details, see the regis-
ter map in Section 5 and the GFP
data processing discussion in
Section 3.8.2.
4.2.1 PHY and MAC mode
4.2.3 LAPS and GFP mode
The HDMP-3001 can operate in
either PHY mode or MAC mode.
In PHY mode the MII interface is
designed to connect to an
Ethernet MAC and in MAC mode
to connect to a PHY. A typical use Mode register. When using GFP
of the HDMP-3001 in PHY mode is mode, other registers need to be
in a port of an Ethernet switch.
Here the MII clocks are driven by
the HDMP-3001. Examples of
LAPS and GFP are two different
standards to map Ethernet frames
into a SONET/SDH payload.
LAPS is the default mode. The
mode is selected by the Chip
4.2.4 INT Pin Configuration
This section specifies the configu-
ration of the HDMP-3001
Microprocessor Interrupt pin INT.
Table 15 shows the configurations
of the pin.
programmed to set the desired
GFP header option. For instance,
for GFP with null headers and
MAC mode use are in a standalone FCS enabled these registers
DSU/CSU or in an Ethernet port
of a SONET ADM. Here the MII
clocks are received by the HDMP-
3001. Depending on the mode, the
MII pins have different functions
and the two MII clocks change
direction. After reset, the HDMP-
should be programmed:
1. Chip Mode = 0x01 (GFP mode)
2. Transmit Control / Type_L =
0x01 (frame-mapped Ethernet)
MII_TCLK
SONET
HDMP-3001
(PHY MODE)
SWITCH WITH
INTEGRATED MACs
HDMP-3001
(PHY MODE)
MII_RCLK
MII_TCLK
Figure 18. HDMP-3001 connecting to a MAC
SONET
HDMP-3001
(MAC MODE)
HDMP-3001
(MAC MODE)
PHY
MII_RCLK
Figure 19. HDMP-3001 connecting to a PHY
38
Download from Www.Somanuals.com. All Manuals Search And Download.
Table 15. INT Pin Configuration
Interrupt
Mode[1:0]
Output
Configured
Type
Int Active
Level
Description
00
(Default)
Open-Drain
(O/D)
0
1
Interrupt output INT is asserted with 0 and de-asserted with Z
externally. An external resistive pull-up is needed. Output buffer OEN is
driven by an inversion of the internally maskable active-high interrupt
signal. Output buffer’s input pin is driven to 0. An internally
maskable interrupt active value of 1 causes an external interrupt
active value of 0. Refer to Figure 20.
01
Open-Source
(O/S)
Interrupt output INT is asserted with 1 and de-asserted with Z
externally. An external resistive pull-down is needed. Output buffer OEN
is driven by an inversion of the internally maskable active-high
interrupt signal. Output buffer’s input pin is driven to 1. An
internally maskable interrupt active value of 1 causes an external
interrupt active value of 1. Refer to Figure 21.
10
11
Always
Enabled
Active-0
0
1
Interrupt output INT is asserted with 0 and de-asserted with 1
externally. Output buffer OEN is always driven to 0. Output buffer’s
input pin is driven by an inversion of the internally maskable active-high
interrupt signal. An internally maskable interrupt active value of
1 causes an external interrupt active value of 0. Refer to Figure 22.
Always
Enabled
Active-1
Interrupt output INT is asserted with 1 and de-asserted with 0
externally. Output buffer OEN is always driven to 0. Output buffer’s
input pin is driven by the internally maskable active-high interrupt
signal. An internally maskable interrupt active value of 1 causes an
external interrupt active value of 1. Refer to Figure 23.
PCB
CHIP
PCB
CHIP
PCB
CHIP
VDD
msk_int
msk_int
OEN
OEN
OEN
VDD
GND
INT
INT
INT
msk_int
GND
GND
Figure 22. Mode = 10, Always Enabled,
Active-0
Figure 21. Mode = 01, O/S
Figure 20. Mode = 00, O/D (Default)
PCB
CHIP
NOTE: msk_int is the internally maskable active-high interrupt signal.
OEN
GND
INT
msk_int
Figure 23. Mode = 11, Always Enabled,
Active-1
39
Download from Www.Somanuals.com. All Manuals Search And Download.
4.3 Firmware and System Design
Information
4.3.2 Motorola MPC860
Microprocessor Interface
The recommended setup of the
interface is:
•
OR[20-31] = 000100001000,
which sets normal CS timing,
no burst allowed, externally
generated TA.
4.3.1 Board level pull-ups and
pull-downs
Many of the HDMP-3001 input and
tristateable outputs have internal
pull-ups. Refer to the pin descrip-
tion for detailed information on
where external pull-ups are re-
quired.
•
HDMP-3001 mapped to the
smallest memory bank, 32
Kbytes.
Pin connections are described in
Table 16.
•
BR[20-31] = 010000000001,
which sets no parity, 8 bits
data, GPCM controlled.
Table 16. Pin Connections – MPC860
HDMP-3001 Pin Name Microprocessor Pin Name
HDMP-3001 Pin Name
BUSMODE [1:0]
ADDR[8] to ADDR[0]
D[7] to D[0]
CSB
Microprocessor Pin Name
0, 0
A[23] to A[31]. Note: Bus is twisted!
D[0] to D[7]. Note: Bus is twisted!
One of the CSs
WE0
WRB
RDB
OE
RDYB
TA
INTB
One of the IRQs
CLKOUT
CPU_CLK
40
Download from Www.Somanuals.com. All Manuals Search And Download.
4.3.4 EEPROM Interface
4.3.3 MII Interface
4.3.4.1 Configuration 1
Table 17. Pin Connections – MII Interface
HDMP-3001 is set up through the
microprocessor or MII Manage-
ment ports. No EEPROM needed.
Connect SCL and SDA to ground.
Disable SCL and SDA pull-ups to
save power.
MII Signal
HDMP-3001 pin
(PHY Mode)
HDMP-3001 pin
(MAC Mode)
TXD [3:0]
TX_EN
TX_ER
TX_CLK
RXD [3:0]
RX_DV
RX_ER
RX_CLK
CRS
P_TXD[3:0]/M_RXD[3:0]
P_TX_EN/M_RX_DV
P_TX_ER/M_RX_ER
P_TX_CLK/M_RX_CLK
P_RXD[3:0]/M_TXD[3:0]
P_RX_DV/M_TX_EN
P_RX_ER/M_TX_ER
P_RX_CLK/M_TX_CLK
VSS
P_RXD[3:0]/M_TXD[3:0]
P_RX_DV/M_TX_EN
P_RX_ER/M_TX_ER
P_RX_CLK/M_TX_CLK
P_TXD[3:0]/M_RXD[3:0]
P_TX_EN/M_RX_DV
P_TX_ER/M_RX_ER
P_TX_CLK/M_RX_CLK
Unconnected
4.3.4.2 Configuration 2
No microprocessor or MDIO mas-
ter is available. HDMP-3001 is set
up from the EEPROM. Connect
SCL and SDA to the EEPROM di-
rectly. No external pull-ups are
needed if the internal pull-ups
are left enabled.
4.3.4.3 Configuration 3
Both a microprocessor and an
EEPROM are connected to the
HDMP-3001. The microprocessor
wants to be able to access the
EEPROM.
COL
VSS
Unconnected
MDC
MDC
Normally Unused
MDIO
MDIO
Normally Unused
Connect SCL and SDA to the
EEPROM, the HDMP-3001 and the
microprocessor. If external pull-
ups are present, disable the
internal ones. Make sure that the
microprocessor firmware waits
300 ms before enabling its
EEPROM port.
41
Download from Www.Somanuals.com. All Manuals Search And Download.
5. Register Definitions
5.1 MII Management Register Map
The HDMP-3001 contains two reg- The MII Management register map, map through indirect addressing.
path to the complete chip memory
ister maps. One is the MII
Table 21, is only accessible
To write a chip register, first write
Management (MDIO) register
map, which can only be accessed
through the MDIO port. The other
register map is the chip register
map which can be accessed
through the MDIO, microproces-
sor and EEPROM ports.
through the MII Management port. the chip register address to regis-
It is defined in the IEEE 802.3
specification, and is used to re-
port the capabilities and
ter 16 and then write the value to
register 17. To read a chip regis-
ter, first write the chip register
address to register 16 and then
identification of the HDMP-3001
when used as a PHY. The registers read the value of register 17.
on address 16 and 17 provide a
Table 18. MII Management Register Map
Address
Bit Type
Bit Name
Default value
Description
0
15
R/W
Reset
0
Reset PHY. This bit clears automatically
when reset is complete.
14
13
12
R/W
R
Loopback
0
Loopback on/off. Default off.
Indicates 100 Mb/s operation
Speed Selection LSB
Auto-Negotiation Enable
Fixed 1
Fixed 0
R
Cannot auto-negotiate, only supports
100 Mb/s full-duplex.
11
10
R
Power Down
Isolate
Fixed 0
1
Not supported.
R/W
High impedance state is set on TX_CLK,
RX_CLK, RX_DV, RX_ER and RXD.
Inputs TXD, TX_EN and TX_ER are
ignored. This bit must be cleared for the
MII interface to become active.
9
R
R
R
R
R
R
R
R
R
R
R
R
Restart Auto-Negotiation
Duplex Mode
Fixed 0
Fixed 1
Fixed 0
Fixed 0
Fixed 0
Fixed 0
Fixed 1
Fixed 0
Fixed 0
Fixed 0
Fixed 0
Fixed 0
Not supported.
8
Only full duplex supported.
Not supported.
7
Collision Test
6
Speed selection MSB
Reserved
Indicates 100 Mb/s operation
5-0
15
14
13
12
11
10
9
1
100BASE-T4
100BASE-X Full Duplex
100BASE-X Half Duplex
10 Mb/s Full Duplex
10 Mb/s Half Duplex
100BASE-T2 Full Duplex
100BASE-T2 Half Duplex
Supports only 100BASE-X full duplex.
( cont inues)
42
Download from Www.Somanuals.com. All Manuals Search And Download.
Address
Bit Type
Bit Name
Default value
Description
8
R
Extended Status
Fixed 0
No extended status information in
register 15.
7
6
R
R
Reserved
Fixed 0
Fixed 0
MF Preamble Suppression
PHY does not allow preamble to be
suppressed in management frames.
5
4
3
2
R
R
R
R
Auto-Negotiation Complete Fixed 0
Not supported.
Remote Fault
Fixed 0
Fixed 0
0
Not supported.
Auto-Negotiation Ability
Link Status
Cannot auto-negotiate.
Reflects the SONET status. When
SONET is up, this bit is set.
1
R
R
R
Jabber Detect
Fixed 0
0
Extended Capability
PHY Identifier
Fixed 1
Registers 2-10 supported.
2
3
15-0
Fixed 00C3h
Bits 3 to 18 of the IEEE assigned
Organizationally Unique Identifier.
15-10 R
PHY Identifier
Fixed 010011
Bits 19 to 24 of the IEEE assigned
Organizationally Unique Identifier.
9-4
3-0
Fixed 000010
Fixed 0000
Manufacturer’s Model Number.
Revision Number.
Not supported.
4-10
11-14
15
15-0
15-0
15-0
15-9
8-0
R
Extended Capabilities
Reserved Unused.
Extended Status
Unused
Read/ Write
transactions
ignored, MDIO
in Hi-Z
R
Unused.
R
Not supported.
16
R
Fixed 0
0
R/W
Indirect Address
Address of the internal chip register to
be written to or read from.
17
15-8
7-0
R
Unused Fixed
Data
0
0
The internal chip register bus is 8 bits
wide so these bits are always 0.
R/W
Data read from or written to an internal
chip register.
18
15-8
7-0
R
R
Unused
Fixed 0
0
Master Alarm
This is a shadow of the master alarm
chip register.
19-31
15-0
R
Vendor Specific
Read/ Write
Unused
transactions
ignored, MDIO
in Hi-Z
43
Download from Www.Somanuals.com. All Manuals Search And Download.
5.2 Chip Register Map
The chip register map, Table 19, can be accessed through the MDIO,
microprocessor and EEPROM interfaces.
Table 19. HDMP-3001 Register Map
Address
Register Name
Common Registers
0x000
Reset and Performance Latch Control
Test Modes
0x001
0x002
Reserved
0x003
Microprocessor Interrupt Pin Mode
Chip Revision
0x004
0x005
PHY Address
0x006
Interrupt Status
0x007
Event Summary
0x008
Summary Interrupt Mask
Mode of Operation
Rx Event Summary Mask
SONET/SDH Configuration
Reserved
0x009
0x00A
0x00B
0x00C
0x00D
0x00E-0x00F
0x010-0x09B
GPIO Control
GPIO Data
Reserved
SONET/SDH Transmit Registers
Transmit BIP Control
Transmit AIS, RDI, REI Control
Reserved
0x09C
0x09D
0x09E
0x09F-0x0AE
0x0AF
0x0B0
Transmit J0 Bytes (16)
Reserved
Transmit K2 Byte
Transmit K1 Byte
Reserved
0x0B1
0x0B2
0x0B3
Transmit S1 Byte
( cont inues)
44
Download from Www.Somanuals.com. All Manuals Search And Download.
Address
Register Name
SONET/SDH Transmit Registers
Transmit G1 Control
Reserved
0x0B4
0x0B5
0x0B6-0x0F5
0x0F6
Transmit J1 Bytes (64)
Reserved
0x0F7
POH Error Generation
Transmit C2 Byte
0x0F8
SONET/SDH Receive Registers
Receive LOH Monitor Delta
Receive SOH Monitor Delta
Reserved
0x0F9
0x0FA
0x0FB
0x0FC
Receive LOH Monitor Masks
Receive SOH Monitor Masks
Reserved
0x0FD
0x0FE
0x0FF
Receive TOH Monitor Control 1
Reserved
0x100
0x101
Receive Framer Position Control
Receive LOH Status
Receive SOH Status
Receive J0 Bytes (16)
Receive S1 LSBs
0x102
0x103
0x104-0x113
0x114
0x115
Receive K2 Byte
0x116
Reserved
0x117
Receive K1 Byte
0x118-0x119
0x11A
Receive B1 Error Count
Reserved
0x11B-0x11D
0x11E
Receive B2 Error Count
Reserved
0x11F-0x121
Receive M1 Error Count
( cont inues)
45
Download from Www.Somanuals.com. All Manuals Search And Download.
Address
0x122
Register Name
Receive Pointer Interpreter Mask
Reserved
0x123-0x125
0x126
Receive Pointer Interpreter Delta
Reserved
0x127
0x128
Receive Pointer Status (1)
Reserved
0x129
0x12A
Receive Pointer Status (2)
Reserved
0x12B-0x12C
0x12D
Receive J1 Reading Control
Receive J1 Mode Control
Receive RDI Monitor
Receive J1 Delta
Receive J1 Mask
Receive POH Mask
Receive J1 OOF
0x12E
0x12F
0x130
0x131
0x132
0x133
0x134-0x173
0x174
Receive J1 Bytes (64)
Receive Path Delta
Reserved
0x175
0x176
Expected C2 Byte
Reserved
0x177
0x178
Receive UNEQ Monitor
Receive C2 Byte
0x179
0x17A
Reserved
0x17B-0x17C
0x17D
B3 Error Count
Reserved
0x17E-0x17F G1
Error Count
Ethernet Transmit Registers
GFP/LAPS control
Transmit ADR/DPSP Byte
0x180
0x181
( cont inues)
46
Download from Www.Somanuals.com. All Manuals Search And Download.
Address
Register Name
0x182
Transmit Control/Type_L Field
Transmit Rate Adaptation/Type_H Field
Transmit FIFO Threshold
Transmit LAPS mode
0x183
0x184-0x185
0x186
0x187
GFP Mode
0x188
TX SAPI LSB / Spare Byte
TX_SAPI_MSB
0x189
0x18A-0x18B
0x18C-0x18F
0x190-0x193
0x194-0x197
0x198-0x19B
0x19C-0x19F
0x1A0
Reserved
Transmit MII Frames Received OK Counter
Transmit MII Alignment Error Counter
TX_ER Error Counter
Transmit FIFO Overflow Error
Transmit FIFO Underrun Error
Ethernet Transmit Interrupt Event
Ethernet Transmit Interrupt Mask
Reserved
0x1A1
0x1A2-0x1BF
Ethernet Receive Registers
GFP/LAPS Mode
0x1C0
0x1C1
Reserved
0x1C2-0x1C3
0x1C4-0x1C5
0x1C6-0x1C7
0x1C8
RX-FIFO Transmit Threshold
High Inter-Frame-Gap Water Mark
Low Inter-Frame-Gap Water Mark
Normal Inter-Frame-Gap
Low Inter-Frame-Gap
0x1C9
0x1CA
Receive Address / Type_L Field
Receive Control / Type_H Field
Receive Rate Adaptation/DPSP Byte
LAPS Mode
0x1CB
0x1CC
0x1CD
0x1CE
GFP Mode
( cont inues)
47
Download from Www.Somanuals.com. All Manuals Search And Download.
Address
Register Name
0x1CF
Receive Spare Field Byte
0x1D0
Receive Pre-Sync States
0x1D1-0x1D2
0x1D3
Receive SAPI Field
Reserved
0x1D4-0x1D7
0x1D8-0x1DB
0x1DC-0x1DF
0x1E0-0x1E3
0x1E4-0x1E7
0x1E8-0x1EB
0x1EC
Receive MII Frames Transmitted OK
Receive FCS and HEC Error Counter
Receive Format and Destination Error Counter
Receive Out of Sync Error Counter
Receive FIFO Overflow Error
Receive FIFO Underrun Error
Ethernet Receive Interrupt Event
Ethernet Receive Interrupt Mask
Receive Minimum Frame Size
Receive Maximum Frame Size
Reserved
0x1ED
0x1EF
0x1F0-0x1F1
0x1F2-0x1F3
0x1F4-0x1F7
0x1F8-0x1FB
0x1FC-0x1FF
Receive Minimum Frame Size Violations
Receive Maximum Frame Size Violations
Reserved
next read access to this register
returns zero to firmware because
the one acts as a command to per-
form the required clear function.
“W1S” – Write-1-to-Set, for regis-
ters that can be set or asserted
when a one is written. The next
read access to this register re-
turns a one.
In the register definition tables in
the following sections, NAMES of
the registers are specified in
abbreviated format.
Read/Write is specified using:
“R/W” – Read/Write, for registers
that are both readable and
writable.
“RO” – Read Only, for registers
that are readable only.
“W1C” – Write-1-to-Clear, for reg-
isters that can be cleared when a
one is written by firmware. The
DEFAULT is the value of the reg-
isters when either a hard or soft
reset occurs.
48
Download from Www.Somanuals.com. All Manuals Search And Download.
5.2.1 Common Registers
ADDR=0x000: Reset and Performance Latch Control
Bit 7
Bit 6
Bit 5
Bit 4
Bit 3
Bit 2
Bit 1
Bit 0
Bit name Reserved Reserved
Reserved
Reserved LATCH_
Reserved STATE_
GLOBAL_
RESET
CNT
RESET
R/W
—
—
—
—
R/W
0
—
R/W
0
WSR
0
Value
after
reset
0
0
0
0
0
Bits 7-4: Reserved
Bit 3:
LATCH_CNT is set to transfer performance monitor counters to registers to read the
counter values.
Bit 2:
Bit 1:
Bit 0:
Not e:
STATE_RESET is set to reset all state machines to the default state.
Reserved
GLOBAL_RESET is set to reset all read/write registers and all state machines.
GLOBAL_RESET is self-cleared.
ADDR=0x001: Test Modes
Bit 7
Bit 6
Bit 5
Bit 4
Bit 3
Bit 2
MII_
Bit 1
Bit 0
SONET_R_
Bit name Reserved Reserved
Reserved
Reserved Reserved
SONET_R_
T_TO_R_ TO_T_LOOP TO_T_
LOOP
R/W
0
LOOPL
R/W
0
R/W
—
—
—
—
—
R/W
0
Value
after
reset
0
0
0
0
0
Bits 7-3: Reserved
Bit 2:
MII_T_TO_R_LOOP is set to enable MII loopback mode to perform loopback test. It has the same
function as the MII Management Register in address 0 bit 14 - LOOPBACK. MII TX interface
receives MII TX data, then data is passed directly to MII RX interface and sent to MII RX bus. This
loopback is available in PHY mode only.
Bit 1:
Bit 0:
SONET_R_TO_T_LOOP is set to cause STS-3c/STM-1 data received to be looped to the transmit
SONET/SDH port after passing the framer. It is only allowed when RX_SONETCLK is equal to
TX_SONETCLK.
SONET_R_TO_T_LOOPL is set to cause STS-3c/STM-1 data received to be looped to the transmit
SONET/SDH port before passing the framer. It is only allowed when RX_SONETCLK is equal to
TX_SONETCLK.
49
Download from Www.Somanuals.com. All Manuals Search And Download.
ADDR = 0x003: Microprocessor Interrupt Pin Mode[1:0]
Bit 7
Bit 6
Bit 5
Bit 4
Bit 3
Bit 2
Bit 1
Bit 0
Bit name Reserved Reserved
SDA_PU_ SCL_PU_ Reserved
Reserved INT_MODE[1:0]
DIS
R/W
0
DIS
R/W
0
R/W
—
—
—
—
R/W
Value
after
reset
0
0
0
0
2'b00
Bits 7-6: Reserved
Bit 5:
Bit 4:
SDA_PU_DIS disables the internal SDA pull-up when high.
SCL_PU_DIS disables the internal SCL pull-up when high.
Bits 3-2: Reserved
Bits 1-0: INT_MODE specifies the Microprocessor Interrupt Pin Mode which configures the INT (tristate)
output pin to support one of four modes: (1) 00: Default mode, Open-Drain, INT active level=0,
(2) 01: Not Recommended, Open-Source, INT active level=1, (3) 10: Always enabled, INT active
level=0, (4) 11: Always enabled, INT active level=1. Refer to Section 4.2.4, “Interrupt Modes of
HDMP-3001 µP Interrupt Output” for more information.
ADDR = 0x004: Chip Revision[3:0]
Bit 7
Bit 6
Bit 5
Bit 4
Bit 3
Bit 2
Bit 1
Bit 0
Bit name Reserved Reserved
Reserved
Reserved CHIP_REV[3:0]
R/W
—
—
—
—
RO
Value
after
reset
0
0
0
0
4'b0001
Bits 7-4: Reserved
Bits 3-0: CHIP_REV specifies the chip revision of the HDMP-3001 chip. This register is the same as the
MII Management Register 3, bits [3:0].
50
Download from Www.Somanuals.com. All Manuals Search And Download.
ADDR = 0x005: PHY Address[4:0]
Bit 7
Bit 6
Bit 5
Bit 4
Bit 3
Bit 2
Bit 1
Bit 0
Bit name Reserved Reserved
Reserved
PHY_ADDR[4:0]
R/W
R/W
—
—
—
Value
after
reset
0
0
0
0x1B
Bits 7-5: Reserved
Bits 4-0: PHY_ADDR specifies the PHY address for the HDMP-3001 chip. The chip uses the PHY address to
respond to the Management Entity when addressed through the MDIO port.
ADDR=0x006: Interrupt Status
Bit 7
Bit 6
Bit 5
Bit 4
Bit 3
Bit 2
Bit 1
Bit 0
Bit name Reserved Reserved
Reserved
Reserved Reserved
Reserved RX_APS_
SUM_INT
INT
R/W
—
—
—
—
—
—
R
0
R
0
Value
after
reset
0
0
0
0
0
0
Bits 7-2: Reserved
Bit 1:
RX_APS_INT is set to indicate at least one of the RX_K1_D, RX_K2_D, or K1_UNSTAB_D is set
and unmasked. This condition asserts the APS_INT pin unless RX_APS_INT_MASK is set.
Bit 0:
SUM_INT is set to indicate an active non-masked alarm from a non-masked alarm group. This
condition asserts the INTB pin unless SUM_INT_MASK is set.
List of Int errupt Groups: TOH_D_SUM, PTR_D_SUM, PATH_D_SUM, and EoS_D_SUM
51
Download from Www.Somanuals.com. All Manuals Search And Download.
ADDR=0x007: Event Summary
Bit 7
Bit 6
Bit 5
Bit 4
Bit 3
Bit 2
Bit 1
Bit 0
Bit name TOH_D_SUM Reserved PTR_D_SUM POH_D_SUM Reserved EOS_D_SUM Reserved Reserved
R/W
R
0
—
R
0
R
0
R
0
R
0
—
—
Value
after
reset
0
0
0
Bit 7:
TOH_D_SUM is set to indicate at least one of the TOH/SOH delta bits (RX_LOS_D,
RX_OOF_D, RX_LOF_D, RX_LAIS_D, RX_LRDI_D, J0_OOF_D) is set and its corresponding
mask bit is cleared.
Bit 6:
Bit 5:
Reserved
PTR_D_SUM is set to indicate at least one of the Pointer Interpreter delta bits (RX_PAIS_D,
RX_LOP_D) is set and its corresponding mask bit is cleared.
Bit 4:
POH_D_SUM is set to indicate at least one of the Path Monitoring delta bits (RX_PLM_D,
RX_UNEQ_D, RX_G1_D, J1_OOF_D, J1_AVL, RX_C2_D) is set and its corresponding mask is
cleared.
Bit 3:
Bit 2:
Reserved
EOS_D_SUM is set to indicate at least one of the delta signals (NEW_RX_OOS_ERR,
NEW_RX_FORM_DEST_ERR, NEW_RX_FIFO_UR_ERR, NEW_RX_FIFO_OF_ERR,
NEW_RX_FCS_HEC_ERR, NEW_TX_FIFO_UR_ERR, NEW_TX_FIFO_OF_ERR,
NEW_TX_ER_ERR, NEW_TX_MII_ALIGN_ERR) is set and enabled.
Bits 1-0: Reserved
ADDR=0x008: Summary Interrupt Mask
Bit 7
Bit 6
Bit 5
Bit 4
Bit 3
Bit 2
Bit 1
Bit 0
Bit name Reserved Reserved Reserved
Reserved Reserved GROUP_
RX_APS_INT_ SUM_INT_
APS_INTB
MASK
R/W
1
MASK
R/W
1
R/W
—
—
—
—
—
R/W
1
Value
after
reset
0
0
0
0
0
Bits 7-3: Reserved
Bit 2:
GROUP_APS_INTB: If 1, it sets all unmasked RX_APS_INT alarms, SUM_INT bit and APS_INT
pin. This mode is useful in configuration where only one interrupt line on the CPU is used and is
connected to the INTB pin. If 0, it inhibits the RX_APS_INT alarms from affecting the SUM_INT bit.
This mode is useful in configuration where APS_INT and INTB are connected to separate interrupt
lines.
Bit 1:
Bit 0:
RX_APS_INT_MASK is set to enable the HDMP-3001 interrupt output pin APS_INTB.
SUM_INT_MASK is set to enable the HDMP-3001 interrupt output pin INTB.
52
Download from Www.Somanuals.com. All Manuals Search And Download.
ADDR=0x009: Mode of Operation
Bit 7
Bit 6
Bit 5
Bit 4
Bit 3
Bit 2
Bit 1
Bit 0
Bit name Reserved Reserved Reserved
Reserved ISOLATE_ SONET/SDH PHY/MAC
GFP/LAPS
MII
R/W
—
—
—
—
R/W
1
R/W
0
R/W
0
R/W
0
Value
after
reset
0
0
0
0
Note that this register only should be programmed when STATE_RESET is active.
Bits 7-4: Reserved
Bit 3:
ISOLATE_MII is set to isolate the HDMP-3001 chip on the MII bus. When it is set, TX_CLK,
RX_CLK, RX_DV, RX_ER and RXD outputs will be tristated. TXD, TX_EN and TX_ER inputs are
ignored. This bit has the same effect as the MII Management Register ISOLATE in address 0 bit 10.
Bit 2:
Bit 1:
Bit 0:
SONET/SDH: 0 in SONET mode, 1 in SDH mode.
PHY/MAC: 0 in MAC mode, 1 in PHY mode.
GFP/LAPS 0 in LAPS mode, 1 in GFP mode.
ADDR=0x00A: Rx Event Summary Mask
Bit 7
Bit 6
Bit 5
Bit 4
Bit 3
Bit 2
Bit 1
Bit 0
Bit name TOH_D_SUM Reserved PTR_D_SUM POH_D_SUM Reserved EOS_D_
Reserved Reserved
_MASK
_MASK
_MASK
SUM_MASK
R/W
R/W
1
—
R/W
1
R/W
1
—
R/W
1
—
—
Value
after
reset
0
0
0
0
Bit 7:
Bit 6:
Bit 5:
Bit 4:
Bit 3:
Bit 2:
TOH_D_SUM_MASK is set to disable TOH_D_SUM interrupt to report to SUM_INT
Reserved
PTR_D_SUM_MASK is set to disable PTR_D_SUM interrupt to report to SUM_INT
POH_D_SUM_MASK is set to disable POH_D_SUM interrupt to report to SUM_INT
Reserved
EOS_D_SUM_MASK is set to disable EoS_D_SUM interrupt to report to SUM_INT
Bits 1-0: Reserved
53
Download from Www.Somanuals.com. All Manuals Search And Download.
ADDR=0x00B: SONET/SDH Configuration
Bit 7 Bit 6 Bit 5
Bit 4
Bit 3
Bit 2
Bit 1
Bit 0
Bit name Reserved Reserved TX_UNEQ Reserved Reserved TX_SONET RX_SONET_DSCR Reserved
_SCR_INH _INH
R/W
—
—
R/W
0
—
—
R/W
0
R/W
0
—
Value
after
reset
0
0
0
0
0
Bits 7-6: Reserved
Bit 5: TX_UNEQ is set to generate all zeros in its SPE/VC bytes to create unequipped SPE.
Bits 4-3: Reserved
Bit 2:
Bit 1:
Bit 0:
TX_SONET_SCR_INH is set to disable the HDMP-3001 SONET scrambler.
RX_SONET_DSCR_INH is set to disable the HDMP-3001 SONET descrambler.
Reserved
ADDR=0x00D: GPIO Control
Bit 7
Bit 6
Bit 5
Bit 4
Bit 3
Bit 2
Bit 1
Bit 0
Bit name GPIOCTL7
GPIOCTL6 GPIOCTL5 GPIOCTL4 GPIOCTL3
GPIOCTL2 GPIOCTL1
GPIOCTL0
R/W
R/W
0
R/W
0
R/W
0
R/W
0
R/W
0
R/W
0
R/W
0
R/W
0
Value
after
reset
Bit 7:
Bit 6:
Bit 5:
Bit 4:
Bit 3:
Bit 2:
Bit 1:
Bit 0:
GPIOCTL7: If 0, GPIO15 and GPIO14 are configured as inputs. If 1, GPIO15 and GPIO14 are
configured as outputs.
GPIOCTL6: If 0, GPIO13 and GPIO12 are configured as inputs. If 1, GPIO13 and GPIO12 are
configured as outputs.
GPIOCTL5: If 0, GPIO11 and GPIO10 are configured as inputs. If 1, GPIO11 and GPIO10 are
configured as outputs.
GPIOCTL4: If 0, GPIO9 and GPIO8 are configured as inputs. If 1, GPIO9 and GPIO8 are
configured as outputs.
GPIOCTL3: If 0, GPIO7 and GPIO6 are configured as inputs. If 1, GPIO7 and GPIO6 are
configured as outputs.
GPIOCTL3: If 0, GPIO5 and GPIO4 are configured as inputs. If 1, GPIO5 and GPIO4 are
configured as outputs.
GPIOCTL1: If 0, GPIO3 and GPIO2 are configured as inputs. If 1, GPIO3 and GPIO2 are
configured as outputs.
GPIOCTL0: If 0, GPIO1 and GPIO0 are configured as inputs. If 1, GPIO1 and GPIO0 are
configured as outputs.
54
Download from Www.Somanuals.com. All Manuals Search And Download.
ADDR=0x00E: GPIO [7:0] Data
Bit 7
Bit 6
Bit 5
GPIO5
R/W
1
Bit 4
GPIO4
R/W
1
Bit 3
GPIO3
R/W
1
Bit 2
GPIO2
R/W
1
Bit 1
GPIO1
R/W
1
Bit 0
GPIO0
R/W
1
Bit name GPIO7
GPIO6
R/W
1
R/W
R/W
1
Value
after
reset
Bits 7-0: GPIO[7:0] : General purpose I/O bits 7:0, and they are defaulted as inputs.
ADDR=0x00F: GPIO [15:8] Data
Bit 7
Bit 6
GPIO14
R/W
1
Bit 5
GPIO13
R/W
1
Bit 4
GPIO12
R/W
1
Bit 3
GPIO11
R/W
1
Bit 2
GPIO10
R/W
1
Bit 1
GPIO9
R/W
1
Bit 0
GPIO8
R/W
1
Bit name GPIO15
R/W
R/W
1
Value
after
reset
Bits 7-0: GPIO[15:8] : General purpose I/O bits 15:8, and they are defaulted as inputs.
55
Download from Www.Somanuals.com. All Manuals Search And Download.
5.3 SONET/SDH Transmit Registers
ADDR=0x09C: Transmit BIP control
Bit 7
Bit 6
Bit 5
Bit 4
Bit 3
Bit 2
Bit 1
Bit 0
Bit name Reserved Reserved Reserved Reserved
Reserved
TX_B1_INV TX_B2_INV TX_B3_INV
R/W
—
—
—
—
—
R/W
0
R/W
0
R/W
0
Value
after
reset
0
0
0
0
0
This is a BIP calculating control register.
Bits 7-3: Reserved
Bit 2:
Bit 1:
Bit 0:
TX_B1_INV is set to calculate B1 by odd parity (for testing purposes).
TX_B2_INV is set to calculate B2 by odd parity (for testing purposes).
TX_B3_INV is set to calculate B3 by odd parity (for testing purposes).
ADDR=0x09D: Transmit AIS, RDI, REI Control
Bit 7
Bit 6
Bit 5
Bit 4
Bit 3
Bit 2
Bit 1
LRDI_INH
R/W
Bit 0
LREI_INH
R/W
Bit name TX_LAIS
Reserved Reserved Reserved
Reserved
Reserved
R/W
R/W
0
—
—
—
—
—
Value
after
reset
0
0
0
0
0
0
0
This is a Transmit AIS, RDI, REI Control register.
Bit 7:
TX_LAIS is set to generate all ones to the entire SONET/SDH payload except for the first 3 rows
of Section Overhead.
Bits 6-2: Reserved
Bit 1:
Bit 0:
LRDI_INH is set to disable automatic generation of Line Remote Defect Indication.
LREI_INH is set to disable automatic generation of Line Remote Error Indication.
56
Download from Www.Somanuals.com. All Manuals Search And Download.
ADDR=0x09F –0x0AE: Transmit J0 Bytes 1 – 16
Bit 7
Bit 6
Bit 5
Bit 4
Bit 3
Bit 2
Bit 1
Bit 0
Bit name TX_J0[0]_[7:0]
•
•
•
TX_J0[15]_[7:0]
R/W
R/W
0
Value
after
reset
0
0
0
0
0
0
0
Bits 7-0: TX_J 0[0:15]_[7:0]: Transmit J0 (Section Trace) – When enable, the HDMP-3001 will
continuously transmit in the 16-byte pattern in these registers in the J0 byte. The bytes are
transmitted in descending order starting from TX_J0[15]_[7:0].
ADDR=0x0B0: Transmit K2 Byte
Bit 7
Bit name TEST_K2[7:0]
Bit 6
Bit 5
Bit 4
Bit 3
Bit 2
Bit 1
Bit 0
R/W
R/W
0
Value
after
reset
0
0
0
0
0
0
0
TX_K2[7:3]: These bits are automatic protection switching (APS) signaling.
TX_K2[2:0]: These bits are controlled by 3 sources. In order of priority, these are:
If TX_LAIS is set, they are transmitted as 111.
If LRDI_INH is cleared, and if any of (RX_LOS and not RX_LOS_INH), RX_LOF, or RX_LAIS
is set, they are transmitted as 110 for a min. of 20 frames.
Else, they are transmitted as TX_K2[2:0]
In SDH, the three LSBs of the K2 byte are used as an AIS or Remote Defect Indication(RDI)
at the line/MS level.
In SONET, the three LSBs of K2 are used as APS signaling.
57
Download from Www.Somanuals.com. All Manuals Search And Download.
ADDR=0x0B1: Transmit K1 Byte
Bit 7
Bit 6
Bit 5
Bit 4
Bit 3
Bit 2
Bit 1
Bit 0
Bit name TEST_K1[7:0]
R/W
R/W
0
Value
after
reset
0
0
0
0
0
0
0
TX_K1[7:0]: These bits are automatic protection switching (APS) signaling.
The HDMP-3001 inserts TX_K1[7:0] into the transmitted K1 byte, and TX_K2[7:3] into the five MSBs of the
transmitted K2 byte. The three LSBs are controlled according to the description above (ADDR=0x0b0).
ADDR=0x0B3: Transmit S1 Byte
Bit 7
Bit 6
Bit 5
Bit 4
Bit 3
Bit 2
Bit 1
Bit 0
Bit name TEST_S1[7:0]
R/W
R/W
0
Value
after
reset
0
0
0
0
0
0
0
TX_S1[7:0]: The transmitted S1 byte of the HDMP-3001 is set equal to TX_S1[7:0].
ADDR=0x0B4: Transmit G1 Control
Bit 7
Bit 6
Bit 5
Bit 4
Bit 3
Bit 2
PREI_INH
R/W
Bit 1
Bit 0
Bit name Reserved Reserved Reserved Reserved
Reserved
PRDI_ENH PRDI_AUTO
R/W
—
—
—
—
—
R/W
0
R/W
0
Value
after
reset
0
0
0
0
0
0
Bits 7-3: Reserved
Bit 2:
PREI_INH: If one, the four LSBs of G1 are set to zero. If zero, the four LSBs of G1 are set to the
value equal to B3 errors by the receive side POH monitoring block in binary value (0000 through
1000).
Bit 1:
Bit 0:
PRDI_ENH: If one, HDMP-3001 generates an enhanced RDI signal automatically when
PRDI_AUTO = 1.
PRDI_AUTO: If zero, the value transmitted in bits 7:5 of G1 is taken from the TX_G1[2:0].
Table 20 shows the values transmitted in bits 5, 6 and 7 of G1.
58
Download from Www.Somanuals.com. All Manuals Search And Download.
Table 20. G1 values
PRDI_ PRDI_
AUTO ENH
RX_PAIS ||
RX_LOP
RX_UNEQ RX_PLM
G1 Bits 5, 6, & 7
0
1
x
0
x
1
0
1
0
0
0
x
x
x
x
1
0
0
x
x
x
x
x
1
0
TX_G1[2:0]
100
000
1
101
110
010
001
ADDR=0x0B6 – 0x0F5: Transmit J1 Bytes 1 – 64
Bit 7
Bit 6
Bit 5
Bit 4
Bit 3
Bit 2
Bit 1
Bit 0
Bit name TX_J1[0]_[7:0]
•
•
•
TX_J1[63]_[7:0]
R/W
R/W
0
Value
after
reset
0
0
0
0
0
0
0
When Transmit J1 (Path Trace) enabled,
1. When SONET/SDH = 1, the J1 byte is transmitted repetitively as the 16-byte sequence in TX_J1[15]_[7:0]
down to TX_J1[0]_[7:0].
2. When SONET/SDH = 0, the J1 byte is transmitted repetitively as the 64-byte sequence in TX_J1[63]_[7:0]
descending down to TX_J1[0]_[7:0].
59
Download from Www.Somanuals.com. All Manuals Search And Download.
ADDR=0x0F7: POH Error Generation
Bit 7
Bit 6
Bit 5
Bit 4
Bit 3
Bit 2
Bit 1
Bit 0
TX_PAIS
R/W
0
Bit name Reserved
TX_G1 [2:0]
Reserved Reserved
Reserved
R/W
—
R/W
0
—
—
—
Value
after
reset
0
0
0
0
0
0
Bit 7:
Reserved
Bits 6-4: TX_G1[2:0] When PRDI_AUTO = 0, the values transmitted in bits 7-5 of G1 are taken from
these three bits.
Bits 3-1: Reserved
Bit 0:
TX_PAIS: If 1, the TOH/SOH is normally generated except that the pointer bytes H1, H2 and H3
in row 4(as well as all SPE/VC bytes) are transmitted as all ones. If 0, the payload will be generated
normally.
ADDR=0x0F8: Transmit C2 Byte
Bit 7
Bit 6
Bit 5
Bit 4
Bit 3
Bit 2
Bit 1
Bit 0
Bit name TX_C2 [7:0]
R/W
R/W
0x18
Value
after
reset
Bits 7-0: TX_C2[7:0]: Transmit C2 byte is generated from this register. When in LAPS mode, value is set
to 0x18. When in GFP mode, the value is set to 0x1B.
60
Download from Www.Somanuals.com. All Manuals Search And Download.
5.4 SONET/SDH Receive Registers
ADDR=0x0F9: Receive LOH Monitor Delta
Bit 7
Bit 6
Bit 5
Bit 4
Bit 3
Bit 2
Bit 1
Bit 0
Bit name J0_OOF
_D
Reserved
RX_LAIS
_D
RX_LRDI
_D
RX_K1_D K1_UNSTAB
_D
RX_K2_D
Reserved
R/W
W1C
0
—
W1C
0
W1C
0
W1C
0
W1C
0
W1C
0
—
Value
after
reset
0
0
Bit 7:
Bit 6:
Bit 5:
Bit 4:
Bit 3:
Bit 2:
Bit 1:
Bit 0:
J 0_OOF_D – J0_OOF delta bit
Reserved
RX_LAIS_D – RX_LAIS delta bit
RX_LRDI_D – RX_LRDI delta bit
RX_K1_D – RX_K1 delta bit
K1_UNSTAB_D – K1_UNSTAB delta bit
RX_K2_D – RX_K2 delta bit
Reserved
Receive LOH Monitor Delta Bits: If one, there is a change in state of the corresponding event bit. After the
bit is being read, CPU can reset them by writing a one.
Receive LOH Monitor Delta Bits: If zero, no change in state of the corresponding event bit.
ADDR=0x0FA: Receive SOH Monitor Delta
Bit 7
Bit 6
Bit 5
Bit 4
Bit 3
Bit 2
Bit 1
Bit 0
Bit name Reserved Reserved RX_LOS_D Reserved
RX_OOF_D RX_LOF_D Reserved
Reserved
R/W
—
—
WIC
0
—
WIC
0
WIC
0
—
—
Value
after
reset
0
0
0
0
0
Bits 7-6: Reserved
Bit 5:
Bit 4:
Bit 3:
Bit 2:
RX_LOS_D – RX_LOS delta bit
Reserved
RX_OOF_D – RX_OOF delta bit
RX_LOF_D – RX_LOF delta bit
Bits 1-0: Reserved
Receive SOH Monitor Delta Bits: If one, there is a change in state of the corresponding event bit. After
reading them out, the CPU can reset the delta bits by writing a one to each bit.
Receive SOH Monitor Delta Bits: If zero, no change in state of the corresponding event bit.
61
Download from Www.Somanuals.com. All Manuals Search And Download.
ADDR=0x0FC: Receive LOH Monitor Masks
Bit 7
Bit 6
Bit 5
Bit 4
Bit 3
Bit 2
Bit 1
Bit 0
Bit name J0_OOF_ Reserved
RX_LAIS_ RX_LRDI_ RX_K1_D
K1_UNSTAB RX_K2_D
Reserved
D_MASK
D_MASK
D_MASK _MASK
_D_MASK
_MASK
R/W
1
R/W
R/W
1
—
R/W
1
R/W
1
R/W
1
R/W
1
—
Value
reset
1
1
Bit 7:
Bit 6:
Bit 5:
Bit 4:
Bit 3:
Bit 2:
Bit 1:
Bit 0:
J 0_OOF_D_MASK – J0_OOF delta bit mask
Reserved, always write as one.
RX_LAIS_D_MASK – RX_LAIS delta bit mask
RX_LRDI_D_MASK – RX_LRDI delta bit mask
RX_K1_D_MASK – RX_K1 delta bit mask
K1_UNSTAB_D_MASK – K1_UNSTAB delta bit mask
RX_K2_D_MASK – RX_K2 delta bit mask
Reserved, always write as one.
These bits are used to enable/disable reporting status of the corresponding event bits. If set, reporting status
of the corresponding event bits is disabled.
ADDR=0x0FD: Receive SOH Monitor Masks
Bit 7
Bit 6
Bit 5
Bit 4
Bit 3
Bit 2
Bit 1
Bit 0
Bit name Reserved Reserved
RX_LOS_D Reserved RX_OOF_D
RX_LOF_D_
_MASK
Reserved Reserved
_MASK
R/W
1
_MASK
R/W
1
R/W
—
—
—
R/W
1
—
—
Value
after
reset
0
0
0
0
0
Bits 7-6: Reserved
Bit 5:
Bit 4:
Bit 3:
Bit 2:
RX_LOS_D_MASK – RX_LOS delta bit mask
Reserved
RX_OOF_D_MASK – RX_OOF delta bit mask
RX_LOF_D_MASK – RX_LOF delta bit mask
Bits 1-0: Reserved
These bits are used to enable/disable reporting status of the corresponding event bits. If set, reporting status
of the corresponding event bits is disabled.
62
Download from Www.Somanuals.com. All Manuals Search And Download.
ADDR=0x0FF: Receive TOH Monitor Control
Bit 7
Bit 6
Bit 5
Bit 4
Bit 3
Bit 2
Bit 1
Bit 0
Bit name K2_CONSEC_NUM[3:0]
RX_LOS_
LEVEL
RX_LOS_
INH
RX_FRAM_
INH
RX_LOF_
ALG
R/W
R/W
0
R/W
0
R/W
0
R/W
0
R/W
0
Value
after
reset
1
0
1
Bits 7-4: K2_CONSEC_NUM[3:0]: This 4 bit register is used to keep track of the number of consecutive
occurrences of LAIS and LRDI in order for the presence/absence of LAIS or LRDI to be detected
and the monitors to be updated accordingly.
Bit 3:
Bit 2:
Bit 1:
RX_LOS_LEVEL is set to indicate RX_LOS is active low.
RX_LOS_INH is set to inhibit the contribution of RX_LOS to LRDI.
RX_FRAM_INH: If 1, the HDMP-3001 receive framer is enable and the parallel input signal is not
assumed to be byte aligned. If 0, the receive framer in the HDMP-3001 is bypassed, and it requires
a frame start condition, RX_FRAME_IN, as well as data and clock.
Bit 0:
RX_LOF_ALG: If 1, RX_LOF will be cleared after RX_OOF is inactive for 8 consecutive frames.
If 0, RX_LOF will be cleared after RX_OOF is inactive for 24 consecutive frames.
ADDR=0x101: Receive Framer Position Control
Bit 7
Bit 6
Bit 5
Bit 4
Bit 3
Bit 2
Bit 1
Bit 0
Bit name Reserved Reserved Reserved Reserved RX_FRAME_POSITION[3:0]
R/W
—
—
—
—
R/W
0
Value
after
reset
0
0
0
0
0
0
0
Bits 7-4: Reserved
Bits 3-0: RX_FRAME_POSITION [3:0] – These four bits control the relationship between the data
bytes on the input bus RX_DATA [7:0] and the RX_FRAME_IN clock pulse. Please refer to
Table 21.
63
Download from Www.Somanuals.com. All Manuals Search And Download.
Table 21. STS-3c/STM-1 configuration for RX_FRAME_POSITION [3:0]
Data on RX_DATA[7:0]
last byte of frame
first A1 byte
RX_FRAME_POSITION[3:0]
0000
0001
0010
0011
0100
0101
0110
0111
1000
1001
1010
1011
second A1 byte
third A1 byte
first A2 byte
second A2 byte
third A2 byte
J0 byte
first Z0 byte
last Z0 byte
first byte after last Z0 byte
second byte after last Z0 byte
ADDR=0x102: Receive LOH Status
Bit 7
Bit 6
Bit 5
Bit 4
Bit 3
Bit 2
Bit 1
Bit 0
Bit name Reserved Reserved RX_LAIS
RX_LRDI Reserved K1_UNSTAB S1_UNSTAB
J0_OOF
R/W
—
—
R
1
R
0
—
R
0
R
0
R
1
Value
after
reset
0
0
0
Bits 7-6: Reserved
Bit 5:
RX_LAIS: It will be asserted after the three LSBs of the received K2 byte are received as 111 for the
number of consecutive frames specified in the K2_CONSEC_NUM [3:0] register. It will be de-
asserted after the three LSBs of the received K2 byte are not received as 111 for the number of
consecutive frames specified in the K2_CONSEC_NUM [3:0].
Bit 4:
RX_LRDI: It will be asserted after the three LSBs of the received K2 byte are received as 110 for
the number of consecutive frames specified in the K2_CONSEC_NUM [3:0] register. It will be de-
asserted after the three LSBs of the received K2 byte are not received as 110 for the number of
consecutive frames specified in the K2_CONSEC_NUM [3:0].
Bit 3:
Bit 2:
Reserved
K1_UNSTAB: This bit is used to check for instability for K1 byte. Set if no three consecutive
frames are received with identical K1 bytes for 12 successive frames.
Bit 1:
S1_UNSTAB: The S1 LSB is checked for instability. If, for 12 successive frames, three consecutive
frames are not received with identical S1 LSB in SDH mode, or eight consecutive frames are not
received with identical S1 in SONET mode, the S1_UNSTAB bit is asserted. It is deasserted when
the required number of identical S1 LSBs are received.
64
Download from Www.Somanuals.com. All Manuals Search And Download.
Bit 0:
J 0_OOF: J0_OOF = 0 when the most significant bits of all J0 bytes are zero except for the MSB of
the frame start marker byte. The J0 monitor framer searches for 15 consecutive J0 bytes that have
a zero in their MSB and followed by a J0 byte with a zero in its MSB.
J0_OOF = 1 once the J0 monitor framer is in frame. It remains in frame until three consecutive J0
bytes are received with at least one MSB bit error.
ADDR=0x103: Receive SOH Status
Bit 7
Bit 6
Bit 5
Bit 4
Bit 3
Bit 2
Bit 1
Bit 0
Bit name Reserved
Reserved
RX_LOS
Reserved
RX_OOF
RX_LOF
Reserved
Reserved
R/W
—
—
R
0
—
R
1
R
1
—
—
Value
after
reset
0
0
0
0
0
Bits 7-6: Reserved
Bit 5:
Bit 4:
Bit 3:
RX_LOS: Set if HDMP-3001 receives Loss of Signal indication from the optical transceiver.
Reserved
RX_OOF: RX_OOF = 1 if the receive framer receives five successive frames with at least one bit
error in the A1-A2-A2-A2 framing pattern. RX_OOF = 0 if the receive framer finds two successive
frames in which the A1-A2-A2-A2 framing bytes match the framing pattern 0xF6282828.
Bit 2:
RX_LOF: RX_LOF = 1 if RX_OOF is active continuously for 24 consecutive frames (3 ms).
RX_LOF = 0 if RX_OOF is inactive continuously for 3 ms.
Bits 1-0: Reserved
65
Download from Www.Somanuals.com. All Manuals Search And Download.
ADDR=0x104 –0x113: Receive J0 Bytes 0 – 15
Bit 7
Bit 6
Bit 5
Bit 4
Bit 3
Bit 2
Bit 1
Bit 0
Bit name RX_J0 [0]_[7:0]
•
•
•
RX_J0 [15]_[7:0]
R/W
R
0
Value
after
reset
Bits 7-0: RX_J 0 [0:15]_[7:0]: (Section Trace) The received 16 J0 bytes.
ADDR=0x114: Receive S1 LSBs
Bit 7
Bit 6
Bit 5
Bit 4
Bit 3
Bit 2
Bit 1
Bit 0
Bit name Reserved Reserved Reserved Reserved
RX_S1[3:0]
R/W
—
—
—
—
R
0
Value
after
reset
0
0
0
0
0
0
0
Bits 7-4: Reserved
Bits 3-0: RX_S1 [3:0]: (Synchronization Message) The received four LSBs of the S1 byte.
ADDR=0x115: Receive K2 Byte
Bit 7
Bit 6
Bit 5
Bit 4
Bit 3
Bit 2
Bit 1
Bit 0
Bit name RX_K2[7:0]
R/W
R
0
Value
after
reset
0
0
0
0
0
0
0
Bits 7-0: RX_K2 [7:0]: (APS Signaling) The received K2 byte.
66
Download from Www.Somanuals.com. All Manuals Search And Download.
ADDR=0x117: Receive K1 Byte
Bit 7
Bit 6
Bit 5
Bit 4
Bit 3
Bit 2
Bit 1
Bit 0
Bit name RX_K1 [7:0]
R/W
R
0
Value
after
reset
0
0
0
0
0
0
0
Bits 7-0: RX_K1[7:0]: (APS Signaling) The received K1 byte.
ADDR=0x118: Receive B1 Error Count
Bit 7
Bit 6
Bit 5
Bit 4
Bit 3
Bit 2
Bit 1
Bit 0
Bit name B1_ERRCNT[7:0]
R/W
R
0
Value
after
reset
0
0
0
0
0
0
0
Bits 7-0: B1_ERRCNT[7:0]
ADDR=0x119: Receive B1 Error Count
Bit 7
Bit 6
Bit 5
Bit 4
Bit 3
Bit 2
Bit 1
Bit 0
Bit name B1_ERRCNT[15:8]
R/W
R
0
Value
after
reset
0
0
0
0
0
0
0
Bits 7-0: B1_ERRCNT[15:8]: A 16-bit B1 error counter that counts B1 bit errors.
67
Download from Www.Somanuals.com. All Manuals Search And Download.
ADDR=0x11B: Receive B2 Error Count
Bit 7
Bit 6
Bit 5
Bit 4
Bit 3
Bit 2
Bit 1
Bit 0
Bit name B2_ERRCNT[7:0]
R/W
R
0
Value
after
reset
0
0
0
0
0
0
0
Bits 7-0: B2_ERRCNT[7:0]
ADDR=0x11C: Receive B2 Error Count
Bit 7
Bit 6
Bit 5
Bit 4
Bit 3
Bit 2
Bit 1
Bit 0
Bit name B2_ERRCNT[15:8]
R/W
R
0
Value
after
reset
0
0
0
0
0
0
0
Bits 7-0: B2_ERRCNT[15:8]
ADDR=0x11D: Receive B2 Error Count
Bit 7
Bit 6
Bit 5
Bit 4
Bit 3
Bit 2
Bit 1
Bit 0
Bit name B2_ERRCNT[23:6]
R/W
R
0
Value
after
reset
0
0
0
0
0
0
0
Bits 7-0: B2_ERRCNT[23:16]: A 24-bit B2 error counter that counts every B2 bit error.
68
Download from Www.Somanuals.com. All Manuals Search And Download.
ADDR=0x11F: Receive M1 Error Count
Bit 7
Bit 6
Bit 5
Bit 4
Bit 3
Bit 2
Bit 1
Bit 0
Bit name M1_ERRCNT[7:0]
R/W
R
0
Value
after
reset
0
0
0
0
0
0
0
Bits 7-0: M1_ERRCNT[7:0]
ADDR=0x120: Receive M1 Error Count
Bit 7
Bit 6
Bit 5
Bit 4
Bit 3
Bit 2
Bit 1
Bit 0
Bit name M1_ERRCNT[15:8]
R/W
R
0
Value
after
reset
0
0
0
0
0
0
0
Bits 7-0: M1_ERRCNT[15:8]
ADDR=0x121: Receive M1 Error Count
Bit 7
Bit 6
Bit 5
Bit 4
Bit 3
Bit 2
Bit 1
Bit 0
Bit name M1_ERRCNT[23:16]
R/W
R
0
Value
after
reset
0
0
0
0
0
0
0
Bits 7-0: M1_ERRCNT[23:16]: A 24 bit M1 error counter which indicates the number of B2 errors that
were detected by the remote terminal in its received signal. The HDMP-3001 contains a 20-bit M1
error counter that counts every error indicated by M1. The valid range for M1 is 0 to 24.
Any other value is interpreted as non-error.
69
Download from Www.Somanuals.com. All Manuals Search And Download.
ADDR=0x122: Receive Pointer Interpreter Mask
Bit 7
Bit 6
Bit 5
Bit 4
Bit 3
Bit 2
Bit 1
Bit 0
Bit name Reserved
Reserved Reserved Reserved
Reserved
Reserved
RX_LOP_D
_MASK
RX_PAIS_
D_MASK
R/W
—
—
—
—
—
—
R/W
1
R/W
1
Value
after
reset
0
0
0
0
0
0
Bits 7-2: Reserved
Bit 1:
Bit 0:
RX_LOP_D_MASK: RX_LOP delta bit mask
RX_PAIS_D_MASK: RX_PAIS delta bit mask
These bits are used to enable/disable status reporting of the corresponding event bits. If set, the reporting
status of the corresponding bit in the event register is disabled.
ADDR=0x126: Receive Pointer Interpreter Delta
Bit 7
Bit 6
Bit 5
Bit 4
Bit 3
Bit 2
Bit 1
Bit 0
Bit name Reserved
Reserved Reserved Reserved
Reserved
Reserved
RX_LOP_D
RX_PAIS_
D
R/W
—
—
—
—
—
—
W1C
0
W1C
0
Value
after
reset
0
0
0
0
0
0
Bits 7-2: Reserved
Bit 1:
Bit 0:
RX_LOP_D: RX_LOP delta bit
RX_PAIS_D: RX_PAIS delta bit
These bits are set if a change in state of the corresponding event bit occurs. They are cleared by writing a
one to them.
70
Download from Www.Somanuals.com. All Manuals Search And Download.
ADDR=0x128: Receive Pointer Status(1)
Bit 7
Bit 6
Bit 5
Bit 4
Bit 3
Bit 2
Bit 1
Bit 0
Bit name Reserved Reserved Reserved Reserved
P_STATE[1:0]
RX_LOP RX_PAIS
R/W
—
—
—
—
R
0
R
1
R
1
Value
after
reset
0
0
0
0
0
Bits 7-3: Reserved
Bits 3-2: P_STATE_[1:0]: These bits are used to monitor the first pair of H1/H2 bytes in the received
SONET/SDH frame, and to indicate the current state of the HDMP-3001 pointer interpreter. A 00
indicates a normal pointer, a 01 indicates Alarm Indication Signal, and 10 indicates Loss of
Pointer.
Bit 1:
Bit 0:
RX_LOP: Receive Loss of Pointer Indication
RX_PAIS: Receive Path Alarm Indication Signal
ADDR=0x12A: Receive Pointer Status(2)
Bit 7
Bit 6
Bit 5
LOP3
R
Bit 4
AIS3
R
Bit 3
LOP2
R
Bit 2
AIS2
R
Bit 1
Bit 0
Bit name Reserved
Reserved
Reserved
Reserved
R/W
—
—
—
—
Value
after
reset
0
0
0
1
0
1
0
0
Bits 7-6: Reserved
Bit 5:
Bit 4:
Bit 3:
Bit 2:
LOP3: It is used to monitor the third pair of H1/H2 pointer bytes for the correct concatenation
indications, and indicates the current state of the HDMP-3001 pointer interpreter. When set, it is in
LOP.
AIS3: It is used to monitor the third pair of H1/H2 pointer bytes for the correct concatenation
indications, and indicates the current state of the HDMP-3001 pointer interpreter. When set, it is in
AIS.
LOP2: It is used to monitor the second pair of H1/H2 pointer bytes for the correct concatenation
indications, and indicates the current state of the HDMP-3001 pointer interpreter. When set, it is in
LOP.
AIS2: It is used to monitor the second pair of H1/H2 pointer bytes for the correct concatenation
indications, and indicates the current state of the HDMP-3001 pointer interpreter. When set, it is in
AIS.
Bits 1-0: Reserved
71
Download from Www.Somanuals.com. All Manuals Search And Download.
ADDR=0x12D: Receive J1 Reading Control
Bit 7
Bit 6
Bit 5
Bit 4
Bit 3
Bit 2
Bit 1
Bit 0
Bit name J1_READ
Reserved
Reserved
Reserved
Reserved
Reserved
Reserved
Reserved
R/W
R/W
0
—
—
—
—
—
—
—
Value
after
reset
0
0
0
0
0
0
0
Bit 7:
J 1_READ: When J1_READ transitions from 0 to 1, the HDMP-3001 will latch the 64-byte
string it received in the J1 byte and write the byte string to RX_J1[63:0].
Bits 6-0: Reserved
ADDR=0x12E: Receive J1 Mode Control
Bit 7
Bit 6
Bit 5
Bit 4
Bit 3
Bit 2
Bit 1
Bit 0
Bit name Reserved
Reserved
Reserved
Reserved
Reserved
Reserved
J1_MODE Reserved
R/W
—
—
—
—
—
—
R/W
0
—
Value
after
reset
0
0
0
0
0
0
0
Bits 7-2: Reserved
Bit 1:
J 1_MODE: When J1_MODE = 1, the HDMP-3001 captures the 64 byte string it receives in the J1
byte position that ends with {0D,0A} and writes them to RX_J1[63:0]_[7:0]. When J1_MODE = 0,
the HDMP-3001 captures 64 consecutive J1 bytes from the specified tributary regardless of their
content and writes them to RX_J1[63:0]_[7:0].
Bit 0:
Reserved
72
Download from Www.Somanuals.com. All Manuals Search And Download.
ADDR=0x12F: Receive RDI Monitor
Bit 7
Bit 6
Bit 5
Bit 4
Bit 3
Bit 2
Bit 1
Bit 0
RX_PRDI5
R/W
Bit name G1_CONSEC_NUM[3:0]
Reserved
Reserved
Reserved
R/W
R/W
0
—
—
—
Value
after
reset
1
0
1
0
0
0
0
Bits 7-4: G1_CONSEC_NUM [3:0]: These 4 bit registers specify the number of consecutive received G1
bytes which will be monitored to determine if a Path RDI indication is present.
Bits 3-1: Reserved
Bit 0:
RX_PRDI5: It is used to determine which bits of the G1 byte will be monitored for Path RDI
indication. If set, the HDMP-3001 will use only bit 5 of the received G1 byte. If not, bits 5,6, and 7 of
the received G1 byte will be used.
ADDR=0x130: Receive J1 Delta
Bit 7
Bit 6
Bit 5
Bit 4
Bit 3
Bit 2
Bit 1
Bit 0
Bit name Reserved
Reserved
Reserved
Reserved
Reserved
J1_AVL_D Reserved
J1_OOF_D
W1C
0
R/W
—
—
—
—
—
W1C
0
—
Value
after
reset
0
0
0
0
0
0
Bits 7-3: Reserved
Bit 2:
Bit 1:
Bit 0:
J 1_AVL_D: It is set when J1 capture is completed. It is cleared when writing a one to it.
Reserved
J 1_OOF_D: It is set when J1_OOF changes state. It is cleared when writing a one to it.
73
Download from Www.Somanuals.com. All Manuals Search And Download.
ADDR=0x131: Receive J1 Mask
Bit 7
Bit 6
Bit 5
Bit 4
Bit 3
Bit 2
Bit 1
Bit 0
Bit name Reserved
Reserved Reserved Reserved
Reserved
Reserved
J1_AVL_
MASK
J1_OOF_D_
MASK
R/W
—
—
—
—
—
—
R/W
1
R/W
1
Value
after
reset
0
0
0
0
0
0
Bits 7-2: Reserved
Bit 1:
Bit 0:
J 1_AVL_MASK: J1_AVL mask bit.
J 1_OOF_D_MASK: J1_OOF delta bit mask.
These bits are used to enable/disable status reporting of the corresponding event bits. If set, the status
reporting of the corresponding event bits is disabled.
ADDR=0x132: Receive POH Mask
Bit 7
Bit 6
Bit 5
Bit 4
Bit 3
Bit 2
Bit 1
Bit 0
Bit name Reserved Reserved
Reserved
RX_C2_D_ RX_G1_D_
RX_UNEQ_ RX_PLM_D Reserved
MASK
R/W
1
MASK
R/W
1
D_MASK
_MASK
R/W
1
R/W
—
—
—
R/W
1
—
Value
after
reset
0
0
0
0
Bits 7-5: Reserved
Bit 4:
Bit 3:
Bit 2:
Bit 1:
Bit 0:
RX_C2_D_MASK: RX_C2 delta bit mask.
RX_G1_D_MASK: RX_G1 delta bit mask.
RX_UNEQ_D_MASK: RX_UNEQ delta bit mask.
RX_PLM_D_MASK: RX_PLM delta bit mask.
Reserved
These bits are used to enable/disable status reporting of the corresponding event bits. If set, the status
reporting of the corresponding event bits is disabled.
74
Download from Www.Somanuals.com. All Manuals Search And Download.
ADDR=0x133: Receive J1 OOF
Bit 7
Bit 6
Bit 5
Bit 4
Bit 3
Bit 2
Bit 1
Bit 0
Bit name Reserved
Reserved
Reserved
Reserved
Reserved
Reserved
Reserved
J1_OOF
R/W
—
—
—
—
—
—
—
R
1
Value
after
reset
0
0
0
0
0
0
0
Bits 7-1: Reserved
Bit 0:
J 1_OOF: The J1 monitor framer searches for 15 consecutive J1 bytes that have a zero in their
MSB, followed by a J1 byte with a one in its MSB. When J1_OOF = 0, it indicates this pattern is
found, the framer goes into frame. When J1_OOF = 1, it indicates this pattern match is lost (three
consecutive J1 bytes with MSB errors).
ADDR=0x134 –0x173: Receive J1 Bytes
Bit 7
Bit 6
Bit 5
Bit 4
Bit 3
Bit 2
Bit 1
Bit 0
Bit name RX_J1[0]_[7:0]
•
•
•
RX_J1[63]_[7:0]
R/W
R
0
Value
after
reset
0
0
0
0
0
0
0
Bits 7-0: RX_J 1[0:63]_[7:0]
In SONET mode, the RX_J1[63:0]_[7:0] registers hold the last captured path trace frame.
In SDH mode, the last accepted path trace frame is held in the RX_J1[15:0]_[7:0].
75
Download from Www.Somanuals.com. All Manuals Search And Download.
ADDR=0x174: Receive Path Delta
Bit 7
Bit 6
Bit 5
Bit 4
Bit 3
Bit 2
Bit 1
Bit 0
Bit name Reserved
Reserved Reserved RX_C2_D
RX_G1_D RX_UNEQ_
D
RX_PLM_D Reserved
R/W
—
—
—
W1C
0
W1C
0
W1C
0
W1C
0
—
—
Value
after
reset
0
0
0
Bits 7-5: Reserved
Bit 4:
Bit 3:
Bit 2:
Bit 1:
Bit 0:
RX_C2_D: RX_C2 delta bit. It is set when a new value is stored in RX_G1 [2:0].
RX_G1_D: RX_G1 delta bit. It is set when RX_UNEQ changes state.
RX_UNEQ_D: RX_UNEQ delta bit. It is set when RX_PLM changes state.
RX_PLM_D: RX_PLM delta bit. It is set when a new value is stored in RX_C2 [7:0]
Reserved
Write one to these bits to clear them.
ADDR=0x176: Expected C2 Byte
Bit 7
Bit 6
Bit 5
Bit 4
Bit 3
Bit 2
Bit 1
Bit 0
Bit name EXP_C2 [7:0]
R/W
R/W
0
Value
after
reset
0
0
1
1
0
0
0
Bits 7-0: EXP_C2 [7:0]
The received C2 bytes are monitored so that reception of the correct type of payload can be verified. When
a consistent C2 value is received for five consecutive frames, it is written to RX_C2 [7:0], and the RX_C2_D
delta bit is set. The expected value of the received C2 bytes is provided in EXP_C2 [7:0]. Its value after
reset is 0x18 which indicates the mapping of a LAPS framed signal. If the received value does not match the
expected value, and it is NOT:
• all zeros unequipped label
• 0x01 equipped, non-specific label
• 0xFC payload defect label
• 0xFF reserved label
then the Payload Label Mismatch register bit, RX_PLM, is set to one.
If the current accepted value is the all zeros unequipped label, and EXP_C2[7:0] ≠ 0, then the
unequipped register bit, RX_UNEQ, is set to one.
76
Download from Www.Somanuals.com. All Manuals Search And Download.
ADDR=0x178: Receive UNEQ Monitor
Bit 7
Bit 6
Bit 5
Bit 4
Bit 3
Bit 2
Bit 1
Bit 0
Bit name Reserved
Reserved
RX_G1[2:0]
RX_UNEQ RX_PLM
Reserved
R/W
—
—
R
0
R
0
R
0
—
Value
after
reset
0
0
0
Bits 7-6: Reserved
Bits 5-3: RX_G1[2:0]: When a consistent G1 monitor is received, bits 5,6, and 7 of G1 are written to
RX_G1[2:0].
Bit 2:
Bit 1:
Bit 0:
RX_UNEQ: It contributes to the insertion of Path RDI.
RX_PLM: It contributes to the insertion of Path RDI.
Reserved
ADDR=0x179: Receive C2 Byte
Bit 7
Bit 6
Bit 5
Bit 4
Bit 3
Bit 2
Bit 1
Bit 0
Bit name EXP_C2 [7:0]
R/W
R/W
0
Value
after
reset
0
0
1
1
0
0
0
Bits 7-0: RX_C2 [7:0]: When a consistent G1 monitor is received, bits 5,6, and 7 of G1 are written to
When a consistent C2 value is received for five consecutive frames, the accepted value is written to
RX_C2[7:0]
ADDR=0x17B: B3 Error Count
Bit 7
Bit 6
Bit 5
Bit 4
Bit 3
Bit 2
Bit 1
Bit 0
Bit name B3_ERRCNT[7:0]
R/W
R
Value
after
reset
0x00
Bits 7-0: B3_ERRCNT [7:0]
77
Download from Www.Somanuals.com. All Manuals Search And Download.
ADDR=0x17C: B3 Error Count
Bit 7
Bit 6
Bit 5
Bit 4
Bit 3
Bit 2
Bit 1
Bit 0
Bit name B3_ERRCNT[15:8]
R/W
R
Value
after
reset
0x00
Bits 7-0: B3_ERRCNT [15:8]: A 16-bit counter that counts every BIP-8 (B3) error.
ADDR=0x17E: G1 Error Count
Bit 7
Bit 6
Bit 5
Bit 4
Bit 3
Bit 2
Bit 1
Bit 0
Bit name G1_ERRCNT[7:0]
R/W
R
Value
after
reset
0x00
Bits 7-0: G1_ERRCNT [7:0]: The lower byte of the G1 error counter.
ADDR=0x17F: G1 Error Count
Bit 7
Bit 6
Bit 5
Bit 4
Bit 3
Bit 2
Bit 1
Bit 0
Bit name G1_ERRCNT[15:8]
R/W
R
Value
after
reset
0x00
Bits 7-0: G1_ERRCNT [15:8]: The upper byte of the G1 error counter.
78
Download from Www.Somanuals.com. All Manuals Search And Download.
5.5 Ethernet Transmit Registers
ADDR = 0x180: GFP/LAPS control
Bit 7
Bit 6
Bit 5
Bit 4
Bit 3
Bit 2
Bit 1
Bit 0
Bit name Reserved
Reserved Reserved Reserved
Reserved
TX_SCR_
INH
TX_FCS_
CORR
TX_FCS_
INH
R/W
—
—
—
—
—
R/W
0
R/W
0
R/W
0
Value
after
reset
0
0
0
0
0
Bits 7-3: Reserved
43
Bit 2:
TX_SCR_INH is set to inhibit the Ethernet TX scrambling (X + 1). GFP DC
balancing of the core header is still performed.
Bit 1:
Bit 0:
TX_FCS_CORR is set to force corrupted FCS fields to be sent.
TX_FCS_INH is set to inhibit the TX FCS (32-bit CRC) field from being transmitted.
ADDR = 0x181: Transmit ADR/DPSP Byte
Bit 7
Bit 6
Bit 5
Bit 4
Bit 3
Bit 2
Bit 1
Bit 0
Bit name TX_ADR_DPSP[7:0]
R/W
R/W
0x04
Value
after
reset
Bits 7-0: TX_ADR_DPSP[7:0] specifies the Address byte for LAPS mode and the {DP, SP} Byte for GFP
mode. This byte will be sent out in the encapsulated LAPS or GFP frame from the Ethernet side to
the SONET/SDH side if the TX_ADR_INH or TX_EXT_HDR_INH bit is not set, respectively. The
default value is 0x04 for LAPS, since LAPS is the default mode. For GFP mode, this
register must be programmed.
79
Download from Www.Somanuals.com. All Manuals Search And Download.
ADDR = 0x182: Transmit Control/Type_L Byte
Bit 7
Bit 6
Bit 5
Bit 4
Bit 3
Bit 2
Bit 1
Bit 0
Bit name TX_CNT_TYPE_L[7:0]
R/W
R/W
0x03
Value
after
reset
Bits 7-0: TX_CNT_TYPE_L[7:0] specifies the Control Byte for LAPS mode and the LSB of the TYPE field
for GFP mode, which is the Payload Identifier. This byte will be sent out in the encapsulated
LAPS/GFP frame from the Ethernet side to the SONET/SDH side if the TX_CNT_INH or the
TX_TYPE_INH bit is not set, respectively. The default value is assigned to 0x03 for LAPS since
LAPS is the default mode. For GFP mode, this register must be programmed to 0x01 for Ethernet.
ADDR = 0x183: Transmit Rate Adaptation/Type_H Byte
Bit 7
Bit 6
Bit 5
Bit 4
Bit 3
Bit 2
Bit 1
Bit 0
Bit name TX_RA_TYPE_H[7:0]
R/W
R/W
Value
after
reset
0xDD
Bits 7-0: TX_RA_TYPE_H[7:0] specifies the Rate Adaptation Byte for LAPS mode and the MSB of the
TYPE field for GFP mode, which consists of the Extension Header Identification, Payload FCS
Indicator and Payload Type Identifier. In LAPS mode, this byte is inserted into the TX Payload
Data sent from the Ethernet side to the SONET/SDH side if the TX_RA_INH bit is not set and
an underrun occurs in the TX FIFO. Rate Adaptation is used to accommodate the rate
difference between the faster SONET/SDH clock and the slower MII clock. In GFP mode, this byte
is inserted into the Type Header sent from the Ethernet side to the SONET/SDH side if the
TX_TYPE_INH bit is not set, and should be set to 0x10 for Null Headers with FCS.
80
Download from Www.Somanuals.com. All Manuals Search And Download.
ADDR = 0x184: Transmit FIFO Threshold[7:0] (LSB)
Bit 7
Bit 6
Bit 5
Bit 4
Bit 3
Bit 2
Bit 1
Bit 0
Bit name TX_FIFO_THRESHOLD[7:0] (LSB)
R/W
R/W
0x88
Value
after
reset
TX_FIFO_THRESHOLD[7:0] specifies the LSB of the TX FIFO Threshold which is used by the
INFO FIELD TX FIFO Controller to determine when it starts to read the data from the TX FIFO.
For frames of which the size is greater than the programmed TX_FIFO_THRESHOLD, the INFO
FIELD TX FIFO Controller begins to read data out of the TX FIFO when the number of bytes of the
portion of the transmitting frame that has been stored into the TX FIFO is equal to or greater than
the programmed TX_FIFO_THRESHOLD. The default value is set to 648 bytes (0x0288). When
Rate Adaptation is used, the threshold value can be lowered.
This register is only used in LAPS mode. In GFP mode transmission starts only when a complete frame is
in the FIFO.
ADDR = 0x185: Transmit FIFO Threshold[10:8] (MSB)
Bit 7
Bit 6
Bit 5
Bit 4
Bit 3
Bit 2
Bit 1
Bit 0
Bit name Reserved
Reserved Reserved Reserved
Reserved
TX_FIFO_THRESHOLD[10:8]
(MSB)
R/W
—
—
—
—
—
R/W
0x02
Value
after
reset
0
0
0
0
0
MSBs of the register above.
81
Download from Www.Somanuals.com. All Manuals Search And Download.
ADDR = 0x186: Transmit LAPS mode
Bit 7
Bit 6
Bit 5
Bit 4
Bit 3
Bit 2
Bit 1
Bit 0
Bit name Reserved
Reserved Reserved TX_ADR_
TX_CNT_
INH
TX_SAPI_ TX_ABORT
TX_RA_
INH
INH
INH
R/W
0
_INH
R/W
0
R/W
—
—
—
R/W
0
R/W
0
R/W
0
Value
after
reset
0
0
0
Bits 7-5: Reserved
Bit 4:
Bit 3:
Bit 2:
Bit 1:
Bit 0:
TX_ADR_INH is set to inhibit the insertion of the programmed address byte into the LAPS frame
for test purposes. Instead, the byte is taken from the MII payload.
TX_CNT_INH is set to inhibit the insertion of the programmed control byte into the LAPS frame
for test purposes. Instead, the byte is taken from the MII payload.
TX_SAPI_INH is set to inhibit the insertion of the two programmed SAPI bytes into the LAPS
frame for test purposes. Instead, the bytes are taken from the MII payload.
TX_ABORT_INH is set to inhibit the generation of abort sequence in case an error condition
occurs during Ethernet TX processing.
TX_RA_INH is set to inhibit the generation of the rate adaptation sequence when an underrun
occurs in the TX FIFO. If the abort sequence is also inhibited, the FCS is corrupted.
ADDR = 0x187: Transmit GFP Mode
Bit 7
Bit 6
Bit 5
Bit 4
Bit 3
Bit 2
Bit 1
Bit 0
Bit name Reserved
Reserved Reserved TX_CORE
TX_EXT_
HEC_
CORR
TX_EXT_
HDR_INH HEC_
CORR
TX_TYPE_
TX_TYPE_
HDR_INH
_HD_INH
R/W
—
—
—
R/W
0
R/W
0
R/W
0
R/W
0
R/W
0
Value
after
reset
0
0
0
Bits 7-5: Reserved
Bit 4:
TX_CORE_HD_INH inhibits the insertion of a core header in the payload for test purposes. Idle
packet core headers are always enabled. A state machine reset is required to make changes to
this bit effective. When active, the Type and Extended headers should also be inhibited.
Bit 3:
Bit 2:
TX_EXT_HEC_CORR corrupts the extended header HEC.
TX_EXT_HDR_INH is set to inhibit the generation of the GFP Frame Payload Extended Header,
which includes the {DP,SP} byte, Spare byte, and LSB and MSB bytes of eHEC. This bit is set to
create a GFP null header.
Bit 1:
Bit 0:
TX_TYPE_HEC_CORR corrupts the type header HEC.
TX_TYPE_HDR_INH is set to inhibit the insertion of the programmed Type Header and tHEC
bytes for test purposes. Instead, the four bytes are taken from the MII payload.
82
Download from Www.Somanuals.com. All Manuals Search And Download.
ADDR = 0x188: Transmit SAPI LSB / Spare Byte
Bit 7
Bit 6
Bit 5
Bit 4
Bit 3
Bit 2
Bit 1
Bit 0
Bit name TX_SAPI_L_SPARE[7:0]
R/W
R/W
0x01
Value
after
reset
Bits 7-0: TX_SAPI_L_SPARE[7:0] is the LSB of the SAPI field in LAPS mode and the spare field byte in
GFP frame. In LAPS mode it is sent as part of the header unless the TX_SAPI_INH bit is set. In
GFP mode it is part of the extended header and is sent if TX_EXT_HDR_INH is not set.
ADDR = 0x189: Transmit SAPI MSB
Bit 7
Bit 6
Bit 5
Bit 4
Bit 3
Bit 2
Bit 1
Bit 0
Bit name TX_SAPI_H[7:0]
R/W
R/W
0xFE
Value
after
reset
Bits 7-0: TX_SAPI_H[7:0] is the MSB of the SAPI field in the LAPS header. It is inhibited by the
TX_SAPI_INH bit.
83
Download from Www.Somanuals.com. All Manuals Search And Download.
ADDR = 0x18C-F: Transmit MII Frames Received OK Counter
ADDR
0x18C
0x18D
0x18E
0x18F
Bit 7
Bit 6
Bit 5
Bit 4
Bit 3
Bit 2
Bit 1
Bit 0
Bit name
TX_MII_FRAMES_REC_OK [7:0]
TX_MII_FRAMES_REC_OK [15:8]
TX_MII_FRAMES_REC_OK [23:16]
Fixed 0
R/W
RO
0
Value
after
reset
TX_MII_FRAMES_REC_OK[23:0] is the Transmit MII Frames Received OK counter. It is non-resetable
except that a hard or soft reset will clear it. After reaching its max value the counter starts over from zero
again.
This counter is incremented for each frame that was properly byte aligned, did not cause a FIFO error and
was received with the TX_ER inactive. That is, the INFO FIELD TX FIFO Controller checks for EBF and
no FIFO Underrun/Overflow error at the end of a frame to increment this counter.
ADDR = 0x190-0x193: Transmit MII Alignment Error Counter
ADDR
0x190
0x191
0x192
0x193
Bit 7
Bit 6
Bit 5
Bit 4
Bit 3
Bit 2
Bit 1
Bit 0
Bit name
TX_MII_ALIGN_ERR [7:0]
TX_MII_ALIGN_ERR [15:8]
TX_MII_ALIGN_ERR [23:16]
Fixed 0
R/W
RO
0
Value
after
reset
TX_MII_ALIGN_ERR[23:0] is the Transmit MII Alignment Error counter. It is non-resetable except that a
hard or soft reset will clear it. After reaching its max value the counter starts over from zero again.
This counter is incremented by frames that contain an odd number of nibbles and do not cause a FIFO error
or a TX_ER error.
84
Download from Www.Somanuals.com. All Manuals Search And Download.
ADDR = 0x194-0x197: TX_ER Error Counter
ADDR
0x194
0x195
0x196
0x197
Bit 7
Bit 6
Bit 5
Bit 4
Bit 3
Bit 2
Bit 1
Bit 0
Bit name
TX_ER_ERR [7:0]
TX_ER_ERR [15:8]
TX_ER_ERR [23:16]
Fixed 0
R/W
RO
0
Value
after
reset
TX_ER_ERR is the TX_ER Error counter. It is non-resetable except that a hard or soft reset will clear it.
After reaching its max value the counter starts over from zero again.
This counter is incremented by frames where TX_ER was detected active while the frame was being
received but did not cause a FIFO error.
ADDR = 0x198-0x19B: TX FIFO Overflow Error
ADDR
0x198
0x199
0x19A
0x19B
Bit 7
Bit 6
Bit 5
Bit 4
Bit 3
Bit 2
Bit 1
Bit 0
Bit name
TX_FIFO_OF_ERR [7:0]
TX_FIFO_OF_ERR [15:8]
Fixed 0
Fixed 0
RO
R/W
Value
after
reset
0
TX_FIFO_OF_ERR is the TX_FIFO Overflow Error counter. It is non-resetable except that a hard or soft
reset will clear it. After reaching its max value the counter starts over from zero again.
This counter is incremented each time there is a FIFO overflow and hence a frame is discarded.
85
Download from Www.Somanuals.com. All Manuals Search And Download.
ADDR = 0x19C-F: TX FIFO Underrun Error
ADDR
0x19C
0x19D
0x19E
0x19F
Bit 7
Bit 6
Bit 5
Bit 4
Bit 3
Bit 2
Bit 1
Bit 0
Bit name
TX_FIFO_UR_ERR [7:0]
TX_FIFO_UR_ERR [15:8]
Fixed 0
Fixed 0
RO
R/W
Value
after
reset
0
TX_FIFO_UR_ERR is the TX_FIFO Underrun Error counter. It is non-resetable except that a hard or soft
reset will clear it. After reaching its max value the counter starts over from zero again.
This counter is incremented each time there is a FIFO underrun and hence a frame is discarded.
ADDR = 0x1A0: Ethernet Transmit Interrupt Event
Bit 7
Bit 6
Bit 5
Bit 4
Bit 3
Bit 2
Bit 1
Bit 0
Bit name Reserved
Reserved Reserved Reserved
NEW_TX_ NEW_TX_ NEW_TX_
NEW_TX_
MII_ALIGN
_ERR
FIFO_UR_ FIFO_OF_
ER_ERR
ERR
ERR
R/W
—
—
—
—
R/W
R/W
R/W
R/W
W1C
W1C
W1C
W1C
Value
after
reset
0
0
0
0
0
0
0
0
Bits 7-4: Reserved
Bit 3:
Bit 2:
NEW_TX_FIFO_UR_ERR is set whenever a new TX FIFO Underrun Error occurs and is cleared
when a 1 is written to this bit. For more information, refer to the register definition of TX FIFO
Underrun Error counter.
NEW_TX_FIFO_OF_ERR is set whenever a new TX FIFO Overflow Error occurs and cleared
when a 1 is written to this bit. For more information, refer to the register definition of TX FIFO
Overflow Error counter.
Bit 1:
Bit 0:
NEW_TX_ER_ERR is set whenever a new TX_ER Error occurs and cleared when a 1 is written
to this bit. For more information, refer to the register definition of TX_ER Error counter.
NEW_TX_MII_ALIGN_ERR is set whenever a new TX MII Alignment Error occurs and cleared
when a 1 is written to this bit. For more information, refer to the register definition of TX MII
Alignment Error counter.
86
Download from Www.Somanuals.com. All Manuals Search And Download.
ADDR = 0x1A1: Ethernet Transmit Interrupt Mask
Bit 7
Bit 6
Bit 5
Bit 4
Bit 3
Bit 2
Bit 1
Bit 0
Bit name Reserved
Reserved Reserved Reserved
NEW_TX_ NEW_TX_ NEW_TX_
NEW_TX_
MII_ALIGN
_MASK
FIFO_UR_ FIFO_OF_
ER_MASK
MASK
R/W
1
MASK
R/W
1
R/W
—
—
—
—
R/W
1
R/W
1
Value
after
reset
0
0
0
0
Bits 7-4: Reserved
Bit 3:
Bit 2:
Bit 1:
Bit 0:
NEW_TX_FIFO_UR_MASK is set to suppress the new TX FIFO Underrun Error from setting the
EoS_D_SUM Summary Interrupt bit. This interrupt mask bit does not affect the corresponding
interrupt event bit.
NEW_TX_FIFO_OF_MASK is set to suppress the new TX FIFO Overflow Error from setting the
EoS_D_SUM Summary Interrupt bit. This interrupt mask bit does not affect the corresponding
interrupt event bit.
NEW_TX_ER_MASK is set to suppress the new TX_ER Error from setting the EoS_D_SUM
Summary Interrupt bit. This interrupt mask bit does not affect the corresponding interrupt event
bit.
NEW_TX_MII_ALIGN_MASK is set to suppress the new TX MII Alignment Error from setting
the EoS_D_SUM Summary Interrupt bit. This interrupt mask bit does not affect the corresponding
interrupt event bit.
87
Download from Www.Somanuals.com. All Manuals Search And Download.
5.6 Ethernet Receive Registers
ADDR = 0x1C0: GFP/LAPS Mode
Bit 7
Bit 6
Bit 5
Bit 4
Bit 3
Bit 2
Bit 1
Bit 0
Bit name Reserved
Reserved Reserved Reserved
Reserved
RX_DES_
INH
RX_FCS_
INH
RX_FCS_
REM_INH
R/W
—
—
—
—
—
R/W
0
R/W
0
R/W
0
Value
after
reset
0
0
0
0
0
Bits 7-3: Reserved
43
Bit 2:
RX_DES_INH is set to inhibit the descrambling (X +1) of the RX Payload Data sent from the
SPE/VC Extractor in the SONET/SDH portion. Removal of the GFP core header DC balancing is
still performed.
Bit 1:
Bit 0:
RX_FCS_INH is set to inhibit the checking of the LAPS/GFP 32-bit FCS field. In GFP mode, the
optional FCS is assumed to be present but the checking of this field is inhibited.
RX_FCS_REM_INH is set to inhibit the 32-bit FCS field removal. When set, the FCS field is not
removed and so is passed on to the RX FIFO. In GFP mode, this bit should be set when the
optional FCS field is not appended to the end of the frame.
ADDR = 0x1C2: RX-FIFO Transmit Threshold
Bit 7
Bit 6
Bit 5
Bit 4
Bit 3
Bit 2
Bit 1
Bit 0
Bit name RX_FIFO_THRESHOLD[7:0]
R/W
R/W
Value
after
reset
0xA4
Bits 7-0: RX_FIFO_THRESHOLD[7:0] is the LSB of the RX-FIFO Transmit Threshold which is used by
the INFO FIELD RX FIFO Controller to determine when it starts to read the data from the RX
FIFO. For frames whose size is greater than the programmed RX_FIFO_THRESHOLD, the
INFO FIELD RX FIFO Controller begins to read data out of the RX FIFO when the number of bytes
of the portion of the receiving frame that has been stored into the RX FIFO is equal to or greater
than the programmed RX_FIFO_THRESHOLD. The default value is 420 bytes (0x01A4).
In LAPS mode, for jumbo frame support, increase this value to 1150 (0x47E). In GFP mode, set
this value to 20 (0x14).
88
Download from Www.Somanuals.com. All Manuals Search And Download.
ADDR = 0x1C3: RX FIFO Transmit Threshold[10:8]
Bit 7
Bit 6
Bit 5
Bit 4
Bit 3
Bit 2
Bit 1
Bit 0
Bit name Reserved
Reserved
Reserved
Reserved
Reserved
RX_FIFO_THRESHOLD[10:8]
R/W
—
—
—
—
—
R/W
0x1
Value
after
reset
0
0
0
0
0
Bits 7-3: Reserved
Bits 2-0: RX_FIFO_THRESHOLD[10:8] are the three MSBs of the previous register.
ADDR = 0x1C4: High Inter-Frame-Gap Water Mark
Bit 7
Bit 6
Bit 5
Bit 4
Bit 3
Bit 2
Bit 1
Bit 0
Bit name HI_IFG_WATER_MARK[7:0]
R/W
R/W
0x00
Value
after
reset
Bits 7-0: HI_IFG_WATER_MARK[7:0] is the LSB of the High Inter-Frame-Gap Water Mark which is
used by the INFO FIELD RX FIFO Controller to determine when to change the IFG Selection Mode
(IFG_SEL) for the MII RX interface from Normal-IFG to Low-IFG. The IFG Selection Mode is used
to control the minimum number of MII clock cycles between consecutive MAC frames sent out on
the MII RX bus from the HDMP-3001 chip. When the number of bytes in the RX FIFO becomes
greater than or equal to the High Inter-Frame-Gap Water Mark, the IFG_SEL is set to one for Low-
IFG. When the number of bytes in the RX FIFO becomes less than or equal to the Low Inter-
Frame-Gap Water Mark, the IFG_SEL is set to zero for Normal-IFG. At power-up, the IFG_SEL
defaults to zero for Normal-IFG selection. This value remains zero until the number of bytes in the
RX FIFO becomes greater than or equal to the programmable High Inter-Frame-Gap Water Mark.
The IFG selection process continues as described above. The default value of
HI_IFG_WATER_MARK is 1536 bytes (0x0600).
89
Download from Www.Somanuals.com. All Manuals Search And Download.
ADDR = 0x1C5: High Inter-Frame-Gap Water Mark
Bit 7
Bit 6
Bit 5
Bit 4
Bit 3
Bit 2
Bit 1
Bit 0
Bit name Reserved
Reserved
Reserved
Reserved
Reserved
HI_IFG_WATER_MARK[10:8]
R/W
—
—
—
—
—
R/W
0x6
Value
after
reset
0
0
0
0
0
Bits 7-3: Reserved
Bits 2-0: HI_IFG_WATER_MARK[10:8] are the three MSBs of the previous register.
ADDR = 0x1C6: Low Inter-Frame-Gap Water Mark
Bit 7
Bit 6
Bit 5
Bit 4
Bit 3
Bit 2
Bit 1
Bit 0
Bit name LO_IFG_WATER_MARK[7:0]
R/W
R/W
0x00
Value
after
reset
Bits 7-0: LO_IFG_WATER_MARK[7:0] is the LSB of the Low Inter-Frame-Gap Water Mark which is
used by the INFO FIELD RX FIFO Controller to determine when to change the IFG Selection Mode
(IFG_SEL) for the MII RX interface from Low-IFG to Normal-IFG. The IFG Selection Mode is used
to control the minimum number of MII clock cycles between consecutive MAC frames sent out on
the MII RX bus from the HDMP-3001 chip. When the number of bytes in the RX FIFO becomes
greater than or equal to the High Inter-Frame-Gap Water Mark, the IFG_SEL is set to one for Low-
IFG. When the number of bytes in the RX FIFO becomes less than or equal to the Low Inter-
Frame-Gap Water Mark, the IFG_SEL is set to zero for Normal-IFG. At power-up, the IFG_SEL
defaults to zero for Normal-IFG selection. This value remains zero until the number of bytes in the
RX FIFO becomes greater than or equal to the programmable High Inter-Frame-Gap Water Mark.
The IFG selection process continues as described above. The default value of
LO_IFG_WATER_MARK is 512 bytes (0x0200).
90
Download from Www.Somanuals.com. All Manuals Search And Download.
ADDR = 0x1C7: Low Inter-Frame-Gap Water Mark
Bit 7
Bit 6
Bit 5
Bit 4
Bit 3
Bit 2
Bit 1
Bit 0
Bit name Reserved
Reserved
Reserved
Reserved
Reserved
LO_IFG_WATER_MARK[10:8]
R/W
—
—
—
—
—
R/W
0x2
Value
after
reset
0
0
0
0
0
Bits 7-3: Reserved
Bits 2-0: LO_IFG_WATER_MARK[10:8] are the three MSBs of the previous register.
ADDR = 0x1C8: Normal Inter-Frame-Gap
Bit 7
Bit 6
Bit 5
Bit 4
Bit 3
Bit 2
Bit 1
Bit 0
Bit name Reserved
Reserved
Reserved
Reserved
NORMAL_IFG[4:0]
R/W
—
—
—
—
R/W
Value
after
reset
0
0
0
0
0x0C
Bits 7-5: Reserved
Bits 4-0: NORMAL_IFG[4:0] specifies the Normal Inter-Frame-Gap which is used by the MII RX interface
to insert the minimum number of idle cycles between two MAC frames sent out onto the MII RX
bus. This value is used when the INFO FIELD RX FIFO Controller sets the IFG Selection Mode
(IFG_SEL) to Normal-IFG and sends it to MII RX interface. When the number of bytes in the RX
FIFO becomes less than or equal to the Low Inter-Frame-Gap Water Mark, IFG_SEL is set to zero
for Normal-IFG. At power-up, IFG_SEL is set to zero for Normal-IFG selection. This value remains
zero until the number of bytes in the RX FIFO becomes greater than or equal to the programmable
High Inter-Frame-Gap Water Mark.
91
Download from Www.Somanuals.com. All Manuals Search And Download.
ADDR = 0x1C9: Low Inter-Frame-Gap
Bit 7
Bit 6
Bit 5
Bit 4
Bit 3
Bit 2
Bit 1
Bit 0
Bit name Reserved
Reserved
Reserved
LOW_IFG[4:0]
R/W
R/W
—
—
—
Value
after
reset
0
0
0
0x0A
Bits 7-5: Reserved
Bits 4-0: LOW_IFG[4:0] specifies the Low Inter-Frame-Gap which is used by the MII RX interface to insert
the minimum number of idle cycles between two MAC frames sent out onto the MII RX bus. This
value is used when the INFO FIELD RX FIFO Controller sets the IFG Selection Mode (IFG_SEL)
to Low- IFG and sends it to MII RX interface. When the number of bytes in the RX FIFO becomes
greater than or equal to the High Inter-Frame-Gap Water Mark, IFG_SEL is set to one for Low-IFG.
When the number of bytes in the RX FIFO becomes less than or equal to the Low Inter-Frame-Gap
Water Mark, IFG_SEL is set to zero for Normal-IFG. At power-up, IFG_SEL defaults to zero for
Normal-IFG selection. This value remains zero until the number of bytes in the RX FIFO becomes
greater than or equal to the programmable High Inter-Frame-Gap Water Mark.
ADDR = 0x1CA: Receive ADR/TYPE_L
Bit 7
Bit 6
Bit 5
Bit 4
Bit 3
Bit 2
Bit 1
Bit 0
Bit name RX_ADR_TYPE_L [7:0]
R/W
R/W
0x04
Value
after
reset
Bits 7-0: RX_ADR_TYPE_L [7:0] specifies the expected address when in LAPS mode or the expected
LSB of the Type field when in GFP mode, which consists of the Payload Identifier. The LAPS or
GFP RX Processor compares the received SAPI/TYPE to this value when the
RX_SAPI_CHECK_INH or RX_TYPE_CHECK_INH is not set, respectively. If the comparison fails,
the frame is discarded. The default value is assigned to 0x04 for LAPS since LAPS is the default
mode. For GFP mode, this register should be programmed to 0x01 for Ethernet payload.
92
Download from Www.Somanuals.com. All Manuals Search And Download.
ADDR = 0x1CB: Receive Control/TYPE_H
Bit 7
Bit 6
Bit 5
Bit 4
Bit 3
Bit 2
Bit 1
Bit 0
Bit name RX_CNT_TYPE_H [7:0]
R/W
R/W
0x03
Value
after
reset
Bits 7-0: RX_CNT_TYPE_H [7:0] specifies the expected Control when in LAPS mode or the expected
MSB of the Type field when in GFP mode, which consists of the Extension Header Identification,
Payload FCS Indicator and Payload Type Identifier. In LAPS mode, the LAPS RX Processor
compares the received Control to this value when RX_CNT_CHECK_INH is not set. In GFP
mode, the GFP RX Processor compares the received Type field to this value when
RX_TYPE_CHECK_INH is not set. The default value is assigned to 0x03 for LAPS since LAPS is
the default mode. For GFP mode, this register must be programmed to 0x10 for Null Headers with
FCS.
ADDR = 0x1CC: Receive Rate Adaptation/DPSP
Bit 7
Bit 6
Bit 5
Bit 4
Bit 3
Bit 2
Bit 1
Bit 0
Bit name RX_RA_DPSP [7:0]
R/W
R/W
Value
after
reset
0xDD
Bits 7-0: RX_RA_DPSP[7:0] specifies the expected Rate Adaptation byte when in LAPS mode or the
expected {DP, SP} byte when in GFP mode. In LAPS mode, if the rate adaptation sequence is
received {0x7D, RA} it is removed. In GFP mode, if the received byte matches RX_RA_DPSP and
RX_DP_CHECK_INH and RX_SP_CHECK_INH are not set, the received byte is removed. The
default value is assigned to 0xDD for LAPS since LAPS is the default mode. For GFP mode, this
register must be programmed.
93
Download from Www.Somanuals.com. All Manuals Search And Download.
ADDR = 0x1CD: LAPS Mode
Bit 7
Bit 6
Bit 5
Bit 4
Bit 3
Bit 2
Bit 1
Bit 0
Bit name Reserved
Reserved RX_ADR_ RX_CNT_
RX_SAPI_ RX_ADR_ RX_CNT_
RX_SAPI_
CHECK_
INH
REM_INH REM_INH
REM_INH CHECK_
INH
CHECK_
INH
R/W
—
—
R/W
0
R/W
0
R/W
0
R/W
0
R/W
0
R/W
0
Value
after
reset
0
0
Bits 7-6: Reserved
Bit 5:
Bit 4:
Bit 3:
RX_ADR_REM_INH is set to inhibit the removal of the received Address field. When set, the
Address field is prepended to the MAC Payload. When cleared, the Address field is not forwarded
through the MII interface.
RX_CNT_REM_INH is set to inhibit the removal of the received Control field. When set, the
Control field is prepended to the MAC Payload. When cleared, the Control field is not forwarded
through the MII interface.
RX_SAPI_REM_INH is set to inhibit the removal of the received SAPI field. When set, the SAPI
field is prepended to the MAC Payload. When cleared, the SAPI field is not forwarded through the
MII interface.
Bit 2:
Bit 1:
Bit 0:
RX_ADR_CHECK_INH is set to inhibit the checking of the received Address field.
RX_CNT_CHECK_INH is set to inhibit the checking of the received Control field.
RX_SAPI_CHECK_INH is set to inhibit the checking of the received SAPI field.
94
Download from Www.Somanuals.com. All Manuals Search And Download.
ADDR = 0x1CE: GFP Mode
Bit 7 Bit 6
Bit name RX_EXT_ RX_TYPE_ RX_EHEC RX_THEC RX_TYPE
Bit 5
Bit 4
Bit 3
Bit 2
Bit 1
Bit 0
RX_SPARE
_CHECK
_INH
RX_DP_
CHECK_
INH
RX_SP_
CHECK_
INH
HDR_REM HDR_REM _CHECK_ _CHECK_ CHECK_
_INH
R/W
0
_INH
R/W
0
INH
R/W
0
INH
R/W
0
INH
R/W
0
R/W
R/W
0
R/W
0
R/W
0
Value
reset
Bit 7:
Bit 6:
RX_EXT_HDR_REM_INH is set for GFP null headers. When set, the GFP Payload begins right
after the tHEC field. When cleared, the four bytes after the tHEC are the Linear Extended Header.
RX_TYPE_HDR_REM_INH is set to inhibit the removal of the received Type Header for test
purposes. When set, this field is prepended to the MAC Payload. When cleared, this field is not
forwarded through the MII interface.
Bits 5:
Bits 4:
Bits 3:
Bits 2:
Bits 1:
Bits 0:
RX_EHEC_CHECK_INH is set to inhibit the checking of the received eHEC field.
RX_THEC_CHECK_INH is set to inhibit the checking of the received tHEC field.
RX_TYPE_CHECK_INH is set to inhibit the checking of the received Type field.
RX_SPARE_CHECK_INH is set to inhibit the checking of the received Spare field.
RX_DP_CHECK_INH is set to inhibit the checking of the received DP field.
RX_SP_CHECK_INH is set to inhibit the checking of the received SP field.
ADDR = 0x1CF: Receive Spare Field Byte
Bit 7
Bit 6
Bit 5
Bit 4
Bit 3
Bit 2
Bit 1
Bit 0
Bit name RX_SPARE[7:0]
R/W
R/W
0x00
Value
after
reset
Bits 7-0: RX_SPARE[7:0] specifies the expected Spare Field when in GFP mode. If
RX_SPARE_CHECK_INH is not set, frames with a non-matching Spare Field are discarded and the
Form/Dest Error counter is incremented.
95
Download from Www.Somanuals.com. All Manuals Search And Download.
ADDR = 0x1D0: Receive Pre-Sync States
Bit 7
Bit 6
Bit 5
Bit 4
Bit 3
Bit 2
Bit 1
Bit 0
Bit name Reserved
Reserved
Reserved
Reserved
RX_PRESYNC[3:0]
R/W
—
—
—
—
R/W
0x1
Value
after
reset
0
0
0
0
Bits 7-4: Reserved
Bits3-0: RX_PRESYNC specifies the number of Pre-Sync states the GFP RX Processor performs before it
transits to the Sync state during the GFP frame delineation process, which finds GFP frames by
checking octet by octet for a correct cHEC for the sequence of the last four octets. Once a correct
cHEC is found, it is assumed that a GFP frame has been found, and the Pre-Sync state is entered.
In the Pre-Sync state, the GFP frame delineation process checks frame by frame for a correct
cHEC. The process repeats until RX_PRESYNC consecutive correct HECs are confirmed, at which
point the process moves to the Sync state. If an incorrect cHEC is found, the process returns to the
Hunt state. The RX_PRESYNC value is the same as the DELTA value specified in the T1X1 GFP
proposal.
ADDR = 0x1D1: Receive SAPI LSB
Bit 7
Bit 6
Bit 5
Bit 4
Bit 3
Bit 2
Bit 1
Bit 0
Bit name RX_SAPI_L[7:0]
R/W
R/W
0x01
Value
after
reset
Bits 7-0: RX_SAPI_L[7:0] specifies the expected LSB of the SAPI field when in GFP mode. If
RX_SAPI_CHECK_INH is not set, frames with a non-matching SAPI Field are discarded and the
Form/Dest Error counter is incremented.
ADDR = 0x1D2: Receive SAPI MSB
Bit 7
Bit 6
Bit 5
Bit 4
Bit 3
Bit 2
Bit 1
Bit 0
Bit name RX_SAPI_H[7:0]
R/W
R/W
0xFE
Value
after
reset
Bits 7-0: RX_SAPI_H[7:0] is the MSB of the field above.
96
Download from Www.Somanuals.com. All Manuals Search And Download.
ADDR = 0x1D4-7: Receive MII Frames Transmitted OK
ADDR
0x1D4
0x1D5
0x1D6
0x1D7
Bit 7
Bit 6
Bit 5
Bit 4
Bit 3
Bit 2
Bit 1
Bit 0
Bit name
RX_MII_FRAMES_XMIT_OK [7:0]
RX_MII_FRAMES_XMIT_OK [15:8]
RX_MII_FRAMES_XMIT_OK [23:16]
Fixed 0
R/W
RO
0
Value
after
reset
RX_MII_FRAMES_XMIT_OK is the RX MII Frames Transmitted OK counter. It is non-resetable except
that a hard or soft reset will clear it. After reaching its max value the counter starts over from zero again.
This counter is incremented by each complete frame that is transmitted on the MII interface without
RX_ER being asserted. That is, it is incremented by each frame that did not increment any one of the error
counters.
ADDR = 0x1D8-B: Receive FCS and HEC Error Counter
ADDR
0x1D8
0x1D9
0x1DA
0x1DB
Bit 7
Bit 6
Bit 5
Bit 4
Bit 3
Bit 2
Bit 1
Bit 0
Bit name
RX_FCS_HEC_ERR [7:0]
RX_FCS_HEC_ERR [15:8]
RX_FCS_HEC_ERR [23:16]
Fixed 0
R/W
RO
0
Value
after
reset
RX_FCS_HEC_ERR is the RX FCS and HEC Error counter. It is non-resetable except that a hard or soft
reset will clear it. After reaching its max value the counter starts over from zero again.
This counter is incremented by each frame that did not increment any of the RX_FIFO_UR_ERR,
RX_FIFO_OF_ERR, RX_MIN_ERR or RX_MAX_ERR counters, but was received with an FCS or HEC error
(and checking was enabled) or contained an unrecognized LAPS control flag.
97
Download from Www.Somanuals.com. All Manuals Search And Download.
ADDR = 0x1DC-F: Receive Format and Destination Error Counter
ADDR
0x1DC
0x1DD
0x1DE
0x1DF
Bit 7
Bit 6
Bit 5
Bit 4
Bit 3
Bit 2
Bit 1
Bit 0
Bit name
RX_ FORM_DEST_ERR [7:0]
RX_ FORM_DEST_ERR [15:8]
RX_ FORM_DEST_ERR [23:16]
Fixed 0
R/W
RO
0
Value
after
reset
RX_FORM_DEST_ERR is the RX Format and Destination Error counter. It is non-resetable except that a
hard or soft reset will clear it. After reaching its max value the counter starts over from zero again.
This counter is incremented by each frame that did not increment any of the RX_FCS_HEC_ERR ,
RX_FIFO_UR_ERR, RX_FIFO_OF_ERR, RX_MIN_ERR or RX_MAX_ERR counters, and
•
In GFP mode, an error is found in the Type, DP, SP or Spare fields and checking of the corresponding
field is enabled.
•
In LAPS mode, an error is found in the Address, Control or SAPI fields and checking of the
corresponding field is enabled.
ADDR = 0x1E0-E3: Receive Out of Sync Error Counter
ADDR
0x1E0
0x1E1
0x1E2
0x1E3
Bit 7
Bit 6
Bit 5
Bit 4
Bit 3
Bit 2
Bit 1
Bit 0
Bit name
RX_SYNC_ERR [7:0]
RX_SYNC_ERR [15:8]
Fixed 0
Fixed 0
RO
R/W
Value
after
reset
0
RX_SYNC_ERR is the RX Out of Sync Error counter. It is non-resetable except that a hard or soft reset will
clear it. After reaching its max value the counter starts over from zero again. This counter is only used in
GFP mode and is incremented each time the GFP synchronization state machine transitions from the Sync
state to the Hunt state.
98
Download from Www.Somanuals.com. All Manuals Search And Download.
ADDR = 0x1E4-E7: Receive FIFO Overflow Error
ADDR
0x1E4
0x1E5
0x1E6
0x1E7
Bit 7
Bit 6
Bit 5
Bit 4
Bit 3
Bit 2
Bit 1
Bit 0
Bit name
RX_FIFO_OF_ERR [7:0]
RX_FIFO_OF_ERR [15:8]
Fixed 0
Fixed 0
RO
R/W
Value
after
reset
0
RX_FIFO_OF_ERR is the RX FIFO Overflow Error counter. It is non-resetable except that a hard or soft
reset will clear it. After reaching its max value the counter starts over from zero again. This counter is
incremented each time there is a FIFO overflow and hence a frame is discarded.
ADDR = 0x1E8-EB: Receive FIFO Underrun Error
ADDR
0x1E8
0x1E9
0x1EA
0x1EB
Bit 7
Bit 6
Bit 5
Bit 4
Bit 3
Bit 2
Bit 1
Bit 0
Bit name
RX_FIFO_UR_ERR [7:0]
RX_FIFO_UR_ERR [15:8]
Fixed 0
Fixed 0
RO
R/W
Value
after
reset
0
RX_FIFO_UR_ERR is the RX FIFO Underrun Error counter. It is non-resetable except that a hard or soft
reset will clear it. After reaching its max value the counter starts over from zero again. This counter is
incremented each time there is a FIFO underrun and hence a frame is discarded.
99
Download from Www.Somanuals.com. All Manuals Search And Download.
ADDR = 0x1EC: Ethernet Receive Interrupt Event
Bit 7
Bit 6
Bit 5
Bit 4
Bit 3
Bit 2
Bit 1
Bit 0
Bit name Reserved
NEW_RX_ NEW_RX_ NEW_RX_
MIN_ERR MAX_ERR OOS_ERR
NEW_RX_ NEW_RX_ NEW_RX_
NEW_RX_
FCS_HEC_
ERR
FORM_ FIFO_UR_ FIFO_OF_
DEST_ERR ERR
ERR
R/W
—
R/W
R/W
R/W
R/W
R/W
R/W
R/W
W1C
W1C
W1C
W1C
W1C
W1C
W1C
Value
after
reset
0
0
0
0
0
0
0
0
Bits 7:
Bit 6:
Reserved
NEW_RX_MIN_ERR is set whenever a new RX min frame size error occurs and cleared when a
one is written to this bit. For more information, refer to the register definition of the RX_MIN_ERR
counter.
Bit 5:
Bit 4:
Bit 3:
Bit 2:
Bit 1:
Bit 0:
NEW_RX_MAX_ERR is set whenever a new RX max frame size error occurs and cleared when a
one is written to this bit. For more information, refer to the register definition of the
RX_MAX_ERR counter.
NEW_RX_OOS_ERR is set whenever a new RX Out of Sync Error occurs and cleared when a one
is written to this bit. For more information, refer to the register definition of RX Out of Sync Error
counter.
NEW_RX_FORM_DEST_ERR is set whenever a new RX Format/Destination Error occurs and
cleared when a one is written to this bit. For more information, refer to the register definition of
RX Format/Destination Error counter.
NEW_RX_FIFO_UR_ERR is set whenever a new RX FIFO Underrun Error occurs and cleared
when a one is written to this bit. For more information, refer to the register definition of RX FIFO
Underrun Error counter.
NEW_RX_FIFO_OF_ERR is set whenever a new RX FIFO Overflow Error occurs and cleared
when a one is written to this bit. For more information, refer to the register definition of RX FIFO
Overflow Error counter.
NEW_RX_FCS_HEC_ERR is set whenever a new RX FCS and HEC Error occurs and cleared
when a one is written to this bit. For more information, refer to the register definition of RX FCS
and HEC Error counter.
100
Download from Www.Somanuals.com. All Manuals Search And Download.
ADDR = 0x1ED: Ethernet Receive Interrupt Mask
Bit 7
Bit 6
Bit 5
Bit 4
Bit 3
Bit 2
Bit 1
Bit 0
Bit name Reserved
NEW_RX_ NEW_RX_ NEW_RX_
NEW_RX_
FORM_
DEST_MASK MASK
NEW_RX_ NEW_RX_
FIFO_UR_ FIFO_OF_
NEW_RX_
FCS_HEC_
MASK
MIN_
MASK
MAX_
MASK
OOS_
MASK
MASK
R/W
1
R/W
—
R/W
1
R/W
1
R/W
1
R/W
1
R/W
1
R/W
1
Value
after
reset
0
Bits 7:
Bit 6:
Reserved
NEW_RX_MIN_MASK is set to suppress the new RX Min Error from setting the EOS_D_SUM
Summary Interrupt bit. This interrupt mask bit does not affect the corresponding interrupt event
bit.
Bit 5:
Bit 4:
Bit 3:
Bit 2:
Bit 1:
Bit 0:
NEW_RX_MAX_MASK is set to suppress the new RX Max Error from setting the EOS_D_SUM
Summary Interrupt bit. This interrupt mask bit does not affect the corresponding interrupt event
bit.
NEW_RX_OOS_MASK is set to suppress the new RX Out of Sync Error from setting the
EOS_D_SUM Summary Interrupt bit. This interrupt mask bit does not affect the corresponding
interrupt event bit. This bit is a fixed one in LAPS mode.
NEW_RX_FORM_DEST_MASK is set to suppress the new RX Format/Destination Error from
setting the EOS_D_SUM Summary Interrupt bit. This interrupt mask bit does not affect the
corresponding interrupt event bit.
NEW_RX_FIFO_UR_MASK is set to suppress the new RX FIFO Underrun Error from setting the
EOS_D_SUM Summary Interrupt bit. This interrupt mask bit does not affect the corresponding
interrupt event bit.
NEW_RX_FIFO_OF_MASK is set to suppress the new RX FIFO Overflow Error from setting the
EOS_D_SUM Summary Interrupt bit. This interrupt mask bit does not affect the corresponding
interrupt event bit.
NEW_RX_FCS_HEC_MASK is set to suppress the new RX FCS and HEC Error from setting the
EOS_D_SUM Summary Interrupt bit. This interrupt mask bit does not affect the corresponding
interrupt event bit.
101
Download from Www.Somanuals.com. All Manuals Search And Download.
ADDR = 0x1EF: Receive Minimum Frame Size
Bit 7
Bit 6
Bit 5
Bit 4
Bit 3
Bit 2
Bit 1
Bit 0
Bit name RX_MIN
ENFORCE
RX_MIN_SIZE[6:0]
R/W
R/W
0
R/W
0x40
Value
after
reset
Bit 7:
RX_MIN_ENFORCE enables the enforcing of a minimum frame size. When high, frames with
fewer bytes are discarded. When low, no minimum frame size is enforced.
Bits 6-0: RX_MIN_SIZE [6:0] specifies the minimum Ethernet frame size allowed in bytes. Frames with a
payload (preamble and SFD excluded) smaller than this value are discarded.
ADDR = 0x1F0: Receive Maximum Frame Size LSB
Bit 7
Bit 6
Bit 5
Bit 4
Bit 3
Bit 2
Bit 1
Bit 0
Bit name RX_MAX_SIZE [7:0]
R/W
R/W
0xF2
Value
after
reset
Bits 7-0: RX_MAX_SIZE specifies the maximum Ethernet frame size allowed in bytes. Frames with a
payload (preamble and SFD excluded) larger than this value are discarded.
ADDR = 0x1F1: Receive Maximum Frame Size MSB
Bit 7
Bit 6
Bit 5
Bit 4
Bit 3
Bit 2
Bit 1
Bit 0
Bit name RX_MAX_ RX_MAX_SIZE [14:8]
ENFORCE
R/W
R/W
0
R/W
0x05
Value
after
reset
Bit 7:
RX_MAX_ENFORCE enables the enforcing of a maximum frame size. When high, frames with
more bytes are discarded. When low, no maximum frame size is enforced.
Bits 6-0: RX_MAX_SIZE [14:8] is the MSB of the register above.
102
Download from Www.Somanuals.com. All Manuals Search And Download.
ADDR = 0x1F4-7: Receive Minimum Frame Size Violations [23:0]
ADDR
0x1F4
0x1F5
0x1F6
0x1F7
Bit 7
Bit 6
Bit 5
Bit 4
Bit 3
Bit 2
Bit 1
Bit 0
Bit name
RX_MIN_ERR [7:0]
RX_MIN_ERR [15:8]
RX_MIN_ERR [23:16]
Fixed 0
R/W
RO
0
Value
after
reset
RX_MIN_ERR is the RX minimum frame size violation counter. It is non-resetable except that a hard or soft
reset will clear it. After reaching its max value the counter starts over from zero again. This counter is
incremented by each frame that did not increment any of the RX_FIFO_UR_ERR or RX_FIFO_OF_ERR
counters, but contained fewer than RX_MIN_SIZE bytes and checking was turned on.
ADDR = 0x1F8-B: Receive Maximum Frame Size Violations [15:0]
ADDR
0x1F8
0x1F9
0x1FA
0x1FB
Bit 7
Bit 6
Bit 5
Bit 4
Bit 3
Bit 2
Bit 1
Bit 0
Bit name
RX_MAX_ERR [7:0]
RX_MAX_ERR [15:8]
Fixed 0
Fixed 0
RO
R/W
Value
after
reset
0
RX_MAX_ERR is the RX maximum frame size violation counter. It is non-resetable except that a hard or
soft reset will clear it. After reaching its max value the counter starts over from zero again. This counter is
incremented by each frame that did not increment any of the RX_FIFO_UR_ERR or RX_FIFO_OF_ERR
counters, but contained more than RX_MAX_SIZE bytes and checking was turned on.
103
Download from Www.Somanuals.com. All Manuals Search And Download.
6. Package Specification
Package marking and outline drawings for the HDMP-3001 28x28mm, 160 pin PQFP.
LLLLLLLLL - WAFER LOT NUMBER
NNN - WAFER NUMBER
G - SUPPLIER CODE
YY - LAST TWO DIGITS OF YEAR
HDMP-3001
WW - TWO DIGIT WORK WEEK
LLLLLLLLL-NNN
R.R - DIE REVISION NUMBER
G YYWW R.R
CCCCC
CCCCC - COUNTRY OF ORIGIN
Figure 24. Package Marking
4
D
D/ 2
-D-
3
SEE
DETAIL A
E/ 2
b
4X
N/ 4 TIPS
4
E
-A-
3
-B-
3
e/ 2
11.0 REF.
-x-
3
X = A, B, OR D
7
DETAIL "A"
-D-
3
2.00 REF. DIA.
4 PLACES
11.0 REF.
TOP VIEW
Figure 25. Top View of Package
104
Download from Www.Somanuals.com. All Manuals Search And Download.
5
D1
NOTES
D1
2
1
2
3
ALL DIMENSIONS AND TOLERANCES CONFORM TO
ANSI Y145H-1982
D2
THE TOP PACKAGE BODY SIZE MAY BE SMALLER THAN
THE BOTTOM PACKAGE BODY SIZE
DATUMS A-B AND D TO BE DETERMINED AT DATUM
PLANE H
4
5
TO BE DETERMINED AT SEATING PLANE C
DIMENSION D1 AND E1 DO NOT INCLUDE MOLD
PROTRUSION. ALLOWABLE PROTRUSION IS 0.152 mm
PER SIDE. D1 AND E1 ARE MAXIMUM PLASTIC BODY
SIZE DIMENSIONS INCLUDING MOLD MISMATCH.
DIMENSIONS D1 AND E1 SHALL BE DETERMINED AT
DATUM PLANE H .
5
E2
E1
6
DETAILS OF PIN 1 IDENTIFIER ARE OPTIONAL, BUT MUST
BE LOCATED WITHIN THE ZONE INDICATED.
7
8
9
EXACT SHAPE AT EACH CORNER IS OPTIONAL.
MEASURED AT GAGE PLANE.
DIMENSION b DOES NOT INCLUDE DAMBAR
11.0 REF.
PROTRUSION, ALLOWABLE PROTRUSION SHALL BE
0.08 mm TOTAL IN EXCESS OF THE b DIMENSION AT
MAXIMUM MATERIAL CONDITION . DAMBAR MAY NOT
BE LOCATED AT THE LOWER RADIUS OF THE FOOT. THE
MINIMUM SPACING BETWEEN PROTRUSION AND AN
ADJACENT LEAD SHALL NOT BE LESS THAN 0.07 mm.
E1
2
10 PLATING THICKNESS 0.007 MIN. TO 0.020 MAX. SOLDER
PLATE 855n/ ISPO.
COUNTRY OF
ORIGIN MARK
11 THESE DIMENSIONS APPLY TO THE FLAT SECTION OF
THE LEAD BETWEEN 0.10 mm AND 0.25 mm FROM THE
LEAD TIP.
11.0 REF.
3.00 REF. DIA.
4 PLACES
12 A1 IS DEFINED AS THE DISTANCE FROM THE SEATING
PLANE TO THE LOWEST POINT OF THE PACKAGE BODY.
BOTTOM VIEW
Figure 26. Bottom View of Package
SEE DETAIL "B"
12° - 16°
A
e
2
SEATING
PLANE
DATUM PLANE
C
H
C
ccc
b
Figure 27. Side View of Package
0.40 MIN.
2
0° MIN.
H
R 0.13/ 0.30
C
WITH LEAD FINISH
DATUM
PLANE
9
10
b
11
A2
A1
GAGE
PLANE
0.13 R
MIN.
10
11
0.11/ 0.23
0.11/ 0.19
BASE PLANE
0.25
10
11
SEATING
PLANE
b
1
C
12
0 - 7°
BASE METAL
L
10
SECTION C-C
11
1.60 REF.
DETAIL "B"
Figure 28. Detailed View of Pin
105
Download from Www.Somanuals.com. All Manuals Search And Download.
Table 22. Package Dimensions
Symbol
Min
-
Nom
Max
4.1
Comment
A
3.7
Seated height
Stand off
A1
A2
D
0.25
3.2
0.33
0.5
3.37
3.6
Body thickness
4
31.20 Bsc
28.00 Bsc
25.35 Bsc
31.20 Bsc
28.00 Bsc
25.35 Bsc
0.88
D1
D2
E
Package length
E
Package width
1
E
2
L
0.73
1.03
N
e
160
Lead count
0.65 Bsc
-
Lead pitch
b
0.22
0.22
0.40
0.36
0.13
Plated lead width
b1
ccc
0.3
Coplanarity of leads
Note: All dimensions are in mm, Bsc is Basic.
106
Download from Www.Somanuals.com. All Manuals Search And Download.
7. Electrical and Thermal Specifications
7.1 Technology
0.25 micron CMOS, 1.8V core and 3.3V I/Os.
7.2 Maximum Ratings
Table 23. Absolute Maximum Ratings
Parameter
Min
-0.5
-0.5
0.0
Max
2.5
4.5
110
125
2
Units
Volts
Volts
°C
Supply Voltage (VDD)
Supply Voltage (DVDD)
Junction Temperature
Storage Temperature
ESD
-40
°C
KV
Caution: Exceeding the values stated above could permanently damage the device.
Prolonged exposure to absolute maximum ratings may affect the reliability of
the device.
Table 24. Operating Conditions
Parameter
Min
2.97
1.62
0
Typ
3.3
1.8
25
Max
3.63
1.98
85
Units
Volts
Volts
°C
Supply Voltage (DVDD)
Supply Voltage (VDD)
Case Temperature
7.3 Thermal Characteristics
Table 25. Thermal Performance
Symbol Parameter
Units
°C/W
°C/W
Typ. Max.
(1)
θJA
Thermal Resistance: Junction to Ambient
Thermal Characterization Parameter: Junction to Package Top
34
(2)
ψJT
10.25
Notes:
1.
θJA is measured in a still air environment at 25°C on a standard 4 x 4" FR4 PCB as specified in EIA/JESD 51-7.
2. To determine the actual junction temperature in a given application, use the following: T = TT + (ψJT x PD), where TT is the case
J
temperature measured on the top center of the package and PD is the power being dissipated.
107
Download from Www.Somanuals.com. All Manuals Search And Download.
7.4 DC Characteristics
The specifications in this section are valid for the range of operating conditions defined in Table 24.
Table 26. DC Electrical Characteristics
Symbol Parameter
Min
Max Conditions Units
V
High Level Output Voltage DVDD-0.1 DVDD IOH = 20µA Volts
OH
V
Low Level Output Voltage
High Level Input Voltage
Low Level Input Voltage
Input Leakage Current
GND
0.4
IOL = 6mA Volts
Volts
OL
V
0.7xDVDD DVDD
0.0
IH
V
0.3xDVDD
Volts
IL
I IL/IIH
-10.0
+10.0
µA
7.5 AC Electrical Characteristics
The specifications in this section are valid for the range of operating conditions defined in Table 24.
Table 27. Power Dissipation
Parameter
Min.
Typ.
250
Max.
450
Units
mW
Power Dissipation (Operational)
7.5.1 General AC specifications
Table 28. Clock requirements and switching characteristics
Parameter
Min
Max
Units
Conditions
Clock Frequency
25 – 100 ppm
25 + 100 ppm
MHz
P_TX_CLK_M_RX_CLK,
P_RX_CLK_M_TX_CLK
Clock Frequency
TX_SONETCLK,
RX_SONETCLK
19.44 – 20 ppm
19.44 + 20 ppm
MHz
SONET Clocks Min Low & 18
High Time
33.4
26
5
ns
ns
ns
ns
µA
Duty Cycle 35% - 65%
@ 51.4 ns
MII Clocks Min Low & High 14
Time
Duty Cycle 35% - 65%
@ 40 ns
Output Rise Time
0.65
Load = 15 pF (from 30% - 70% =
1.2 V)
Output Fall Time
0.65
-10
5
Load = 15 pF (from 30% -70% =
1.2 V)
HiZ Leakage Current
10
108
Download from Www.Somanuals.com. All Manuals Search And Download.
7.5.2 MII specifications
Table 29. MII AC Specification
Parameter
Min
Max
Units
Conditions
PHY mode output Setup time
P_RXD_M_TXD,
10
ns
P_RX_DV_M_TX_EN,
P_RX_ER_M_TX_ER,
↑ P_RX_CLK_M_TX_CLK
PHY mode output hold time
P_RXD_M_TXD,
10
15
0
ns
ns
ns
ns
ns
ns
ns
P_RX_DV_M_TX_EN,
P_RX_ER_M_TX_ER,
↑ P_RX_CLK_M_TX_CLK
MAC mode output Setup time
P_RXD_M_TXD,
P_RX_DV_M_TX_EN,
P_RX_ER_M_TX_ER,
↑ P_RX_CLK_M_TX_CLK
MAC mode output hold time
P_RXD_M_TXD,
P_RX_DV_M_TX_EN,
P_RX_ER_M_TX_ER,
↑ P_RX_CLK_M_TX_CLK
PHY mode Input Setup time
P_TXD_M_RXD,
15
0
P_TX_DV_M_RX_EN,
P_TX_ER_M_RX_ER,
↑ P_TX_CLK_M_RX_CLK
PHY mode Input hold time
P_TXD_M_RXD,
P_TX_DV_M_RX_EN,
P_TX_ER_M_TX_ER,
↑P_TX_CLK_M_RX_CLK
MAC mode Input Setup time
P_TXD_M_RXD,
10
10
P_TX_DV_M_RX_EN,
P_TX_ER_M_TX_ER,
↑P_TX_CLK_M_RX_CLK
MAC mode Input hold time
P_TXD_M_RXD,
P_TX_DV_M_RX_EN,
P_TX_ER_M_TX_ER,
↑P_TX_CLK_M_RX_CLK
109
Download from Www.Somanuals.com. All Manuals Search And Download.
8. Timing Diagrams
8.1 Microprocessor Bus Timing - Write Cycle
t
2
t
6
A[8:0]
CSB
VALID
WRB
RDB
D[7:0] (IN)
VALID
Hi - Z
Hi - Z
D[7:0] (OUT)
Hi - Z
RDYB*
GPIO[15:0]
NEW VALUE
t
t
4
3
t
5
t
1
Figure 29. Microprocessor Write Cycle Timing.
* RDYB is re-clocked twice by the microprocessor clock in addition to the timing shown. This
adds an additional delay of between one and two microprocessor clock cycles.
110
Download from Www.Somanuals.com. All Manuals Search And Download.
8.2 Microprocessor Bus Timing - Read Cycle.
t
9
t
10
t
7
A[8:0]
CSB
VALID
WRB
RDB
D[7:0] (IN)
Hi - Z
Hi - Z
D[7:0] (OUT)
VALID
INVALID
Hi - Z
Hi - Z
RDYB*
GPIO[15:0]
CAPTURED
t
12
t
8
t
1
t
5
t
11
Figure 30. Microprocessor Read Cycle Timing.
* RDYB is re-clocked twice by the microprocessor clock in addition to the timing shown. This
adds an additional delay of between one and two microprocessor clock cycles.
111
Download from Www.Somanuals.com. All Manuals Search And Download.
8.3 Microprocessor Bus Timing Table
Table 30. Timing of microprocessor bus
Parameter
Description
Min (ns)
Max (ns)
15
t1
t2
t3
t4
CS_N active to RDYB driven to inactive state
CS_N, WRB and RDB valid to A and D captured
1CS_N, WRB and RDB valid to RDYB active
0
90
1401
0
270
2201
BUSMODE 0: WRB inactive to RDYB inactive
BUSMODE 1: RDB inactive to RDYB inactive
15
t5
t6
CS_N inactive to RDYB in high impedance state
0
15
CS_N, WRB and RDB valid to GPIO outputs updated (when the
GPIOs are the target of the write cycle)
250
370
t7
t8
CS_N, WRB and RDB valid to A captured
90
270
520
CS_N, WRB and RDB valid to GPIO inputs captured (when the
GPIOs are the target of the read cycle)
300
t9
CS_N, WRB and RDB valid to D valid
1D valid to RDYB active
600
501
650
0
750
601
850
15
t10
t11
t12
CS_N, WRB and RDB valid to RDYB active
RDB inactive to D in high impedance state
Note 1: RDYB is re-clocked twice by the microprocessor clock in addition to the timing shown. This adds an additional delay of
between one and two microprocessor clock cycles.
8.4 Line Interface Receive and Transmit Timing
t
VTDFC
TX_SONETCLK
t
HTDFC
TX_DATA[7:0]
t
HFOFC
t
VFOFC
TX_FRAME_SFP
Figure 31. Line Interface Transmit Timing
Label
Parameter
Min
Max
Units
TX_SONETCLK
tHTDFC
TX_SONETCLK frequency
TX_DATA hold time
19.44-20ppm
1
19.44+20ppm MHz
ns
tVTDFC
TX_DATA transition from TX_CLK high
TX_FRAME_SFP hold time
TX_FRAME_SFP transition from TX_CLK high
15
ns
ns
ns
tHFOFC
1
tVFOFC
15
112
Download from Www.Somanuals.com. All Manuals Search And Download.
RX_SONETCLK
RX_DATA[7:0]
t
t
HRDFC
SRDTC
t
t
HFIFC
SFITC
RX_FRAME_IN
Figure 32. Line Interface Receive Timing.
Label
Parameter
Min
Max
Units
MHz
ns
RX_SONETCLK
tSRDTC
RX_SONETCLK frequency
19.44-20ppm 19.44+20ppm
Setup RX_DATA to RX_CLK high
Hold RX_DATA from RX_CLK high
Setup RX_FRAME_IN to RX_CLK high
Hold RX_FRAME_IN from RX_CLK high
5
5
5
5
tHRDFC
ns
tSFITC
ns
tHFIFC
ns
8.5 TOH Interface E1/E2/F1 Transmit Timing.
TX_E1E2F1_CLK
t
t
t
t
SE1TC
SE2TC
SF1TC
HE1FC
HE2FC
HF1FC
t
t
TX_E1_DATA
TX_E2_DATA
TX_F1_DATA
Figure 33. TOH Interface E1/E2/F1 Transmit Timing
Label
Parameter
Min
Typ.
Max
Units
TX_E1E2F1_CLK
tSE1TC
TX_E1E2F1_CLK frequency
64
kHz
ns
ns
ns
ns
ns
ns
Setup TX_E1_DATA to TX_E1E2F1_CLK high
Hold TX_E1_DATA from TX_E1E2F1_CLK high
Setup TX_E2_DATA to TX_E1E2F1_CLK
Hold TX_E2_DATA from TX_E1E2F1_CLK high
Setup TX_F1_DATA to TX_E1E2F1_CLK high
Hold TX_F1_DATA from TX_E1E2F1_CLK high
100
100
100
100
100
100
tHE1FC
tSE2TC
tHE2FC
tSF1TC
tHF1FC
113
Download from Www.Somanuals.com. All Manuals Search And Download.
8.6 TOH Interface E1/E2/F1 Receive Timing
RX_E1E2F1_CLK
t
t
t
VE1FC
HE2FC
HF1FC
RX_E1_DATA
RX_E2_DATA
RX_F1_DATA
Figure 34. TOH Interface E1/E2/F1 Receive Timing
Label
Parameter
Min
Typ.
Max
Units
kHz
ns
RX_E1E2F1_CLK
tVE1FC
TX_E1E2F1_CLK frequency
64
Transition RX_E1_DATA from RX_E1E2F1_CLK low
Transition RX_E2_DATA from RX_E1E2F1_CLK low
Transition RX_F1_DATA from RX_E1E2F1_CLK low
30
30
30
70
70
70
tHE2FC
ns
tHF1FC
ns
8.7 DCC Interface Transmit Timing
TX_SDCC_CLK
TX_LDCC_CLK
t
t
t
HSDFC
SSDCTC
t
HLDFC
SLDCTC
TX_SDCC_DATA
TX_LDCC_DATA
Figure 35. DCC Interface Transmit Timing
Label
Parameter
Min
Typ.
Max
Units
kHz
ns
TX_SDCC_CLK
tSSDCTC
TX_SDCC_CLK frequency
192
Setup TX_SDCC_DATA to TX_SDCC_CLK high
Hold TX_SDCC_DATA from TX_SDCC_CLK high
TX_LDCC_CLK frequency
100
100
tHSDFC
ns
TX_LDCC_CLK
tSLDCTC
576
kHz
ns
Setup TX_LDCC_DATA to TX_LDCC_CLK high
Hold TX_LDCC_DATA from TX_LDCC_CLK high
100
100
tHLDFC
ns
114
Download from Www.Somanuals.com. All Manuals Search And Download.
8.8 DCC Interface Receive Timing
RX_SDCC_CLK
RX_LDCC_CLK
t
t
VSDCFC
VLDCFC
RX_SDCC_DATA
RX_LDCC_DATA
Figure 36. DCC Interface Receive Timing
Label
Parameter
Min
30
Typ.
Max
70
Units
kHz
ns
RX_SDCC_CLK
tVSDCFC
RX_SDCC_CLK frequency
192
Transition RX_SDCC_DATA from RX_SDCC_CLK low
RX_LDCC_CLK frequency
RX_LDCC_CLK
tVLDCFC
576
kHz
ns
Transition RX_LDCC_DATA from RX_LDCC_CLK
30
70
8.9 JTAG Interface Timing
TCK
t
t
HTD1
STDI
t
t
HTMS
STMS
TDI
TMS
t
HTDO
TDO
Figure 37. JTAG Interface Timing
Label
TCK
tSTDI
Parameter
Min
Typ.
Max
Units
MHz
ns
TCK frequency
10
Setup TDI to TCK high
Hold TDI from TCK high
Setup TMS to TCK high
TMS from TCK high
TDO valid from TCK low
10
10
10
10
tHTDI
ns
tSTMS
tHTMS
tHTDO
ns
ns
15
ns
115
Download from Www.Somanuals.com. All Manuals Search And Download.
8.10 Reset specification
8.11 MII Timing
The HDMP-3001 reset pin (RSTB)
is an asynchronous pin that must
be active for at least 200 SONET
clock cycles (>10µs) with stable
power.
HDMP-3001 meets the MII timing
as defined by IEEE 802.3 as
shown in Figure 38.
t
TX
0 ns MIN., 25 ns MAX.
TX_CLK
TX_D[3:0], TX_EN, TX_ER
VALID
t
10 ns MIN.
RXH
t
10 ns MIN.
RXS
RX_CLK
RX_D[3:0], RX_DV, RX_ER
VALID
Figure 38. MII timing as defined by IEEE 802.3
116
Download from Www.Somanuals.com. All Manuals Search And Download.
Table 31. MII signal clocking
Mode
Direction
Pin name
In/Out
Note
PHY
TX
P_TXD[3:0]/M_RXD[3:0],
P_TX_EN/M_RX_DV,
P_TX_ER/M_RX_ER
P_TX_CLK/M_RX_CLK
P_RXD[3:0]/M_TXD[3:0],
P_RX_DV/M_TX_EN,
P_RX_ER/M_TX_ER
P_RX_CLK/M_TX_CLK
P_RXD[3:0]/M_TXD[3:0],
P_RX_DV/M_TX_EN,
P_RX_ER/M_TX_ER
P_RX_CLK/M_TX_CLK
P_TXD[3:0]/M_RXD[3:0],
P_TX_EN/M_RX_DV,
P_TX_ER/M_RX_ER
P_TX_CLK/M_RX_CLK
P_TX_CLK/M_RX_CLK
In
Clocked in by
P_TX_CLK/M_RX_CLK
Out
Out
RX
TX
RX
Clocked out by MII_RX.
Out
Out
Inverted version of MII_RX.
Clocked out by
MAC
P_RX_CLK/M_TX_CLK.
Max 25 ns round-trip delay.
In
In
Clocked in by
P_TX_CLK/M_RX_CLK
In
8.12 MDIO Port Timing
The MDIO port timing of HDMP-3001 conforms to the IEEE 802.3 specification, clause 22.
Label
MDC
tSTASU
tSTAHD
tPHYVL
tMINHL
Parameter
Min
-
Max
Units
MHz
ns
MDC frequency
2.5
Setup MDIO to MDC high, STA driving MDIO
Hold MDIO from MDC high, STA driving MDIO
MDC high to MDIO valid, HDMP-3001 driving MDIO
MDC minimum high and low time (duty cycle)
10
10
ns
300
-
ns
160
ns
117
Download from Www.Somanuals.com. All Manuals Search And Download.
8.13 EEPROM Port Timing
Table 32. EEPROM Interface Timing Parameters
Parameter
MIN
MAX
UNITS
kHz
µs
SCL clock frequency
97.2
4.9
4.9
4.9
4.9
4.9
4.9
4.7
250
250
01
SCL high period
SCL low period
µs
Setup time for reSTART
Hold time for START/reSTART
Setup time for STOP
µs
µs
µs
Bus free between STOP & START
SDA setup time, HDMP-3001 driving
SDA hold time, HDMP-3001 driving
SDA setup time, EEPROM driving
SDA hold time, EEPROM driving
SCL, SDA max capacitive load
µs
µs
ns
ns
3.452
400
µs
pF
1. Slave device should have a hold time of at least 300ns internally for SDA to
spread over the undefined region of the falling edge of SCL.
2. The maximum hold time does not have to be met if the slave device stretches
the low period of SCL.
8.14 In Frame Declaration
RX_DATA[7:0]
A1 A1 A1 A2 A2 A2 C1 C1 C1
A1 A1 A1 A2 A2 A2 C1 C1 C1
RX_SONETCLK
RX_FRAME_IN
OOF
125 µs BETWEEN FRAMING PATTERN OCCURRENCES
Figure 39. In Frame Declaration
The In Frame Declaration Timing Diagram (Figure 39) illustrates the declaration of in frame when
processing a 19.44 Mb/s stream on RX_DATA[7:0]. An upstream serial to parallel converter or byte
interleaved demultiplexer indicates the frame location using the RX_FRAME_IN input. The byte position
marked by RX_FRAME_IN may be controlled using the defined register bit. In frame is declared if the fram-
ing pattern is observed in the correct byte positions in the following frame, and in the intervening period
(125 µs) no additional pulses were present on RX_FRAME_IN.
118
Download from Www.Somanuals.com. All Manuals Search And Download.
RX_DATA[7:0]
RX_SONETCLK
OOF
A1 A1 A1 A2 A2 A2
A1/ A2 ERROR
A1 A1 A1 A2 A2 A2
A1/ A2 ERROR
A1 A1 A1 A2 A2 A2
A1/ A2 ERROR
A1 A1 A1 A2 A2 A2 C1 C1 C1
A1/ A2 ERROR
FOUR CONSECUTIVE FRAMES CONTAINING FRAMING PATTERN ERRORS
Figure 40. Out of Frame Declaration
The out of frame declaration timing diagram (Figure 40) illustrates the declaration of out of frame. In an
STS-3 (STM-1) stream, the framing pattern is a 48-bit sequence that repeats once per frame. Out of frame
is declared when one or more errors are detected in this pattern for four consecutive frames as illustrated.
In the presence of random data, out of frame will normally be declared within 500 µs.
RX_SONETCLK
OOF
LOF
3 ms
3 ms
Figure 41. Loss of Frame Declaration/Removal
The loss of frame declaration/removal timing diagram (Figure 41) illustrates the operation of the LOF
output. LOF is an integrated version of OOF. LOF is declared when an out of frame condition persists for
3 ms. LOF is removed when an in frame condition persists for 3 ms.
RX_DATA[7:0]
K2
K2
K1
C1 C1
C1
K1
C1 C1 C1
RX_SONETCLK
LAISRDI
625 µs (5 FRAMES)
625 µs (5 FRAMES)
Figure 42. Line AIS and Line RDI Declaration/Removal
The line AIS and line RDI declaration/removal timing diagram (Figure 42) illustrates the operation of the
LAIS and RDI outputs. A byte serial STS-3 (STM-1) stream is shown for illustrative purposes. LAIS (RDI)
is declared when the binary pattern 111 (110) is observed in bits 6,7, and 8 of the K2 byte for three or five
consecutive frames. LAIS (RDI) is removed when any pattern other than the binary pattern 111 (110) is
observed in bits 6,7, and 8 of the K2 byte for three or five consecutive frames.
119
Download from Www.Somanuals.com. All Manuals Search And Download.
TX_SONETCLK
TX_FRAME_SFP
TX_E1E2F1_CLK
TX_E1_DATA
B1
B2
B3
B4
B5
B6
B7
B8
E1, F1, E2
APPROX. 750 ns
TX_FRAME_SFP
TX_E1E2F1_CLK
Figure 43. Transmit Overhead Clock and Data Alignment
The transmit overhead clock and data alignment timing diagram (Figure 43) shows the relationship
between the TX_E1_DATA, TX_E2_DATA and TX_F1_DATA serial data inputs and their associated clock
TX_E1E2F1_CLK. It is a 72 kHz 50% duty cycle clock that is gapped to produce a 64 kHz nominal rate
and is aligned as shown.
120
Download from Www.Somanuals.com. All Manuals Search And Download.
RX_SONETCLK
RX_FRAME_SFP
RX_E1E2F1_CLK
B1
B2
B3
B4
B5
B6
B7
B8
E1, E2, F1
APPROX. 750 ns
Figure 44. Receive Overhead Clock and Data Alignment
The receive overhead alignment timing diagram (Figure 44) shows the relationship between the
RX_E1_DATA, RX_E2_DATA and RX_F1_DATA serial data outputs and their associated clock
RX_E1E2F1_CLK. It is a 72 kHz 50% duty cycle clock that is gapped to produce a 64 kHz nominal rate
and is aligned as shown in Figure 44.
121
Download from Www.Somanuals.com. All Manuals Search And Download.
TX_FRAME_SFP
ROW 1
BYTES
ROW 2
BYTES
ROW 3
BYTES
ROW 4
BYTES
ROW 5
BYTES
ROW 6
BYTES
ROW 7
BYTES
ROW 8
BYTES
ROW 9
BYTES
TX_SDCC_CLK
TX_SDCC_DATA
B1
B2 B3 B4 B5 B6 B7 B8 B1 B2 B3 B4 B5 B6 B7 B8 B1 B2 B3 B4 B5 B6 B7 B8
APPROX. 2M TX_LDCC_CLK BURSTS
TX_LDCC_CLK
TX_LDCC_DATA
TX_LDCC_CLK
TX_LDCC_DATA
B1 B2 B3 B4 B5 B6 B7 B8 B1 B2 B3 B4 B5 B6 B7 B8 B1 B2 B3 B4 B5 B6 B7 B8
Figure 45. Transmit Data Link Clock and Data Alignment
The transmit data link clock and data alignment timing diagram (Figure 45) shows the relationship between
the TX_SDCC_DATA, and TX_LDCC_DATA serial data inputs, and their associated clocks, TX_SDCC_CLK
and TX_LDCC_CLK respectively. TX_SDCC_CLK is a 216 kHz, 50% duty cycle clock that is gapped to
produce a 192 kHz nominal rate that is aligned with TX_FRAME_SFP as shown. TX_LDCC_CLK is a 2.16
MHz, 67%(high)/33%(low) duty cycle clock that is gapped to produce a 576 kHz nominal rate that is aligned
with TX_FRAME_SFP as shown. TX_SDCC_DATA (TX_LDCC_DATA) is sampled on the rising
TX_SDCC_CLK (TX_LDCC_CLK) edge.
122
Download from Www.Somanuals.com. All Manuals Search And Download.
RX_FRAME_SFP
ROW 1
BYTES
ROW 2
BYTES
ROW 3
BYTES
ROW 4
BYTES
ROW 5
BYTES
ROW 6
BYTES
ROW 7
BYTES
ROW 8
BYTES
ROW 9
BYTES
RX_SDCC_CLK
RX_SDCC_DATA
B1
B2 B3 B4 B5 B6 B7 B8 B1 B2 B3 B4 B5 B6 B7 B8 B1 B2 B3 B4 B5 B6 B7 B8
APPROX. 2M RX_LDCC_CLK
RX_LDCC_CLK
RX_LDCC_DATA
RX_LDCC_CLK
RX_LDCC_DATA
B1 B2 B3 B4 B5 B6 B7 B8 B1 B2 B3 B4 B5 B6 B7 B8 B1 B2 B3 B4 B5 B6 B7 B8
Figure 46. Receive Data Link Clock and Data Alignment
The receive data link clock and data alignment timing diagram (Figure 46) shows the relationship between
the RX_SDCC_DATA, and RX_LDCC_DATA serial data outputs, and their associated clocks,
RX_SDCC_CLK and RX_LDCC_CLK. RX_SDCC_CLK is a 216 kHz, 50% duty cycle clock that is gapped
to produce a 192 kHz nominal rate that is aligned with ROFP as shown. RX_LDCC_CLK is a 2.16 MHz,
67% (high) / 33% (low) duty cycle clock that is gapped to produce a 576 kHz nominal rate that is aligned with
RX_FRAME_SFP as shown above. RX_SDCC_DATA (RX_LDCC_DATA) is updated on the falling
RX_SDCC_CLK (RX_LDCC_CLK) edge.
123
Download from Www.Somanuals.com. All Manuals Search And Download.
9. Applicable Documents
6. ITU-T Recommendation G.707,
“Network Node Interface for
the Synchronous Digital
1. T1X1.5 Generic Framing
Procedure (GFP) – Draft
Revision 3, Enrique Hernandez-
Valencia
Hierarchy”, March 1996.
7. ITU-T I.432.1, “Series 1:
Integrated Services Digital
Network: B-ISDN user-network
interface - Physical
2. ITU-T Recommendation X.86.
3. IEEE Std 802.3 (2000 Edition)
4. ANSI, “Digital Hierarchy-
Optical Interface Rates and
Format Specification”,
ANSI-T1.105-1991
layer specification: General
characteristics”, August 1996.
8. ITU-T I.432.2, “Series 1:
Integrated Services Digital
Network: B-ISDN user-network
interface - Physical layer
specification: 155 520 kbit/s and
622 080 kbit/s operation”,
August 1996.
5. Bellcore Specification “SONET
Transport Systems: Common
Generic Criteria”, GR-253-
CORE, Issue 2, Rev.1,
December 1997.
www.agilent.com/ semiconductors
For product information and a complete list of
distributors, please go to our web site.
For technical assistance call:
Americas/ Canada: +1 (800) 235-0312 or
(408) 654-8675
Europe: +49 (0) 6441 92460
China: 10800 650 0017
Hong Kong: (+65) 271 2451
India, Australia, New Zealand: (+65) 271 2394
Japan: (+81 3) 3335-8152(Domestic/ International), or
0120-61-1280(Domestic Only)
Korea: (+65) 271 2194
Malaysia, Singapore: (+65) 271 2054
Taiwan: (+65) 271 2654
Data subject to change.
Copyright © 2001 Agilent Technologies, Inc.
December 12, 2001
5988-3853EN
Download from Www.Somanuals.com. All Manuals Search And Download.
|