Preliminary
THCV245A_Rev.0.90_E
Copyright©2020 THine Electronics, Inc.
THine Electronics, Inc.
Security C
51/67
6.28 Main-Link Field BET
In order to help users to check validity of CML serial line (Main-Link and Sub-Link), THCV245A and
particular V-by-One® HS receiver have an operation mode in which they act as a bit error tester (BET). In Main-
Link Field BET mode, THCV245A internally generates test pattern which is then serialized onto the Main-Link
CML line. The counterpart particular receiver, that also has BET function mode, receives the data stream and
checks bit errors. The generated data pattern is then 8b/10b encoded, scrambled, and serialized onto the CML
channel. As for the receiver, the internal test pattern check circuit gets enabled and reports result on a certain pin
or register.
Table 46.
V-by-One® HS Field BET pattern generator setting
6.29 Sub-Link Field BET operation and output from GPIO
In Sub-Link Field BET mode, Sub-Link Master device internally generates test pattern which is then serialized
onto the Sub-Link line. Sub-Link Slave device also has BET function mode. Sub-Link Slave device receives the
data stream and checks bit errors. Note that Sub-Link Slave device must be set this mode prior to Sub-Link
Master device. Pattern check result is output from BETOUT pin of the Sub-Link Slave device. The BETOUT pin
goes LOW whenever bit errors occur, or it stays HIGH when there is no bit error.
LATEN enables latched result of once-error-detected. BETOUT/LATEN output pin is assigned according to
priority GPIO0 > GPIO1 > GPIO2 > GPIO3 when the same Sub-Link Field BET MODE Signal overlap several
pins as register setting.
Table 47.
Sub-Link Field BET result GPIO output setting
Addr(h)
Bits
Register
w idth
R/W
Description
Def ault
0x1052
[1]
R_ML_BETEN
1
R/W
V-by-One® HS Main Filed-BET Enable
0
:
Normal Mode
1
:
Filed-BET Mode
1'h0
Addr(h)
Bits
Register
w idth
R/W
Description
Def ault
0x1056
[0]
R_SUB_BETEN
1
R/W
Sub-Link Filed-BET Enable
0
:
Normal Mode
1
:
Filed-BET Mode
1'h0
0x1057
[7:0]
R_SUB_BETSEL
8
R/W
Sub-Link Field-BET MODE Signal Select
[7:6] 10 : GPIO3 BETOUT 01 : GPIO3 LATEN 11,00 : Don't Care
[5:4] 10 : GPIO2 BETOUT 01 : GPIO2 LATEN 11,00 : Don't Care
[3:2] 10 : GPIO1 BETOUT 01 : GPIO1 LATEN 11,00 : Don't Care
[1:0] 10 : GPIO0 BETOUT 01 : GPIO0 LATEN 11,00 : Don't Care
8'h06