Skip to content

Latest commit

 

History

History
34 lines (27 loc) · 1.5 KB

readme.md

File metadata and controls

34 lines (27 loc) · 1.5 KB

STSW-STUSB003 open source firmware

Software Library for STUSB4500

Presentation

The STSW-STUSB003 is a software library enabling the configuration of STUSB4500, and its typical use like dynamic power input management.
The Open source software is available to customize end-application software developments.
The library includes: the STUSB4500 hardware abstraction layers, drivers, Code example, demo and the user manual.

Key Features

  • Open source code
    • Alarm management
    • Send HW and SW reset
    • Access to SINK and SOURCE PDOs
    • Change of SINK PDO
    • Alignment of SINK PDOs to SOURCE PDOs
  • Compilation Environment:
  • Hardware requirements:
    • Any microcontroller with I2C interface
    • STEVAL-ISC005V1: STUSB4500 evaluation board
    • The demo is using NUCLEO-F072RB: STM32 Nucleo-64 development board with ARM Cortex-M0

Demo

Here are some screenshots showing the demo result when connecting the USB-C cable.

  • Example using a power source with 2 PDOs (Google Pixel Power supply 18W)

Screenshot-Terminal_demo

  • Example using a power source with 3 PDOs (Apple Macbook Power brick 60W)

Screenshot-Terminal_demo