UPD301C Basic Sink Application Example (EV11L78A)
 
Microchip Direct
Buy here >
EV11L78A-Front-Transparent.jpg
UPD301C Basic Sink Application Example

1. Overview

1.1 Introduction

The UPD301C Basic Sink Application Example Evaluation Kit is a low-cost evaluation platform for Microchip’s UPD301C Standalone Programmable USB Power Delivery (PD) Controller. This RoHS-compliant evaluation platform comes in a small form factor and adheres to the USB Type-C™ Connector Specification and USB PD 3.0 specification.

Powered by Microchip's versatile ​USB Power Delivery Software Framework (PSF), this evaluation platform provides a quick and easy way of replacing the standard power connector (barrel plug) in any application with a small form factor, reversible Type-C connector. This bus-powered evaluation platform supports Dead Battery mode and can sink up to 100 W from any standard USB PD power supply.

With the PSF stack, this platform supports up to six configurable Power Delivery Objects (PDOs), all of which are selectable through the onboard rotary switch. The platform can also support unique custom PDOs with the additional configuration of the PSF PD stack if required.

The UPD301C Basic Sink Application Example powered by the PSF stack reduces the overall time-to-market for a range of consumer and industrial applications by providing full control of the software to the end-user. Some of the target application areas are:

  • Point-of-Sale Terminals
  • Charging Lockers
  • IoT Products and Sensors
  • Smart Speakers and Monitors
  • Conference Systems
  • Power Tools

The system block diagram of the Basic Sink Application Example is illustrated in Figure 1.

UPD301C-Block.jpg
Figure 1: UPD301C Basic Sink System Block Diagram

1.2 Kit Contents

The UPD301C Basic Sink Application Example Evaluation Kit includes:

  • One UPD301C Basic Sink Application Example Board (EV11L78A)

1.3 Acronyms and Definitions

Acronym Definition
USB PD USB Power Delivery
PSF USB Power Delivery Software Framework
EVB Evaluation Board
DFP Downstream Facing Port
UFP Upstream Facing Port
DAC Digital to Analog Converter
Dead Battery PD Sink/ DRP mode use case in battery-powered applications where the UFP needs to derive power from VBUS for PD negotiation
Trace Custom Debug mode over UART, can be used for data logging
PDO Power Delivery Object, combination of voltage and current used broadcast the PD capabilities of the source/sink
RDO Request Data Object, used by a Sink Port to negotiate a contact with a port partner
GPIO General Purpose Input Output
SWD Serial Wire Debug

1.4 References

2 Getting Started

2.1 Quick Start

The UPD301C Basic Sink Application Example comes pre-programmed and pre-configured in a single-port USB PD Sink mode. It can sink up to 100 W (20 V, 5 A) out of the box and supports six configurations. For more information about these configurations, refer to the "Section 2.2 Dynamic PDO Selection" section.

Following are the steps to get started with the UPD301C Basic Sink Application Example:

1

Rotate the PDO_SEL switch (SW1) to Position 1 to activate the sink application.

2

Plug a USB PD Source (e.g., Type-C Laptop power supply or phone charger) to the Type-C receptacle (J2) using a full-featured PD Type-C Cable. The board will power up and the PWR LED (D1) will turn on.

3

After powering up in a PD Sink mode, the board would negotiate a 5 V PD contract with the PD source and the 5 V LED (D2) will light up.

4

The negotiated voltage will be available on the PWR_OUT (J1) terminal block and can be used to power a load.

5

Rotating the PDO_SEL switch (SW1) further would result in a re-negotiation of the PD contract. For more information about the supported PDOs, refer to the "Section 2.2 Dynamic PDO Selection" section.

Figure-1-b.jpg
Figure 2: Connectors and Interfaces
Reference Designator Component Type Label Description
SW1 Rotary Switch PDO_SEL PDO Selection Switch
J1 2-pin terminal block PWR_OUT Terminal block for negotiated voltage. Connects to external load (optional)
J2 USB-C Receptacle N/A USB PD Sink-only port
J3 2x5 Header (1.25 mm) DBG I/F Atmel ICE Programming Interface
J4 2x3 Header (2.5 mm) N/A Debug/Status Interface

The use of an external load attached to J1 is optional (not included)

Reference Designator Component Type Label Description
D1 Green LED PWR 3V3 Board Power
D7 Yellow LED CAP MIS Capabilities Mismatch
D8 Green LED EN SINK Enable Sink status
Figure-2-a.jpg
Figure 3: Test Points (Top Side)
Reference Designator Component Type Label Description
TP13 Test Point CC2 Type-C Configuration Channel 2
TP14 Test Point CC1 Type-C Configuration Channel 1
TP15 Test Point DAC_I DAC status output for negotiated current
TP16 Test Point FAULT_IN Fault Status
TP17 Test Point ORIENT Type-C Orientation status
TP18 Test Point 1.5A IND 1.5 A Current Indicator
TP19 Test Point 3.0A IND 3 A Current Indicator
TP20 Test Point PDO_SEL PDO_SEL (SW1) switch voltage input to UPD301C
Figure-3-a.jpg
Figure 4: Test Points (Bottom Side)
Reference Designator Component Type Label Description
TP11 Test Point DP UFP USB 2.0 Data Plus (D+)
TP12 Test Point DN UFP USB 2.0 Data Minus (D-)

2.2 Dynamic PDO Selection

