
CYW15G0201DXB
CYV15G0201DXB
CYP15G0201DXB
Document #: 38-02058 Rev. *H
Page 14 of 46
The encoded modes (TX Modes 3 through 8) support multiple
encoding tables. These encoding tables vary by the specific
combinations of SCSEL, TXCTx[1], and TXCTx[0] that are
used to control the generation of data and control characters.
These multiple encoding forms allow maximum flexibility in
interfacing to legacy applications, while also supporting
numerous extensions in capabilities.
Table 3. Transmit Operating Modes
TX Mode 0—Encoder Bypass
When the Encoder is bypassed, the character captured in the
TXDx[7:0] and TXCTx[1:0] inputs is passed directly to the
Transmit Shifter without modification. If parity checking is
enabled (PARCTL
≠
LOW) and a parity error is detected, the
10-bit character is replaced with the 1001111000 pattern
(+C0.7 character).
With the Encoder bypassed, the TXCTx[1:0] inputs are
considered part of the data character and do not perform a
control function that would otherwise modify the interpretation
of the TXDx[7:0] bits. The bit usage and mapping of these
control bits when the Encoder is bypassed is shown in
Table 4
.
TX Modes 1 and 2—Factory Test Modes.
In Encoder Bypass the SCSEL input is ignored. All clocking
modes interpret the data the same, with no internal linking
between channels.
These modes enable specific factory test configurations. They
are not considered normal operating modes of the device.
Entry or configuration into these test modes will not damage
the device.
TX Mode 3—Atomic Word Sync and SCSEL Control of Special
Codes
When configured in TX Mode 3, the SCSEL input is captured
along with the associated TXCTx[1:0] data control inputs.
These bits combine to control the interpretation of the
TXDx[7:0] bits and the characters generated by them. These
bits are interpreted as listed in
Table 5
.
When TXCKSEL = MID, both transmit channels capture data
into their Input Registers using independent TXCLKx clocks.
The SCSEL input is sampled only by TXCLKA
↑
. When the
character (accepted in the Channel-A Input Register) has
passed through the Phase-Align Buffer and any selected parity
validation, the level captured on SCSEL is passed to the
Encoder of Channel-B during this same cycle.
To avoid the possible ambiguities that may arise due to the
uncontrolled arrival of SCSEL relative to the characters in the
alternate channel, SCSEL is often used as a static control
input.
Word Sync Sequence
When TXCTx[1:0] = 11, a 16-character sequence of K28.5
characters, known as a Word Sync Sequence, is generated on
the associated channel. This sequence of K28.5 characters
may start with either a positive or negative disparity K28.5 (as
determined by the current running disparity and the 8B/10B
coding rules). The disparity of the second and third K28.5
characters in this sequence are reversed from what normal
8B/10B coding rules would generate. The remaining K28.5
characters in the sequence follow all 8B/10B coding rules. The
disparity of the generated K28.5 characters in this sequence
would follow a pattern of either
+ + – – + – + – + – + – + – + –
– – + + – + – + – + – + – + – +.
When TXMODE[1] = MID (open, TX modes 3, 4, and 5), the
generation of this character sequence is an atomic (non-inter-
ruptible) operation. Once it has been successfully started, it
cannot be stopped until all 16 characters have been
generated. The content of the associated Input Register(s) is
ignored for the duration of this 16-character sequence.
or
Note:
9.
LSB is shifted out first.
TX Mode
Operating Mode
M
N
T
LL
LM
LH
ML
[
Word Sync
Sequence
Support
None
None
None
Atomic
SCSEL
Control
None
None
None
Special
Character
Word Sync
None
Special
Character
Word Sync
None
TXCTx Function
Encoder Bypass
Reserved for test
Reserved for test
Encoder Control
0
1
2
3
4
5
6
MM Atomic
MH Atomic
HL
Interruptible
Encoder Control
Encoder Control
Encoder Control
7
8
HM Interruptible
HH
Interruptible
Encoder Control
Encoder Control
Table 4. Encoder Bypass Mode (TXMODE[1:0] = LL)
Signal Name
TXDx[0]
(LSB)
[9]
TXDx[1]
TXDx[2]
TXDx[3]
TXDx[4]
TXDx[5]
TXDx[6]
TXDx[7]
TXCTx[0]
TXCTx[1]
(MSB)
Bus Weight
2
0
2
1
2
2
2
3
2
4
2
5
2
6
2
7
2
8
2
9
10B Name
a
b
c
d
e
i
f
g
h
j
Table 5. TX Modes 3 and 6 Encoding
S
T
T
Characters Generated
Encoded data character
K28.5 fill character
Special character code
16-character Word Sync Sequence
X
0
1
X
X
0
0
1
0
1
1
1