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

Difference between revisions of "RockpiE/hardware/rockpiE"

(General purpose input-output (GPIO) connector)
 
(25 intermediate revisions by 3 users not shown)
Line 1: Line 1:
 
{{rockpiE_header}}
 
{{rockpiE_header}}
 
{{Languages|rockpiE/hardware/rockpiE}}
 
{{Languages|rockpiE/hardware/rockpiE}}
 +
 +
__NOTOC__
  
 
     [[rockpiE | ROCK Pi E]] > [[rockpiE/hardware | Hardware]] > [[rockpiE/hardware/rockpiE | Main Board]]
 
     [[rockpiE | ROCK Pi E]] > [[rockpiE/hardware | Hardware]] > [[rockpiE/hardware/rockpiE | Main Board]]
  
__TOC__
+
[[File:rock-pi-e-main-board.png | 500px | right]]
  
 
This hardware user manual provides information about the features and signals available on ROCK Pi E board.
 
This hardware user manual provides information about the features and signals available on ROCK Pi E board.
 +
 +
=== <span id="get_start_specs"></span> Features ===
 +
 +
{| class="wikitable"
 +
! Model
 +
! colspan="1"  | ROCK Pi E
 +
|-
 +
! Processor
 +
| colspan="2" | SoC RK3328 <br />Quad Cortex-A53 ARM 64bits processor <br /> frequency up to 1.3GHz
 +
|-
 +
! Memory
 +
| colspan="2" | 256MB / 512MB / 1GB / 2GB DDR3
 +
|-
 +
! Storage
 +
| colspan="2" | MicroSD(TF) up to 128GB<br> High performance eMMC module 16GB / 32GB / 64GB / 128GB
 +
|-
 +
! Wireless
 +
| colspan="2" | 802.11 b/g/n wifi <br /> BT 4.0(rtl8723du/rtl8821cu) <br /> external antenna
 +
|-
 +
! USB
 +
| colspan="2" | USB3.0 Type-A HOST x1
 +
|-
 +
!| Key
 +
| colspan="2" | Reset key x1 <br /> Maskrom key x1
 +
|-
 +
! Ethernet
 +
| colspan="2" | 1x 1000Mbit ethernet, optional PoE(additional HAT required) <br> 1x 100Mbit ethernet
 +
|-
 +
! IO
 +
| colspan="2" | 40-pin expansion header <br> USB 2.0 x1<br> I2C x1 <br /> SPI x1<br /> UART x2<br /> I2S x1<br /> 5V DC power in x2 <br /> 3.3V DC power in x2
 +
|-
 +
! Others
 +
| colspan="2" | LEDs
 +
|-
 +
! Power
 +
| colspan="2" | USB Type-C DC 5V
 +
|-
 +
! Size
 +
| colspan="2" | 2.5x2.2 inch(56x65mm)
 +
|}
 +
  
 
=== Hardware version ===
 
=== Hardware version ===
Line 35: Line 78:
  
 
The ROCK Pi E is equipped with a standard 3.5mm jack. An audio lead is necessary to produce sound. Audio can be played through speakers or headphones using jack.
 
The ROCK Pi E is equipped with a standard 3.5mm jack. An audio lead is necessary to produce sound. Audio can be played through speakers or headphones using jack.
 
=== Keys ===
 
 
The ROCK Pi E Board presents two keys, Reset key and Maskrom key.
 
 
[[File:rockpie-v11-keys.jpeg | 300px]]
 
 
The Reset key serves as the hardware reset button. Short press the button to reboot the system.
 
 
The Maskrom key is for firmware flash/upgrade.
 
  
 
=== LED ===
 
=== LED ===
Line 80: Line 113:
 
==== PoE ====
 
==== PoE ====
  
