Getting started with USB-Power Delivery Source

Revision as of 11:24, 25 October 2021 by Registered User
Under construction.png Coming soon

Target description

This tutorial will help you to:

  • Use the X-NUCLEO-SRC1M1 shield that includes a TCPP02-M18 protection circuit and provides a USB Type-C® connector
  • Create a USB-PD Source Device with the NUCLEO-G0B1RE board and the X-NUCLEO-SRC1M1 shield by using STM32CubeIDE software

Prerequisites

  • Computer with Windows 7 (or higher)

Hardware


  • NUCLEO-G0B1RE (tested on rev ???) [1]
  • X-NUCLEO-SRC1M1 (tested on Rev ???) [2]
  • USB cable Type-A to Micro-B
  • USB Type-C® to Type-C® cable
  • A USB-PD sink device to test our USB-PD device

Software

  • STM32CubeIDE (tested with V1.7.0) [3]

Literature

  • UM2324 NUCLEO-G0B1RE User Manual



1. Create a USB-PD Source Device

Clock.png ???min

1.1. Creating the project

Open STM32CubeIDE and create a New STM32 Project. As a target selection, choose the NUCLEO-G0B1RE from the "Board Selector" Tab


Click "Next", then enter you project's name. Leave the other fields as default and click "Finish".


1.2. Configuring the project

When prompted for initializing peripherals with their default mode, click Yes. At this point your project is created and you are left with the STM32CubeMX view. In the next steps, we will configure the peripherals and options needed for the project.



1.3. References