English
Language : 

THCV231_16 Datasheet, PDF (26/56 Pages) THine Electronics, Inc. – The THCV231 and THCV236 are designed to support video data transmission between the host and display.
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 have another function if being set. See Table 26. 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.
GPIO#
GPIO4
GPIO3
Table 25. GPIO Type
GPIO Type
Through GPIO
Programmable GPIO
Available
Available
Table 26. GPIO setting of THCV236
Pin Name
D25/GPIO4
D24/GPIO3
COL0/INT/GPIO2
TTLDRV/SD2/AIN0/GPIO1
LATEN/SD3/AIN1/GPIO0
Function
Sub-Link Master
RXDEFSEL=0
GPIO4
GPIO3
INT
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) ).
HOST
MPU
2-wire
Serial
I/F
THCV236
(Sub-Link Master)
GPIO Input : Read 0x41 value
Sub-Link
Control Block
GPIO4
GPIO3
IO
(Input)
Register
ADR
Name
Value
0x40 GPIOn_TYPE (n=4,3)
1
0x41
GPIOn_INPUT_MONITOR (n=4,3)
GPIO
Iuput value
0x42 GPIOn_OUT (n=4,3)
*
0x43 GPIO_IO_SEL
(*1)
0x46 GPIOn_OUTBUF_SEL (n=4,3)
*
THCV231
(Sub-Link Slave)
Sub-Link
Control Block
Register
ADR
Name
Value
0xC0 GPIOn_TYPE (n=4,3)
1
0xC1 GPIOn_INPUT_MONITOR (n=4,3)
*
0xC2 GPIOn_OUT (n=4,3)
*
0xC3 GPIO_IO_SEL
(*1)
0xC6 GPIOn_OUTBUF_SEL (n=4,3)
*
*1 See Table 27
Figure 11. Through GPIO
GPIO4,
IO
GPIO3
(Output)
Pull-up for
Open Drain
Output
(default)
THCV231_THCV236_Rev.2.30_E
Copyright©2016 THine Electronics, Inc.
26/56
THine Electronics, Inc.
Security E