STSW-STUSB015 Quick Start Guide

STUSB1602 software library for STM32L4R5

Introduction

This document provides an overview of the STUSB1602 software package enabling USB PD stack with NUCLEO-L4R5ZI and MB1303 shield.

SOFTWARE
STSW-STUSB015STUSB1602 software library for STM32L4R5
IAR 8.xC-code compiler
HARDWARE
NUCLEO-L4R5ZISTM32 Nucleo-144 development board
P-NUCLEO-USB002STUSB1602 Nucleo Pack containing MB1303 shield (Nucleo expansion board to be plugged on NUCLEO-L4R5ZI)

SW library set-up

Step 1: Download the software package

Download the STUSB1602 software package by searching STSW-STUSB015 from www.st.com home page.

Description: A screenshot of the ST.com website showing a search result for STSW-STUSB015, listing it as an "Evaluation Tool Software" and "STUSB1602 software library for STM32L4R5".

Step 2: Get Software

Then click on "Get Software" from either the bottom or top of the page.

Description: A download interface showing "STSW-STUSB015", "1.0.0", "Active", "ST", and a "Get Software" button.

Step 3: Download and License Agreement

Download will start after accepting the License Agreement, and filling contact information.

Description: A "License Agreement" dialog box with an "ACCEPT" button.

Step 4: Save and Unzip

Save the file en.STSW-STUSB015.zip on your laptop and unzip.

Description: A file explorer window showing the contents of the unzipped package, including directories like BIN, COMPLIANCE_RESULTS, DOC, and STSW_STUSB015_v1.0.

Step 5: Package Contents

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-L4R5ZI development board stacked with MB1303 expansion board (from P-NUCLEO-USB002 package). MB1303 is composed of 2 Dual Role Ports (DRP) USB PD capable receptacles (form factor not optimized).

NUCLEO-L4R5ZI: STM32 Nucleo-144 development board.

MB1303: Board contained in P-NUCLEO-USB002 orderable package.

NUCLEO-L4R5ZI Hardware Set-up

Hardware modifications to be done on MB1312 in order to use MB1303 shield offering 2 USBPD ports based on STUSB1602 + stm32L4R5ZI:

Software Package Overview

The software library includes 8 different software frameworks (+ 3 without RTOS) already optimized to address most common application scenarios:

#ProjectTypical Application
1STM32L4R5_MB1303_SRC_ONLY(*)Provider / SOURCE (power management)
2STM32L4R5_MB1303_SRC_VDMProvider / SOURCE (power management) + extended message support
3STM32L4R5_MB1303_SNK_ONLY(*)Consumer / SINK (power management)
4STM32L4R5_MB1303_SNK_VDMConsumer / SINK (power management) + extended message support + UFP support
5STM32L4R5_MB1303_DRP_ONLY (*)Dual Role Port (power management) + dead battery mode
6STM32L4R5_MB1303_DRP_VDMDual Role Port (power management) + dead battery mode + extended message support + UFP support
7STM32L4R5_MB1303_DRP_2PORTS2 x Dual Role Port (power management) + dead battery mode + extended message support + UFP support
8STM32L4R5_MB1303_DRP_SRCING_DEVICEDual Role Port requesting PR_swap when attached in Sink or DR_swap when attached in Source

- By default, all projects are packaged with RTOS support.

- Projects annotated with a (*) are available with and without RTOS support.

Firmware Package Documentation

For more details, please check Firmware Package documentation.

Description: A file explorer view showing the directory structure for STSW-STUSB015_v1.0 > Projects, listing various project folders such as STM32L4R5_MB1303_SRC_VDM, STM32L4R5_MB1303_SRC_ONLY, etc.

File Info : application/pdf, 9 Pages, 600.38KB

PDF preview unavailable. Download the PDF instead.

stsw-stusb015-quick-start Microsoft PowerPoint for Microsoft 365

Related Documents

Preview STSW-STUSB012 Quick Start Guide: STUSB1602 Software Library for STM32F446 Development
Get started quickly with the STSW-STUSB012 software library from STMicroelectronics, enabling USB Power Delivery (PD) stack on the STM32F446 microcontroller using NUCLEO-F446ZE and MB1303 hardware.
Preview STM32 Nucleo-144 Boards Data Brief - STMicroelectronics
Detailed data brief for STMicroelectronics STM32 Nucleo-144 boards, covering common and board-specific features, an extensive list of available models with their differentiating features, product codification, development environment requirements, and revision history. These boards offer an affordable and flexible platform for developing prototypes with STM32 microcontrollers.
Preview ST X-NUCLEO-LED12A1 Quick Start Guide: LED Driver Expansion Board for STM32 Nucleo
Get started quickly with the ST X-NUCLEO-LED12A1, an LED driver expansion board for STM32 Nucleo microcontrollers. This guide covers hardware overview, setup, demo examples, and software tools.
Preview Quick Start Guide: STMicroelectronics X-NUCLEO-53L0A1 VL53L0X Ranging and Gesture Sensor Expansion Board for STM32 Nucleo
This quick start guide provides essential information for using the STMicroelectronics X-NUCLEO-53L0A1 expansion board, which features the VL53L0X Time-of-Flight sensor for ranging and gesture detection. It covers hardware and software overviews, setup, demo examples, and integration with the STM32 Nucleo development environment.
Preview STM32 Nucleo-144 Boards: Features, Ordering, and Development Environment
Comprehensive overview of STMicroelectronics STM32 Nucleo-144 development boards, detailing features, ordering information, differentiating characteristics, and development environment setup for microcontroller prototyping.
Preview STM32 Nucleo-144 Boards Data Brief
This data brief provides an overview of the STM32 Nucleo-144 development boards from STMicroelectronics, detailing their features, board-specific options, ordering information, product marking, codification, development environment requirements, and revision history.
Preview STM32 Nucleo-144 Development Boards User Manual - UM2179 by STMicroelectronics
This user manual provides detailed information on the STM32 Nucleo-144 development boards (MB1312 series), including features, ordering, hardware layout, configuration, and usage. Designed for prototyping with STM32 microcontrollers, these boards offer extensive connectivity and integrated debugging capabilities.
Preview X-NUCLEO-GFX02Z1: STM32 Nucleo-144 Display Expansion Board User Manual
User manual for the STMicroelectronics X-NUCLEO-GFX02Z1 expansion board, featuring a 2.2-inch TFT display and joystick for STM32 Nucleo-144 development boards. Learn about its features, compatibility, and usage.