Skip to main content

Hardware Interface Description

Chip block diagram

rk3568 chip block diagram

Physical photographs

ROCK 3B interfaces

Interface details

40-PIN GPIO Header

GPIO Voltage

TypeVoltageTolerance
GPIO3.3V3.63V
ADC1.8V1.98V

GPIO Pinout

ROCK 3B provides a 40 pin GPIO socket that is compatible with most sensor applications on the market.

tip

Actual compatibility is subject to actual use.

GPIO numberFunction4Function3Function2Function1Pin#Pin#Function1Function2Function3Function4GPIO number
+3.3V
1
2
+5.0V
32CAN1_RX_M0UART3_RX_M0I2C3_SDA_M0GPIO1_A0
3
4
+5.0V
33CAN1_TX_M0UART3_TX_M0I2C3_SCL_M0GPIO1_A1
5
6
GND
13PWM1_M1I2C2_SCL_M0GPIO0_B5
7
8
GPIO0_D1
UART2_TX_M0
25
GND
9
10
GPIO0_D0
UART2_RX_M0
24
116UART7_TX_M1PWM14_M0GPIO3_C4
11
12
GPIO3_A399
117UART7_RX_M1PWM15_IR_M0
13
14
GND
16UART0_RXPWM1_M0GPIO0_C0
15
16
GPIO0_B6I2C2_SDA_M0PWM2_M114
+3.3V
17
18
GPIO3_B2UART4_TX_M1PWM9_M0106
146CAN1_TX_M1SPI3_MOSI_M1PWM15_IR_M1GPIO4_C3
19
20
GND
149UART9_TX_M1SPI3_MISO_M1PWM12_M1GPIO4_C5
21
22
GPIO0_C1PWM2_M0UART0_TX17
147CAN1_RX_M1SPI3_CLK_M1PWM14_M1GPIO4_C2
23
24
GPIO4_C6PWM13_M1SPI3_CS0_M1UART9_RX_M1150
GND
25
26
GPIO4_D1SPI3_CS1_M1153
12USB_DPCAN0_RX_M0I2C1_SDAGPIO0_B4
27
28
GPIO0_B3I2C1_SCLCAN0_TX_M0USB_DM11
95GPIO2_D7
29
30
GND
96GPIO3_A0
31
32
GPIO3_C2UART5_TX_M1114
115UART5_RX_M1SPI1_CLK_M1GPIO3_C3
33
34
GND
100GPIO3_A4
35
36
GPIO3_A298
SARADC_VIN5
37
38
GPIO3_A6102
GND
39
40
GPIO3_A5101
  • Addition to the 40-pin Expansion Block for V1.1 Hardware Versions

    • The pins marked in orange are used for debug console.
    • PWM: x7, PWM1 / PWM2 / PWM9 / PWM12 / PWM13 / PWM14 / PWM15
    • SPI: x1, SPI3
    • I2C: x3, I2C1 / I2C2 / I2C3
    • UART: x6, UART0 / UART2 /UART3 / UART5 / UART7 / UART9
    • ADC: x1, SARADC_VIN5
    • CAN: x2, CAN0 / CAN1

USB Function Configuration on 40-Pin

On the ROCK 3B's 40-Pin interface, the following pins can be configured for USB 2.0:

  • USB3_DM: Pin number 28, resistor location R90538.
  • USB3_DP: Pin number 27, resistor location R90536.

By default, Pin-27 can be configured in software for functions such as GPIO0_B4 (see 40-Pin Pinout), while the USB3_DP signal is not activated on the hardware. Pin-28 can be configured in software for functions such as GPIO0_B3 (see 40-Pin Pinout), and the USB3_DM signal is also not activated on the hardware. To change these pins to USB functions, please follow the steps below to modify the reserved resistors:

  • Remove the 0-ohm resistors at R90535 and R90537.
  • Solder 0-ohm resistors at R90536 and R90538.
tip

The schematic and resistor locations can be viewed and downloaded from the hardware documentation.Hardware Documentation Download

[Operation Note]

This procedure requires soldering skills, and it is recommended that it be performed by an experienced technician.

eMMC

ROCK 3B uses an onboard eMMC connector to attach an external eMMC module.

