THCV231-Q_THCV236-Q_Rev.2.60_E
Sub-Link Mode Setting
2-wire serial I/F Mode
2-wire serial I/F Mode enables register access, using GPIO (General Purpose Input/Output) pin and interrupt
function. Sub-Link Master device has 2-wire serial slave block and can be connected to HOST MPU, Sub-Link
Slave device has 2-wire serial master block and can be connected to remote side 2-wire serial slave devices.
HOST MPU can access register of Sub-Link Master device, Sub-Link Slave device and remote side 2-wire serial
slave devices.
2-wire serial I/F Device ID setting
AIN1 and AIN0 pins determine Device ID setting of the THCV236-Q. Only Sub-Link Master device has AIN1
and AIN0 pin. AIN1 and AIN0 choose one of 4 addresses which give an identification address to the THCV236-
Q under 2-wire serial interface bus topology.
Table 19. 2-wire serial I/F Device ID select (Sub-Link Master device Only)
AIN1
AIN0
Device ID
0x0B
0
0
1
1
0
1
0
1
0x34
0x77
0x65
2-wire serial I/F Clock Stretching
In principle, when Sub-Link bridges 2-wire serial interface communication from Sub-Link Master to Sub-Link
Slave or remote side 2-wire serial slave devices, time lag occurs between HOST MPU side 2-wire serial access
and Sub-Link Slave internal bus access or remote side 2-wire serial access.
2WIRE_MODE (Sub-Link Master side register, 0x0F bit1-0) selects whether 2-wire serial slave of Sub-Link
Master perform clock stretching or not.
When 2WIRE_MODE = 00, Sub-Link Master device wait HOST MPU until Sub-Link Slave register access or
remote side 2-wire serial slave register access is completed by clock stretching.
When 2WIRE_MODE = 01, Sub-Link Master device informs HOST MPU that Sub-Link Slave register access
or remote side 2-wire serial register access has been completed by interruption (INT pin) without clock stretching.
Copyright©2017 THine Electronics, Inc.
THine Electronics, Inc.
19/58
Security E