Download CCG2 PI Power Adapter User Guide

Survey
yes no Was this document useful for you?
   Thank you for your participation!

* Your assessment is very important for improving the workof artificial intelligence, which forms the content of this project

Document related concepts

Voltage optimisation wikipedia , lookup

Standby power wikipedia , lookup

Printed circuit board wikipedia , lookup

Immunity-aware programming wikipedia , lookup

Wireless power transfer wikipedia , lookup

History of electric power transmission wikipedia , lookup

Electrification wikipedia , lookup

Electric power system wikipedia , lookup

Power electronics wikipedia , lookup

Amtrak's 25 Hz traction power system wikipedia , lookup

Alternating current wikipedia , lookup

Rectiverter wikipedia , lookup

Audio power wikipedia , lookup

Power over Ethernet wikipedia , lookup

Mains electricity wikipedia , lookup

Power engineering wikipedia , lookup

Switched-mode power supply wikipedia , lookup

Power supply wikipedia , lookup

AC adapter wikipedia , lookup

Transcript
CCG2 18W Power Adapter Board User Guide
Version 0.5 Alpha
Cypress Semiconductor
198 Champion Court
San Jose, CA 95134-1709
Phone (USA): 800.858.1810
Phone (Intnl): 408.943.2600
http://www.cypress.com
CCG2 18W Power Adapter RDK User Guide, Version 0.5
Copyrights
© Cypress Semiconductor Corporation, 2015. The information contained herein is subject to change without notice.
Cypress Semiconductor Corporation assumes no responsibility for the use of any circuitry other than circuitry embodied in a
Cypress product. Nor does it convey or imply any license under patent or other rights. Cypress products are not warranted
nor intended to be used for medical, life support, life saving, critical control or safety applications, unless pursuant to an
express written agreement with Cypress. Furthermore, Cypress does not authorize its products for use as critical
components in life-support systems where a malfunction or failure may reasonably be expected to result in significant injury
to the user. The inclusion of Cypress products in life-support systems application implies that the manufacturer assumes all
risk of such use and in doing so indemnifies Cypress against all charges.
Trademarks
PSoC is a registered trademark of Cypress Semiconductor Corp. All other trademarks or registered trademarks referenced
herein are property of the respective corporations.
Source Code
Any Source Code (software and/or firmware) is owned by Cypress Semiconductor Corporation (Cypress) and is protected
by and subject to worldwide patent protection (United States and foreign), United States copyright laws and international
treaty provisions. Cypress hereby grants to licensee a personal, non-exclusive, non-transferable license to copy, use,
modify, create derivative works of, and compile the Cypress Source Code and derivative works for the sole purpose of
creating custom software and or firmware in support of licensee product to be used only in conjunction with a Cypress
integrated circuit as specified in the applicable agreement. Any reproduction, modification, translation, compilation, or
representation of this Source Code except as specified above is prohibited without the express written permission of
Cypress.
Disclaimer
CYPRESS MAKES NO WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, WITH REGARD TO THIS MATERIAL,
INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A
PARTICULAR PURPOSE. Cypress reserves the right to make changes without further notice to the materials described
herein. Cypress does not assume any liability arising out of the application or use of any product or circuit described herein.
Cypress does not authorize its products for use as critical components in life-support systems where a malfunction or failure
may reasonably be expected to result in significant injury to the user. The inclusion of Cypress’ product in a life-support
systems application implies that the manufacturer assumes all risk of such use and in doing so indemnifies Cypress against
all charges.
Use may be limited by and subject to the applicable Cypress software license agreement.
CCG2 18W Power Adapter RDK User Guide, Version 0.5
2
Contents
Safety Information
1. Introduction ..................................................................................................................... 5
2. Demonstration ................................................................................................................ 8
Demo 1: MacBook Charging ............................................................................................. 8
Demo 2: Power Adapter testing using CY4501 CCG1 Host Board ................................. 11
CCG2 18W Power Adapter RDK User Guide, Version 0.5
3
Safety Information
The power adapter board must be handled with caution. The
board is directly supplied with AC supply. Most of the parts on
the board are not isolated from the AC supply. Do not touch any
part of the board when board is connected to the AC supply.
Capacitors on the board hold the charge even after
disconnecting boards from the AC supply. Handle boards using
electrical insulating material.
CCG2 18W Power Adapter RDK User Guide, Version 0.5
4
1. Introduction
The CCG2 18W Power Adapter (PA) Board is receptacle based Type-C power adapter. It
supports output of 5V@3Amp, [email protected], 9V@2Amps, [email protected]. The major
components on the board are Cypress’s EZ-PD CCG2 CYPD2134-24LQXIT controller and
Power Integrations’ INN2215K AC-DC controller. As shown in the photo of the PA board
below, PA board is assembly of two PCBs:
1) Main Board.
2) Daughter Board.
Figure 1-1: CCG2 18W Power Adapter board
Daughter Board
Main Board
CCG2 18W Power Adapter RDK User Guide, Version 0.5
5
Introduction
The daughter board consists of CCG2 device controller, MiniProg header, reset switch SW2,
and a power switch SW1.
The CCG2 device on the board handles Type-C interface and PD 2.0 whereas AC-DC power
conversion, Over Current Protection (OCP) and Over Voltage Protection (OVP) is handled
by Power Integrations’ INN2215K AC-DC controller. It supports universal AC input supply.
Figure 1-2: Daughter Board
MiniProg Header
SW1
CCG2
SW2 (Reset)
CCG2 18W Power Adapter RDK User Guide, Version 0.5
6
Introduction
Board hardware design and BOM files are available in “Hardware and BOM” folder. CCG2
Power Adapter Firmware hex and cyacd files are available in “Firmware Binaries folder”.
The CCG2 device on the board can be programmed using PSoC Programmer and
MiniProg3 over SWD interface. Set SW1 to position 2-3 (towards MiniProg header) to turn
ON the SWD programming mode. Please refer CY4501 CCG1 Development Kit user guide
for more details on programming using the PSoC programmer. Set SW1 to position 1-2 for
normal operation.
This board also supports firmware update over USB-C and the firmware can be updated
using EZ-PD Configuration Utility. Please refer EZ-PD Configuration Utility user guide for
more details on the programming using the EZ-PD Configuration Utility.
CCG2 18W Power Adapter RDK User Guide, Version 0.5
7
2. Demonstration
CCG2 Power Adapter is pre-programmed and can be used with any Power Delivery Sink
devices like MacBook, Chromebook Pixel and CY4501 CCG1 host board.
Demo 1: MacBook Charging
To charge the MacBook or Type-C DRP/UFP devices, follow these steps:
1. Keep the PA board unpowered. Connect a Type-c cable to PA board and the MacBook.
Figure 2-1. PA board connected to MacBook
CCG2 18W Power Adapter RDK User Guide, Version 0.5
8
Demonstration
2. Plug-in power cord to the PA board. A compatible power cord is shown in the picture
below.
Figure 2-2. Power Cord
3. Plug-in power cord to AC supply. Do not touch any part of the PA board once it is
powered.
4. The PA board starts charging the MacBook. You can measure the output voltage on test
points TP2 and TP3 on the board.
5. To verify the charging power in the MacBook, Go to the Apple menu and select About
This Mac. Click on the System Report. You will see a System Information Window as
shown in figure below. In the System Information Window, click on the Power, in the
Hardware list on the left, to see power supplied by the charger.
CCG2 18W Power Adapter RDK User Guide, Version 0.5
9
Demonstration
Figure 2-3. Charging status in MacBook
CCG2 18W Power Adapter RDK User Guide, Version 0.5
10
Demonstration
Demo 2: Power Adapter testing using CY4501 CCG1 Host Board
All output voltage profiles of the power adapter can be demonstrated using the CCG1 host
board. The CCG1 host board is part of CY4501 Kit. More details on the Kit are available here
http://www.cypress.com/CY4501
Figure 2-4. PA board connected to CCG1 host board
To run the demo, follow the steps below:
1. Program CCG1_Power_Adapter_Tester.hex file to the CCG1 host board. The hex file is
available in “Firmware Binaries” folder. Refer CY4501 Kit guide for more details on CCG1
host board programming.
2. Setup the jumpers on the host board correctly.
a. Make sure that J4 is connected to Pin 2 and 3.
b. Keep J6 open.
The Host board gets power from the Type-C connector. No need to connect any other
external power source to the Host board.
3. Keep the PA board unpowered. Connect a Type-C cable to the PA board and CCG1 Host
board.
4. Plug a power cord to PA board. A compatible power cord is shown in Figure 2-2.
5. LED1 (Green) on the host board will turn ON.
6.
Press debug switch SW1 on the host board to change output voltage of the power
adapter. You can measure the PA output voltage on J1 connector block (Blue). External
electric load can also be connected to the J1 connector.
CCG2 18W Power Adapter RDK User Guide, Version 0.5
11