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

Difference between revisions of "RockpiS/hardware/rockpiS"

(Buttons)
 
(20 intermediate revisions by 3 users not shown)
Line 6: Line 6:
 
     [[rockpiS | ROCK Pi S]] > [[rockpiS/hardware | Hardware]] > [[rockpiS/hardware/rockpiS | Main Board]]
 
     [[rockpiS | ROCK Pi S]] > [[rockpiS/hardware | Hardware]] > [[rockpiS/hardware/rockpiS | Main Board]]
  
[[File:Rockpi_S_interfaces_description_blue.png | 500px | right]]
+
[[File:rockpis-top.jpg | 500px | right]]
 +
[[File:rockpis-bottom.jpg | 500px | right]]
  
== Processor ==
+
This hardware user manual provides information about the features and signals available on ROCK Pi S board.
 +
 
 +
=== Hardware version ===
 +
 
 +
ROCK Pi S board comes with different versions. When you get the board, you need to know the hardware version like 'ROCK PI S V12', which is printed in the top side of the board.
 +
 
 +
Also, you need to know the ROCK Pi S [[RockpiS/hardware/models | Models and SKU]], like 'ROCK Pi S D4WPN8'.
 +
 
 +
=== Power supply ===
 +
 
 +
ROCK Pi S uses the USB Type-C port for both power and communication.
 +
 
 +
If you want to power ROCK Pi S standalone, you can use 5V/1A or 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.
 +
 
 +
The ROCK Pi S can be powered from the PC/Laptop USB ports directly. If you also need ROCK Pi S to communicate with Host PC, you just need a USB type C to type A cable.
 +
 
 +
When you use PoE function provided by ROCK Pi S, you may power ROCK Pi S by putting DV +5V directly to PIN#2 of 26-PIN HEADER 1. GND pin like PIN#6 is also need.
 +
 
 +
=== Processor ===
  
 
The Rockchip RK3308 Soc used in ROCK Pi S RK3308 is a high-performance Quad-core application processor designed for intelligent voice interaction, audio input/output processing, and other digital multimedia applications. Embedded rich audio interfaces, such as I2S, PCM, TDM, PDM, SPDIF, HDMI ARC and so on, can meet different audio application development, reduce hardware development complexity and development cost.
 
The Rockchip RK3308 Soc used in ROCK Pi S RK3308 is a high-performance Quad-core application processor designed for intelligent voice interaction, audio input/output processing, and other digital multimedia applications. Embedded rich audio interfaces, such as I2S, PCM, TDM, PDM, SPDIF, HDMI ARC and so on, can meet different audio application development, reduce hardware development complexity and development cost.
Line 22: Line 41:
 
*TrustZone technology support
 
*TrustZone technology support
  
== Networking ==
+
=== Keys ===
  
ROCK Pi S has 100M Bit Ethernet port, equipped with 2.4GHz 802.11 b/g/n/i/e WIFI and Bluetooth 4.0.
+
The ROCK Pi S Board presents two keys, Reset key and Maskrom key.
  
== Peripherals ==
+
[[File:Keys.jpeg | 300px]]
  
The ROCK Pi S has a USB 2.0 Type-A host connector and a USB 3.0 Type-C OTG connector. It also has two 26-pin Header.
+
The Reset key serves as the hardware reset button. Short press the button to reboot the system.
  
==== TF Card Interface ====
+
The Maskrom key is for firmware flash/upgrade.
  
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.
+
=== LED ===
  
The TF card interface pin specification shows below.
+
ROCK Pi S has Power LED and User LED.
  
{| class="wikitable"
+
* Power LED
|-
+
! 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
+
|}
+
  
==== Buttons ====
+
Power LED is green, which can be configured by sysfs.
  
The ROCK Pi S Board presents two buttons. They are Reset key and Maskrom key.
+
The related directory is /sys/class/leds/rockpis:green:power
  
[[File:Keys.jpeg ]]
+
It is always on when ROCK Pi S is given power by default,
  
The Reset button is closer to the Type-C port than the Maskrom button.
+
* User LED
  
The Reset button serves as the hardware reset button. Short press and release the button, the system will be rebooted.
+
User LED is blue, which can be configured by sysfs.
  
