Skip to main content

Pin Definition

Extend interface definition

Core BoardPin Definition1

Core BoardPin Definition1​

Pin No.SignalDescription
1VCC_SYSCore-board main power output,4.2V
2CIF_PDN0GPIO3_D7, General-purpose GPIO port
3PWM0GPIO0_D2,muxed as PWM0
4PWM1GPIO0_D3,muxed as PWM1
5PWM2GPIO0_D4,muxed as PWM2
6UART0_RTSGPIO0_C1,muxed as UART0
7UART0_RXDGPIO2_D3,muxed as UART0
8UART0_CTSGPIO2_D5,muxed as UART0
9UART0_TXDGPIO2_D2,muxed as UART0
10IR_RXGPIO3_D2, muxed as infrared receiving port
11SPDIF_TXGPIO3_D3, muxed as fiber output
12TX_C-HDMI differential pair
13TX_C+HDMI differential pair
14TX_0-HDMI differential pair
15TX_0+HDMI differential pair
16TX_1-HDMI differential pair
17TX_1+HDMI differential pair
18TX_2-HDMI differential pair
19TX_2+HDMI differential pair
20VDAC_OUTPDigital-to-analog conversion output
21OTG_IDOTG ID pin
22OTG_DETOTG detection pin
23HOST_DPHOST differential pair
24HOST_DMHOST differential pair
25OTG_DPOTG differential pair
26OTG_DMOTG differential pair
27SDMMC_DETSDMMC0 pin pair
28SDMMC_CMDSDMMC0 pin pair
29SDMMC_D0SDMMC0 pin pair
30SDMMC_D1SDMMC0 pin pair
31SDMMC_D2SDMMC0 pin pair
32SDMMC_D3SDMMC0 pin pair
33SDMMC_CLKSDMMC0 pin pair
34I2C3_SDAGPIO0_A7,muxed as I2C3_SDA
35I2C3_SCLGPIO0_A6,muxed as I2C3_SCL
36VCC_IO3.3V DC-DCoutput

Core BoardPin Definition2

Core BoardPin Definition2​

Pin No.SignalDescription
37VCC_IO3.3V DC-DCoutput
38HDMI_HPDGPIO0_B7,muxed as HDMI
39HDMI_CECGPIO0_C4,muxed as HDMI1
40UART1_TXGPIO1_B1,muxed as UART1
41UART1_RXGPIO1_B2,muxed as UART1
42UART1_RTSGPIO1_B3,muxed as UART1
43SPI_CLKGPIO0_B1,muxed as SPI
44SPI_CSn0GPIO0_B6,muxed as SPI
45SPI_TXDGPIO0_B3,muxed as SPI
46SPI_RXDGPIO0_B5,muxed as SPI
47SPI_CSn1GPIO1_B4,muxed as SPI
48SDMMC1_CLKSDMMC1 data pair
49SDMMC1_D3SDMMC1 data pair
50SDMMC1_D2SDMMC1 data pair
51SDMMC1_D1SDMMC1 data pair
52SDMMC1_D0SDMMC1 data pair
53SDMMC_PWRSDMMC1 data pair
54I2C1_SDA/SDMMC1_CMDSDMMC1 data pair, muxed as I2C1
55I2C1_SCLGPIO0_A2,muxed as I2C1
56I2C0_SCLGPIO0_A0,muxed as I2C0
57I2C0_SDAGPIO0_A1,muxed as I2C0
58GSENSOR_INTGPIO0_B4,muxed as I2S interface
59TP_INTGPIO1_B0,muxed as UART1
60SPK_CTLGPIO0_D6,General-purpose GPIO
61TP_RSTGPIO0_D1, utilizing UART2
62HP_CTLGPIO3_C4,General-purpose GPIO
63LCD_RSTGPIO0_D0,muxed as UART2
64GPIO3_C7GPIO3_C7,General-purpose GPIO
65GPIO1_C7GPIO1_C7,General-purpose GPIO
66GPIO2_A2GPIO2_A2,General-purpose GPIO
67GPIO1_A7GPIO1_A7,General-purpose GPIO
68GPIO2_A0GPIO2_A0,muxed as SPI
69GPIO2_A1GPIO2_A1,General-purpose GPIO
70GPIO0_C7GPIO0_C7,General-purpose GPIO
71GPIO2_A6GPIO2_A6,General-purpose GPIO
72GNDGND

