• sales

    +86-0755-88291180

PCIe-TO-USB-3.2-Gen1-Board-C User Guide

Introduction

This PCIe To USB3.2 Gen1 Board is designed for Raspberry Pi 5. Onboard 4x USB interfaces, driver-free, plug-and-play, high-speed, support side-mounting solution.

Features

  • Support PCI-E×1 Gen2 mode.
  • Only support PI5B.
  • Equip with original high-performance VL805 controller.
  • Support USB power control.

User Guide

Hardware Connection

Please pay attention to the cable orientation as shown below:

How To Use

1: Enable PCIE interface:
PCIE interface is not enabled on the Raspberry Pi 5 by default, you can add the following content at /boot/firmware/config.txt:

dtparam=pciex1

2: PCIE gen2 is the default setting, if you want to enable PCIE gen3, you need to add the following content at /boot/firmware/config.txt:

dtparam=pciex1_gen=3
#Please note that the module only supports gen2, so it is the same to set Gen3 or Gen2 on the PI5, and the speed will not be improved.  

3: Reboot PI5 after modification, and the device can be recognized.

As shown below, the VL805 is recognized as our device, and the other PI5 is the RPI chip.

4: Execute "lsusb" to the USB device that has been recognized.


USB Power Supply Control

The maximum output current of the single port is 2A.
Total output current: depends on the current input by the user through the socket.

uhubctl Tool Control (Default)

1: Install uhubctl tool:

sudo apt-get install uhubctl

2: Usage:

#Close all USB power supply
sudo uhubctl -l  1-1 -a off
#Unspecified port, disable all USB power under the bus 
#Open USB power supply
sudo uhubctl -l  1-1 -p 1  -a on
sudo uhubctl -l  1-1 -p 2  -a on
sudo uhubctl -l  1-1 -p 3  -a on
sudo uhubctl -l  1-1 -p 4  -a on
#-p defines port number 
#-a defines the device status  
#-l(Lowercase L) Specifies the USB bus, which can be viewed by lsub -t
#The port number should correspond to the USB 2.0 port number, and if there are no other USB devices connected, it should default to the corresponding command
#Close a USB power supply 
sudo uhubctl -l  1-1 -p 1  -a off
sudo uhubctl -l  1-1 -p 2  -a off
sudo uhubctl -l  1-1 -p 3  -a off
sudo uhubctl -l  1-1 -p 4  -a off
#Note that the first time you use the command to close a single USB port may not be able to operate need to close all before you can!


GPIO Control

GPIO control is not supported by default. To enable this function, you need to solder the resistor 0R as shown below:

Note: when using GPIO control, uhubctl can not be used at the same time. Otherwise, GPIO control will be affected.

Resource

Support

Monday-Friday (9:30-6:30) Saturday (9:30-5:30)

Email: services01@spotpear.com

TAG: Milk-V Duo Tutorial USB to UART SpotPear Milk V Duo Raspberry Pi 9.7 inch e-Paper HAT+ (E) E-Ink E6 Full color 1120x784 Screen Display For Arduino /STM32 /ESP32/Jetson Nano Raspberry Pi 21.5 inch Type C/HDMI Display Screen 1920x1080 Computer PC Phone Xbox/PS4/Switch ESP32-S3 7inch LCD Display 7 inch TouchScreen 7B 1024×600 N16R8 CAN RS485 Sensor Raspberry Pi Pico RP2040 C Environment Window ESP32-AI Series User Guide Jetson Nano 3G module Bus servo driver board Spotpear Arducam CSI-to-HDMI Raspberry Pi RP2040 Programmable Magnetic Encoder Raspberry Pi 1.54inch LCD Bookworm-Desktop Display and Touch ESP32-C6 LCD Development Board 1.3 inch Display 1.3inch Screen ST7789 240x240 Mini TV SD-Port QST LVGL For Arduino Spotpear ESP32-S3 A7670E 4G development board supports LTE Cat-1/2G/GNSS positioning/WiFi/Bluetooth Luckfox Pico SPI