Skip to main content

Hardware interface description

Chip block diagram

rock 5c overview

System block diagram

rock 5c system diagram

Physical photographs

rock 5c new overview

Interface overview

rock 5c overview
  • 1x USB3.0 Host
  • 1x USB3.0 OTG
  • 2x USB2.0 Host
  • 1x 4lane MIPI CSI
  • 1x 4lane MIPI DSI
  • 1x FPC Pcie 1lane
  • 1x TF Card Slot
  • 1x Emmc Socket
  • 1x Headphone Jack
  • 1x HDMI
  • 1x Gigabit Ethernet
  • 1x 40 PIN IO
  • 1x Fan Header
  • 2x LED Light
  • 1x TypeC Power Input
  • 1x Maskrom Key (reserve)
  • 1x Recovery Key (reserve)
  • 1x Pwrkey/Gnd/5v Header (reserve)
  • 1x RTC (reserve)
  • 1x Poe Header
  • 1x Power Key

Interface details

Power connector

Power adapter with fixed voltage in 5V range on the USB Type-C port

FAN Header

PinNamePinName
1FAN-PWM2VCC_5V0
3GND4GND

Ethernet Port

Provides Ethernet interface to Gigabit Ethernet.

PinNamePinName
1PHY1_MDI0+2PHY1_MDI0-
3PHY1_MDI1+4GND
5GND6PHY1_MDI1-
7PHY1_MDI2+8PHY1_MDI2-
9PHY1_MDI3+10PHY1_MDI3-
11PHY1_MDI0-12PHY1_MDI0+
13GND14PHY1_MDI1+
15PHY1_LED_G+16PHY1_G_LED-
17PHY1_Y_LED+18PHY1_Y_LED

40 PIN GPIO Header

GPIO voltage

GPIOVoltageMax Voltage
All GPIO3.3V3.63V
SARADC_IN1.8V1.98V

GPIO Pinout

ROCK 5C provides a 40pin GPIO socket, which is compatible with most sensor applications on the market. Tips: The actual compatibility is subject to usage.

GPIO numberFunction7Function6Function5Function4Function3Function2Function1Pin#Pin#Function1Function2Function3Function4Function5Function6Function7GPIO number
+3.3V
1
2
+5.0V
63PWM15_IR_M3I2C8_SDA_M2UART1_CTSN_M1GPIO1_D7
3
4
+5.0V
62PWM14_M2I2C8_SCL_M2UART1_RTSN_M1GPIO1_D6
5
6
GND
43UART4_TX_M2GPIO1_B3
7
8
GPIO0_B5
UART2_TX_M0
I2C1_SCL_M0I2S1_MCLK_M113
GND
9
10
GPIO0_B6
UART2_RX_M0
I2C1_SDA_M0I2S1_SCLK_M114
139I2S1_SDO2_M0CAN1_TX_M1PWM15_IR_M1I2C7_SDA_M3UART8_CTSN_M0GPIO4_B3
11
12
GPIO4_A1UART9_CTSN_M1I2S1_SCLK_M0SPI0_MOSI_M1129
138SPI0_CS0_M1I2S1_SDO1_M0CAN1_RX_M1PWM14_M1I2C7_SCL_M3UART8_RTSN_M0GPIO4_B2
13
14
GND
140I2S1_SDO3_M0SPDIF0_TX_M1PWM11_IR_M1UART9_TX_M1GPIO4_B4
15
16
GPIO1_A5SPI2_MOSI_M037
+3.3V
17
18
GPIO1_B0SPI2_CS1_M040
33SPI4_MOSI_M2I2C2_SCL_M4UART6_TX_M1GPIO1_A1
19
20
GND
32SPI4_MISO_M2I2C2_SDA_M4UART6_RX_M1GPIO1_A0
21
22
GPIO1_B5UART7_TX_M2SPI0_CS1_M245
34SPI4_CLK_M2PWM0_M2I2C4_SDA_M3UART6_RTSN_M1GPIO1_A2
23
24
GPIO1_A3UART6_CTSN_M1I2C4_SCL_M3PWM1_M2SPI4_CS0_M235
GND
25
26
GPIO1_A4SPI2_MISO_M036
23SPI0_MISO_M0I2S1_SDI2_M1PWM6_M0I2C6_SDA_M0UART1_RTSN_M2GPIO0_C7
27
28
GPIO0_D0UART1_CTSN_M2I2C6_SCL_M0PWM7_IR_M0I2S1_SDI3_M1SPI3_MISO_M224
42SPI0_MOSI_M2UART4_RX_M2GPIO1_B2
29
30
GND
41SPI0_MISO_M2GPIO1_B1
31
32
GPIO4_B0UART8_TX_M0I2C6_SDA_M3I2S1_SDI3_M0SPI2_CS1_M1136
44SPI0_CS0_M2UART7_RX_M2GPIO1_B4
33
34
GND
128SPI0_MISO_M1I2S1_MCLK_M0UART9_RTSN_M1GPIO4_A0
35
36
GPIO4_A2I2S1_LRCK_M0SPI0_CLK_M1130
SARADC_VIN2
37
38
GPIO4_A5UART3_TX_M2I2C3_SDA_M2I2S1_SDI0_M0133
GND
39
40
GPIO4_B1UART8_RX_M0I2C6_SCL_M3SPDIF1_TX_M1I2S1_SDO0_M0SPI0_CS1_M1137

USB Function Configuration on 40-Pin

On the ROCK 5C's 40-Pin interface, the following pins can be configured for USB 2.0:

  • USB4_DM: Pin number 28, resistor location R104.
  • USB4_DP: Pin number 27, resistor location R106.

