Skip to main content

Hardware Overview

We will provide detailed hardware information for the ROCK 5B in this article.

rock 5b interfaces

Processor (1)

The SoC of the ROCK 5B is the Rockchip RK3588. The main CPU is a quad-core ARM Cortex-A76 MPCore processor and a quad-core ARM Cortex-A55 MPCore processor, Both are high-performance, low-power and cached application processors. The ARM Mali-G610 MP4 3D GPU makes the RK3588 fully compatible with OpenGLES 1.1, 2.0, 3.2, OpenCL 2.2 and Vulkan 1.2. The special 2D hardware engine with MMU will maximize display performance and provide very smooth operation. The built-in NPU supports INT4 / INT8 / NT16 / FP16 mixed operations with up to 6 TOPs of computational power. In addition, network models based on a range of frameworks such as TensorFlow / MXNet / PyTorch / Caffe can be easily implemented due to its strong compatibility.

Memory (2)

The ROCK 5B's memory is LPDDR 4x, which consists of two 32 bits LPDDR 4x chips making up 64 bits at a frequency of up to 4224 Mhz. The ROCK 5B is available in 4GB, 8GB, and 16GB memory options.

USB-C Power Supply (3)

The Radxa ROCK 5 Model B is designed as a low power ARM desktop single board computer. It supports the following power inputs:

  • Type-C 5V input with a recommended input current of 5A under high load.
  • USB PD2.0 power adapter supporting 12V / 15V / 20V with 2A or higher output current.
  • Power adapter with fixed 9V to 20V DC voltage and USB-C plugs
  • 5V PoE power from GPIO PINs 2 and 4

HDMI outputs (4 / 5)

HDMI Input (6)

USB2.0 (7)

USB3.0 (8)

2.5GbE (9)

PoE (10)

M.2 E-KEY (11)

M.2 E key pin signal definition table:

Pin#NamePin#NamePin#NamePin#Name
1GND21WIFI_WAKE_HOST_H_GPIO3_D549PCIE20_REFCLKN69GND
2VCC3V3_WF22UART1_RX_M050WIFIBT_32KIN_1T1R70BT_WAKE
3USB2_M2_DP23WIFI_REG_ON51GND71NC
4VCC3V3_WF32UART1_TX_M052PCIE_PERSTN72VCC3V3_WF
5USB2_M2_DM33GND53PCIE_CLKREQN73NC
6WIFI_LED34UART1_CTS_M54HOST_WAKE_BT_H74VCC3V3_WF
7GND35PCIE_TXP55PCIE_WAKEN75GND
8PCM_CLK/I2S_SCK36UART1_RTS_M56BT_REG_ON_H76GND
9SDIO_CLK37PCIE_TXN57GND77GND
10PCM_SYNC/I2S_WS38NC58I2C4_SDA_M178NC
11SDMMC2_CMD_M039GND59NC79NC
12PCM_OUT/I2S SD_OUT40NC60I2C4_SCL_M1
13SDMMC2_D0_M041PCIE20_RXP61NC
14PCM_IN/I2S SD_IN42BT_REG_NO62NC
15SDMMC2_D1_M043PCIE20_RXN63GND
16NC44NC64NC
17SDMMC2_D2_M045GND65NC
18GND46NC66NC
19SDMMC2_D3_M047PCIE20_REFC67NC
20BT_WAKE_HOST_H_GPIO4_B448NC68NC

M.2 M-KEY (12)

eMMC (13)

Onboard Socket Interface Features
High performance eMMC modules are the best choice for ROCK 5B system storage. eMMC modules are available in 8GB / 16GB / 32GB / 64GB / 128GB. The eMMC socket pinouts are listed below:

NamePin#Pin#Name
GND134GND
EMMC_D5233EMMC_D6
GND332GND
EMMC_D4431EMMC_D7
GND530GND
EMMC_D0629EMMC_D1
GND728GND
EMMC_CLK827EMMC_D2
GND926GND
EMMC_D31025EMMC_CMD
GND1124GND
EMMC_RSTN1223VCC3V3_SYS
GND1322VCC3V3_SYS
GND1421VCC_1V8
EMMC_RCLK1520VCC_1V8
GND1619GND
GND1718GND

TF Card Slot (14)

The TF card can be used as system storage or external storage.

When it is used as system storage, you should preferably choose one with more than 8GB of storage space.

When it is used as external storage, you can choose the storage space up to 128GB.

When the TF card is inserted into the TF card slot, the system will automatically recognize the device.

The interface pin specifications of the TF card are shown below:

Pin#Name
1SDMMC0_D2
2SDMMC0_D3
3SDMMC0_CMD
4VCC3V3_SYS
5SDMMC0_CLK
6GND
7SDMMC0_D0
8SDMMC0_D1
9SDMMC0_DET_L
10GND
11GND
12GND
13GND

Earphones (15)

MIPI CSI (16)

Please refer to MIPI camera compatibility.

MIPI DSI (17)

Please refer to MIPI screen compatibility.

40 PIN GPIO (18)

GPIO Voltage

GPIOVoltageMax.
All GPIOs3.3V3.63V
SARADC_IN43.3V1.8V

GPIO Interface