PinNamePinName
1GND2eMMC_D5
3GND4eMMC_D4
5GND6eMMC_D0
7GND8eMMC_CLKOUT
9GND10eMMC_D3
11GND12eMMC_RSTn
13GND14GND
1516GND
17GND18GND
19GND20VCC18_EMMC
21VCC18_EMMC22VCCIO_FLASH
23VCCIO_FLASH24GND
25eMMC_CMD26GND
27eMMC_D228GND
29eMMC_D130GND
31eMMC_D732GND
33eMMC_D634GND
35GND36GND
37GND38GND
39GND40GND
41GND42GND
43GND44GND
45GND46GND
47GND48GND
49GND50GND
51GND52GND
53GND54GND
55GND56GND
57GND58GND
59GND60GND
61GND62GND
63GND64GND

SPI Flash

The SPI Flash is onboard on both ROCK 3B and ROCK 3B+; no external connector is required.

FAN

PinNamePinName
1GPIO3_B1/PWM82VCC5V0_SYS
3GND4GND

HDMI

PinNamePinName
1HDMI_TX2P_PORT2GND
3HDMI_TX2N_PORT4HDMI_TX1P_PORT
5GND6HDMI_TX1N_PORT
7HDMI_TX0P_PORT8GND
9HDMI_TX0N_PORT10HDMI_TXCLKP_PORT
11GND12HDMI_TXCLKN_PORT
13HDMI_TX_CEC_PORT14
15HDMI_TXDDC_SCL_PORT16HDMI_TXDDC_SDA_PORT
17GND18VCC5V_HDMI_TX
19HDMI_TX_HPD_PORT20GND
21GND22
23GND

microSD Card

PinNamePinName
1SDMMC0_D2/ARMJTAG_TCK2SDMMC0_D3/ARMJTAG_TMS
3SDMMC0_CMDVCC3V3_SD
5SDMMC0_CLKGND
7SDMMC0_D0SDMMC0_D1
9SDMMC0_DET_L

MIPI

  • MIPI DSI
PinNamePinName
1LCD_VCC2LCD_VCC
3GPIO4_C04GPIO2-D3
56GND
7MIPI_DSI_TX0_D0N/LVDS_TX0_D0N8MIPI_DSI_TX0_D0P/LVDS_TX0_D0P
910MIPI_DSI_TX0_D1N/LVDS_TX0_D1N
11MIPI_DSI_TX0_D1P/LVDS_TX0_D1P12GND
13MIPI_DSI_TX0_CLKN/LVDS_TX0_CLKN14MIPI_DSI_TX0_CLKP/LVDS_TX0_CLKP
15GND16MIPI_DSI_TX0_D2N/LVDS_TX0_D2N
17MIPI_DSI_TX0_D2P/LVDS_TX0_D2P18GND
19MIPI_DSI_TX0_D3N/LVDS_TX0_D3N20MIPI_DSI_TX0_D3P/LVDS_TX0_D3P
21GND22GND
23GPIO3_C524VCC3V3_SYS
25GPIO3_C426I2C2_SDA
27I2C2_SCL28GND
29GND30LCD_VCC
31LCD_VCC32GND
33GND34VCC_LEDK
35VCC_LEDK36
3738VCC_LEDA
39VCC_LEDA40GND
41GND
  • MIPI CSI
PinNamePinName
1GND2MIPI_CSI_RX_D0N
3MIPI_CSI_RX_D0P4GND
5MIPI_CSI_RX_D1N6MIPI_CSI_RX_D1P
7GND8MIPI_CSI_RX_CLK0N
9MIPI_CSI_RX_CLK0P10GND
11CAMERAB_PDN_L_GPIO4_D212REFCLK_OUT
13I2C5_SCL_M014I2C5_SDA_M0
15VCC_CAM16
17

SIM Card Slot

PinNamePinName
C1GND1GND
C2SIM1_RESET2GND
C3SIM1_CLK3GND
C5GND4GND
C6GND5GND
C7SIM1_DATA6GND
CDSIM1_DET7GND
CD-GND8GND
9GND
10GND

USB

  • USB 2.0