Core BoardPin Definition3

Core BoardPin Definition3​

Pin No.SignalDescription
73GNDGround
74GPIO2_A4GPIO2_A4,General-purpose GPIO
75GPIO3_C6GPIO3_C6,General-purpose GPIO
76GPIO2_A3GPIO2_A3,General-purpose GPIO
77GPIO1_A3GPIO1_A3,muxed as I2S
78GPIO3_C5GPIO3_C5,General-purpose GPIO
79CODEC_AOLaudiooutput
80CODEC_AORaudiooutput
81MICBIASMIC bias
82MICIN-Paudioinput
83MICIN-Naudioinput
84HP_DETHeadphone detection pin
85LCD_D23GPIO2_D1,muxed as LCD,MAC
86LCD_D22GPIO2_D0,muxed as LCD,MAC
87LCD_D21GPIO2_C7,muxed as LCD,MAC
88LCD_D20GPIO2_C6,muxed as LCD,MAC
89I2C2_SCL_LCD_19GPIO2_C5,muxed as LCD,MAC,I2C2
90I2C2_SDA_LCD_18GPIO2_C4,muxed as LCD,MAC,I2C2
91LCD_D17GPIO2_C3,muxed as LCD,MAC
92LCD_D16GPIO2_C2,muxed as LCD,MAC
93LCD_D15GPIO2_C1,muxed as LCD,MAC
94LCD_D14GPIO2_C0,muxed as LCD,MAC
95LCD_D13GPIO2_B7,muxed as LCD,MAC
96LCD_D12GPIO2_B6,muxed as LCD,MAC
97LCD_D11GPIO2_B5,muxed as LCD,MAC
98LCD_D10GPIO2_B4,muxed as LCD,MAC
99LCD_D9muxed as RGB, LVDS, MIPI port, cannot be used as independent GPIO
100LCD_D8muxed as RGB, LVDS, MIPI port, cannot be used as independent GPIO
101LCD_D7muxed as RGB, LVDS, MIPI port, cannot be used as independent GPIO
102LCD_D6muxed as RGB, LVDS, MIPI port, cannot be used as independent GPIO
103LCD_D5muxed as RGB, LVDS, MIPI port, cannot be used as independent GPIO
104LCD_D4muxed as RGB, LVDS, MIPI port, cannot be used as independent GPIO
105LCD_D3muxed as RGB, LVDS, MIPI port, cannot be used as independent GPIO
106LCD_D2muxed as RGB, LVDS, MIPI port, cannot be used as independent GPIO
107LCD_D1muxed as RGB, LVDS, MIPI port, cannot be used as independent GPIO
108LCD_D0muxed as RGB, LVDS, MIPI port, cannot be used as independent GPIO

Core BoardPin Definition4

Core BoardPin Definition4​

Pin No.SignalDescription
109GNDGround
110GNDGround
111LCD_HSYNCGPIO2_B1,muxed as LCD
112LCD_VSYNCGPIO2_B2,muxed as LCD
113LCD_CLKGPIO2_B0,muxed as LCD
114LCD_DENGPIO2_B3,muxed as LCD
115VCC_RK816INCore BoardPower input, 4.8 to 5.5V
116VCC_RK816INCore BoardPower input, 4.8 to 5.5V
117VCC_RK816INCore BoardPower input, 4.8 to 5.5V
118PWRONPMU power-on pin, Active low
119VCC_RTCRTCpower supplypin,3Vinput
120BAT_PBattery input pin
121BAT_NBattery input pin
122RTC_CLKOUT32768Hz clock output
123VCC28_CIFPMU LDO1output,Adjustable voltage
124VCC18_CIFPMU LDO2output,Adjustable voltage
125VCC_TPPMU LDO6output,Adjustable voltage
126VCCA_CODECPMU LDO5output,Adjustable voltage
127RESETCPU reset pin, Active low
128ADCIN2ADCinputpin, 3.3V reference source
129ADCIN1ADCinputpin, 3.3V reference source
130ADCIN0ADCinputpin, 3.3V reference source
131CIF_CLKOUTBT656/BT601camera data pair cannot be used as general-purpose GPIO
132CIF_CLKINBT656/BT601camera data pair cannot be used as general-purpose GPIO
133CIF_HREFBT656/BT601camera data pair cannot be used as general-purpose GPIO
134CIF_VSYNCBT656/BT601camera data pair cannot be used as general-purpose GPIO
135CIF_D7BT656/BT601camera data pair cannot be used as general-purpose GPIO
136CIF_D6BT656/BT601camera data pair cannot be used as general-purpose GPIO
137CIF_D5 /BT656/BT601camera data pair cannot be used as general-purpose GPIO
138CIF_D4BT656/BT601camera data pair cannot be used as general-purpose GPIO
139CIF_D3BT656/BT601camera data pair cannot be used as general-purpose GPIO
140CIF_D2BT656/BT601camera data pair cannot be used as general-purpose GPIO
141CIF_D1BT656/BT601camera data pair cannot be used as general-purpose GPIO
142CIF_D0BT656/BT601camera data pair cannot be used as general-purpose GPIO
143CIF_PDN1GPIO3_D7,General-purpose GPIO
144VCC_SYSCore-board main power output

