1. Overview
The 40-pin header allows VisionFive 2 single board computers to interface with a variety of external components, which enables
developers to create their projects. This document is intended to:
•
introduce the 40-pin header as described in this chapter.
•
provide instructions to configure and debug GPIO, I2C, SPI, PWM, and UART, as described in
,
, and
•
provide peripheral examples to use the 40-pin header, as described in the
1.1. 40-Pin Header Definition
The following figure shows the location of the 40-pin header on VisionFive 2.
Figure 1-1 40-Pin Definition
1
3
5
7
9
11
17
19
23
27
31
35
13
15
21
25
29
33
37
39
2
4
6
8
10
12
18
20
24
28
32
36
14
16
22
26
30
34
38
40
5V Power
5V Power
GND
GPIO5 (UART TX)
GPIO6 (UART RX)
GPIO38
GPIO51
GND
GPIO49 (SPI CE0)
GPIO40
GPIO46 (PWM0)
GPIO36
GND
GPIO54
GPIO50
GPIO56
GND
GND
GPIO61
GPIO44
3.3V Power
GPIO58 (I2C SDA)
GPIO57 (I2C SCL)
GPIO55
GND
GPIO42
3.3V Power
GPIO52 (SPI MOSI)
GPIO48 (SPI SCLK)
GPIO45
GPIO39
GPIO63
GPIO43
GPIO47
GPIO53 (SPI MISO)
GND
GPIO37
GPIO59 (PWM1)
GPIO60
GND
© 2018-2022 StarFive Technology
All rights reserved
8
StarFive