By default, Pin-27 can be configured in software for functions such as GPIO0_C7 (see 40-Pin Pinout), while the USB4_DP signal is not activated on the hardware. Pin-28 can be configured in software for functions such as GPIO0_D0 (see 40-Pin Pinout), and the USB4_DM signal is also not activated on the hardware. To change these pins to USB functions, please follow the steps below to modify the reserved resistors:

  • Remove the 0-ohm resistors at R169 and R170.
  • Solder 0-ohm resistors at R104 and R106.
tip

The schematic and resistor locations can be viewed and downloaded from the hardware documentation.Hardware Documentation Download

[Operation Note]

This procedure requires soldering skills, and it is recommended that it be performed by an experienced technician.

HDMI

Equipped with a full-size HDMI connector that supports resolutions up to 8K.

USB

Provides two USB3.0 ports and two USB2.0 ports, upper USB3.0 port with OTG function.

  • USB2.0
PinNamePinName
1VCC5V0_USB_HOST2USB2_HOST1DM
3USB2_HOST1DP4GND
5VCC5V0_USB_HOST6USB2_HOST2DM
7USB2_HOST2DP8GND
9GND10GND
11GND
  • USB3.0
PinNamePinName
1VCC5V0_USB_OTG02USB3_OTG0DM
3USB3_OTG0DP4GND
5USB3_OTG0SSRXN6USB3_OTG0SSRXP
7GND8USB3_OTG0SSTXN
9USB3_OTG0SSTXP10GND
11GND12VCC5V0_USB_HOST
13USB3_HOST1DM14USB3_HOST1DP
15GND16USB3_HOST1SSRXN
17USB3_HOST1SSRXP18GND
19USB3_HOST1SSTXN20USB3_HOST1SSTXP
21GND22GND

MIPI CSI

MIPI camera support. Utilizes a 31-pin, 0.3 mm pitch, gold-plated connector, model FH35C-31S-0.3SHW(50).

rock 5c csi

NumberPin NameVoltage&NumberPin NameVoltage
1GND
&
2CSI_RX_D3N
3CSI_RX_D3P
&
4GND
5CSI_RX_D2N
&
6CSI_RX_D2P
7GND
&
8CSI_RX_CLK1N
9CSI_RX_CLK1P
&
10GND
11CSI_RX_D1N
&
12CSI_RX_D1P
13GND
&
14CSI_RX_D0N
15CSI_RX_D0P
&
16GND
17CSI_RX_CLK0N
&
18CSI_RX_CLK0P
19GND
&
20CAMERA2_CLK
21GND
&
22CAMERA1_CLK
23CAM1_PDN_H1.8V
&
24SCL_CAM1.8V
25SDA_CAM1.8V
&
26CAM0_PDN_H1.8V
27CAM_RST1.8V
&
28VCC_3V33.3V
29VCC_3V33.3V
&
30VCC_5V05V
31VCC_5V05V
&

Refer Camera accessories

MIPI DSI

MIPI screen support. Utilizes a 39-pin, 0.3 mm pitch, gold-plated connector, model FH35C-39S-0.3SHW(50).

rock 5c dsi

NumberPin NameVoltage&NumberPin NameVoltage
1VDD3V33.3V
&
2IOVCC1V8-3V31.8V
3NULL
&
4RESET3.3V
5NULL
&
6GND1
7MIPI-0N
&
8MIPI-0P
9GND2
&
10MIPI-1N
11MIPI-1P
&
12GND3
13MIPI-CKN
&
14MIPI-CKP
15GND4
&
16MIPI-2N
17MIPI-2P
&
18GND5
19MIPI-3N
&
20MIPI-3P
21GND6
&
22GND7
23TP-RESET3.3V
&
24TP-VCC3.3V
25TP-INT3.3V
&
26TP-SDA3.3V
27TP-SCL3.3V
&
28GND8
29GND9
&
30VCC3V313.3V
31VCC3V323.3V
&
32GND11
33GND12
&
34LED-1
35LED-
&
36NULL
37NULL
&
38LED+1
39LED+

Refer Display accessories

MicroSD

Can be used as a system boot disk or as a storage medium.

PinNamePinName
1SDMMC_D22SDMMC_D3
3SDMMC_CMD4VCC_3V3_S3
5SDMMC_CLK6GND
7SDMMC_D08SDMMC_D1
9SDMMC_DET_L10GND
11GND12GND
13GND14GND
15GND16GND
17GND18GND

eMMC Socket && SPI Flash Connector

Supports emmc storage devices for use as system boot disks or as storage media.

PinNamePinName
1GND2eMMC_D5
3GND4eMMC_D4
5GND6eMMC_D0/FSPI_D0
7GND8eMMC_CLKOUT
9GND10eMMC_D3/FSPI_D3
11GND12VCCIO_FLASH
13GND14GND
15eMMC_DATA_STROBE16GND
17GND18GND
19GND20GND
21GND22GND
23GND24GND
25eMMC_CMD/FSPI_CLK26GND
27eMMC_D2/FSPI_D228GND
29eMMC_D1/FSPI_D130GND
31eMMC_D732GND
33eMMC_D6/FSPI_CS034GND
35GND36GND
37GND38GND
39GND40GND
41GND42GND
43GND44GND
45GND46GND
47GND48GND
49GND50GND
51GND52GND
53GND54GND
55GND56GND
57GND58GND
59GND60GND
61GND62GND
63GND64GND
tip

eMMC and SPI Flash are mutually exclusive, the connector can only connect to one of eMMC or SPI Flash at a time

Debug Serial Port

For system debugging, underlying log message output