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

Difference between revisions of "Rockpi4"

(Support)
(40 PIN GPIO)
Line 26: Line 26:
  
 
{| class="wikitable"
 
{| class="wikitable"
! Function
+
! Function ||  GPIO ||  Pin# || || Pin# || GPIO || Function
! GPIO
+
! Pin#
+
!
+
! Pin#
+
! GPIO
+
! Function
+
 
|-  
 
|-  
| +3.3V
+
| +3.3V ||  || style="background:yellow"| 1 ||  ||style="background:red"| 2 ||  || +5.0V
|
+
| style="background:yellow"| 1
+
|
+
| style="background:red"| 2
+
|
+
| +5.0V
+
 
|-
 
|-
| I2C7_SDA
+
| I2C7_SDA || GPIO2_A7 || style="background:green; color:white"| 3 || ||  style="background:red;"| 4 || || +5.0V
| GPIO2_A7
+
| style="background:green; color:white"| 3
+
|
+
| style="background:red;"| 4
+
|
+
| +5.0V
+
 
|-
 
|-
| I2C7_SCL
+
| I2C7_SCL || GPIO2_B0 || style="background:green; color:white"| 5 || || style="background:black; color:white"| 6 ||  || GND
| GPIO2_B0
+
| style="background:green; color:white"| 5
+
|
+
| style="background:black; color:white"| 6
+
|
+
| GND
+
 
|-
 
|-
| SPI2_CLK
+
| SPI2_CLK || GPIO2_B3 || style="background:green; color:white"| 7 || || style="background:green; color:white"| 8 || GPIO4_C4 || DEBUG_TXD
| GPIO2_B3
+
| style="background:green; color:white"| 7
+
|
+
| style="background:green; color:white"| 8
+
| GPIO4_C4
+
| UART2_TX
+
 
|-
 
|-
| GND
+
| GND ||  || style="background:black; color:white"| 9 || || style="background:green; color:white"|10 || GPIO4_C3 || DEBUG_RXD
|  
+
| style="background:black; color:white"| 9
+
|
+
| style="background:green; color:white"|10
+
| GPIO4_C3
+
| UART2_RX
+
 
|-
 
|-
| PWM0
+
| PWM0 || GPIO4_C2 || style="background:green; color:white"|11 || || style="background:green; color:white"|12 || GPIO4_A3 || I2S1_SCLK/PCM-CLK
| GPIO4_C2
+
| style="background:green; color:white"|11
+
|
+
| style="background:green; color:white"|12
+
| GPIO4_A3
+
| I2S1_SCLK/PCM-CLK
+
 
|-
 
|-
|
+
| || GPIO4_C6 || style="background:green; color:white"|13 ||  || style="background:black; color:white"|14 || || GND
| GPIO4_C6
+
| style="background:green; color:white"|13
+
|
+
| style="background:black; color:white"|14
+
|
+
| GND
+
 
|-
 
|-
|
+
| || GPIO4_C5 || style="background:green; color:white"|15 || || style="background:green; color:white"|16 || GPIO4_D2 ||
| GPIO4_C5
+
| style="background:green; color:white"|15
+
|
+
| style="background:green; color:white"|16
+
| GPIO4_D2
+
|  
+
 
|-
 
|-
| +3.3V
+
| +3.3V || || style="background:yellow;"|17 || || style="background:green; color:white"|18 || GPIO4_D4 ||
|
+
| style="background:yellow;"|17
+
|
+
| style="background:green; color:white"|18
+
| GPIO4_D4
+
|  
+
 
|-
 
|-
| SPI1_TXD  
+
| SPI1_TXD || GPIO1_B0 || style="background:green; color:white"|19 ||  ||style="background:black; color:white"|20 || || GND
| GPIO1_B0
+
| style="background:green; color:white"|19
+
|
+
| style="background:black; color:white"|20
+
|
+
| GND
+
 
|-
 
|-
| SPI1_RXD
+
| SPI1_RXD || GPIO1_A7 || style="background:green; color:white"|21 ||  || style="background:green; color:white"|22 || GPIO4_D5
| GPIO1_A7
+
| style="background:green; color:white"|21
+
|
+
| style="background:green; color:white"|22
+
| GPIO4_D5
+
|
+
 
|-
 
|-
| SPI1_CLK
+
| SPI1_CLK || GPIO1_B1 || style="background:green; color:white"|23 ||  || style="background:green; color:white"|24 || GPIO1_B2 || SPI1_CSN0  
| GPIO1_B1
+
| style="background:green; color:white"|23
+
|
+
| style="background:green; color:white"|24
+
| GPIO1_B2
+
| SPI1_CSN0
+
 
|-
 
|-
| GND
+
| GND ||  || style="background:black; color:white"|25 ||  || style="background:green; color:white"|26 ||  || ADC_IN0
|
+
| style="background:black; color:white"|25
+
|
+
| style="background:green; color:white"|26
+
|
+
| ADC_IN0
+
 
|-
 
|-
| I2C2_SDA
+
| I2C2_SDA || GPIO2_A0 || style="background:blue; color:white"|27 ||  || style="background:blue; color:white"|28 || GPIO2_A1 || I2C2_CLK
| GPIO2_A0
+
| style="background:blue; color:white"|27
+
|
+
| style="background:blue; color:white"|28
+
| GPIO2_A1
+
| I2C2_CLK
+
 
|-
 
|-
| SPI2_TXD
+
| SPI2_TXD || GPIO2_B2 || style="background:green; color:white"|29 ||  || style="background:black; color:white"|30 ||  || GND
| GPIO2_B2
+
| style="background:green; color:white"|29
+
|
+
| style="background:black; color:white"|30
+
|
+
| GND
+
 
|-
 
|-
| SPI2_RXD
+
| SPI2_RXD || GPIO2_B1 || style="background:green; color:white"|31 ||  || style="background:green; color:white"|32 || GPIO3_C0 || SPDIF_TX
| GPIO2_B1
+
| style="background:green; color:white"|31
+
|
+
| style="background:green; color:white"|32
+
| GPIO3_C0
+
| SPDIF_TX
+
 
|-
 
|-
| SPI2_CSN0
+
| SPI2_CSN0 || GPIO2_B4 || style="background:green; color:white"|33 ||  || style="background:black; color:white"|34 ||  || GND
| GPIO2_B4
+
| style="background:green; color:white"|33
+
|
+
| style="background:black; color:white"|34
+
|
+
| GND
+
 
|-
 
|-
| I2S1_LRCK_TX/PCM-FS
+
| I2S1_LRCK_TX/PCM-FS || GPIO4_A5 || style="background:green; color:white"|35 ||  || style="background:green; color:white"|36 || GPIO4_A4 || I2S1_LRCK_RX
| 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_SDIO/PCM-DI
| GPIO4_D6
+
| style="background:green; color:white"|37
+
|
+
| style="background:green; color:white"|38
+
| GPIO4_A6
+
| I2S1_SDIO/PCM-DI
+
 
|-
 
|-
| GND
+
| GND ||  || style="background:black; color:white"|39 ||  ||style="background:green; color:white"|40 || GPIO4_A7 || I2S1_SDO0/PCM-D0
|
+
| style="background:black; color:white"|39
+
|
+
| style="background:green; color:white"|40
+
| GPIO4_A7
+
| I2S1_SDO0/PCM-D0
+
 
|}
 
|}
  

