STSW-STUSB014 USB PD Stack User Guide
- June 6, 2024
- ST
Table of Contents
STSW-STUSB014
Quick Start Guide
STUSB1602 software
library for STM32G474
QUICKSTART Introduction
This document provides an overview of the STUSB1602 software package enabling USB PD stack with NUCLEO-G474RE and MB1303 shield
SOFTWARE
SXSW-STUSB014| STUSB1602 software library for STM32G474
IAR 8. x| C-code compiler
GCC| GNU Arm Embedded Toolchain
STM32CubeIDE| integrated Development Environment for STM32
HARDWARE
NUCLEO-G474RE| STM32 Nucleo development board
P-NUCLEO-USB002| STUSB1602 Nucleo Pack containing MB1303 shield (Nucleo
expansion board to be plugged on NUCLEO-G474RE)
SW library set-up (1/3)
**1**
Download the STUSB1602 software package by searching STSW-STUSB014
from www.st.com home page:
SW library set-up (2/3)
2
Then click on “Get Software” from either the bottom or top of the
page
**3**
Download will start after accepting the License Agreement, and
filling in contact information.
SW library set-up(3/3)
4
Save the file en.STSW-STUSB014v1.1.zip on your laptop
**5**
The package contains a DOC directory, ready-to-use binary files,
associated projects, and compliance reports
Suggested Hardware requirements
The software library has been optimized to quickly compile on the NUCLEO-
G474RE development board stacked with the MB1303 expansion board (from the P
-NUCLEO-USB002 package).
MB1303 is composed of 2 Dual Role Ports (DRP) USB PD capable receptacles (form
factor not optimized)
NUCLEO-G474RE Hardware set-up
Software package Overview
The software library includes 8 different software frameworks already optimized to address the most common application scenario:
| Project| Typical Application
---|---|---
#1| STM32G474_MB1303_SRC_ONLY ()| Provider / SOURCE (power management)
#2| STM32G474_MB1303_SRC_VDM| Provider / SOURCE (power management) +
extended message support + UFP support (Billboard class)
#3| STM32G474_MB1303_SNK_ONLY ()| Consumer / SINK (power management)
#4| STM32G474_MB1303_SNK_VDM| Consumer / SINK (power management)
+ extended message support + UFP support (Billboard class)
#5| STM32G474_MB1303_DRP_ONLY (*)| Dual Role Port (power management)
#6| STM32G474_MB1303_DRP_VDM| Dual Role Port (power management) +
extended message support + UFP support (Billboard class)
#7| STM32G474_MB1303_DRP_2PORTS| 2 x Dual Role Port (power management) +
dead battery mode + extended message support + UFP support (HID class)
#8| STM32G474_MB1303_DRP_SRCING_DEV| Dual Role Port requesting PR_swap
when attached in Sink or DR_swap when attached in Source + UFP support (HID
class)
– by default, all projects are packaged with RTOS support
– project annotated with a (*) are available with and without RTOS support
For more details, please check
Firmware Package documentation:
Documents / Resources
| ST
STSW-STUSB014 USB PD
Stack
[pdf] User Guide
STSW-STUSB014, USB PD Stack
---|---
Read User Manual Online (PDF format)
Read User Manual Online (PDF format) >>