Skip to main content

Hardware interface description

Interface overview

rock 3a interfaces

Power

Support QC 3.0/2.0 adapter, 9V/2A, 12V/1.5A

Debug Serial Port

Ethernet Port

40 PIN GPIO

GPIO voltage

Voltage Range

TypeVoltageTolerance
GPIO3.3V3.63V
ADC1.8V1.98V

GPIO interface

ROCK 3A provides a 40pin GPIO socket, which is compatible with most sensor applications on the market.

caution

Tip: Actual compatibility is subject to actual usage.

GPIO numberFunction4Function3Function2Function1Pin#Pin#Function1Function2Function3Function4GPIO number
+3.3V
1
2
+5.0V
32CAN1_RX_M0UART3_RX_M0I2C3_SDA_M0GPIO1_A0
3
4
+5.0V
33CAN1_TX_M0UART3_TX_M0I2C3_SCL_M0GPIO1_A1
5
6
GND
13PWM1_M1I2C2_SCL_M0GPIO0_B5
7
8
GPIO0_D1
UART2_TX_M0
25
GND
9
10
GPIO0_D0
UART2_RX_M0
24
116UART7_TX_M1PWM14_M0GIO3_C4
11
12
GPIO3_A399
117UART7_RX_M1PWM15_IR_M0GPIO3_C5
13
14
GND
16UART0_RXPWM1_M0GIO0_C0
15
16
GPIO0_B6I2C2_SDA_M0PWM2_M1105
+3.3V
17
18
GPIO3_B2UART4_TX_M1PWM9_M0106
147CAN1_TX_M1SPI3_MOSI_M1PWM15_IR_M1GPIO4_C3
19
20
GND
149UART9_TX_M1SPI3_MISO_M1PWM12_M1GPO4_C5
21
22
GPIO0_C1PWM2_M0UART0_TX113
146CAN1_RX_M1SPI3_CLK_M1PWM14_M1GIO4_C2
23
24
GPIO4_C6PWM13_M1SPI3_CS0_M1UART9_RX_M1150
GND
25
26
GPIO4_D1SPI3_CS1_M1
12USB_DPCAN0_RX_M0I2C1_SDAGIO0_B4
27
28
GPIO0_B3I2C1_SCLCAN0_TX_M0USB_DM139
95UART8_TX_M1GPIO2_D7
29
30
GND
96UART8_RX_M1GPIO3_A0
31
32
GPIO3_C2UART5_TX_M1114
115UART5_RX_M1SPI1_CLK_M1GPIO3_C3
33
34
GND
100GPIO3_A4
35
36
GPIO3_A2103
SARADC_VIN5
37
38
GPIO3_A6102
GND
39
40
GPIO3_A5101

More details about 40-pin Header In V1.3+

  • Pins marked with color orange are designed for debug console.
  • PWM: x7, PWM1 / PWM2 / PWM9 / PWM12 / PWM13 / PWM14 / PWM15
  • SPI: x1, SPI3
  • I2C: x3, I2C1 / I2C2 / I2C3
  • UART: x6, UART0 / UART3 / UART5 / UART7 / UART8 / UART9
  • ADC: x1, SARADC_VIN5
  • CAN: x2, CAN0 / CAN1
  • USB 2.0: x1, USB_DP(PIN#27) + USB_DM(PIN#28)
    • When we select this USB function, you need to modify the hardware like this:
    • -> Remove R90526 R90527
    • -> Add R90536 R90537

Bluetooth

USB C OTG

HDMI

USB

MIPI CSI

MIPI DSI

WIFI

MicroSD