PCIe TO USB 3.2 Gen1 Board (C)

From Waveshare Wiki
Jump to: navigation, search
PCIe TO USB 3.2 Gen1 Board (C)
PCIe TO USB 3.2 Gen1 Board (C).jpg

PCIe TO USB
{{{name2}}}

{{{name3}}}

{{{name4}}}

{{{name5}}}

{{{name6}}}

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:
PCIe-TO-USB-3.2-Gen1-Board-C-details-3.jpg

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.
PCIe-TO-USB-3.2-Gen1-HAT-Plus-1-1.png

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

PCIe-TO-USB-3.2-Gen1-HAT-Plus-1-2.png

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!

PCIe-TO-USB-3.2-Gen1-HAT-Plus-1-6.png

GPIO Control

GPIO control is not supported by default. To enable this function, you need to solder the resistor 0R as shown below:
PCIe-TO-USB-3.2-Gen1-Board-C-1-1.png
Note: when using GPIO control, uhubctl can not be used at the same time. Otherwise, GPIO control will be affected.

Resource

Support



Technical Support

If you need technical support or have any feedback/review, please click the Submit Now button to submit a ticket, Our support team will check and reply to you within 1 to 2 working days. Please be patient as we make every effort to help you to resolve the issue.
Working Time: 9 AM - 6 PM GMT+8 (Monday to Friday)