The Maskrom Button is for firmware flash/upgrade.
+
The related directory is /sys/class/leds/rockpis:blue:user
.
+
  
== <span id="gpio">General purpose input-output (GPIO) connector</span> ==
+
By default, its blink status shows the running kernel.
  
ROCK Pi S has two 26-pin expansion header. Each pin is distinguished by color.
+
=== Networking ===
  
 +
==== Ethernet ====
  
<div class="col-md-12 ">
+
ROCK Pi S has 10/100M Bit Ethernet port.
    <div class="panel panel-midnight-white">
+
        <div class="panel-heading"><h3>Hardware V10</h3></div>
+
        <div class="panel-body">
+
  
==== 26-pin Header 1 ====
+
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="mw-collapsible mw-collapsed wikitable"
+
{| class="wikitable"
! GPIO number || Func4 || Func3 || Func2 ||  Func1 ||  Pin# || || Pin# || Func1 || Func2 || Func3 || Func4 || GPIO number
+
! LED || LED Color || Led State || Condition
|-
+
| || || || +3.3V ||  || style="background:yellow"| 1 ||  ||style="background:red"| 2 || +5.0V || || ||| ||
+
 
|-
 
|-
| 12 || || || I2C1_SCL || GPIO0_B4 || style="background:green; color:white"| 3 || || style="background:red"| 4 || +5.0V || || || ||
+
| Link || Green || Off<br />On || LAN link is not established.<br /.>LAN link is established.
 
|-
 
|-
| 11 || || || I2C1_SDA || GPIO0_B3 || style="background:green; color:white"| 5 || || style="background:black; color:white"| 6 || GND || || || ||
+
| Data Rate || Yellow || Blinking<br />Off ||  There is activity on this port.<br />No link is established.
|-
+
| 69 || ||  || I2S0_SCLK_TX || GPIO2_A5 || style="background:green; color:white"| 7 || || style="background:green; color:white"| 8 || GPIO4_D3 || SDMMC_D3 || UART2_TX_M1 || PMU_ST3 || 155
+
|-
+
| 64 || || SPI0_MISO || style="background:orange"| UART0_RX || GPIO2_A0 || style="background:green; color:white"| 9 || || style="background:green; color:white"|10 || GPIO4_D2 || SDMMC_D2 || UART2_RX_M1 || PMU_ST2 || 154
+
|-
+
| 65 || ||  SPI0_MOSI || style="background:orange"|UART0_TX || GPIO2_A1 || style="background:green; color:white"|11 || || style="background:green; color:white"|12 || GPIO0_C0 || PWM3 || I2C3_SCL_M0 ||  || 16
+
|-
+
| 66 || I2C2_SDA || SPI0_CLK || UART0_CTSN || GPIO2_A2 || style="background:green; color:white"|13 ||  || style="background:black; color:white"|14 || GND || || || ||
+
|-
+
| 67 || I2C2_SCL || SPI0_CSN0 || UART0_RTSN || GPIO2_A3 || style="background:green; color:white"|15 || || style="background:green; color:white"|16 || GPIO2_A7 || I2S0_8CH_LRCK_TX || || || 71
+
|-
+
| || || || || +3.3V || style="background:yellow"|17 || || style="background:green; color:white"|18 || GPIO2_B1 || I2S0_8CH_SDO0 || || || 73
+
|-
+
| 55 || SPI2_MOSI || UART2_TX_M0 || UART1_RTSN || GPIO1_C7 || style="background:green; color:white"|19 ||  ||style="background:black; color:white"|20 || GND || || || ||
+
|-
+
| 54 || SPI2_MISO || UART2_RX_M0 || UART1_CTSN || GPIO1_C6 || style="background:green; color:white"|21 ||  || style="background:green; color:white"|22  || GPIO0_B6 || PWM1 || || || 14
+
|-
+
| 56 || SPI2_CLK || I2C0_SDA || UART1_RX || GPIO1_D0 || style="background:green; color:white"|23 ||  || style="background:green; color:white"|24 || GPIO1_D1 || UART1_TX  || I2C0_SCL || SPI2_CSN0 || 57
+
|-
+
| || ||  || ||  GND || style="background:black; color:white"|25  ||  || style="background:green; color:white"|26 || GPIO0_B7 || PWM2 || I2C3_SDA_M0 || || 15
+
 
|}
 
