Realtimes Beijing Technology Co.,LTD
www.realtimesai.com
X502U Reference Manual V3.2
11
Pin 1 location: The green frame on the right.
The
UART0
、
UART
1
、
UART2
serial ports are TTL interface level.
The mapping files in Linux system are respectively ttyS0
、
ttyTHS2
、
ttyTHS1
in /dev directory.
UART0 is the default kernel debugging serial port, which is used to
output c-boot, U-boot, and Linux kernel information. After Linux
kernel is started, it is used as the display terminal serial port.
TX1/TX2 default serial port setting is: 115200bps, 8N1.
3
GND
4
UART1_TX
5
UART1_RX
6
GND
7
UART2_TX
8
UART2_RX
9
GND
2.9 GPIO and I2C
Function
GPIO and I2C
marking
GPIO
Type
DB9 interface
Pin define
Pin 1 location: The green frame on the right.
The sysfs mapping Numbers of GPIO0~GPIO3 in TX1 system are
respectively: 187,186,89,202. The SYSFS mapping number in the
TX2 system is respectively 388,298,480,486.
Pin
Signal
Pin
Signal
1
GPIO0
2
GPIO1
3
GPIO2
4
GPIO3
5
GND
6
I2C_GP1_CLK
7
I2C_GP1_DAT
8
GND
9
RECOVERY