ST UM2205 User Manual

Summary of UM2205

  • Page 1

    May 2017 docid030539 rev 1 1/21 www.St.Com um2205 user manual getting started with the stm32 nucleo pack for usb type- c™ and power delivery with the nucleo-f072rb board and the stusb1602 introduction the usb type- c™ and power delivery nucleo pack p-nucleo-usb002 includes: the nucleo-f072rb board t...

  • Page 2: Contents

    Contents um2205 2/21 docid030539 rev 1 contents 1 getting started ................................................................................. 5 1.1 system architecture .......................................................................... 5 1.2 nucleo-f072rb stm32 nucleo board ...............

  • Page 3: List Of Tables

    Um2205 list of tables docid030539 rev 1 3/21 list of tables table 1: solder bridges and resistors to be modified ................................................................................. 7 table 2: p-nucleo-usb002 expansion board connectors, jumpers and leds ....................................

  • Page 4: List Of Figures

    List of figures um2205 4/21 docid030539 rev 1 list of figures figure 1: p-nucleo-usb002 kit ............................................................................................................... 1 figure 2: the two boards composing the p-nucleo-usb002 kit ......................................

  • Page 5: Getting Started

    Um2205 getting started docid030539 rev 1 5/21 1 getting started 1.1 system architecture the p-nucleo-usb002 usb type- c™ and power delivery kit includes: 1. A nucleo-f072rb development board acting as the control board running the stack 2. A p-nucleo-usb002 expansion board acting as a type-c and pow...

  • Page 6

    Getting started um2205 6/21 docid030539 rev 1 the nucleo-f072rb board includes: an stm32f072rbt6 32-bit microcontroller based on arm ® cortex ® -m0 with 128- kbytes of flash memory, 16-kbytes of sram and a usb 2.0 full speed data interface in a lqfp64 package extension resources: arduino uno revisio...

  • Page 7

    Um2205 getting started docid030539 rev 1 7/21 figure 3: stm32 nucleo development board the solder bridge configuration on the nucleo-f072rb nucleo board is customized to support usb pd applications (see table 1: "solder bridges and resistors to be modified" and figure 4: "nucleo-f072rb board top and...

  • Page 8

    Getting started um2205 8/21 docid030539 rev 1 figure 4: nucleo-f072rb board top and bottom view 1.3 connectors, jumpers and leds table 2: p-nucleo-usb002 expansion board connectors, jumpers and leds reference description cn7 st morpho connector cn10 st morpho connector cn2 usart connector cn4 power ...

  • Page 9

    Um2205 getting started docid030539 rev 1 9/21 reference description d106 (blue led) 3.3v power d107 (blue led) user led notes: (1) allows using the 5v from the nucleo-f072rb as vbus when no external power supply is available and only in the provider role – mainly used for demo purposes. If an extern...

  • Page 10

    Getting started um2205 10/21 docid030539 rev 1 3 apply the correct p-nucleo-usb002 expansion board jumper settings jp000 and jp001 configured as shown below jp100 and jp101 open figure 6: p-nucleo-usb002 connectors and jumpers 4 connect the nucleo-f072rb to a pc with a usb type-a to mini-b cable (no...

  • Page 11

    Um2205 getting started docid030539 rev 1 11/21 2 connect the two type-c receptacles on the expansion board using the usb type- c cables provided blue leds d100 and d103 for port_0 and port_1 signal the current role of the port: one blink - port is a provider two blinks - port is a consumer 3 change ...

  • Page 12

    Getting started um2205 12/21 docid030539 rev 1 4 connect the other plug of the usb type-c cable to an external port partner. Blue leds d100 and d103 for port_0 and port_1 signal the current role of the port: one blink - port is a provider two blinks - port is a consumer orange leds d102 and d105 for...

  • Page 13

    Um2205 getting started docid030539 rev 1 13/21 1.6.1 standalone demo with pc 1 connect the nucleo-f072rb board to the pc via the virtual com port with a standard serial terminal program. Configuration: baudrate: 115200 data bit: 8 parity: none stop bit: 1 hardware flow control: none 2 use the cli to...

  • Page 14

    Getting started um2205 14/21 docid030539 rev 1 3 type "help" (or "?") and hit enter to list the supported commands figure 8: cli - list of available commands table 3: cli commands command (shortcut) parameter1 parameter2 description help (?) none none list available commands welcome (w) none none pr...

  • Page 15

    Um2205 getting started docid030539 rev 1 15/21 5 type "profiles" (or "p") plus the port number and hit enter the "profiles" command shows the available power profiles for provider or drp role (the demo has four dummy power profiles) figure 9: cli - list of available profiles 6 type "status" (or "s")...

  • Page 16

    Getting started um2205 16/21 docid030539 rev 1 8 type "status" (or "s") plus the port number and hit enter the cli returns information regarding the role, the cc line used and the selected profile for each port. Figure 11: cli status command – port_0 connected to port_1 9 type "prswap" (or "x") plus...

  • Page 17

    Um2205 getting started docid030539 rev 1 17/21 10 type "hardreset" (or "h") plus the port number and hit enter the cli returns information regarding the status with the new capabilities. Figure 13: cli hardreset command 1.6.2 demo with pc and externally powered board 1 connect a pd consumer to one o...

  • Page 18

    Getting started um2205 18/21 docid030539 rev 1 2 type "status" (or "s") plus port number and hit enter the cli returns the dummy power profiles requested by the consumer and the cable orientation. Figure 14: cli status command – port_0 connected to external pd consumer 3 connect a pd provider to one...

  • Page 19

    Um2205 getting started docid030539 rev 1 19/21 5 type "status" (or "s") plus port number and hit enter this command shows the requested power profile and the cable orientation. Figure 15: cli status and profiles commands – port_1 connected to external pd provider 6 type "request" (or "r") plus port ...

  • Page 20: Revision History

    Revision history um2205 20/21 docid030539 rev 1 2 revision history table 4: document revision history date version changes 04-may-2017 1 initial release..

  • Page 21

    Um2205 docid030539 rev 1 21/21 important notice – please read carefully stmicroelectronics nv and its subsidiaries (“st”) reserve the right to make changes, corrections, enhancements, modifications, and improvements to st products and/or to this document at any time without notice. Purchasers should...