Please enable javascript, or click here to visit my ecommerce web site powered by Shopify.
Jump to: navigation, search

Rockpi4/hardware

< Rockpi4
Revision as of 00:40, 10 November 2018 by HANLLEL (Talk | contribs)



The ROCK Pi 4 is the lasted SBC released by radxa.

Processor

The Rockchip RK3399 Soc used in ROCK Pi 4 includes 64bits hexa core processor with dual 1.8GHz Cortex-72 and qual 1.4GHz Cortex-A53, Mali T860MP4 graphics processing unit (GPU) and Internal SRAM. It has a level 1 (L1) cache and a level 2 (L2). For level 1 cache, 48KB Icache and 32KB Dcache is for each A72. 32KB Icache and 32KB Dcache is for each A53. For level 2 cache, 1024KB cache is for big cluster and 512KB cache is for little cluster.

Networking

On the ROCK Pi 4 Model A, B board, the Giga Bit Ethernet port is provided. From the test result, we know that the bandwidth is at least 939Mbits/sec. If you are interested in POE (Power Over Ethernet), you should try it on the Pi 4 board.
The ROCK Pi 4 Model B is equipped with 2.4GHz 802.11 b/g/n and 5G ac/a WIFI. The Pi 4B also features Bluetooth 5.0.

Peripherals

The ROCK Pi 4 Model A and B have four USB-A connectors. One is for USB 3.0 OTG. One is for 3.0 HOST. And the others are for USB 2.0 HOST. The hardware switch for host/device switch may be useful when you use the USB 3.0 OTG connector. The ROCK Pi 4 may be operated with any generic USB computer keyboard and mouse. It may also be used with USB storage, USB to MIDI converters, and virtually any other device/component with USB capabilities.

The ROCK Pi 4 Model A and B are equipped with a standard 3.5mm jack. An audio lead is necessary to produce sound when there is not an HDMI cable. Audio can be played through speakers or headphones using jack. This requires you to use the Desktop volume control for configuration.

MIPI Camera Interface

There is a wide range of camera applications in our lives. MIPI CSI 2 lane on board support 800 MP camera via FPC connector.

The MIPI CSI interface pin specification shows below.

Pin# Name
1 VCC_CAM
2 I2C4_SDA
3 I2C4_SCL
4 CAM_MCLK
5 CAM_GPIO1
6 GND
7 MIPI_RX0_CLKP
8 MIPI_RX0_CLKN
9 GND
10 MIPI_RX0_D1P
11 MIPI_RX0_D1N
12 GND
13 MIPI_RX0_D0P
14 MIPI_RX0_D0P

MIPI Display Interface

The ROCK Pi 4 Model A and B are equipped with one HDMI connector and one MIPI DSI. As for HDMI, the maximum resolution is 4k@60Hz. Any HDMI monitor should work as a display for the Pi 4. As for MIPI DSI, it is designed for raw LCD pannel. HDMI and MIPI DSI can work at the same time.

The MIPI DSI interface pin specification shows below.

Pin# Name
1 VCC_MIPI
2 VCC_MIPI
3 GND
4 I2C_SDA_AUDIO
5 I2C_SCL_AUDIO
6 GND
7 MIPI_TX/RX_D0P
8 MIPI_TX_RX_D0N
9 GND
10 MIPI_TX/RX_CLKP
11 MIPI_TX_RX_CLKN
12 GND
13 MIPI_TX/RX_D1P
14 MIPI_TX/RX_D1N
15 GND

TF Card Interface

The TF card can be used as a system storage or an external storage. When it's used as a system storage, you had better choose the ones with storage space larger than 8GB. When it's used as an external storage, you can choose the ones with storage space up to 128GB. When the TF card is inserted into the TF card slot , the device will be automatically recognized by the system.

The TF card interface pin specification shows below.

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

eMMC Socket on Board Interface Feature

The high performance eMMC module is the best choice as the system storage for ROCK Pi 4. The eMMC module with 8GB/16GB/32GB/64GB/128GB is available.

The eMMC Socket pin specification shows below.

Name Pin# Pin# Name
GND 1 34 GND
EMMC_D5 2 33 EMMC_D6
GND 3 32 GND
EMMC_D4 4 31 EMMC_D7
GND 5 30 GND
EMMC_D0 6 29 EMMC_D1
GND 7 28 GND
EMMC_CLK 8 27 EMMC_D2
GND 9 26 GND
EMMC_D3 10 25 EMMC_CMD
GND 11 24 GND
EMMC_RSTN 12 23 VCC3V3_SYS
GND 13 22 VCC3V3_SYS
GND 14 21 VCC_1V8
EMMC_RCLK 15 20 VCC_1V8
GND 16 19 GND
GND 17 18 GND

PCIE M.2 MGFF M-KEY SOCKET Interface

On ROCK Pi 4 Model A and B board, M.2 connector supports up to 2T M2 NVME SSD.

The PCIE M.2 interface pin specification shows below.

