• sales

    +86-0755-88291180

VisionFive2 8GB User Guide

Overview

Onboard RV64GC ISA Quad-core 64-bit SoC, operating frequency up to 1.5GHz, VisionFive 2 supports OpenCL 3.0, OpenGL ES 3.2, and Vulkan 1.2. It is available in 4GB/8GB LPDDR4 RAM options and an optional wireless module. Also, it has multiple onboard interfaces, including M.2 / CSI / DSI / HDMI / eMMC / USB 3.0 / 40PIN GPIO / RJ45 Gigabit Ethernet port / TF card slot, etc. Supports 4K@60fps and H264/H265 multi-stream video decoding, 1080p@30fps and H265 multi-stream video encoding. Onboard 40PIN GPIO header, VisionFive2 is compatible with Raspberry Pi series boards. Provides wide software compatibility including support for Debian.

Parameters

ProcessorStarFive JH7110
CPURISC-V U74 Quad-core 64-bit V64GC ISA SoC@1.5GHz
GPUIMG BXE-4-32
Memory4G/8G Byte LPDDR4
StorageTF card/eMMC
CameraMIPI CSI 2lane × 1
Display portHDMI 2.0 × 1 (4K@30fps or 2K@60fps);
2-lane MIPI DSI × 1 (1080p@30fps);
4-lane MIPI DSI × 1 (2K@30fps);
Only one DSI port can be used for display at the same time
USB HostUSB Type-A 3.0 × 4
USB DeviceUSB Device × 1; multiplexed with the USB Type-C port
Networking1 × Gigabit Ethernet port (main Ethernet port) (near the edge of the board);
1 × 100/10M Ethernet port
Others40PIN × 1;
M.2 M-Key SSD slot;
2Pin fan header;
3.5mm Audio Jack
Power supplySupports Quick Charge input 5V DC (minimum 3A) (up to 30 W)
Supports 5~20V fixed voltage input
Supports USB Type-C PD 2.0, 9V/2A, 12V/2A, 15V/2A, 20V/2A
Supports QC 3.0/2.0 adapter, 9V/2A, 12V/1.5A
Dimensions100 × 74 × 21 mm
Recommended operating ambient temperature0~50℃ (If the operating temperature of the chip exceeds 85°C, the frequency and voltage of the CPU will be automatically reduced for cooling)

User Guide

As the Debian image is large, it is recommended to use a TF card of 32GB or above.

Install Debian System

Download, open SDFormatter, and format the corresponding TF card.

Download, open Win32DiskImager.zip, choose the corresponding image and disk, and click "write".

Booting

Turn the two DIP switches on the board to the right (ON) position.

Insert the TF card that burned the image, connect the USB to TTL module according to the figure, connect it to the PC, and check the port. 

Open MobaXterm and operate as shown below:



Access network cable and power supply.

Enter the following command (to be entered line by line):

ext4load mmc 1:3 a0000000 /boot/uEnv.txt
env import a0000000 17c
setenv fdtfile starfive/jh7110-visionfive-v2.dtb
sysboot mmc 1:3 ext2 b0000000 /boot/extlinux/extlinux.conf

Wait a few seconds and it will automatically enter the system (if you have selected it before, you must select it before entering the system).

Enter the corresponding account and password:
Username: root
Password: starfive

Connect To SSH

The Debian system of VisionFive2 does not support the root user to use an ssh connection, so it needs to be set according to the following configuration.
edit the ssh configuration file

nano /etc/ssh/sshd_config

Add the following two sentences at the end of the file:

PasswordAuthentication yes 
PermitRootLogin yes

Save, exit, and restart the ssh service.
service sshd restart or systemctl restart sshd.service Use MobaXterm software to ssh connection to VisionFive2, if the connection fails, restart VisionFive2.



How To Use With Other Product

WM8960

Replace the command at startup with the following:

