Axon GPIO Description

Vicharak Axon board features a 30-pin GPIO (General-Purpose Input/Output) header that provides flexible options for connecting and controlling external devices. Through software settings, you can configure these pins as either input or output, making them adaptable for various applications.

Out of the 30 pins on the header, 9 are dedicated GPIO pins. These GPIO pins can also be repurposed for SPI (Serial Peripheral Interface), UART (Universal Asynchronous Receiver-Transmitter), PWM (Pulse Width Modulation) and I2C (Inter-Integrated Circuit) functions.

This versatility opens up a wide array of possibilities for interfacing with different components and facilitating communication with other devices.

GPIO Voltage Level

RK3588 SoC has three multiple GPIO voltage levels. Below table shows the voltage level of vaaman GPIOs.

GPIO

Voltage Level

UART debug (Pin 2 and 4)

3.3V

SARADC

1.8V

Other GPIOs

3.3V

Available GPIOs on Axon

Vicharak Axon board has total 30 GPIOs available for user which are accessible on pin header. Below table shows the GPIOs available on Axon board.

Warning

Not all functions can be used at the same time. Only one function can be used or assigned to a GPIO at a time.

Axon GPIOs Header

GPIO number

Function4

Function3

Function2

Function1

PWD/GND

GPIO

Pin#

Pin#

GPIO

PWD/GND

Function1

Function2

Function3

Function4

GPIO number

12V

1

2

GPIO0_B6

UART2_RX_M0(DEBUG)

14

GND

3

4

GPIO0_B5

UART2_TX_M0(DEBUG)

13

5V

5

6

GND

5V

7

8

GND

81

UART1_CTSN_M0

SPI1_MISO_M0

I2C2_SCL_M1

GPIO2_C1

9

10

GPIO2_B6

UART1_RX_M0

I2C5_SCL_M4

78

80

UART1_RTSN_M0

SPI1_CLK_M0

I2C2_SDA_M1

GPIO2_C0

11

12

GPIO2_B7

UART1_TX_M0

I2C5_SDA_M4

79

16

PWM1_M0

GPIO0_C0

13

14

3.3V

GND

15

16

3.3V

56

UART6_TX_M2

SPI1_MISO_M2

I2C7_SCL_M0

GPIO1_D0

17

18

GPIO1_D1

UART6_RX_M2

I2C7_SDA_M0

SPI1_MOSI_M2

57

59

PWM1_M1

UART4_RX_M0

SPI1_CS0_M2

I2C1_SDA_M4

GPIO1_D3

19

20

GPIO1_D2

UART4_TX_M0

I2C1_SCL_M4

SPI1_CLK_M2

PWM0_M1

58

GND

21

22

3.3V

43

GPIO1_B3

23

24

1.8V

GND

25

26

GND

SARADC_4

27

28

SARADC_3

SARADC_1

29

30

SARADC_2

Note

  • The default function of pins marked in orange are specific to this board. For example, Pins 27, 28, 29 and 30 cannot be used as GPIOs as they are SARADC pins.

  • All pins, except those for power supply, are directly connected to the System-on-Chip (SoC).

  • Instructions to use UART2 as serial console can be found in Serial Console, and to disable it, refer to Vicharak Config Device tree overlays section.

  • UART2 has a default baudrate of 115200bps.

GPIO Numbers translation

GPIO0

Number

GPIO1

Number

GPIO2

Number

GPIO3

Number

GPIO4

Number

A0

0

A0

32

A0

64

A0

96

A0

128

A1

1

A1

33

A1

65

A1

97

A1

129

A2

2

A2

34

A2

66

A2

98

A2

130

A3

3

A3

35

A3

67

A3

99

A3

131

A4

4

A4

36

A4

68

A4

100

A4

132

A5

5

A5

37

A5

69

A5

101

A5

133

A6

6

A6

38

A6

70

A6

102

A6

134

A7

7

A7

39

A7

71

A7

103

A7

135

B0

8

B0

40

B0

72

B0

104

B0

136

B1

9

B1

41

B1

73

B1

105

B1

137

B2

10

B2

42

B2

74

B2

106

B2

138

B3

11

B3

43

B3

75

B3

107

B3

139

B4

12

B4

44

B4

76

B4

108

B4

140

B5

13

B5

45

B5

77

B5

109

B5

141

B6

14

B6

46

B6

78

B6

110

B6

142

B7

15

B7

47

B7

79

B7

111

B7

143

C0

16

C0

48

C0

80

C0

112

C0

144

C1

17

C1

49

C1

81

C1

113

C1

145

C2

18

C2

50

C2

82

C2

114

C2

146

C3

19

C3

51

C3

83

C3

115

C3

147

C4

20

C4

52

C4

84

C4

116

C4

148

C5

21

C5

53

C5

85

C5

117

C5

149

C6

22

C6

54

C6

86

C6

118

C6

150

C7

23

C7

55

C7

87

C7

119

C7

151

D0

24

D0

56

D0

88

D0

120

D0

152

D1

25

D1

57

D1

89

D1

121

D1

153

D2

26

D2

58

D2

90

D2

122

D2

154

D3

27

D3

59

D3

91

D3

123

D3

155

D4

28

D4

60

D4

92

D4

124

D4

156

D5

29

D5

61

D5

93

D5

125

D5

157

D6

30

D6

62

D6

94

D6

126

D6

158

D7

31

D7

63

D7

95

D7

127

D7

159

See also

Configure 30-Pin header using vicharak-config utility (Will be available soon)