|}
  
'''Warning'''
+
==== PoE ====
* Pin#8 and Pin#10 cannot be used as GPIO, UART function pins since they are the data pins of SDMMC.
+
  
==== 26-pin Header 2 ====
+
PoE connector is divided into two groups, Group 1 (PIN#1 and PIN#2) and Group2 (PIN#3 and PIN#4) .
  
{| class="mw-collapsible mw-collapsed wikitable"
+
10/100 RJ45 PoE connector pinout table.
! GPIO number || Func3 || Func2 ||  Func1 ||  Pin# || || Pin# || Func1 || Func2 || Func3 || GPIO number
+
 
|-
+
{| class="wikitable"
| || || || GND || style="background:black; color:white"| 1 ||  ||style="background:black; color:white"| 2 || GPIO2_A6 || I2S0_8CH_SCLK_RX || PDM_CLK_S_M2 ||| 70
+
|-
+
| || || || ADC_KEY_IN1 || style="background:black; color:white"| 3 || || style="background:black; color:white"| 4 || GPIO2_B5 || I2S0_8CH_SDI0 || PDM_SDI0_M2 || 77
+
|-
+
| || || || MICBIAS2 || style="background:black; color:white"| 5 || || style="background:black; color:white"| 6 || GPIO2_B6 || I2S0_8CH_SDI1 || PDM_SDI1_M2 || 78
+
|-
+
| || || || MICBIAS1 || style="background:black; color:white"| 7 || || style="background:black; color:white"| 8 || GPIO2_B7 || I2S0_8CH_SDI2 || PDM_SDI2_M2 || 79
+
|-
+
| || || || MICN8 || style="background:black; color:white"| 9 || || style="background:black; color:white"|10 || MCIP8 || || ||
+
|-
+
| || || || MICN7 || style="background:black; color:white"|11 || || style="background:black; color:white"|12 || MCIP7 || || ||
+
|-
+
| || || || MICN6 || style="background:black; color:white"|13 ||  || style="background:black; color:white"|14 || MCIP6 || || ||
+
|-
+
| || || || MICN5 || style="background:black; color:white"|15 || || style="background:black; color:white"|16 || MCIP5 || || ||
+
 
|-
 
|-
| || || || MICN4 || style="background:black; color:white"|17 || || style="background:black; color:white"|18 || MCIP4 || || ||
+
! ROCK Pi S PoE || --- || Raspberry Pi 4B PoE
 
|-
 
|-
| || || || MICN3 || style="background:black; color:white"|19 ||  ||style="background:black; color:white"|20 || MCIP3 || || ||
+
| TR1(PIN#1) || --- || TR1
 
|-
 
|-
| || || || MICN2 || style="background:black; color:white"|21 ||  || style="background:black; color:white"|22  || MCIP2 || || ||
+
| TR2(PIN#2) || --- || TR2
 
|-
 
|-
| || || || MICN1 || style="background:black; color:white"|23 ||  || style="background:black; color:white"|24 || MCIP1 || || ||
+
| TR3(PIN#3) || --- || TR3
 
|-
 
|-
| || || || LINEOUT_R || style="background:black; color:white"|25  ||  || style="background:black; color:white"|26 || LINEOUT_L || || ||
+
| TR4(PIN#4) || --- || TR4
 
|}
 
|}
  
 +
ROCK Pi S PoE look:
  
        </div>
+
[[File:rockpis-poe.jpg | 300px]]
    </div>
+
</div>
+
  
<div class="clearfix"></div>
+
Raspberry Pi 4B PoE look:
  
<div class="col-md-12 ">
+
[[File:raspberrypi4b-poe.jpg | 300px]]
    <div class="panel panel-midnight-white">
+
        <div class="panel-heading"><h3>Hardware V11</h3></div>
+
        <div class="panel-body">
+
  
==== 26-pin Header 1 ====
+
==== WiFi ====
  
{| class="mw-collapsible mw-collapsed wikitable"
+
ROCK Pi S is equipped with RTL8723DS chip, 2.4GHz 802.11 b/g/n/i/e WIFI and BT 4.0.
! 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 || || ||| ||
+
|-
+
| 11 || || || I2C1_SDA || GPIO0_B3 || style="background:green; color:white"| 3 || || style="background:red"| 4 || +5.0V || || || ||
+
|-
+
| 12 || || || I2C1_SCL || GPIO0_B4 || style="background:green; color:white"| 5 || || style="background:black; color:white"| 6 || GND || || || ||
+
|-
+
| 69 || || || I2S0_SCLK_TX || GPIO2_A5 || style="background:green; color:white"| 7 || || style="background:green; color:white"| 8 || GPIO2_A1 || style="background:orange"|UART0_TX || SPI0_MOSI || || 65
+
|-
+
| || || || || GND || style="background:black; color:white"| 9 || || style="background:green; color:white"|10 || GPIO2_A0 || style="background:orange"|UART0_RX || SPI0_MISO || || 64
+
|-
+
| 15 || ||  I2C3_SDA_M0 || PWM2 || GPIO0_B7 || style="background:green; color:white"|11 || || style="background:green; color:white"|12 || GPIO2_A2 || UART0_CTSN || SPI0_CLK || I2C2_SDA || 66
+
|-
+
| 16 || || I2C3_SCL_M0 || PWM3 || GPIO0_C0 || style="background:green; color:white"|13 ||  || style="background:black; color:white"|14 || GND || || || ||
+
|-
+
| 17 || || || SPDIF_TX || GPIO0_C1 || style="background:green; color:white"|15 || || style="background:green; color:white"|16 || GPIO2_A3 || UART0_RTSN || SPI0_CSN0 || I2C2_SCL || 67
+
|-
+
| || || || || +3.3V || style="background:yellow"|17 || || style="background:green; color:white"|18 || GPIO2_B1 || I2S0_8CH_SDO0 || || || 73
+
|-
+
| 55 || SPI2_MOSI || UART2_TX_M0 || UART1_RTSN || GPIO1_C7 || style="background:green; color:white"|19 ||  ||style="background:black; color:white"|20 || GND || || || ||
+
|-
+
| 54 || SPI2_MISO || UART2_RX_M0 || UART1_CTSN || GPIO1_C6 || style="background:green; color:white"|21 ||  || style="background:green; color:white"|22  || GPIO0_B6 || PWM1 || || || 14
+
|-
+
| 56 || SPI2_CLK || I2C0_SDA || UART1_RX || GPIO1_D0 || style="background:green; color:white"|23 ||  || style="background:green; color:white"|24 || GPIO1_D1 || UART1_TX  || I2C0_SCL || SPI2_CSN0 || 57
+
|-
+
| || ||  || ||  GND || style="background:black; color:white"|25  ||  || style="background:green; color:white"|26 || ADC_IN0 ||  ||  || ||
+
|}
+
  
==== 26-pin Header 2 ====
+
To gain a stronger signal, you need an antenna attached to the antenna socket on board.
  
{| class="mw-collapsible mw-collapsed wikitable"
+
=== SD Nand ===
! GPIO number || Func3 || Func2 ||  Func1 ||  Pin# || || Pin# || Func1 || Func2 || Func3 || GPIO number
+
|-
+
| || || || GND || style="background:black; color:white"| 1 ||  ||style="background:black; color:white"| 2 || GPIO2_A6 || I2S0_8CH_SCLK_RX || PDM_CLK_S_M2 ||| 70
+
|-
+
| || || || ADC_KEY_IN1 || style="background:black; color:white"| 3 || || style="background:black; color:white"| 4 || GPIO2_B5 || I2S0_8CH_SDI0 || PDM_SDI0_M2 || 77
+
|-
+
| || || || MICBIAS2 || style="background:black; color:white"| 5 || || style="background:black; color:white"| 6 || GPIO2_B6 || I2S0_8CH_SDI1 || PDM_SDI1_M2 || 78
+
|-
+
| || || || MICBIAS1 || style="background:black; color:white"| 7 || || style="background:black; color:white"| 8 || GPIO2_B7 || I2S0_8CH_SDI2 || PDM_SDI2_M2 || 79
+
|-
+
| || || || MICN8 || style="background:black; color:white"| 9 || || style="background:black; color:white"|10 || MCIP8 || || ||
+
|-
+
| || || || MICN7 || style="background:black; color:white"|11 || || style="background:black; color:white"|12 || MCIP7 || || ||
+
|-
+
| || || || MICN6 || style="background:black; color:white"|13 ||  || style="background:black; color:white"|14 || MCIP6 || || ||
+
|-
+
| || || || MICN5 || style="background:black; color:white"|15 || || style="background:black; color:white"|16 || MCIP5 || || ||
+
|-
+
| || || || MICN4 || style="background:black; color:white"|17 || || style="background:black; color:white"|18 || MCIP4 || || ||
+
|-
+
| || || || MICN3 || style="background:black; color:white"|19 ||  ||style="background:black; color:white"|20 || MCIP3 || || ||
+
|-
+
| || || || MICN2 || style="background:black; color:white"|21 ||  || style="background:black; color:white"|22  || MCIP2 || || ||
+
|-
+
| || || || MICN1 || style="background:black; color:white"|23 ||  || style="background:black; color:white"|24 || MCIP1 || || ||
+
|-
+
| || || || LINEOUT_R || style="background:black; color:white"|25  ||  || style="background:black; color:white"|26 || LINEOUT_L || || ||
+
|}
+
  
        </div>
+
Check [[rockpiS/hardware/SDNAND | SD NAND]] for more details.
    </div>
+
</div>
+
  
<div class="clearfix"></div>
+
=== TF card/Micro SD ===
  
<div class="col-md-12 ">
+
==== TF Card Interface ====
    <div class="panel panel-midnight-white">
+
        <div class="panel-heading"><h3>Hardware V12</h3></div>
+
        <div class="panel-body">
+
  
==== 26-pin Header 1 ====
+
The TF card can be used as a system storage or an external storage. When it's used as a system storage, you'd 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.
  
{| class="mw-collapsible wikitable"
+
The TF card interface pin specification shows below.
! GPIO number || Func4 || Func3 || Func2 ||  Func1 ||  Pin# || || Pin# || Func1 || Func2 || Func3 || Func4 || GPIO number
+
 
|-
+
{| class="wikitable"
| || || || +3.3V ||  || style="background:yellow"| 1 ||  ||style="background:red"| 2 || +5.0V || || ||| ||
+
 
|-
 
|-
| 11 || || || I2C1_SDA || GPIO0_B3 || style="background:green; color:white"| 3 || || style="background:red"| 4 || +5.0V || || || ||
+
! Pin# || Name     
 
|-
 
|-
| 12 || || || I2C1_SCL || GPIO0_B4 || style="background:green; color:white"| 5 || || style="background:black; color:white"| 6 || GND || || || ||
+
| 1 || SDMMC0_D2
 
|-
 
|-
| 68 || || PDM_CLK_M_M2 || I2S0_8CH_MCLK || GPIO2_A4 || style="background:green; color:white"| 7 || || style="background:green; color:white"| 8 || GPIO2_A1 || style="background:orange"|UART0_TX || SPI0_MOSI || || 65
+
| 2 || SDMMC0_D3
 
|-
 
|-
| || || || || GND || style="background:black; color:white"| 9 || || style="background:green; color:white"|10 || GPIO2_A0 || style="background:orange"|UART0_RX || SPI0_MISO || || 64
+
| 3 || SDMMC0_CMD
 
|-
 
|-
| 15 || ||  I2C3_SDA_M0 || PWM2 || GPIO0_B7 || style="background:green; color:white"|11 || || style="background:green; color:white"|12 || GPIO2_A5 || I2S0_8CH_SCLK_TX ||  ||  || 69
+
| 4 || VCC3V3_SYS
 
|-
 
|-
| 16 || || I2C3_SCL_M0 || PWM3 || GPIO0_C0 || style="background:green; color:white"|13 ||  || style="background:black; color:white"|14 || GND || || || ||
+
| 5 || SDMMC0_CLK
 
|-
 
|-
| 17 || || || SPDIF_TX || GPIO0_C1 || style="background:green; color:white"|15 || || style="background:green; color:white"|16 || GPIO2_B2 || I2S0_8CH_SDO1 ||  ||  || 74
+
| 6 || GND
 
|-
 
|-
| || || || || +3.3V || style="background:yellow"|17 || || style="background:green; color:white"|18 || GPIO2_B1 || I2S0_8CH_SDO0 || || || 73
+
| 7 || SDMMC0_D0
 
|-
 
|-
| 55 || SPI2_MOSI || UART2_TX_M0 || UART1_RTSN || GPIO1_C7 || style="background:green; color:white"|19 ||  ||style="background:black; color:white"|20 || GND || || || ||
+
| 8 || SDMMC0_D1
 
|-
 
|-
| 54 || SPI2_MISO || UART2_RX_M0 || UART1_CTSN || GPIO1_C6 || style="background:green; color:white"|21 ||  || style="background:green; color:white"|22  || GPIO2_A7 || I2S0_8CH_LRCK_TX || || || 14
+
| 9 || SDMMC0_DET_L
 
|-
 
|-
| 56 || SPI2_CLK || I2C0_SDA || UART1_RX || GPIO1_D0 || style="background:green; color:white"|23 ||  || style="background:green; color:white"|24 || GPIO1_D1 || UART1_TX  || I2C0_SCL || SPI2_CSN0 || 57
+
| 10 || GND
 
|-
 
|-
| || ||  || ||  GND || style="background:black; color:white"|25  ||  || style="background:green; color:white"|26 || ADC_IN0 ||  ||  || ||
+
| 11 || GND
|}
+
 
+
==== 26-pin Header 2 ====
+
 
+
{| class="mw-collapsible wikitable"
+
! GPIO number || Func3 || Func2 ||  Func1 ||  Pin# || || Pin# || Func1 || Func2 || Func3 || GPIO number
+
|-
+
| || || || GND || style="background:black; color:white"| 1 ||  ||style="background:black; color:white"|2 || GPIO2_B5 || I2S0_8CH_SDI0 || PDM_SDI0_M2 ||| 77
+
 
|-
 
|-
| || || || ADC_KEY_IN1 || style="background:black; color:white"| 3 || || style="background:black; color:white"|4 || GPIO2_B6 || I2S0_8CH_SDI1 || PDM_SDI1_M2 || 78
+
| 12 || GND
 
|-
 
|-
| || || || MICBIAS2 || style="background:black; color:white"| 5 || || style="background:black; color:white"|6 || GPIO2_B7 || I2S0_8CH_SDI2 || PDM_SDI2_M2 || 79
+
| 13 || GND
|-
+
| || || || MICBIAS1 || style="background:black; color:white"| 7 || || style="background:black; color:white"|8 || GPIO2_C0 || I2S0_8CH_SDI3 || PDM_SDI3_M2 || 80
+
|-
+
| || || || MICN8 || style="background:black; color:white"| 9 || || style="background:black; color:white"|10 || MCIP8 || || ||
+
|-
+
| || || || MICN7 || style="background:black; color:white"|11 || || style="background:black; color:white"|12 || MCIP7 || || ||
+
|-
+
| || || || MICN6 || style="background:black; color:white"|13 || || style="background:black; color:white"|14 || MCIP6 || || ||
+
|-
+
| || || || MICN5 || style="background:black; color:white"|15 || || style="background:black; color:white"|16 || MCIP5 || || ||
+
|-
+
| 76 || || I2S0_SDO3 || GPIO2_B4 || style="background:black; color:white"|17 || || style="background:black; color:white"|18 || GPIO2_B3 || I2S0_8CH_SDO1 || || 75
+
|-
+
| 72  || || I2S0_LRCK_RX || GPIO2_B0 || style="background:black; color:white"|19 ||  ||style="background:black; color:white"|20 || GPIO2_A6 || I2S0_8CH_SCLK_RX || PDM_CLK_S_M2 || 70
+
|-
+
| || || || MICN2 || style="background:black; color:white"|21 ||  || style="background:black; color:white"|22  || MCIP2 || || ||
+
|-
+
| || || || MICN1 || style="background:black; color:white"|23 ||  || style="background:black; color:white"|24 || MCIP1 || || ||
+
|-
+
| || || || LINEOUT_R || style="background:black; color:white"|25  ||  || style="background:black; color:white"|26 || LINEOUT_L || || ||
+
 
|}
 
|}
  
        </div>
+
=== USB ===
    </div>
+
 
</div>
+
==== USB 2.0 Type-A ====
 +
 
 +
USB 2.0 Type-A enables the attachment of peripherals such U Disk, keyboards, mice, USB dongle like  USB camera, etc. By default, the USB port power supply is limited to 1.44A current if the system power input is enough.
 +
 
 +
==== USB Type-C with OTG function ====
 +
 
 +
USB Type-C port support On-The-Go (OTG), which means that ROCK Pi S i recognized as an device. Thus USB gadget function including adb, USB RNDIS and so on are supported by software configuration.
 +
 
 +
=== <span id="gpio">General purpose input-output (GPIO) connector</span> ===
 +
 
 +
ROCK Pi S has two 26-pin expansion header. Each pin is distinguished by color.
  
==== More details about 40-pin Header ====
+
For more details, see the [[RockpiS/hardware/gpio | GPIO page]].
* Pins marked with color orange are designed for debug console.
+

Latest revision as of 03:29, 29 September 2022


    ROCK Pi S >  Hardware >  Main Board
Rockpis-top.jpg
Rockpis-bottom.jpg

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

Hardware version

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

Also, you need to know the ROCK Pi S Models and SKU, like 'ROCK Pi S D4WPN8'.

Power supply

ROCK Pi S uses the USB Type-C port for both power and communication.

If you want to power ROCK Pi S standalone, you can use 5V/1A or 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.

The ROCK Pi S can be powered from the PC/Laptop USB ports directly. If you also need ROCK Pi S to communicate with Host PC, you just need a USB type C to type A cable.

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

Processor

The Rockchip RK3308 Soc used in ROCK Pi S RK3308 is a high-performance Quad-core application processor designed for intelligent voice interaction, audio input/output processing, and other digital multimedia applications. Embedded rich audio interfaces, such as I2S, PCM, TDM, PDM, SPDIF, HDMI ARC and so on, can meet different audio application development, reduce hardware development complexity and development cost.

  • Quad-core ARM Cortex-A35CPU
  • Full implementation of the ARM architecture v8-A instruction set
  • ARM Neon Advanced SIMD (single instruction, multiple data) support for accelerated media and signal processing computation
  • ARMv8 Cryptography Extensions
  • In-order pipeline with symmetric dual-issue of most instructions
  • 256KB unified system L2 cache
  • Include VFP v3 hardware to support single and double-precision operations
  • Integrated 32KB L1 instruction cache, 32KB L1 data cache with 4-way set associative
  • TrustZone technology support

Keys

The ROCK Pi S Board presents two keys, Reset key and Maskrom key.

Keys.jpeg

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

ROCK Pi S has Power LED and User LED.

  • Power LED

Power LED is green, which can be configured by sysfs.

The related directory is /sys/class/leds/rockpis:green:power

It is always on when ROCK Pi S is given power by default,

  • User LED

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

The related directory is /sys/class/leds/rockpis:blue:user

By default, its blink status shows the running kernel.

Networking

Ethernet

ROCK Pi S has 10/100M Bit Ethernet port.

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) .

10/100 RJ45 PoE connector pinout table.

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

ROCK Pi S PoE look:

Rockpis-poe.jpg

Raspberry Pi 4B PoE look:

Raspberrypi4b-poe.jpg

WiFi

ROCK Pi S is equipped with RTL8723DS chip, 2.4GHz 802.11 b/g/n/i/e WIFI and BT 4.0.

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

SD Nand

Check SD NAND for more details.

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'd 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

USB 2.0 Type-A

USB 2.0 Type-A enables the attachment of peripherals such U Disk, keyboards, mice, USB dongle like USB camera, etc. By default, the USB port power supply is limited to 1.44A current if the system power input is enough.

USB Type-C with OTG function

USB Type-C port support On-The-Go (OTG), which means that ROCK Pi S i recognized as an device. Thus USB gadget function including adb, USB RNDIS and so on are supported by software configuration.

General purpose input-output (GPIO) connector

ROCK Pi S has two 26-pin expansion header. Each pin is distinguished by color.

For more details, see the GPIO page.