ext4load mmc 1:3 a0000000 /boot/uEnv.txt 
env import a0000000 17c
setenv fdtfile starfive/jh7110-visionfive-v2-wm8960.dtb 
sysboot mmc 1:3 ext2 b0000000 /boot/extlinux/extlinux.conf

Install alsa-utils

apt install alsa-utils

If the module is not connected at the beginning, you need to restart VisionFive2 to detect the audio device.
Type aplay -l to list sound cards and digital audio devices.
Pay attention to the position marked on the picture, which indicates the device number of the sound card and digital audio equipment, where card0 and device0 are the headphone jacks on the VisionFive2 motherboard, card0 and device2 are the headphone jacks on the WM8960 module.

Type arecord -l to list sound cards and recording devices.
Pay attention to the position marked on the picture, which indicates the device number of the sound card and recording device, card0 and device1 are the two patch microphones on the WM8960 module.

Enter the command:

arecord -Dhw:0,1 -f S32_LE -r16000 -c2 -d 10 -t wav sound_32b_16k.wav

Start recording 10 seconds of 32-bit, 16kHz audio, and save it in the current directory, the file name is sound_32b_16k.wav.
input the command:

aplay -Dhw:0,2 -f S32_LE -r16000 -t wav sound_32b_16k.wav

Use the WM8960 module onboard headphone interface to play audio.
Note that the headphone jack on the VisionFive2 motherboard only supports audio output in 16-bit audio format.

LCD

Compatible model:

Hardware connection:

VisionFive2 pinout definition
LCDVisionFive2 Board Pin
VCC3.3V
GNDGND
DIN19
CLK23
CS24
DC22
RST13
BL12

Install the corresponding library file:

apt-get install pip
pip install VisionFive.gpio
apt-get install python3-numpy
apt-get install python3-pil

Download the demo:

apt-get install p7zip-full
wget https://www.waveshare.com/w/upload/e/e9/LCD_Module_code.7z
7z x LCD_Module_code.7z -o./LCD_Module_code
cd LCD_Module_code/VisionFive/python/example/

Run the corresponding demo according to your LCD.

python3 0inch96_LCD_test.py
python3 1inch14_LCD_test.py
python3 1inch28_LCD_test.py
python3 1inch3_LCD_test.py
python3 1inch54_LCD_test.py
python3 1inch8_LCD_test.py
python3 2inch_LCD_test.py
python3 2inch4_LCD_test.py
TAG: DDSM315 Direct Drive Servo Motor All-In-One Design Hub RS485 Motor Raspberry Pi RP2040 Camera ESP32 S3 Development Board 1.5 inch Round Rotary OLED TouchScreen Smart Knob Display 1.5inch Display 466x466 LVGL for Arduino X1300 X1300-A2 Raspberry Pi 5 HDMI to CSI-2 Shield 1080P@60fps & Audio & Video Also Raspberry Pi CM5 Official Original IO Board a Base Development Platform Compute Module 5 IO Board Raspberry Pi Pico 2 RP2350 2 inch LCD Capacitive TouchScreen Development Board 240x320 Display QMI8658 6-Axis /OV5640 Camera /SD /Battery Port Omni-Directional Lidar Raspberry Pi Autofocus Camera ESP32-P4 Smart 86 TV Box Development Board 4 inch 720x720 Display TouchScreen RS485 Relay Camera RJ45 ETH USB TO RS485 RS232 to Ethernet 4.26inch-e-Paper 800x480 Spotpear SpotPear ESP32 S3 Development Board 2.8 inch Round LCD Display 480x480 QMI8658 Sensor / SD /MP3 Audio /Battery Port LVGL/HMI For Arduino Raspberry Pi 5 RTC charge configuration DC-DC Step-Down Mini voltage Moudle Input 5~36V voltage Output 5V/3.3V 4A Intel 11th Raspberry Pi Pico 2 RP2350 1.69 inch LCD TouchScreen Development Board 240x280 1.69inch Display QMI8658 6-Axis