
DS3171/DS3172/DS3173/DS3174
48
9 INITIALIZATION AND CONFIGURATION
STEP 1: Check Device ID Code:
Before any testing can be done, device ID code, which is stored in GL.IDR, should be checked against device ID
codes shown below to ensure correct device is being used.
Current device ID codes are:
o
DS3171 rev 1.0:
0044h
o
DS3172 rev 1.0:
0045h
o
DS3173 rev 1.0:
0046h
o
DS3174 rev 1.0:
0047h
STEP 2: Initialize the Device.
Before configuring for operation, make sure the device is in a known condition with all registers set to their default
value by initiating a Global Reset (see Section
). A Global Reset can be initiated via the RST pin or by the
Global Reset bit (
GL.CR1
.RST). A Port Reset is not necessary since the global reset includes a reset of all ports to
their default values.
STEP 3: Clear the Reset.
It is necessary to clear the RST bit to begin normal operation.
After clearing the RST bit, the device is configured for default mode.
Default mode:
Framer: C-bit DS3
LIU: Disabled
STEP 4: Clear the Data Path Resets and the Port Power-Down bit.
The default value of the Data Path Resets is one, which keeps the internal logic in the reset status. The user needs
to clear the following bits:
GL.CR1
.RSTDP = 0
PORT.CR1
.RSTDP = 0
PORT.CR1
.PD = 0
STEP 5: Configure the CLAD
If using the LIU, configure the CLAD (which supplies the clock to the Receive LIU) via the CLAD bits in
the
register.
Note: The user must supply a DS3, E3, or STS-1 clock to the CLKA pin.
STEP 6: Select the clock source for the transmitter.
Loop Time (use the receive clock): Set
.LOOPT = 1
CLAD Source: Set
.CLADC = 0
TCLKI Source: Set
.CLADC = 1
If using the CLAD, properly configure the CLAD by setting the CLAD bits in
STEP 7: Configure the Framing Mode and the Line Mode..
PORT
.
CR2
.LM[2:0] = 011 (LIU on, JA in Rx side) or another setting. See
PORT.CR2.
FM[2:0] set to correct mode. See
STEP 8: Disable Payload AIS (downstream AIS) and Line AIS
PORT
.
CR1
.PAIS[2:0] = 111
PORT
.CR1.LAIS[1:0] = 11
STEP 9: Enable each port (for non-LIU modes)
PORT
.
CR2
.TLEN = 1