User’s Manual

12
Single Board Computer
1. GPIO header
This 40-pin GPIO (General-Purpose Input/Output) header can be designated (in software) as an input or
output pin and is used for a wide range of purposes. Of the 40 pins, 28 are GPIO pins (shared with SPI/
UART/I2C pins).
Tinker Board 2 / 2S 40-pins GPIO header
40P_GPIO
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
2.54
Dimension
Pin definition 40P GPIO Pin definition
VCC3.3_IO 1 2
VCC5V
GPIO2_B1/I2C6_SDA 3 4
GPIO2_B2/I2C6_SCL 5 6 GND
GPIO0_B0/CLKOUT 7 8 GPIO2_C1/UART0_TX
GND 9 10 GPIO2_C0/UART0_RX
GPIO2_C3/UART0_RTSN 11 12 GPIO3_D1/I2S0_SCLK
GPIO2_C5/SPI5_TXD 13 14 GND
GPIO2_C4/SPI5_RXD 15 16 GPIO2_C6/SPI5_CLK
VCC3.3_IO 17 18 GPIO2_C7/SPI5_CSN0
GPIO1_B0/SPI1_TXD/UART4_TX 19 20 GND
GPIO1_A7/SPI1_RXD/UART4_RX 21 22 GPIO3_D4/I2S0_SDI1SDO3
GPIO1_B1/SPI1_CLK 23 24 GPIO1_B2/SPI1_CSN0
GND 25 26 GPIO0_A6/PWM3A_IR
GPIO2_A7/I2C7_SDA 27 28 GPIO2_B0/I2C7_SCL
GPIO3_D6/I2S0_SDI1SDO1 29 30 GND
GPIO3_D5/I2S0_SDI1SDO2 31 32 GPIO4_C2/PWM0
GPIO4_C6/PWM1 33 34 GND
GPIO3_D1/I2S0_LRCK 35 36 GPIO2_C2/UART0_CTSN
GPIO4_C5/SPDIF_TX 37 38 GPIO3_D3/I2S0_SDI0
GND 39 40 GPIO3_D7/I2S0_SDO0
WARNING!
Do not use both the system DC power-in
jack and the 40-pin GPIO +5V pins (pin 2
and 4, red) for power input at the same
time.
If you wish to use the 40-pin GPIO +5V
(pin 2 and 4, red) as a power input
source, please make sure the power
input rating for each pin complies
with the standard of +5V / 3A (+/-5%
deviation). A power rating value that
exceeds the rating valued mentioned,
or an unstable power source may result
in damage to your system or hardware.
Please refer to the Top view illustration
for the location of the pins.