跳到主要内容

硬件接口说明

芯片框图

rk3588s chip diagram

实物照片

rock 5a real

接口详情

eMMC && SPI Flash Connector

PinNamePinName
1eMMC_DTE2eMMC_D5
3GND4eMMC_D4
5GND6eMMC_D0/FSPI_D0
7GND8eMMC_CLKOUT
9GND10eMMC_D3/FSPI_D3
11GND12VCCIO_FLASH
13GND14GND
15eMMC_DATA_STROBE16GND
17GND18GND
19GND20VCCIO_FLASH
21VCCIO_FLASH22VCC_3V3_S0
23VCC_3V3_S024GND
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
5152GND
5354GND
5556GND
5758GND
5960GND
6162GND
6364GND
提示

eMMC 和 SPI Flash 是互斥的,连接器同一时间只能连接 eMMC 或者 SPI Flash 其中一个

FAN Header

PinNamePinName
1FAN-PWM2VCC_5V0
3GND4GND

GPIO

GPIO 电压

GPIO电压最高
所有的GPIO3.3V3.63V
SARADC_IN21.8V1.8V

GPIO Pinout

ROCK 5A 提供了一个40pin针脚的GPIO座子,兼容于市面上大部分传感器的应用。

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

40-Pin 引脚 USB 功能配置

在 ROCK 5A 的 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 上。
提示

原理图和位号信息可在硬件资料中查阅和下载,硬件资料下载

[操作提示]

此操作需要具备一定的焊接技巧,建议由有经验的技术人员完成。

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
19GND20GND

Maskrom Button

PinNamePinName
1SARADC_VIN0_BOOT2GND

MIPI CSI

PinNamePinName
1GND2MIPI_CSI0_RX_D3N
3MIPI_CSI0_RX_D3P4GND
5MIPI_CSI0_RX_D2N6MIPI_CSI0_RX_D2P
7GND8MIPI_CSI0_RX_CLK1N
9MIPI_CSI0_RX_CLK1P10GND
11MIPI_CSI0_RX_D1N12MIPI_CSI0_RX_D1P
13GND14MIPI_CSI0_RX_D0N
15MIPI_CSI0_RX_D0P16GND
17MIPI_CSI0_RX_CLK0N18MIPI_CSI0_RX_CLK0P
19GND20MIPI_CAMERA2_CLK_1
21GND22MIPI_CAMERA1_CLK_1
23MIPI_CAM1_PDN_H24I2C3_SCK_M0
25I2C3_SDA_M026MIPI_CAM0_PDN_H
27MIPI_CAM_RST28VCC_3V3_S0
29VCC_3V3_S030VCC_5V0
31VCC_5V0

MIPI CSI

PinNamePinName
1VCC_LCD_MIPI_22VCC_1V8_S0
34LCD_RESET_1
56GND
7MIPI_DPHY0_TX_D0N8MIPI_DPHY0_TX_D0P
9GND10MIPI_DPHY0_TX_D1N
11MIPI_DPHY0_TX_D1P12GND
13MIPI_DPHY0_TX_CLKN14MIPI_DPHY0_TX_CLKP
15GND16MIPI_DPHY0_TX_D2N
17MIPI_DPHY0_TX_D2P18GND
19MIPI_DPHY0_TX_D3N20MIPI_DPHY0_TX_D3P
22GND22GND
23TP_RST_LCD24VCC_TP
25TP_INT_LCD26TP_SDA_LCD
27TP_SCL_LCD28GND
29GND30VCC_LCD_MIPI_2
31VCC_LCD_MIPI_232GND
33GND34VCC_LEDK2
35VCC_LEDK236
3738VCC_LEDA2
39VCC_LEDA240GND
41GND

PCIe E Key

PinNamePinName
1GND2VCC3V3_WF
3USB3_DP4VCC3V3_WF
5USB3_DM6WIFI_LED
7GND8NC
9NC10NC
11NC12NC
13NC14NC
15NC16NC
17NC18GND
19NC20NC
21NC22NC
23NC24NC
33NC32NC
35PCIE20_0_TXP34NC
37PCIE20_0_TXN36NC
39GND38NC
41PCIE20_0_RXP40NC
43PCIE20_0_RXN42BT_REG_ON_H
45GND44NC
47PCIE20_0_REFCLKP46NC
49PCIE20_0_REFCLKN48NC
51GND50WIFIBT_32KIN_1T1R
53PCIE20x1_2_CLKREQn_M052PCIE20x1_2_PERSTn_M0
55PCIE20x1_2_WAKEn_M054HOST_WAKE_BT_H
57GND56BT_REG_ON_H
59NC58I2C2_SDA_M0
61NC60I2C2_SCL_M0
63GND62NC
65NC64NC
67NC66NC
69GND68NC
71NC70HOST_WAKE_BT_H
73NC72VCC3V3_WF
75GND74VCC3V3_WF

POE

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-
19GND

TF Card Slot

PinNamePinName
1SDMMC_D22SDMMC_D3
3SDMMC_CMD4VCC_3V3_S3
5SDMMC_CLK6GND
7SDMMC_D08SDMMC_D1
9SDMMC_DET_H10GND
11GND12GND
13GND