The ROCK 5B is supplied with a 40pin pin GPIO cradle that is compatible with most sensor applications on the market.

Hint: Actual compatibility is subject to use.

  • The ROCK5B has a 40-pin expansion connector. Each pin is color coded.
GPIO numberFunction8Function7Function6Function5Function4Function3Function2Function1Pin#Pin#Function1Function2Function3Function4Function5Function6Function7Function8GPIO number
+3.3V
1
2
+5.0V
139I2S1_SDO2_M0I2C7_SDA_M3UART8_CTSN_M0PWM15_IR_M1CAN1_TX_M1GPIO4_B3
3
4
+5.0V
138I2S1_SDO1_M0I2C7_SCL_M3UART8_RTSN_M0PWM14_M1CAN1_RX_M1GPIO4_B2
5
6
GND
115SPI1_CS1_M1I2C8_SDA_M4UART7_CTSN_M1PWM15_IR_M0GPIO3_C3
7
8
GPIO0_B5
UART2_TX_M0
I2C1_SCL_M0I2S1_MCLK_M113
GND
9
10
GPIO0_B6
UART2_RX_M0
I2C1_SDA_M0I2S1_SCLK_M114
113SPI1_CLK_M1UART7_RX_M1GPIO3_C1
11
12
GPIO3_B5CAN1_RX_M0PWM12_M0UART3_TX_M1I2S2_SCLK_M1109
111SPI1_MOSI_M1I2C3_SCL_M1GPIO3_B7
13
14
GND
112SPI1_MISO_M1I2C3_SDA_M1UART7_TX_M1GPIO3_C0
15
16
GPIO3_A4100
+3.3V
17
18
GPIO4_C4PWM5_M2SPI3_MISO_M0148
42SPI0_MOSI_M2UART4_RX_M2GPIO1_B2
19
20
GND
41SPI0_MISO_M2GPIO1_B1
21
22
SARADC_IN4
43SPI0_CLK_M2UART4_TX_M2GPIO1_B3
23
24
GPIO1_B4UART7_RX_M2SPI0_CS0_M244
GND
25
26
GPIO1_B5UART7_TX_M2SPI0_CS1_M245
150SPI3_CLK_M0I2C0_SDA_M1PWM7_IR_M3GPIO4_C6
27
28
GPIO4_C5PWM6_M2I2C0_SCL_M1SPI3_MOSI_M0149
63UART1_CTSN_M1PWM15_IR_M3GPIO1_D7
29
30
GND
47SPDIF_TX_M0UART1_RX_M1PWM13_M2GPIO1_B7
31
32
GPIO3_C2PWM14_M0UART7_RTSN_M1I2C8_SCL_M4SPI1_CS0_M1114
103PWM8_M0GPIO3_A7
33
34
GND
110I2S2_LRCK_M1UART3_RX_M1PWM13_M0CAN1_TX_M0GPIO3_B6
35
36
GPIO3_B1PWM2_M1UART2_TX_M2105
GPIO0_A0
37
38
GPIO3_B2PWM3_IR_M1UART2_RX_M2I2S2_SDI_M1106
GND
39
40
GPIO3_B3UART2_RTSNI2S2_SDO_M1107

SPI NOR Flash (19)

RTC Batteries (20)

The RTC connectors are designed to follow standard connector types.

You can tell '+3.3V' and '-' from the silkscreen on the board.

Pin#Name
1GND
2+3.3V

Recovery button (21)

The ROCK 5B supports loader mode, which is a special operation mode in which the CPU waits for commands from the USB OTG port.

The Recovery button is used to upgrade the image of SPI NOR Flash or eMMC on the board.

The following are the steps to boot the device into loader mode.

  • Ensure that the U-Boot image has been pre-installed on the SPI NOR Flash or eMMC.
  • Press and hold the Recovery button
  • Plug the USB-A to C cable into the Type-C port of the ROCK 5B and the other end into your computer.
  • Wait for about 5 seconds
  • Make sure the ROCK 5B is in loader mode.
#For macOS host:
lsusb result
Output:Bus 000 Device 004: ID 2207:350b Fuzhou Rockchip Electronics Co., Ltd. Composite Device

#For Linux host:
lsusb result
Output:Bus 001 Device 030: ID 2207:350b Fuzhou Rockchip Electronics Company

#For Windows host:
Open RKDevTool and you would see the device is in Found One MASKROM Device.

Power button (22)

The power button is used to turn the device on or off. A short press on the power button turns the power of the device on/off. This is what we call power on/off via software. The power button also provides hardware power on/off of the device. You can turn off the device in this way when the system crashes. Press and hold the power button for at least 6 seconds. Then release the power button. After that, a short press on the power button will power on the device.

RGB LED (23)

Consult [LED Guidelines] (../os-config/rsetup#leds).

Fan (24)

You can check rsetup: thermal-governor for fan settings. Definition table (top to bottom in the image):

Pin#Name
1+5.0V
2GND

Maskrom Button (25)

The ROCK 5B supports Maskrom mode, a special mode of operation in which the CPU waits for commands from the USB OTG port.

When you need to write an image to the SPI NOR Flash or eMMC board, you need to use the Maskrom button to enter the Maskrom mode.

WIFI

Please refer to the supported WIFI models