Preliminary
THCV245A_Rev.0.90_E
Copyright©2020 THine Electronics, Inc.
THine Electronics, Inc.
Security C
35/67
6.20 Sub-Link setting
Sub-Link Master or Sub-Link Slave operation is selectable by MSSEL pin control.
Sub-Link Master control register address and Sub-Link Slave control register address are different even for the
same Sub-Link function register.
Sub-Link Master control register is from 0x0000 to 0x007F.
Sub-Link Slave control register is from 0x0080 to 0x00FF.
As a note, registers other than Sub-Link control register from 0x1000 have only one address for one function,
which is independent of Sub-Link operation as Master or Slave.
Sub-Link Master “2-wire Set&Trigger mode1” (R_SLINK_MODE setting) is compatible with THCV236-Q.
Sub-Link Polling interval is controllable from 1us to 800us, that may have relationships on fault/error
detection, interrupt, or other UART / GPIO transfer time designed on application. SSR (Sub-Link Status Read)
interval determines recovery quickness from 2-wire serial remote communication completion. SSR interval
effects only on Sub-Link Master “2-wire Set&Trigger mode1” (R_SLINK_MODE setting).
Table 31.
Sub-Link Master protocol basic setting
M
aster
Master
Slave
or
S
lave
Addr(h) Addr(h)
Bits
Register
width
R/W
Description
Default related
0x0004
-
[1:0]
R_SLINK_MODE
2
RW
Sub-Link basic protocol setting as Sub-Link Master
0: Reserved
1: 2-wire Set&Trigger (Normal) mode1 (compatible with
THCV236)
2: Reserved
3: Reserved
Note: When THCV245A is used as Sub-Link Slave, this register
setting has no meaning. Counterpart Sub-Link Master setting
controls Sub-Link protocol including THCV245A as slave
device.
2'd1
M
0x0010
-
[0]
R_SLINK_EN
1
RW
Sub-link Enable
0:Sublink Disable
1:Sublink Enable
1'b0
M
0x0014
-
[4]
R_SLINK_POL_EN
1
RW
Sublink Polling Enable
0:Disable
1:Enable
1'b1
M
0x0014
-
[1:0]
R_SLINK_POL_TIM_UP
2
RW
Sublink Polling interval setting
2'd0
M
0x0015
-
[7:0]
R_SLINK_POL_TIM_DN
8
RW
Sublink Polling interval time=64×(256×
R_SLINK_POL_TIM_UP<1:0>
+R_SLINK_POL_TIM_DN<7:0>+1)×tOSC
*No Polling when R_SLINK_POL_TIM_UP=0 and
R_SLINK_POL_TIM_DN=0
8'd124
M
0x0016
-
[4]
R_SLINK_SSR_EN
1
RW
Sublink SSR Enable
0:Disable
1:Enable
1'b1
M
0x0016
-
[1:0]
R_SLINK_SSR_TIM_UP
2
RW
Sublink SSR interval setting
2'd0
M
0x0017
-
[7:0]
R_SLINK_SSR_TIM_DN
8
RW
Sublink SSR interval time=64×(256×
R_SLINK_SSR_TIM_UP<1:0>
+R_SLINK_SSR_TIM_DN<7:0>+1)×tOSC
*No SSR when R_SLINK_SSR_TIM_UP=0 and
R_SLINK_SSR_TIM_DN=0
8'd249
M
Sub-Link