PinNamePinName
1VCC5V0_USB_HOST22USB2_HOST2DM
3USB2_HOST2DP4GND
5VCC5V0_USB_HOST26USB2_HOST3DM
7USB2_HOST3DP8
9GND10GND
11GND12GND
  • USB 3.0
PinNamePinName
1VCC5V0_USB_OTG02USB3_OTG0DM
3USB3_OTG0DP4GND
5USB3_OTG0SSRXN6USB3_OTG0SSRXP
7GND8USB3_OTG0SSTXN
9USB3_OTG0SSTXP10GND
11GND12VCC5V0_USB_HOST1
13USB3_HOST1DM14USB3_HOST1DP
15GND16USB3_HOST1SSRXN
17USB3_HOST1SSRXP18GND
19USB3_HOST1SSTXN20USB3_HOST1SSTXP
21GND22GND

PCIe

  • B Key
PinNamePinName
12VCC3V3_PCIE30X1
3GND4VCC3V3_PCIE30X1
5GND64G_PWREN_H_GPIO0_C6
7USB2_HOST3_DP84G_DISABLE_GPIO1_B0
9USB2_HOST3_DM10
11GND
20
21GND22
234G_WAKE_ON_HOST24
2526GPIO2-D2
27GND28
2930SIM1_RESET
3132SIM1_CLK
33GND34SIM1_DATA
3536SIM1_PWR
3738
39GND40
4142
4344
45GND46
4748
4950
51GND52
5354
5556
57GND58
5960
6162
6364
6566SIM1_DET
674G_RESET68
69GND70VCC3V3_PCIE30X1
71GND72VCC3V3_PCIE30X1
73GND74VCC3V3_PCIE30X1
75GND76
77GND78
  • E Key
PinNamePinName
1GND2VCC3V3_WF
3USB4_Dp4VCC3V3_WF
5USB4_DM6
7GND8
9SDMMC2_CLK_M010
11WIFI1T1R_CMD12
13WIFI1T1R_D014
15WIFI1T1R_D116
17WIFI1T1R_D218
19WIFI1T1R_D320HOST_WAKE_BT_H_GPIO4_B5
21WIFI_WAKE_HOST_H_GPIO3_D522UART8_RX_M0
23
32UART8_CTS_M0
3334UART8_RTS_M0
35SATA2_TXP36
37SATA2_TXN38
3940
41SATA2_RXP42
43SATA2_RXN44
45GND46
47PCIE20_CLKP48
49PCIE20_CLKN50WIFIBT_32KIN_1T1R
51GND52PCIE30X1_PERSTn_3V3_L
53PCIE20-CLKREQN54BT_WAKE_HOST_H_GPIO4_B4
55PCIE20-WAKEN56
57GND58I2C8_SDA
5960I2C8_SCL
6162
63GND64
6566
6768
69GND70BT_WAKE_HOST_H_GPIO4_B4
7172VCC3V3_WF
7374VCC3V3_WF
75GND76GND
77GND78
79
  • M Key
PinNamePinName
1GND2VCC3V3_SYS2
3GND4VCC3V3_SYS2
56
78
9GND10
1112VCC3V3_SYS2
1314VCC3V3_SYS2
15GND16VCC3V3_SYS2
1718VCC3V3_SYS2
1920
21GND22
2324
2526
27GND28
29PCIE30_RX1N30
31PCIE30_RX1P32
33GND34
35PCIE30_TX1N36
37PCIE30_TX1P38
39GND40
41PCIE30_RX0N42
43PCIE30_RX0P44
45GND46
47PCIE30_TX0N48
49PCIE30_TX0P50PCIE30X2_LANE0_PERSTn_3V3_L
51GND52PCIE30X2_LANE0_CLKREQn_3V3_L
53PCIE30_REFCLKN_CON54PCIE30X2_LANE0_WAKEn_3V3_L
55PCIE30_REFCLKP_CON56
57GND58
6768
6970VCC3V3_SYS2
71GND72VCC3V3_SYS2
73GND74VCC3V3_SYS2
75GND

    You need to be logged into GitHub to post a comment. If you are already logged in, please ignore this message.

    Radxa-docs © 2026 by Radxa Computer (Shenzhen) Co.,Ltd. is licensed under CC BY 4.0