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

Difference between revisions of "Rockpi4/hardware/rockpi4"

 
(26 intermediate revisions by 6 users not shown)
Line 1: Line 1:
 
{{rockpi4_header}}
 
{{rockpi4_header}}
{{Languages|rockpi4/hardware}}
+
{{Languages|rockpi4/hardware/rockpi4}}
  
 
__NOTOC__
 
__NOTOC__
  
     [[rockpi4 | ROCK Pi 4]] > [[rockpi4/hardware | Hardware]] > [[rockpi4/hardware/rockpi4 | Main Board]]
+
     [[rockpi4 | ROCK Pi 4]] > [[rockpi4/hardware | Hardware]] > [[rockpi4/hardware/rockpi4 | ROCK Pi 4 Main Board]]
  
[[File:Rockpi_4b_interfaces_description_blue.png | 500px | right]]
+
[[File:Rockpi_4b_interfaces_description_blue.png | 400px | right]]
  
== Prozessor ==
+
This hardware user manual provides information about the features and signals available on ROCK Pi 4 board.
Der in ROCK Pi 4 verwendete Rockchip RK3399 Soc beinhaltet 64 Bit Hexakern-Prozessor mit dualem 1,8 GHz Cortex-72 und qual 1,4 GHz Cortex-A53, Mali T860MP4 Grafikprozessor (GPU) und internem SRAM. Es hat einen Level 1 (L1) Cache und einen Level 2 (L2). Für Level 1 Cache sind 48KB Icache und 32KB Dcache für jedes A72. 32KB Icache und 32KB Dcache ist für jeden A53. Für Level-2-Cache ist 1024KB-Cache für Big Cluster und 512KB-Cache für Little Cluster.
+
  
== Networking ==  
+
== Processor ==
Auf dem ROCK Pi 4 Model A, B Board ist der Giga Bit Ethernet Port vorhanden. Aus dem Testergebnis wissen wir, dass die Bandbreite mindestens 939Mbits/sec beträgt. Wenn Sie sich für POE (Power Over Ethernet) interessieren, sollten Sie es auf dem Pi 4 Board ausprobieren.
+
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.
<br />Der ROCK Pi 4 Modell B ist mit 2,4GHz 802.11 b/g/n und 5G ac/a WIFI ausgestattet. Der Pi 4B verfügt auch über Bluetooth 5.0.
+
  
