硬件接口说明
芯片框图
- RK3588S2
- RK3582
系统框图
实物照片
接口总览
- ROCK 5C
- ROCK 5C Lite
- 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
接口详情
电源接口
USB Type-C 端口上带有 5V 固定电压的电源适配器
风扇接口
Pin | Name | Pin | Name |
---|---|---|---|
1 | FAN-PWM | 2 | VCC_5V0 |
3 | GND | 4 | GND |
有线网口
提供以太网接口,可接入千兆以太网
Pin | Name | Pin | Name |
---|---|---|---|
1 | PHY1_MDI0+ | 2 | PHY1_MDI0- |
3 | PHY1_MDI1+ | 4 | GND |
5 | GND | 6 | PHY1_MDI1- |
7 | PHY1_MDI2+ | 8 | PHY1_MDI2- |
9 | PHY1_MDI3+ | 10 | PHY1_MDI3- |
11 | PHY1_MDI0- | 12 | PHY1_MDI0+ |
13 | GND | 14 | PHY1_MDI1+ |
15 | PHY1_LED_G+ | 16 | PHY1_G_LED- |
17 | PHY1_Y_LED+ | 18 | PHY1_Y_LED |
40 PIN GPIO Header
GPIO 电压
GPIO | 电压 | 最高 |
---|---|---|
所有的GPIO | 3.3V | 3.63V |
SARADC_IN | 1.8V | 1.98V |
GPIO Pinout
ROCK 5C 提供了一个40pin针脚的GPIO座子,兼容于市面上大部分传感器的应用。 提示: 实际兼容情况以使用为准。
GPIO number | Function7 | Function6 | Function5 | Function4 | Function3 | Function2 | Function1 | Pin# | Pin# | Function1 | Function2 | Function3 | Function4 | Function5 | Function6 | Function7 | GPIO number |
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
+3.3V | 1 | 2 | +5.0V | ||||||||||||||
63 | PWM15_IR_M3 | I2C8_SDA_M2 | UART1_CTSN_M1 | GPIO1_D7 | 3 | 4 | +5.0V | ||||||||||
62 | PWM14_M2 | I2C8_SCL_M2 | UART1_RTSN_M1 | GPIO1_D6 | 5 | 6 | GND | ||||||||||
43 | UART4_TX_M2 | GPIO1_B3 | 7 | 8 | GPIO0_B5 | UART2_TX_M0 | I2C1_SCL_M0 | I2S1_MCLK_M1 | 13 | ||||||||
GND | 9 | 10 | GPIO0_B6 | UART2_RX_M0 | I2C1_SDA_M0 | I2S1_SCLK_M1 | 14 | ||||||||||
139 | I2S1_SDO2_M0 | CAN1_TX_M1 | PWM15_IR_M1 | I2C7_SDA_M3 | UART8_CTSN_M0 | GPIO4_B3 | 11 | 12 | GPIO4_A1 | UART9_CTSN_M1 | I2S1_SCLK_M0 | SPI0_MOSI_M1 | 129 | ||||
138 | SPI0_CS0_M1 | I2S1_SDO1_M0 | CAN1_RX_M1 | PWM14_M1 | I2C7_SCL_M3 | UART8_RTSN_M0 | GPIO4_B2 | 13 | 14 | GND | |||||||
140 | I2S1_SDO3_M0 | SPDIF0_TX_M1 | PWM11_IR_M1 | UART9_TX_M1 | GPIO4_B4 | 15 | 16 | GPIO1_A5 | SPI2_MOSI_M0 | 37 | |||||||
+3.3V | 17 | 18 | GPIO1_B0 | SPI2_CS1_M0 | 40 | ||||||||||||
33 | SPI4_MOSI_M2 | I2C2_SCL_M4 | UART6_TX_M1 | GPIO1_A1 | 19 | 20 | GND | ||||||||||
32 | SPI4_MISO_M2 | I2C2_SDA_M4 | UART6_RX_M1 | GPIO1_A0 | 21 | 22 | GPIO1_B5 | UART7_TX_M2 | SPI0_CS1_M2 | 45 | |||||||
34 | SPI4_CLK_M2 | PWM0_M2 | I2C4_SDA_M3 | UART6_RTSN_M1 | GPIO1_A2 | 23 | 24 | GPIO1_A3 | UART6_CTSN_M1 | I2C4_SCL_M3 | PWM1_M2 | SPI4_CS0_M2 | 35 | ||||
GND | 25 | 26 | GPIO1_A4 | SPI2_MISO_M0 | 36 | ||||||||||||
23 | SPI0_MISO_M0 | I2S1_SDI2_M1 | PWM6_M0 | I2C6_SDA_M0 | UART1_RTSN_M2 | GPIO0_C7 | 27 | 28 | GPIO0_D0 | UART1_CTSN_M2 | I2C6_SCL_M0 | PWM7_IR_M0 | I2S1_SDI3_M1 | SPI3_MISO_M2 | 24 | ||
42 | SPI0_MOSI_M2 | UART4_RX_M2 | GPIO1_B2 | 29 | 30 | GND | |||||||||||
41 | SPI0_MISO_M2 | GPIO1_B1 | 31 | 32 | GPIO4_B0 | UART8_TX_M0 | I2C6_SDA_M3 | I2S1_SDI3_M0 | SPI2_CS1_M1 | 136 | |||||||
44 | SPI0_CS0_M2 | UART7_RX_M2 | GPIO1_B4 | 33 | 34 | GND | |||||||||||
128 | SPI0_MISO_M1 | I2S1_MCLK_M0 | UART9_RTSN_M1 | GPIO4_A0 | 35 | 36 | GPIO4_A2 | I2S1_LRCK_M0 | SPI0_CLK_M1 | 130 | |||||||
SARADC_VIN2 | 37 | 38 | GPIO4_A5 | UART3_TX_M2 | I2C3_SDA_M2 | I2S1_SDI0_M0 | 133 | ||||||||||
GND | 39 | 40 | GPIO4_B1 | UART8_RX_M0 | I2C6_SCL_M3 | SPDIF1_TX_M1 | I2S1_SDO0_M0 | SPI0_CS1_M1 | 137 |
40-Pin 引脚 USB 功能配置
在 ROCK 5C 的 40-Pin 接口中,以下引脚可以配置为 USB 2.0:
- USB4_DM:引脚编号为 28,对应电阻位号为 R104。
- USB4_DP:引脚编号为 27,对应电阻位号为 R106。
默认情况下,Pin-27 可以在软件中配置为 GPIO0_C7 等功能(详见 40-Pin Pinout),同时 USB4_DP 信号在硬件上未激活。Pin-28 可以在软件中配置为 GPIO0_D0 等功能(详见 40-Pin Pinout),USB4_DM 信号在硬件上也未激活。如需将这些引脚改为 USB 功能,请按照以下步骤修改预留电阻:
- 移除 R169 和 R170 的 0 欧电阻。
- 焊接 0 欧电阻到 R104 和 R106 上。
提示
原理图和位号信息可在硬件资料中查阅和下载,硬件资料下载
[操作提示]
此操作需要具备一定的焊接技巧,建议由有经验的技术人员完成。
HDMI
配备全尺寸 HDMI 接口,支持最高8K分辨率
USB
提供 2 个 USB3.0 端口 和 两个 USB2.0 接口,上层的USB3.0端口带OTG功能
- USB2.0
Pin | Name | Pin | Name |
---|---|---|---|
1 | VCC5V0_USB_HOST | 2 | USB2_HOST1DM |
3 | USB2_HOST1DP | 4 | GND |
5 | VCC5V0_USB_HOST | 6 | USB2_HOST2DM |
7 | USB2_HOST2DP | 8 | GND |
9 | GND | 10 | GND |
11 | GND |
- USB3.0
Pin | Name | Pin | Name |
---|---|---|---|
1 | VCC5V0_USB_OTG0 | 2 | USB3_OTG0DM |
3 | USB3_OTG0DP | 4 | GND |
5 | USB3_OTG0SSRXN | 6 | USB3_OTG0SSRXP |
7 | GND | 8 | USB3_OTG0SSTXN |
9 | USB3_OTG0SSTXP | 10 | GND |
11 | GND | 12 | VCC5V0_USB_HOST |
13 | USB3_HOST1DM | 14 | USB3_HOST1DP |
15 | GND | 16 | USB3_HOST1SSRXN |
17 | USB3_HOST1SSRXP | 18 | GND |
19 | USB3_HOST1SSTXN | 20 | USB3_HOST1SSTXP |
21 | GND | 22 | GND |
MIPI CSI
支持 MIPI 摄像头, 采用了 31PIN 0.3mm 脚距 FH35C-31S-0.3SHW(50) 镀金座子。
Number | Pin Name | Voltage | & | Number | Pin Name | Voltage |
---|---|---|---|---|---|---|
1 | GND | & | 2 | CSI_RX_D3N | ||
3 | CSI_RX_D3P | & | 4 | GND | ||
5 | CSI_RX_D2N | & | 6 | CSI_RX_D2P | ||
7 | GND | & | 8 | CSI_RX_CLK1N | ||
9 | CSI_RX_CLK1P | & | 10 | GND | ||
11 | CSI_RX_D1N | & | 12 | CSI_RX_D1P | ||
13 | GND | & | 14 | CSI_RX_D0N | ||
15 | CSI_RX_D0P | & | 16 | GND | ||
17 | CSI_RX_CLK0N | & | 18 | CSI_RX_CLK0P | ||
19 | GND | & | 20 | CAMERA2_CLK | ||
21 | GND | & | 22 | CAMERA1_CLK | ||
23 | CAM1_PDN_H | 1.8V | & | 24 | SCL_CAM | 1.8V |
25 | SDA_CAM | 1.8V | & | 26 | CAM0_PDN_H | 1.8V |
27 | CAM_RST | 1.8V | & | 28 | VCC_3V3 | 3.3V |
29 | VCC_3V3 | 3.3V | & | 30 | VCC_5V0 | 5V |
31 | VCC_5V0 | 5V | & |
参考 摄像头配件
MIPI DSI
支持 MIPI 屏幕,采用了卧式 39PIN 0.3mm 脚距 FH35C-39S-0.3SHW(50) 镀金座子。
Number | Pin Name | Voltage | & | Number | Pin Name | Voltage |
---|---|---|---|---|---|---|
1 | VDD3V3 | 3.3V | & | 2 | IOVCC1V8-3V3 | 1.8V |
3 | NULL | & | 4 | RESET | 3.3V | |
5 | NULL | & | 6 | GND1 | ||
7 | MIPI-0N | & | 8 | MIPI-0P | ||
9 | GND2 | & | 10 | MIPI-1N | ||
11 | MIPI-1P | & | 12 | GND3 | ||
13 | MIPI-CKN | & | 14 | MIPI-CKP | ||
15 | GND4 | & | 16 | MIPI-2N | ||
17 | MIPI-2P | & | 18 | GND5 | ||
19 | MIPI-3N | & | 20 | MIPI-3P | ||
21 | GND6 | & | 22 | GND7 | ||
23 | TP-RESET | 3.3V | & | 24 | TP-VCC | 3.3V |
25 | TP-INT | 3.3V | & | 26 | TP-SDA | 3.3V |
27 | TP-SCL | 3.3V | & | 28 | GND8 | |
29 | GND9 | & | 30 | VCC3V31 | 3.3V | |
31 | VCC3V32 | 3.3V | & | 32 | GND11 | |
33 | GND12 | & | 34 | LED-1 | ||
35 | LED- | & | 36 | NULL | ||
37 | NULL | & | 38 | LED+1 | ||
39 | LED+ |
参考 屏幕配件
MicroSD
可用于系统启动盘,也可以充当存储介质使用
Pin | Name | Pin | Name |
---|---|---|---|
1 | SDMMC_D2 | 2 | SDMMC_D3 |
3 | SDMMC_CMD | 4 | VCC_3V3_S3 |
5 | SDMMC_CLK | 6 | GND |
7 | SDMMC_D0 | 8 | SDMMC_D1 |
9 | SDMMC_DET_L | 10 | GND |
11 | GND | 12 | GND |
13 | GND | 14 | GND |
15 | GND | 16 | GND |
17 | GND | 18 | GND |
eMMC Socket && SPI Flash Connector
支持 eMMC 存储设备,用于系统启动盘或充当存储介质使用
Pin | Name | Pin | Name |
---|---|---|---|
1 | GND | 2 | eMMC_D5 |
3 | GND | 4 | eMMC_D4 |
5 | GND | 6 | eMMC_D0/FSPI_D0 |
7 | GND | 8 | eMMC_CLKOUT |
9 | GND | 10 | eMMC_D3/FSPI_D3 |
11 | GND | 12 | VCCIO_FLASH |
13 | GND | 14 | GND |
15 | eMMC_DATA_STROBE | 16 | GND |
17 | GND | 18 | GND |
19 | GND | 20 | GND |
21 | GND | 22 | GND |
23 | GND | 24 | GND |
25 | eMMC_CMD/FSPI_CLK | 26 | GND |
27 | eMMC_D2/FSPI_D2 | 28 | GND |
29 | eMMC_D1/FSPI_D1 | 30 | GND |
31 | eMMC_D7 | 32 | GND |
33 | eMMC_D6/FSPI_CS0 | 34 | GND |
35 | GND | 36 | GND |
37 | GND | 38 | GND |
39 | GND | 40 | GND |
41 | GND | 42 | GND |
43 | GND | 44 | GND |
45 | GND | 46 | GND |
47 | GND | 48 | GND |
49 | GND | 50 | GND |
51 | GND | 52 | GND |
53 | GND | 54 | GND |
55 | GND | 56 | GND |
57 | GND | 58 | GND |
59 | GND | 60 | GND |
61 | GND | 62 | GND |
63 | GND | 64 | GND |
提示
eMMC 和 SPI Flash 是互斥的,连接器同一时间只能连接 eMMC 或者 SPI Flash 其中一个
调试串口
用于系统调试,底层日志消息输出