PoE connector is divided into two groups, Group 1 and Group2.
+
PoE connector is divided into two groups, Group 1 (PIN#1 and PIN#2) and Group2 (PIN#3 and PIN#4) .
  
[[File:rockpie-poe.jpg | 300px]]
+
RJ45 1000M PoE connector pinout table.
 +
 
 +
{| class="wikitable"
 +
|-
 +
! ROCK Pi E PoE || --- ||  Raspberry Pi 4B PoE
 +
|-
 +
| TR1(PIN#1) || --- || TR1
 +
|-
 +
| TR2(PIN#2) || --- || TR2
 +
|-
 +
| TR3(PIN#3) || --- || TR3
 +
|-
 +
| TR4(PIN#4) || --- || TR4
 +
|}
 +
 
 +
ROCK Pi E PoE look:
 +
 
 +
[[File:rockpie-poe.jpg | 300px]]
 +
 
 +
Raspberry Pi 4B PoE look:
 +
 
 +
[[File:raspberrypi4b-poe.jpg | 300px]]
  
 
==== WiFi ====
 
==== WiFi ====
  
ROCK Pi E is equipped with RTL8723DU (Wlan 2.4GHz 802.11bgn and Bluetooth 4.2) or RTL8821CU (Wlan 2.4GHz 802.11 ac/abgn and Bluetooth 4.2) chip.
+
ROCK Pi E is equipped with RTL8723DU (Wlan 2.4GHz 802.11b/g/n and BT 4.2) or RTL8821CU (Wlan 2.4GHz 802.11 ac/a/b/g/n, Wlan 5GHz 802.11 ac/a/b/g/n and BT 4.2) chip.
  
 
To gain a stronger signal, you need an antenna attached to the antenna socket on board.
 
To gain a stronger signal, you need an antenna attached to the antenna socket on board.
Line 183: Line 237:
  
 
The ROCK Pi E 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 E 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.
 +
 +
By default, the USB port power supply is limited to 1.44A current if the system power input is enough.
  
 
=== <span id="gpio">General purpose input-output (GPIO) connector</span> ===
 
=== <span id="gpio">General purpose input-output (GPIO) connector</span> ===
  
ROCK Pi E has one 40-pin expansion header. Each pin is distinguished by color.
+
Check [[rockpiE/hardware/gpio | ROCK Pi E GPIO]].
 
+
<div class="col-md-12 ">
+
    <div class="panel panel-midnight-white">
+
        <div class="panel-heading"><h3>Hardware V1.0/V1.1</h3></div>
+
        <div class="panel-body">
+
 
+
==== 40-pin Header ====
+
 
+
{| class="wikitable"
+
! GPIO number ||  Func4 || Func3 || Func2 ||  Func1 ||  Pin# || || Pin# || Func1 || Func2 || Func3 || Func4 ||  GPIO number
+
|-
+
| ||  || || || +3.3V || style="background:yellow"| 1 ||  ||style="background:red"| 2 || +5.0V || || ||| ||
+
|-
+
| 68 || ||  || I2C1_SDA ||  GPIO2_A4 || style="background:green; color:white"| 3 || || style="background:red"| 4 || +5.0V || || || || 
+
|-
+
| 69||  ||  ||  I2C1_SCL||  GPIO2_A5 || style="background:green; color:white"| 5 || || style="background:black; color:white"| 6 || GND || || || ||
+
|-
+
| 100||  UART1_TX || SDMMC0EXT_D0 ||    TSP_D0 || GPIO3_A4 || style="background:green; color:white"| 7 || || style="background:green; color:white"| 8 ||GPIO2_A0 || style="background:orange"| UART2_TX_M1 ||  || || 64
+
|-
+
|  ||  ||  ||  || GND || style="background:black; color:white"| 9 || || style="background:green; color:white"|10 || GPIO2_A1 || style="background:orange"| UART2_RX_M1 ||  || || 65
+
|-
+
| 96||    SPI_CLK_M2 || SDMMC0EXT_CMD ||  TSP_VALID || GPIO3_A0  || style="background:green; color:white"|11 || || style="background:green; color:white"|12 || GPIO2_D2 ||  || ||  || 90
+
|-
+
| 104||  SPI_CSN0_M2  ||  ||  TSP_D4|| GPIO3_B0 || style="background:green; color:white"|13 ||  || style="background:black; color:white"|14 || GND || || ||    ||
+
|-
+
| 98||  SPI_RXD_M2 || SDMMC0EXT_CLK ||  TSP_CLK || GPIO3_A2 || style="background:green; color:white"|15 || || style="background:green; color:white"|16 || USB20DM || || ||    ||
+
|-
+
| || ||  || || +3.3V || style="background:yellow"|17 || || style="background:green; color:white"|18 ||  USB20DP || || ||    ||
+
|-
+
| 27|| ||  ||SPDIF_TX_M0 ||GPIO0_D3 || style="background:green; color:white"|19 ||  ||style="background:black; color:white"|20 || GND || || ||    ||
+
|-
+
| 83||  CARD_CLK_M1 || PDM_SDI0_M0|| I2S1_SDI || GPIO2_C3 || style="background:green; color:white"|21 ||  || style="background:green; color:white"|22  || GPIO2_B4 || SPI_CSN1_M0 ||  ||    || 76
+
|-
+
| 60|| ||    || CLK32KOUT_M1 || GPIO1_D4 || style="background:green; color:white"|23 ||  || style="background:green; color:white"|24 || GPIO2_A3 || EFUSE_PWREN ||  ||    || 67
+
|-
+
||| || ||  ||  GND || style="background:black; color:white"|25  ||  || style="background:green; color:white"|26 || GPIO2_C7 || I2S1_SDO || PDM_FSYNC_M0 || ||  87
+
|-
+
| 97||  SPI_TXD_M2 ||SDMMC0EXT_DET ||  TSP_FAIL ||GPIO3_A1 || style="background:green; color:white"|27 ||  || style="background:green; color:white"|28 || GPIO2_C1 || I2S1_LRCK_TX || SPDIF_TX_M1 || TSP_D6_M1 ||  81
+
|-
+
| 80||    || TSP_D5_M1 || I2S1_LRCK_RX || GPIO2_C0 || style="background:green; color:white"|29 || || style="background:black; color:white"|30 || GND ||  || ||  ||
+
|-
+
| 79 ||    || TSP_SYNC_M1 || I2S1_MCLK || GPIO2_B7 || style="background:green; color:white"|31 || || style="background:green; color:white"|32 || GPIO3_A6 || TSP_D2 ||  SDMMC0EXT_D2 || UART1_RX || 102
+
|-
+
| 82||  TSP_D7_M1 || PDM_CLK_M0 || I2S1_SCLK || GPIO2_C2  || style="background:green; color:white"|33 ||  ||style="background:black; color:white"|34 || GND || || ||
+
|-
+
|  || ||  ||  || ADC_IN1 || style="background:green; color:white"|35 ||  || style="background:green; color:white"|36  || GPIO2_C5 || I2S1_SDIO2 || PDM_SDI2_M0 || CARD_DET_M1 || 85
+
|-
+
| 66|| ||    || IR_RX || GPIO2_A2 || style="background:green; color:white"|39  ||  || style="background:green; color:white"|38 || GPIO2_C4 || 2S1_SDIO1 || PDM_SDI1_M0 || CARD_RST_M1 ||  84
+
|-
+
|  || ||  ||  || GND  || style="background:black; color:white"|39  ||  || style="background:green; color:white"|40 || GPIO2_C6|| I2S1_SDIO3 || PDM_SDI3_M0 || CARD_IO_M1 ||  86
+
|}
+
 
+
        </div>
+
    </div>
+
</div>
+
 
+
<div class="clearfix"></div>
+
 
+
==== More details about 40-pin Header ====
+
 
+
* Pin#12(GPIO2_D2) is also the sleep pin of PMIC RK805. Be careful when you try to control it.
+
* Pin#3 and Pin#5 are only for I2C communication.
+
* Pins marked with color orange are designed for debug console.
+
* SPI: x1, SPI0(Pin#11/13/15/27)
+
* I2C: x1, I2C1
+
* UART: x1, UART1 and UART2
+
* USB: USB20DM(Pin#16) and USB20DP(Pin#18)
+
* PDM: x1
+
* I2S: x1, I2S1
+

Latest revision as of 03:30, 29 September 2022


    ROCK Pi E >  Hardware >  Main Board
Rock-pi-e-main-board.png

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

Features

Model ROCK Pi E
Processor SoC RK3328
Quad Cortex-A53 ARM 64bits processor
frequency up to 1.3GHz
Memory 256MB / 512MB / 1GB / 2GB DDR3
Storage MicroSD(TF) up to 128GB
High performance eMMC module 16GB / 32GB / 64GB / 128GB
Wireless 802.11 b/g/n wifi
BT 4.0(rtl8723du/rtl8821cu)
external antenna
USB USB3.0 Type-A HOST x1
Key Reset key x1
Maskrom key x1
Ethernet 1x 1000Mbit ethernet, optional PoE(additional HAT required)
1x 100Mbit ethernet
IO 40-pin expansion header
USB 2.0 x1
I2C x1
SPI x1
UART x2
I2S x1
5V DC power in x2
3.3V DC power in x2
Others LEDs
Power USB Type-C DC 5V
Size 2.5x2.2 inch(56x65mm)


Hardware version

ROCK Pi E board comes with different versions. When you get the board, you need to know the hardware version like 'ROCK Pi E V11', which is printed in the top side of the board.

Also, you need to know the ROCK Pi E Models and SKU, like 'D16W2P'.

Power supply

ROCK Pi E uses the USB Type-C port for power supply.

If you want to power ROCK Pi E standalone, you can use 5V/2A power adapter with USB Type-C ports. You can also use the USB PD/QC power adapter without worrying damage the board because the PD/QC adapter will detect ROCK Pi S only supports 5V so the adapter will output 5V.

When you use PoE function provided by ROCK Pi E, you may power ROCK Pi E by putting DV +5V directly to PIN#2 of 26-PIN HEADER. GND pin like PIN#9 is also necessary.

Processor

The Rockchip RK3328 Soc used in ROCK Pi E is a high-performance Quad-core Cortex-A53 application processor. It has Neon and FPU coprocessor, shared L2 cache, GPU and so on.

RK3328 Soc can run at 1.3 GHz CPU clock speed.

RAM

ROCK Pi E RAM: 256MB / 512MB / 1GB / 2GB DDR3

Audio

The ROCK Pi E is equipped with a standard 3.5mm jack. An audio lead is necessary to produce sound. Audio can be played through speakers or headphones using jack.

LED

ROCK Pi E has Power LED and User LED.

  • Power LED

Green Power LED is always on and couldn't be controlled by software.

  • User LED

User LED is blue, which can be configured by sysfs.

The related directory is /sys/class/leds/rockpie:user

By default, its blink status shows the running kernel.

Networking

Ethernet

On the ROCK Pi E board, the 100Mbit and Gigabit Ethernet port are provided.

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.

PoE

PoE connector is divided into two groups, Group 1 (PIN#1 and PIN#2) and Group2 (PIN#3 and PIN#4) .

RJ45 1000M PoE connector pinout table.

ROCK Pi E PoE --- Raspberry Pi 4B PoE
TR1(PIN#1) --- TR1
TR2(PIN#2) --- TR2
TR3(PIN#3) --- TR3
TR4(PIN#4) --- TR4

ROCK Pi E PoE look:

300px

Raspberry Pi 4B PoE look:

Raspberrypi4b-poe.jpg

WiFi

ROCK Pi E is equipped with RTL8723DU (Wlan 2.4GHz 802.11b/g/n and BT 4.2) or RTL8821CU (Wlan 2.4GHz 802.11 ac/a/b/g/n, Wlan 5GHz 802.11 ac/a/b/g/n and BT 4.2) chip.

To gain a stronger signal, you need an antenna attached to the antenna socket on board.

Storage

eMMC

eMMC Socket on Board Interface Feature

The high performance eMMC module is the best choice as the system storage for ROCK Pi E. 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

TF card/Micro SD

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

USB

The ROCK Pi E has one USB 3.0 Type-A host port

The ROCK Pi E 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.

By default, the USB port power supply is limited to 1.44A current if the system power input is enough.

General purpose input-output (GPIO) connector

Check ROCK Pi E GPIO.