== Peripheriegeräte ==
+
== Power supply ==
Die ROCK Pi 4 Modell A und B haben vier USB-A-Anschlüsse. Eine davon ist für USB 3.0 OTG. Einer ist für 3.0 HOST. Und die anderen sind für USB 2.0 HOST. Der Hardware-Switch für den Host/Geräteswitch kann nützlich sein, wenn Sie den USB 3.0 OTG-Anschluss verwenden. Der ROCK Pi 4 kann mit jeder handelsüblichen USB-Computertastatur und -maus betrieben werden. Es kann auch mit USB-Speicher, USB-MIDI-Konvertern und praktisch jedem anderen Gerät/Komponente mit USB-Funktion verwendet werden.
+
<div class="bs-example bs-example-tabs">
 +
        <ul id="tabeth" class="nav nav-tabs nav-justified nav-tabs" style="margin:0;">
 +
            <li class="active" data-toggle="tab">[http://wiki.radxa.com/Nav_Tabs#power-supply-rockpi4-a-aplus-b-bplus-c ROCK Pi 4A / 4A Plus/ 4B / 4B Plus / 4C]</li>
 +
            <li data-toggle="tab"> [http://wiki.radxa.com/Nav_Tabs#power-supply-rockpi4-cplus ROCK Pi 4C Plus]</li>     
 +
        </ul>
 +
</div>
 +
        <div id="tabeth" class="tab-content">
  
Die ROCK Pi 4 Modelle A und B sind mit einer Standard 3,5 mm Klinke ausgestattet. Ein Audiokabel ist notwendig, um einen Ton zu erzeugen, wenn kein HDMI-Kabel vorhanden ist. Audio kann mit Lautsprechern oder Kopfhörer über eine Buchse wiedergegeben werden. Dazu müssen Sie den Desktop-Lautstärkeregler für die Konfiguration verwenden.
+
=== Via PoE ===
 +
ROCK Pi 4 can be power on with [[ROCKPI_23W_PoE_HAT | ROCK Pi 23W PoE HAT]].
  
==MIPI Kamera-Schnittstelle ==
+
            <div class="tab-pane active" id="power-supply-rockpi4-a-aplus-b-bplus-c">
 +
=== Via Type-C port ===
 +
The ROCK Pi 4A / 4A Plus/ 4B / 4B Plus / 4C is powered by USB Type C port and supports a wide range of input voltage, from 9V to 20V. The power adapter can be USB Type-C PD 2.0 with 9V/2A, 12V/2A, 15V/2A and 20V/2A protocol compatible, or Quick Charge 2.0 9V/2A, 12V/2A compatible. A dummy 9V or 12V power adapter with USB C tail will also work. Warning: 9V/12V USB C dummy power adapter is dangerous to other 5V only devices, don't mix them.
  
Es gibt eine Vielzahl von Kameraanwendungen. MIPI CSI 2 lane on board unterstützt 800 MP Kamera über FPC-Anschluss.  
+
If the power adapter is PD/QC compatible, the USB power cable must support USB data communication(USB 2.0 or 3.0) between the board and the power adapter, or the power adapter will not output desired voltage wanted by the board.
  
Die Spezifikation der MIPI CSI-Schnittstellen-Pins ist unten dargestellt.
+
Note: We don't suggest using a 5V only USB C power adapter. The board may boot but it will cause stability issue once the system load rises.
 +
            </div> <!--  id="power-supply-rockpi4-a-aplus-b-bplus-c" end-->
 +
 
 +
            <div id="power-supply-rockpi4-cplus" class="tab-pane">
 +
=== Via Type-C port ===
 +
ROCK Pi 4C Plus is powered by USB Type C port with DC 5V only adapter.
 +
 
 +
            </div>  <!--  id="power-supply-rockpi4-cplus" end-->
 +
        </div>
 +
 
 +
== 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 BT 5.0.
 +
 
 +
Two LEDs are built into the RJ-45 LAN connector. This table describes the LED states  when the board is powered up and the LAN subsystem is operating.
 +
 
 +
{| class="wikitable"
 +
! LED || LED Color || Led State || Condition
 +
|-
 +
| Link || Green || Off<br />On || LAN link is not established.<br /.>LAN link is established.
 +
|-
 +
| Data Rate || Yellow || Blinking<br />Off ||  There is activity on this port.<br />No link is established.
 +
|}
 +
 
 +
== 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 ====
 +
 
 +
[[File:rockpi-4b-mipi-csi.jpeg | 200px]]
 +
 
 +
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.
 +
 
{| class="wikitable"
 
{| class="wikitable"
 
|-
 
|-
Line 55: Line 99:
 
| 13 || MIPI_RX0_D0P
 
| 13 || MIPI_RX0_D0P
 
|-
 
|-
| 14 || MIPI_RX0_D0P
+
| 14 || MIPI_RX0_D0P
 +
|-
 +
| 15 || GND
 
|}
 
|}
  
 
==== MIPI Display Interface ====
 
==== MIPI Display Interface ====
  
Die ROCK Pi 4 Modell A und B sind mit einem HDMI-Anschluss und einem MIPI DSI ausgestattet. Wie bei HDMI beträgt die maximale Auflösung 4k@60Hz. Jeder HDMI-Monitor sollte als Anzeige für den Pi 4 dienen. Wie bei MIPI DSI ist es für Roh-LCD-Panel ausgelegt. HDMI und MIPI DSI können gleichzeitig arbeiten.
+
[[File:rockpi-4b-mipi-dsi.jpeg| 300px]]
 +
 
 +
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.
  
Die Spezifikation der MIPI DSI-Schnittstellen-Pins ist unten dargestellt.
+
The MIPI DSI interface pin specification shows below.
 
{| class="wikitable"
 
{| class="wikitable"
 
|-
 
|-
Line 98: Line 146:
 
|}
 
|}
  
====TF-Kartenschnittstelle ====
+
==== TF Card Interface ====
  
Die TF-Karte kann als Systemspeicher oder externer Speicher verwendet werden. Wenn es als Systemspeicher verwendet wird, sollten Sie besser diejenigen mit mehr als 8 GB Speicherplatz wählen. Wenn es als externer Speicher verwendet wird, können Sie diejenigen mit bis zu 128 GB Speicherplatz auswählen. Wenn die TF-Karte in den TF-Kartenschlitz eingesteckt wird, wird das Gerät vom System automatisch erkannt.
+
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.
  
Die Spezifikation der TF-Kartenschnittstelle ist unten dargestellt.
+
The TF card interface pin specification shows below.
  
 
{| class="wikitable"
 
{| class="wikitable"
Line 135: Line 183:
 
|}
 
|}
  
==== eMMC Sockel auf der Platine, Schnittstellenmerkmal ====
+
==== eMMC Socket on Board Interface Feature(Not available on 4A+/4B+) ====
  
Das leistungsstarke eMMC-Modul ist die beste Wahl als Systemspeicher für ROCK Pi 4. Das eMMC-Modul mit 8GB/16GB/32GB/64GB/64GB/128GB ist verfügbar.
+
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.
  
Die Spezifikation der eMMC-Sockelpins ist unten dargestellt.
+
The eMMC Socket pin specification shows below.
  
 
{| class="wikitable"
 
{| class="wikitable"
Line 180: Line 228:
 
|}
 
|}
  
==== PCIE M.2 MGFF M-KEY Sockel Schnittstelle ====
+
==== PCIE M.2 NGFF M-KEY SOCKET Interface ====
  
Auf der ROCK Pi 4 Modell A und B Karte unterstützt der M.2 Stecker bis zu 2TB M2 NVME SSD.
+
There is one PCIe port in Soc RK3399 and it is compatible with PCI Express Base Specification Revision 2.1.
  
Die PCIE M.2 Schnittstellen-Pin-Spezifikation ist unten dargestellt.
+
On ROCK Pi 4 board, M.2 connector supports up to 2T M2 NVME SSD.
 +
 
 +
The PCIE M.2 interface pin specification shows below.
  
 
{| class="wikitable"
 
{| class="wikitable"
Line 230: Line 280:
 
| GND || 39 || || 40 ||  NC
 
| GND || 39 || || 40 ||  NC
 
|-
 
|-
| PERn0/SATA-B- || 41 || || 42 || NC
+
| PERn0/SATA-B+ || 41 || || 42 || NC
 
|-
 
|-
| PERp0/SATA-B+ || 43 || || 44 || NC
+
| PERp0/SATA-B- || 43 || || 44 || NC
 
|-
 
|-
 
| GND || 45 || || 46 || NC
 
| GND || 45 || || 46 || NC
Line 261: Line 311:
 
|}
 
|}
  
==== HDMI Schnittstelle ====
+
==== HDMI Interface ====
  
Die ROCK Pi 4 Modell A und B sind mit einem HDMI-Anschluss und einem MIPI DSI ausgestattet. Wie bei HDMI beträgt die maximale Auflösung 4k@60Hz. Jeder HDMI-Monitor sollte als Anzeige für den Pi 4 dienen. Wie bei MIPI DSI ist es für Roh-LCD-Panel ausgelegt. HDMI und MIPI DSI können gleichzeitig arbeiten.  
+
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.  
  
Die Spezifikation der HDMI-Schnittstelle ist unten dargestellt.
+
HDMI port supports Consumer Electronics Control (CEC) function. Using ROCK Pi 4 connected to a TV that supports CEC, you can use the command line cec-client application to control the inputs and the TV itself.
 +
 
 +
The HDMI interface pin specification shows below.
  
 
{| class="wikitable"
 
{| class="wikitable"
Line 310: Line 362:
 
|}
 
|}
  
== GPIO-Anschluss (General Purpose Input-Output) für allgemeine Zwecke ==
+
== <span id="gpio">General purpose input-output (GPIO) connector</span> ==
 
+
ROCK Pi 4 hat einen 40-poligen Erweiterungsstecker. Jeder Pin ist durch seine Farbe gekennzeichnet.
+
 
+
{| class="wikitable"
+
! Function3 || Function2 || Function1 ||  GPIO ||  Pin# || || Pin# || GPIO || Function1 || Function2 || Function3
+
|-
+
| || || +3.3V ||  || style="background:yellow"| 1 ||  ||style="background:red"| 2 ||  || +5.0V ||  ||
+
|-
+
| CIF_D7 || VOP_D7 || style="background:orange"| I2C7_SDA || GPIO2_A7 || style="background:green; color:white"| 3 || ||  style="background:red"| 4 || || +5.0V ||  ||
+
|-
+
| CIF_VSYNC || VOP_CLK || style="background:orange"| I2C7_SCL || GPIO2_B0 || style="background:green; color:white"| 5 || || style="background:black; color:white"| 6 ||  || GND ||  ||
+
|-
+
| CIF_CLKOUT || VPO_DEN || SPI2_CLK || GPIO2_B3 || style="background:green; color:white"| 7 || || style="background:green; color:white"| 8 || GPIO4_C4 || style="background:orange"|DEBUG_TXD ||  ||
+
|-
+
| || ||  GND ||  || style="background:black; color:white"| 9 || || style="background:green; color:white"|10 || GPIO4_C3 || style="background:orange"|DEBUG_RXD ||  ||
+
|-
+
|VOP1_PWM  || VPO0_PWM ||  PWM0 || GPIO4_C2 || style="background:green; color:white"|11 || || style="background:green; color:white"|12 || GPIO4_A3 || I2S1_SCLK ||  ||
+
|-
+
| || || PWM1 || GPIO4_C6 || style="background:green; color:white"|13 ||  || style="background:black; color:white"|14 || || GND ||  ||
+
|-
+
| || || SPDIF_TX ||  GPIO4_C5 || style="background:green; color:white"|15 || || style="background:green; color:white"|16 || GPIO4_D2 || ||  ||
+
|-
+
| || ||  +3.3V || || style="background:yellow"|17 || || style="background:green; color:white"|18 || GPIO4_D4 || ||  ||
+
|-
+
| || UART4_TXD ||  SPI1_TXD || GPIO1_B0 || style="background:green; color:white"|19 ||  ||style="background:black; color:white"|20 || || GND ||  ||
+
|-
+
| || UART4_RXD || SPI1_RXD || GPIO1_A7  || style="background:green; color:white"|21  ||  || style="background:green; color:white"|22  || GPIO4_D5  ||  || ||
+
|-
+
| || PMCU_JTAG_TCK ||  SPI1_CLK || GPIO1_B1 || style="background:green; color:white"|23 ||  || style="background:green; color:white"|24 || GPIO1_B2  || SPI1_CSn  || PMCU_JTAG_TMS  ||
+
|-
+
| || ||  GND  ||  || style="background:black; color:white"|25  ||  || style="background:green; color:white"|26 ||  || ADC_IN0 ||  ||
+
|-
+
| CIF_D0 || VOP_D0 ||  I2C2_SDA  || GPIO2_A0 || style="background:blue; color:white"|27  ||  || style="background:blue; color:white"|28 || GPIO2_A1 || I2C2_CLK ||  VOP_D1 || CIF_D1
+
|-
+
| CIF_CLKIN || I2C6_SCL ||  SPI2_TXD  || GPIO2_B2 || style="background:green; color:white"|29  ||  || style="background:black; color:white"|30 ||  || GND ||  ||
+
|-
+
| CIF_HREF || I2C6_SDA ||  SPI2_RXD  || GPIO2_B1 || style="background:green; color:white"|31  ||  || style="background:green; color:white"|32 || GPIO3_C0 || SPDIF_TX || MAC_COL || UART3_CTSn
+
|-
+
| || ||  SPI2_CSn || GPIO2_B4 || style="background:green; color:white"|33  ||  || style="background:black; color:white"|34 ||  || GND ||  ||
+
|-
+
| || ||  I2S1_LRCK_TX || GPIO4_A5 || style="background:green; color:white"|35  ||  || style="background:green; color:white"|36 || GPIO4_A4 || I2S1_LRCK_RX ||  ||
+
|-
+
|  || ||  || GPIO4_D6 || style="background:green; color:white"|37  ||  || style="background:green; color:white"|38 || GPIO4_A6 || I2S1_SDI ||  ||
+
|-
+
| || ||  GND ||  || style="background:black; color:white"|39  ||  ||style="background:green; color:white"|40  || GPIO4_A7 || I2S1_SDO ||  ||
+
|}
+
 
+
==== Weitere Details zu den 40-poligen Stiftleisten ====
+
  
* Die mit orange markierte Funktion ist die Standardfunktion dieses Pins.
+
ROCK Pi 4 has a 40-pin expansion header. Each pin is distinguished by color.
* Bis auf die Pins für die Stromversorgung sind alle Pins direkt auf Soc RK3399 ausgelegt.
+
===== Check [[Rockpi4/hardware/gpio | GPIO]] for details.=====
* Bei den Pins 3, 5, 27, 28, 29 und 31 ist jeder Pin über einen 4,7K Pull-up-Widerstand mit der 3,3V-Versorgung verbunden.
+
* Die Pin 19, 21, 23, 24 sind direkt auf die Pins der SPI-Vorrichtung auf der Platine geführt.
+
* Pin 7 ist direkt auf den Pin des MIPI CSI auf der Platine aufgelegt.
+
* Für UART4-TXD/RXD/RXD
+
** Durch den Test unterstützt es einen großen Bereich der Baudrate. Es beinhaltet, ist aber nicht beschränkt auf die folgenden Baudraten. Zum Beispiel 115200bps. 500000bps, 1500000bps und so weiter.
+
* Für I2C-2 und I2C-7
+
** Wir haben den Test mit dem i2c-Gerät e2prom durchgeführt. Wir müssen die i2c-Gerätedatei öffnen und dann den Lese- oder Schreibvorgang durchführen.
+

Latest revision as of 03:03, 29 September 2022


    ROCK Pi 4 >  Hardware >  ROCK Pi 4 Main Board
Rockpi 4b interfaces description blue.png

This hardware user manual provides information about the features and signals available on ROCK Pi 4 board.

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.

Power supply

Via PoE

ROCK Pi 4 can be power on with ROCK Pi 23W PoE HAT.

Via Type-C port

The ROCK Pi 4A / 4A Plus/ 4B / 4B Plus / 4C is powered by USB Type C port and supports a wide range of input voltage, from 9V to 20V. The power adapter can be USB Type-C PD 2.0 with 9V/2A, 12V/2A, 15V/2A and 20V/2A protocol compatible, or Quick Charge 2.0 9V/2A, 12V/2A compatible. A dummy 9V or 12V power adapter with USB C tail will also work. Warning: 9V/12V USB C dummy power adapter is dangerous to other 5V only devices, don't mix them.

If the power adapter is PD/QC compatible, the USB power cable must support USB data communication(USB 2.0 or 3.0) between the board and the power adapter, or the power adapter will not output desired voltage wanted by the board.

Note: We don't suggest using a 5V only USB C power adapter. The board may boot but it will cause stability issue once the system load rises.

Via Type-C port

ROCK Pi 4C Plus is powered by USB Type C port with DC 5V only adapter.

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 BT 5.0.

Two LEDs are built into the RJ-45 LAN connector. This table describes the LED states when the board is powered up and the LAN subsystem is operating.

LED LED Color Led State Condition
Link Green Off
On
LAN link is not established.
LAN link is established.
Data Rate Yellow Blinking
Off
There is activity on this port.
No link is established.

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

Rockpi-4b-mipi-csi.jpeg

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
15 GND

MIPI Display Interface

Rockpi-4b-mipi-dsi.jpeg

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(Not available on 4A+/4B+)

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 NGFF M-KEY SOCKET Interface

There is one PCIe port in Soc RK3399 and it is compatible with PCI Express Base Specification Revision 2.1.

On ROCK Pi 4 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.

HDMI port supports Consumer Electronics Control (CEC) function. Using ROCK Pi 4 connected to a TV that supports CEC, you can use the command line cec-client application to control the inputs and the TV itself.

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.

Check GPIO for details.