hardware interface

Power key and socket

x3128bv2 uses 12V DC power supply. The black socket in the picture is the 12V DC Power input socket.

Debug UART

x3128 reserves one UARTUART2 for debugging, and 2 generalUARTs, UART0 and UART1 respectively. Note that UART2 is used as the debugging UART by default, and it needs to be used with the UART small board to convert the level to RS232 level.

HDMI Interface

The x3128 Development Board uses miniHDMI Interface, and with the miniHDMI extension cable, it can perfectly present audio and video signals on monitoring terminals that support the HDMI2.0 protocol, such as TVs, monitors, etc. Note that since RK3128 is a low-cost solution chip, HDMI cannot be used with the LCD screen at the same time.

camera interface

This interface is a universal 24PIN camera interface, supports the full range of OV cameras, and eliminates the need for a camera adapter board. For different models of cameras, just adjust the Output Voltage according to the specifications of the camera.

Ethernet Interface

x3128 supports Gigabit wired Ethernet Interface, with onboard RTL8211E, users can access the Internet through wired Ethernet and experience extremely fast network.

headphone interface

Connect the headset to this interface to achieve headset output. Of course, it can also be directly sent to the power amplifier input through this interface, such as the audio input port of a home theater, so that the Development Board's sound source Signal can be displayed through the home theater. Note that this interface needs to be connected to 3-wire headphones. If the headphones have a MIC, the output audio will be severely distorted.

speaker interface

The Development Board directly supports speaker output. Connect the speaker to the interface in the picture above to realize speaker output.

recording interface

Development Boardsupports recording input. The headset has been loaded directly to the Development Board, so there is no need to input through an external headset.

TF card slot

x3128 leads to an external TF card, which can store some data files through this channel.

Independent buttons

In addition to the reset and power keys, X3128 also has four independent keys. In the schematic diagram, the corresponding relationships are as follows:

KeyFunction
Recovery/K1Independent button/recovery button
K2Independent buttons
K3Independent buttons
K4Independent buttons

USB OTG Interface

The interfacefor programs programming, synchronization, etc. It can also realize the function of HOST through OTG line.

USB HOST Interface

In order to save costs, RK3128 only comes with 1ch USB HOST interface. The x3128 Development Board has expanded four chHOST interfaces through the HUB chip, two of which are for connecting USB WIFI/Bluetooth and PCIe Interface, and the other two are led out through the standard USB interface.

power button

After connecting the external power adapter, the Development Board will automatically power on. After entering the Android system, touch the POWER button to sleep, and press the POWER button again to wake up. Press and hold the POWER button to display the shutdown interface, and follow the on-screen prompts to shut down.

reset button

When the system is running, lightly press the RESET key to restart the Development Board to implement a hard reset function.

Recovery button

You need to press this button to enter recovery mode when flashing.

LCD Interface

Backup battery

The backup battery ensures that the RTC can still work after a power outage and ensures that the system time is not lost.

buzzer

The buzzer is an active buzzer, which will buzz when there is DC power, and controls the on and off of the power supply through a transistor.

Infrared integrated receiver

The HS0038B integrated receiving head is used here, which has the advantages of high sensitivity and easy use. We can use it to achieve wireless remote control and use the x3128 Development Board as a high-performance quad-core set-top box.

PCIe Interface

The x3128 Development Board already has PCIe Interface onboard, and mobile Internet access can be achieved after installing a 3G/4G card.