Datasheet STSW-STUSB015 Datasheet (STMicroelectronics)

Page 1
STSW-STUSB015
Quick Start Guide
STUSB1602 software library for STM32L4R5
Page 2
QUICK START
Introduction
2
STSW-STUSB015
STUSB1602 software library for STM32L4R5
IAR 8.x
C
-code compiler
HARDWARE
NUCLEO-L4R5ZI
STM32 Nucleo
-144 development board
P-NUCLEO-USB002
STUSB1602
Nucleo Pack containing MB1303 shield (Nucleo
expansion board to be plugged on
NUCLEO-L4R5ZI)
This document provides an overview of the STUSB1602 software package enabling USB PD stack with NUCLEO-L4R5ZI and MB1303 shield
Page 3
SW library set-up
(1/3)
3
Download the STUSB1602 software package by searching STSW-STUSB015 from www.st.com home page:
1
Page 4
SW library set-up
(2/3)
4
Then click on “Get Software” from either the bottom or top of the page
Download will start after accepting the License Agreement, and filling contact information.
2
3
1.0.0STSW-STUSB015
Page 5
SW library set-up
(3/3)
5
Save the file en.STSW-STUSB015.zip on your laptop
and unzip:
4
5
The package contains a DOC directory, ready-to-use binary files, associated projects
and compliance reports
en.STSW-STUSB015.zip
Page 6
Suggested
Hardware requirements
6
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
MB1303
(Board contained in
P-NUCLEO-USB002 orderable package)
Page 7
NUCLEO-L4R5ZI
Hardware set-up
7
Page 8
Software package
Overview
8
The software library includes 8 different software frameworks (+ 3 without RTOS) already optimized to address most common application scenario:
Project
Typical
Application
#1
STM32L4R5_MB1303_SRC_ONLY(*)
Provider / SOURCE (power management)
#2
STM32L4R5_MB1303_SRC_VDM
Provider /
SOURCE (power management)
+ extended
message support
#3
STM32L4R5_MB1303_SNK_ONLY(*)
Consumer /
SINK (power management)
#4
STM32L4R5_MB1303_SNK_VDM
Consumer / SINK (power management)
+ extended
message support + UFP support
#5
STM32L4R5_MB1303_DRP_ONLY (*)
Dual
Role Port (power management) + dead battery mode
#6
STM32L4R5_MB1303_DRP_VDM
Dual
Role Port (power management) + dead battery mode
+
extended message support + UFP support
#7
STM32L4R5_MB1303_DRP_2PORTS
2 x Dual
Role Port (power management) + dead battery mode
+
extended message support + UFP support
#8
STM32L4R5
_MB1303_DRP_SRCING_DEVICE
Dual 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
- project annotated with a (*) are available with and without RTOS support
Page 9
For more details, please check
Firmware Package documentation:
9
Loading...