Release Notes for STM32 USB-C Power Delivery L5 Device Driver

Copyright © 2019 STMicroelectronics

Purpose

The USB-PD device driver provides a set of functions to manage the physical layer (i.e. low level of the type C state machine and low level of message transport). This includes :

The USB-PD library is developed following the Universal Serial Bus Power Delivery Specification Revision 3.0, V2.0 (August 29, 2019) and Universal Serial Bus type-C Cable and Connector Specification, Revision 2.0 (August, 2019).

Update History

Main Changes

Maintenance release

Contents

Fixed bugs list

Headline
Remove useless code sections (compilation switch combinations)
Ticket 106059 - [Licensing] Update the way to declare licenses in Cube and X-CUBE components
Update of FRS pins definition in usbpd_devices_conf_template.h file
Optimize two tone merge test on LeCroy (TD.PD.PHY.ALL.05)
Update FRS event reception processing (protected under _FRS flag)
Fix false FRS detection when detached
Fix false FRS detection when no contract negociated
Ignore any FRS signal during PRS sequence
Implementation of OCP recovery procedure
CodeSpell & MCUAstyle corrections

Known Limitations

Outstanding bugs list : None

Requirements not met or planned in a forthcoming release : None

Development Toolchains and Compilers

  • IAR Embedded Workbench for ARM (EWARM) toolchain V8.50.6
  • RealView Microcontroller Development Kit (MDK-ARM) toolchain V5.32
  • STM32CubeIDE v1.10.1

Supported Devices and boards

All STM32L5xx devices embedding UCPD IP

Backward compatibility

No compatibility break with previous version

Dependencies

This software release is compatible with USB-C Power Delivery Core Stack Library v4.1.0

Main Changes

Maintenance release

Contents

Fixed bugs list

Headline
Ticket 96223 Avoid double definition with LE16 & LE32 macros used in usbh.def

Known Limitations

Outstanding bugs list : None

Requirements not met or planned in a forthcoming release : None

Development Toolchains and Compilers

  • IAR Embedded Workbench for ARM (EWARM) toolchain V8.32.3
  • RealView Microcontroller Development Kit (MDK-ARM) toolchain V5.27
  • STM32CubeIDE v1.4.0

Supported Devices and boards

All STM32L5xx devices embedding USBPD IP

Backward compatibility

No compatibility break with previous version

Dependencies

This software release is compatible with USB-C Power Delivery Core Stack Library v3.3.0

Main Changes

Maintenance release

Contents

Fixed bugs list

Headline
[FRS] confirm the FRS event by checking if an Rp resistor is still present
Ticket 96061 - Tests TD4.3.x failed on Lecroy with NO_PD Sink version
Ticket 92910 -Need to increase delay before reading CC values after VCC activation of TCPP01
Ticket 87301 - The RP resistor shall be reset to the default value during the HardReset AMS
Replace the LPM call by tiny_lpm function
Ticket 88065 - cable_reset management to be improved
Ticket 86356 - Correct misspelled words
Remove conditin for CAD_StateMachine prototype
Add USBPDM1_VCC_FEATURE_ENABLED switch from all the series
Ticket 84586 - Provide external API in CAD to allow application to know which RP present in Sink
Ticket 87584 - [UC30][L5/TZ=1][USBPD] Build issue: usbpd_timeserver.h: No such file or directory in NO_PD configuration
Ticket 87567 - [UC30][L5/TZ=1] Source path are missing for MW and Utilities
Add debug code to display the message discarded at PHY level
CAD_AccesorySupport not defined for NO_PD
Increase tCCDebounce as delay removed from application
[FRS] integration of the FRS, need core adding FRS callback
Patch to avoid reception validated by GOODCRC during Error Recovery
Ticket 83631 - [USBPD][CORE] Data role not correctly reset in DRP mode

Known Limitations

Outstanding bugs list : None

Requirements not met or planned in a forthcoming release : None

Development Toolchains and Compilers

  • IAR Embedded Workbench for ARM (EWARM) toolchain V8.32.3
  • RealView Microcontroller Development Kit (MDK-ARM) toolchain V5.26
  • STM32CubeIDE v1.4.0

Supported Devices and boards

All STM32L5xx devices embedding USBPD IP

Backward compatibility

No compatibility break with previous version

Dependencies

This software release is compatible with USB-C Power Delivery Core Stack Library v3.2.0

Main Changes

Maintenance release

Contents

Fixed bugs list

Headline
Ticket 79696 - Remove condition flag related to EVAL in usbpd_devices_conf_template.h

Known Limitations

Outstanding bugs list : None

Requirements not met or planned in a forthcoming release : None

Development Toolchains and Compilers

  • IAR Embedded Workbench for ARM (EWARM) toolchain V8.32.3
  • RealView Microcontroller Development Kit (MDK-ARM) toolchain V5.27
  • STM32CubeIDE V1.2.0

Supported Devices and boards

All STM32L5xx devices embedding USBPD IP

Backward compatibility

No compatibility break with previous version

Dependencies

This software release is compatible with USB-C Power Delivery Core Stack Library v2.9.0

Main Changes

Maintenance release

Contents

Fixed bugs list

Headline
Ticket 74412 - Remove __DEBUG_CAD switch from devices (enabled automatically)
Alignment with G0 (NO PD implementation and error recovery)

Known Limitations

Outstanding bugs list : None

Requirements not met or planned in a forthcoming release : None

Development Toolchains and Compilers

  • IAR Embedded Workbench for ARM (EWARM) toolchain V8.32.3
  • RealView Microcontroller Development Kit (MDK-ARM) toolchain V5.27

Supported Devices and boards

All STM32L5xx devices embedding USBPD IP

Backward compatibility

No compatibility break with previous version

Dependencies

This software release is compatible with USB-C Power Delivery Core Stack Library v2.9.0

Main Changes

Maintenance release

Contents

Fixed bugs list

Headline
Update in SNK detach = VBUS Low + VOPEN
Ticket 70981 - [USBPD] Ellisys 4.9.4 Source Vconn Swap (Testing Ufp) failed
Solve randomness reloading of CC1 and CC2 values in local variables in CAD_Check_HW() function according to optimizations options

Known Limitations

Outstanding bugs list : None

Requirements not met or planned in a forthcoming release : None

Development Toolchains and Compilers

  • IAR Embedded Workbench for ARM (EWARM) toolchain V8.32.3
  • RealView Microcontroller Development Kit (MDK-ARM) toolchain V5.26
  • System Workbench STM32 (SW4STM32) toolchain V2.7.2

Supported Devices and boards

All STM32L5xx devices embedding USBPD IP

Backward compatibility

No compatibility break with previous version

Dependencies

This software release is compatible with USB-C Power Delivery Core Stack Library v2.8.0

Main Changes

Initial release

Contents

Fixed bugs list

Headline
First official version for STM32L5xx device (source code available)
Ready for CubeMx integration
Compliant with HAL BSP V2 specifications

Known Limitations

Outstanding bugs list : None

Requirements not met or planned in a forthcoming release : None

Development Toolchains and Compilers

  • IAR Embedded Workbench for ARM (EWARM) toolchain V8.32.3
  • RealView Microcontroller Development Kit (MDK-ARM) toolchain V5.25
  • System Workbench STM32 (SW4STM32) toolchain V2.7.2

Supported Devices and boards

All STM32L5xx devices embedding USBPD IP

Backward compatibility

No compatibility break with previous version

Dependencies

This software release is compatible with USB-C Power Delivery Core Stack Library v2.6.0