Datasheet
DS21352/DS21552
51 of 137
8.1 LINE CODE VIOLATION COUNT REGISTER (LCVCR)
Line Code Violation Count Register 1 (LCVCR1) is the most significant word and LCVCR2 is the least
significant word of a 16–bit counter that records code violations (CVs). CVs are defined as Bipolar
Violations (BPVs) or excessive zeros. See Table 8-1 for details of exactly what the LCVCRs count. If the
B8ZS mode is set for the receive side via CCR2.2, then B8ZS code words are not counted. This counter is
always enabled; it is not disabled during receive loss of synchronization (RLOS=1) conditions.
LCVCR1: LINE CODE VIOLATION COUNT REGISTER 1 (Address = 23 Hex)
LCVCR2: LINE CODE VIOLATION COUNT REGISTER 2 (Address = 24 Hex)
(MSB) (LSB)
LCV15 LCV14 LCV13 LCV12 LCV11 LCV10 LCV9 LCV8 LCVCR1
LCV7 LCV6 LCV5 LCV4 LCV3 LCV2 LCV1 LCV0 LCVCR2
SYMBOL POSITION NAME AND DESCRIPTION
LCV15 LCVCR1.7
MSB of the 16–bit code violation count
LCV0 LCVCR2.0
LSB of the 16–bit code violation count
Table 8-1 LINE CODE VIOLATION COUNTING ARRANGEMENTS
COUNT EXCESSIVE ZEROS
(RCR1.7)
B8ZS ENABLED
(CCR2.2)
WHAT IS COUNTED
IN THE LCVCRs
no no BPVs
yes no BPVs + 16 consecutive zeros
no yes BPVs (B8ZS code words not counted)
yes yes BPV’s + 8 consecutive zeros