Revision as of 02:14, 5 November 2018


Rockpi 4B v13 breadboard front.png

Introduction

ROCK Pi 4 is a Rockchip RK3399 based SBC(Single Board Computer) by Radxa. It can run android or some Linux distributions. ROCK Pi 4 features a six core ARM processor, 64bit dual channel 3200Mb/s LPDDR4, up to 4K@60 HDMI, MIPI DSI, MIPI CSI, 3.5mm jack with mic, 802.11 ac WIFI, Bluetooth 5.0, USB Port, GbE LAN, 40-pin color expansion header, RTC. Also, ROCK Pi 4 supports USB PD and QC powering.

ROCK Pi 4 comes in two models, Model A and Model B.

Getting started

Refer the ROCK Pi 4 getting started page for how to start with ROCK Pi.

Refer Installation for how to install images on ROCK Pi.

Hardware

Refer ROCK Pi 4 Hardware page for detailed info about ROCK Pi.

40 PIN GPIO

Function GPIO Pin# Pin# GPIO Function
+3.3V 1 2 +5.0V
I2C7_SDA GPIO2_A7 3 4 +5.0V
I2C7_SCL GPIO2_B0 5 6 GND
SPI2_CLK GPIO2_B3 7 8 GPIO4_C4 DEBUG_TXD
GND 9 10 GPIO4_C3 DEBUG_RXD
PWM0 GPIO4_C2 11 12 GPIO4_A3 I2S1_SCLK/PCM-CLK
GPIO4_C6 13 14 GND
GPIO4_C5 15 16 GPIO4_D2
+3.3V 17 18 GPIO4_D4
SPI1_TXD GPIO1_B0 19 20 GND
SPI1_RXD GPIO1_A7 21 22 GPIO4_D5
SPI1_CLK GPIO1_B1 23 24 GPIO1_B2 SPI1_CSN0
GND 25 26 ADC_IN0
I2C2_SDA GPIO2_A0 27 28 GPIO2_A1 I2C2_CLK
SPI2_TXD GPIO2_B2 29 30 GND
SPI2_RXD GPIO2_B1 31 32 GPIO3_C0 SPDIF_TX
SPI2_CSN0 GPIO2_B4 33 34 GND
I2S1_LRCK_TX/PCM-FS GPIO4_A5 35 36 GPIO4_A4 I2S1_LRCK_RX
GPIO4_D6 37 38 GPIO4_A6 I2S1_SDIO/PCM-DI
GND 39 40 GPIO4_A7 I2S1_SDO0/PCM-D0

Software

Build

Release Images

Community