Name Pin# Pin# Name
GND 1 2 +3.3V
GND 3 4 +3.3V
PERn3 5 6 NC
PERp3 7 8 NC
GND 9 10 DAS/DSS#
PETn3 11 12 +3.3V
PETp3 13 14 +3.3V
GND 15 16 +3.3V
PERn2 17 18 +3.3V
PERp2 19 20 EMMC_CMD
GND 21 22 NC
PETn2 23 24 NC
PETp2 25 26 NC
GND 27 28 NC
PERn1 29 30 NC
PERp1 31 32 NC
GND 33 34 NC
PETn1 35 36 NC
PETp1 37 38 DEVSLP
GND 39 40 NC
PERn0/SATA-B- 41 42 NC
PERp0/SATA-B+ 43 44 NC
GND 45 46 NC
PETn0/SATA-A- 47 48 NC
PETp0/SATA-A+ 49 50 PERST#
GND 51 52 CLKREQ#
REFCLKN 53 54 PEWake#
REFCLKP 55 56 NC
GND 57 58 NC
NC 67 68 SUSCLK
PEDET 69 70 +3.3V
GND 71 72 +3.3V
GND 73 74 +3.3V
GND 75

HDMI Interface

The ROCK Pi 4 Model A and B are equipped with one HDMI connector and one MIPI DSI. As for HDMI, the maximum resolution is 4k@60Hz. Any HDMI monitor should work as a display for the Pi 4. As for MIPI DSI, it is designed for raw LCD pannel. HDMI and MIPI DSI can work at the same time.

The HDMI interface pin specification shows below.

Pin# Name
1 HDMI_TX2P
2 GND
3 HDMI_TX2N
4 HDMI_TX1P
5 GND
6 HDMI_TX1N
7 HDMI_TX0P
8 GND
9 HDMI_TX0N
10 HDMI_TXCP
11 GND
12 HDMI_TXCN
13 PORT_CEC
14 NC
15 DDC_SCL
16 DDC_SDA
17 GND
18 VCC5V0_HDMI
19 HDMI_HPD

General purpose input-output (GPIO) connector

ROCK Pi 4 has a 40-pin expansion header. Each pin is distinguished by color.

Function3 Function2 Function1 GPIO Pin# Pin# GPIO Function1 Function2 Function3
+3.3V 1 2 +5.0V
CIF_D7 VOP_D7 I2C7_SDA GPIO2_A7 3 4 +5.0V
CIF_VSYNC VOP_CLK I2C7_SCL GPIO2_B0 5 6 GND
CIF_CLKOUT VPO_DEN SPI2_CLK GPIO2_B3 7 8 GPIO4_C4 DEBUG_TXD
GND 9 10 GPIO4_C3 DEBUG_RXD
VOP1_PWM VPO0_PWM PWM0 GPIO4_C2 11 12 GPIO4_A3 I2S1_SCLK
PWM1 GPIO4_C6 13 14 GND
SPDIF_TX GPIO4_C5 15 16 GPIO4_D2
+3.3V 17 18 GPIO4_D4
UART4_TXD SPI1_TXD GPIO1_B0 19 20 GND
UART4_RXD SPI1_RXD GPIO1_A7 21 22 GPIO4_D5
PMCU_JTAG_TCK SPI1_CLK GPIO1_B1 23 24 GPIO1_B2 SPI1_CSn PMCU_JTAG_TMS
GND 25 26 ADC_IN0
CIF_D0 VOP_D0 I2C2_SDA GPIO2_A0 27 28 GPIO2_A1 I2C2_CLK VOP_D1 CIF_D1
CIF_CLKIN I2C6_SCL SPI2_TXD GPIO2_B2 29 30 GND
CIF_HREF I2C6_SDA SPI2_RXD GPIO2_B1 31 32 GPIO3_C0 SPDIF_TX MAC_COL UART3_CTSn
SPI2_CSn GPIO2_B4 33 34 GND
I2S1_LRCK_TX GPIO4_A5 35 36 GPIO4_A4 I2S1_LRCK_RX
GPIO4_D6 37 38 GPIO4_A6 I2S1_SDI
GND 39 40 GPIO4_A7 I2S1_SDO

More details about 40-pin Header

  • Function marked with color orange is the default function of this pin.
  • Except Pins for power supply, all pins are laid out directly to Soc RK3399.
  • For pin 3, 5, 27, 28, 29 and 31, each pin is connected to the 3.3V supply through a 4.7K pull-up resistor.
  • Pin 19, 21, 23, 24 are laid out directly to the pins of SPI device on board.
  • Pin 7 is laid out directly to the pin of MIPI CSI on board.
  • For UART4-TXD/RXD
    • By testing, it supports a wide range of baud rate. It includes but not is not limited to the following baud rates. For instance, 115200bps. 500000bps, 1500000bps and so on.
  • For I2C-2 and I2C-7
    • We have do the test using the i2c device e2prom. We need to open the i2c device file, and then do the read or write operation.