SONET/SDH/ATM OC-12 QUAD TRANSCEIVER
Frame and Byte Boundary Detection
S3038
data from the serial to parallel register on byte
boundaries as determined by the frame and byte
boundary detection block. On the falling edge of the
free running POCLK, the data in the holding register
is transferred to an output holding register which
drives POUT[7:0].
The frame and byte boundary detection circuitry
searches the incoming data for three consecutive A1
bytes followed immediately by three consecutive A2
bytes. Framing pattern detection is enabled and dis-
abled by the Out-Of-Frame (OOF) input. Detection is
enabled by a rising edge on OOF, and remains en-
abled for the duration that OOF is set High. It is
disabled when a framing pattern is detected and
OOF is no longer set High. When the framing pattern
detection is enabled, the framing pattern is used to
locate byte and frame boundaries in the incoming
data stream (RSD or looped transmitter data). The
timing generator block takes the located byte bound-
ary and uses it to block the incoming data stream
into bytes for output on the parallel output data bus
(POUT[7:0]). The frame boundary is reported on the
Frame Pulse (FP) output when any 48-bit pattern
matching the framing pattern is detected on the in-
coming data stream. When the framing pattern
detection is disabled, the byte boundary is frozen to
the location found when detection was previously
enabled. Only framing patterns aligned to the fixed
byte boundary are indicated on the FP output.
The delay through the serial-to-parallel converter
can vary from 1.5 to 3.5 byte periods (12 to 28 serial
bit periods) measured from the first bit of an incom-
ing byte to the beginning of the parallel output of
that byte. The variation in the delay is dependent on
the alignment of the internal parallel load timing,
which is synchronized to the data byte boundaries,
with respect to the falling edge of POCLK, which is
independent of the byte boundaries. The advantage of
this serial to parallel converter is that POCLK is nei-
ther truncated nor extended during reframe
sequences.
OTHER OPERATING MODES
Diagnostic Loopback
When the Diagnostic Loopback Enable (DLEB) input is
active, a loopback from the transmitter to the re-
ceiver at the serial data rate can be set up for
diagnostic purposes. The differential serial output
data from the transmitter is routed to the serial-to-
parallel block in place of the normal data stream
(RSD). DLEB has precedence over SDTTL.
The probability that random data in an STS-12 stream
will generate the 48-bit framing pattern is extremely
small. It is highly improbable that a mimic pattern
would occur within one frame of data. Therefore, the
time to match the first frame pattern and to verify it
with down-stream circuitry, at the next occurrence of the
pattern, is expected to be less than the required 250 µs,
even for extremely high bit error rates.
Forward Clocking
For 77.76 MHz reference operation, the S3038 oper-
ates in the forward clocking mode. The PLL locks
the PCLK output of the transmitter section to the
REFCLK with a fixed and repeatable phase relation.
This allows the transmitter data source to also be
the timing source for the serial clock synthesis.
Once down-stream overhead circuitry has verified
that frame and byte synchronization are correct, the
OOF input can be set low to disable the frame
search process from trying to synchronize to a mimic
frame pattern
The rising edge of PCLK is locked to the rising edge
of REFCLK, with a maximum delay of 8 to 10 nsec
due to the PCLK TTL output driver.
Serial-to-Parallel Converter
The serial-to-parallel converter consists of three 8-bit
registers. The first is a serial-in, parallel-out shift reg-
ister, which performs serial to parallel conversion
clocked by the clock recovery block. The second is
an 8-bit internal holding register, which transfers
Reset
The RESET signal initializes the internal counters, in
addition, the rising edge on OOF is required after
RESET to initialize the chip.
11
September 16, 1999 / Revision B