Figure-5-a.jpg
Figure: 5: PDO Selection (PDO_SEL) Switch (SW1)

Figure 5 shows the PDO_SEL switch (SW1) which enables the user to dynamically change the Sink PD contract. The PDO_SEL rotary switch has a total of seven positions and it supports six unique PD contract options as listed in the table below.

Switch 1 Position PDO Select Voltage Value Contract Voltage
0 0.00 V Reserved. Do not use
1 0.42 V 5 V
2 0.83 V 9 V
3 1.25 V 15 V
4 1.66 V 20 V
5 2.08 V Mode A: Highest Wattage at Highest Voltage
6 2.50 V Mode B: Highest Wattage at Lowest Voltage
7 0.00 V Reserved. Do not use

Mode A and Mode B depend on the source capabilities offered.

The PDO associated with each position of the rotary switch can be changed by modifying the PSF PD stack or through the UART command terminal.

2.3 Voltage Meter LEDs

The LED Voltmeter provides a visual indication of the approximate VBUS voltage on the Type-C connector. The location of the voltmeter is shown in Figure 6.

Figure-4-a.jpg
Figure: 6: Voltage Meter LEDs
Reference Designator Component Type Label Description
D2 GREEN LED 5 V 5 V Sink PD Contract
D4 YELLOW LED 9 V 9 V Sink PD Contract
D5 ORANGE LED 15 V 15 V Sink PD Contract
D6 RED LED 20 V 20 V Sink PD Contract
Figure-6a.jpg
Figure 7: 5 V Sink PD contract negotiated at PDO_SEL position 1.

When PDO_SEL (SW1) is set to position 1, the application would request a 5 V, 3 A PDO as seen in Figure 7.

EV11L78A-Figure-4.jpg
Figure 8: 9 V Sink PD contract negotiated at PDO_SEL position 2.

When PDO_SEL (SW1) is set to position 2, the application would request a 9 V, 3 A PDO as seen in Figure 8. If the attached PD source cannot meet this requirement, then the application will try to establish a 5 V, 3 A contract, and the CAP_MIS (D7) LED will turn ON.

EV11L78A-Figure-5.jpg
Figure 9: 15 V Sink PD contract negotiated at PDO_SEL position 3.

When PDO_SEL (SW1) is set to position 3, the application would request a 15 V, 3 A PDO as seen in Figure 9. If the attached PD source cannot meet this requirement, then the application will try to establish a 5 V, 3 A contract, and the CAP_MIS (D7) LED will turn ON.

EV11L78A-Figure-6.jpg
Figure 10: 20 V Sink PD contract negotiated at PDO_SEL position 4.

When PDO_SEL (SW1) is set to position 4, the application would request a 20 V, 3 A PDO as seen in Figure 10. If the attached PD source cannot meet this requirement, then the application will try to establish a 5 V, 3 A contract, and the CAP_MIS (D7) LED will turn ON.

Results for PDO_SEL position 5 (Mode A) and position 6 (Mode B) may vary depending on the source capabilities offered by the port partner.

3 Advanced Features

3.1 Debug and Atmel ICE Program Headers

Figure 11 shows the locations of the Atmel ICE programming Interface (J3) and the Debug/Status Interface (J4).

Figure-7a.jpg
Figure: 11: Debug/Status and Atmel ICE Program Headers

Figure 12 shows the pinout of the Atmel ICE programming Interface (J3) and the Debug/Status Interface (J4).

J3-J4.jpg
Figure: 12: Debug and Atmel ICE Program Headers

3.2 Atmel ICE Programmer

The Atmel-ICE (sold separately) (shown in Figure 13) is a powerful development tool for programming and debugging the ARM® Cortex®-M based SAMD20 microcontroller within the UPD301C Type-C Standalone PD controller. The Atmel-ICE requires a software front-end like MPLAB X IDE or MPLAB X IPE installed on your computer.

 
Microchip Direct
Buy here >
Atmel-ICE-connection.png
Figure: 13: Atmel ICE Connection

3.3 Microchip's USB Power Delivery Software Framework (PSF)

Microchip's USB PSF is a lightweight, full-featured USB PD3.0 compliant software PD stack that powers the UPD301C Basic Sink Application Example.

All the software stack-related documentation and the source code for the UPD301C Basic Sink Application Example can be accessed through the PSF GitHub repository linked below.

© 2021 Microchip Technology, Inc.
Notice: ARM and Cortex are the registered trademarks of ARM Limited in the EU and other countries.
Information contained on this site regarding device applications and the like is provided only for your convenience and may be superseded by updates. It is your responsibility to ensure that your application meets with your specifications. MICROCHIP MAKES NO REPRESENTATIONS OR WARRANTIES OF ANY KIND WHETHER EXPRESS OR IMPLIED, WRITTEN OR ORAL, STATUTORY OR OTHERWISE, RELATED TO THE INFORMATION, INCLUDING BUT NOT LIMITED TO ITS CONDITION, QUALITY, PERFORMANCE, MERCHANTABILITY OR FITNESS FOR PURPOSE. Microchip disclaims all liability arising from this information and its use. Use of Microchip devices in life support and/or safety applications is entirely at the buyer's risk, and the buyer agrees to defend, indemnify and hold harmless Microchip from any and all damages, claims, suits, or expenses resulting from such use. No licenses are conveyed, implicitly or otherwise, under any Microchip intellectual property rights.