THCV231-Q_THCV236-Q_Rev.2.60_E
GPIO
The GPIO pin provides up to 2-I/O ports and 2 types of GPIO are available (“Through GPIO” and “Programmable
GPIO”). All GPIO pins of THCV236-Q have another function if being set. See Table 27. GPIO type is selected
by GPIO_TYPE register (0x40(Sub-Link Master), 0xC0(Sub-Link Slave)). Programmable GPIO is available by
all GPIO pins. Through GPIO is available by only GPIO4 and GPIO3 pin. See Through GPIO section and
Programmable GPIO section about detail of respective GPIO type.
Table 26. GPIO Type
GPIO Type
GPIO#
Through GPIO
Programmable GPIO
GPIO4
GPIO3
Available
Available
Table 27. GPIO setting of THCV236-Q
Function
Pin Name
Sub-Link Master
RXDEFSEL=0
GPIO4
D25/GPIO4
D24/GPIO3
GPIO3
COL0/INT/GPIO2
INT
TTLDRV/SD2/AIN0/GPIO1
LATEN/SD3/AIN1/GPIO0
AIN0
AIN1
Through GPIO
Input to GPIO4 and GPIO3 of Sub-Link Master device is output from GPIO4 and GPIO3 of Sub-Link Slave
device respectively. Note that these GPIO signals can’t be transferred from Sub-Link Slave device to Sub-Link
Master device. It’s possible to confirm GPIO4 and GPIO3 input value to Sub-Link Master by register read (0x41
GPIOn_INPUT_MONITOR (n=4,3) ). Each GPIO output signal goes to Low when Sub-Link communication fails.
Sub-Link communication status can be observed by register read (0x82 bit2 COMERR_INT).
*1 See Table 28
Figure 13. Through GPIO
Copyright©2017 THine Electronics, Inc.
THine Electronics, Inc.
28/58
Security E