UCS1003-1 Evaluation Board User’s Guide 2016 Microchip Technology Inc. DS50002510A Note the following details of the code protection feature on Microchip devices: • Microchip products meet the specification contained in their particular Microchip Data Sheet. • Microchip believes that its family of products is one of the most secure families of its kind on the market today, when used in the intended manner and under normal conditions. • There are dishonest and possibly illegal methods used to breach the code protection feature. All of these methods, to our knowledge, require using the Microchip products in a manner outside the operating specifications contained in Microchip’s Data Sheets. Most likely, the person doing so is engaged in theft of intellectual property. • Microchip is willing to work with the customer who is concerned about the integrity of their code. • Neither Microchip nor any other semiconductor manufacturer can guarantee the security of their code. Code protection does not mean that we are guaranteeing the product as “unbreakable.” Code protection is constantly evolving. We at Microchip are committed to continuously improving the code protection features of our products. Attempts to break Microchip’s code protection feature may be a violation of the Digital Millennium Copyright Act. If such acts allow unauthorized access to your software or other copyrighted work, you may have a right to sue for relief under that Act. Information contained in this publication 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 unless otherwise stated. Trademarks The Microchip name and logo, the Microchip logo, AnyRate, dsPIC, FlashFlex, flexPWR, Heldo, JukeBlox, KeeLoq, KeeLoq logo, Kleer, LANCheck, LINK MD, MediaLB, MOST, MOST logo, MPLAB, OptoLyzer, PIC, PICSTART, PIC32 logo, RightTouch, SpyNIC, SST, SST Logo, SuperFlash and UNI/O are registered trademarks of Microchip Technology Incorporated in the U.S.A. and other countries. ClockWorks, The Embedded Control Solutions Company, ETHERSYNCH, Hyper Speed Control, HyperLight Load, IntelliMOS, mTouch, Precision Edge, and QUIET-WIRE are registered trademarks of Microchip Technology Incorporated in the U.S.A. Analog-for-the-Digital Age, Any Capacitor, AnyIn, AnyOut, BodyCom, chipKIT, chipKIT logo, CodeGuard, dsPICDEM, dsPICDEM.net, Dynamic Average Matching, DAM, ECAN, EtherGREEN, In-Circuit Serial Programming, ICSP, Inter-Chip Connectivity, JitterBlocker, KleerNet, KleerNet logo, MiWi, motorBench, MPASM, MPF, MPLAB Certified logo, MPLIB, MPLINK, MultiTRAK, NetDetach, Omniscient Code Generation, PICDEM, PICDEM.net, PICkit, PICtail, PureSilicon, RightTouch logo, REAL ICE, Ripple Blocker, Serial Quad I/O, SQI, SuperSwitcher, SuperSwitcher II, Total Endurance, TSHARC, USBCheck, VariSense, ViewSpan, WiperLock, Wireless DNA, and ZENA are trademarks of Microchip Technology Incorporated in the U.S.A. and other countries. SQTP is a service mark of Microchip Technology Incorporated in the U.S.A. Microchip received ISO/TS-16949:2009 certification for its worldwide headquarters, design and wafer fabrication facilities in Chandler and Tempe, Arizona; Gresham, Oregon and design centers in California and India. The Company’s quality system processes and procedures are for its PIC® MCUs and dsPIC® DSCs, KEELOQ® code hopping devices, Serial EEPROMs, microperipherals, nonvolatile memory and analog products. In addition, Microchip’s quality system for the design and manufacture of development systems is ISO 9001:2000 certified. QUALITY MANAGEMENT SYSTEM CERTIFIED BY DNV == ISO/TS 16949 == DS50002510A-page 2 Silicon Storage Technology is a registered trademark of Microchip Technology Inc. in other countries. GestIC is a registered trademarks of Microchip Technology Germany II GmbH & Co. KG, a subsidiary of Microchip Technology Inc., in other countries. All other trademarks mentioned herein are property of their respective companies. © 2016, Microchip Technology Incorporated, Printed in the U.S.A., All Rights Reserved. ISBN: 978-1-5224-0704-1 2016 Microchip Technology Inc. Object of Declaration: UCS1003-1 Evaluation Board 2016 Microchip Technology Inc. DS50002510A-page 3 NOTES: DS50002510A-page 4 2016 Microchip Technology Inc. UCS1003-1 EVALUATION BOARD USER’S GUIDE Table of Contents Preface ........................................................................................................................... 7 Chapter 1. Product Overview 1.1 Introduction ................................................................................................... 11 1.2 UCS1003-1 Evaluation System .................................................................... 11 1.3 What the UCS1003-1 Evaluation Board Kit Contains .................................. 12 Chapter 2. Installation and Operation 2.1 Introduction ................................................................................................... 13 2.2 Connectors on the Evaluation Board ............................................................ 13 2.3 LEDs on the Evaluation Board ..................................................................... 14 2.4 Jumpers on the Evaluation Board ................................................................ 15 2.5 Data Test Points on the Evaluation Board ................................................... 17 2.6 Ground Test Points on the Evaluation Board ............................................... 18 2.7 Software Installation ..................................................................................... 19 Chapter 3. Hardware Description 3.1 UCS1003-1 Device ....................................................................................... 23 3.2 Evaluation Board Power Source .................................................................. 23 3.3 MCP2221 USB-to-SMBus Bridge ................................................................. 24 3.4 MCP23018 I/O expander .............................................................................. 24 3.5 Direct SMBus Connect Option ..................................................................... 24 Chapter 4. Software Description 4.1 Overview ...................................................................................................... 25 4.2 Interface Description and Operation ............................................................. 27 4.3 Tab Descriptions .......................................................................................... 30 4.4 Troubleshooting ............................................................................................ 42 Appendix A. Schematic and Layouts A.1 Introduction .................................................................................................. 43 A.2 Board – Schematic ....................................................................................... 44 A.3 Board – Top Silk .......................................................................................... 45 A.4 Board – Top Copper and Silk ....................................................................... 45 A.5 Board – Top Copper .................................................................................... 46 A.6 Board – Bottom Copper ............................................................................... 46 A.7 Board – Bottom Copper and Silk ................................................................. 47 A.8 Board – Bottom Silk ..................................................................................... 47 Appendix B. Bill of Materials (BOM)........................................................................... 49 Worldwide Sales and Service .................................................................................... 52 2016 Microchip Technology Inc. DS50002510A-page 5 UCS1003-1 Evaluation Board User’s Guide NOTES: DS50002510A-page 6 2016 Microchip Technology Inc. UCS1003-1 EVALUATION BOARD USER’S GUIDE Preface NOTICE TO CUSTOMERS All documentation becomes dated, and this manual is no exception. Microchip tools and documentation are constantly evolving to meet customer needs, so some actual dialogs and/or tool descriptions may differ from those in this document. Please refer to our website (www.microchip.com) to obtain the latest documentation available. Documents are identified with a “DS” number. This number is located on the bottom of each page, in front of the page number. The numbering convention for the DS number is “DSXXXXXXXXA”, where “XXXXXXXX” is the document number and “A” is the revision level of the document. For the most up-to-date information on development tools, see the MPLAB® IDE online help. Select the Help menu, and then Topics to open a list of available online help files. INTRODUCTION This chapter contains general information that will be useful to know before using the UCS1003-1 Evaluation Board. Items discussed in this chapter include: • • • • • • Document Layout Conventions Used in this Guide Recommended Reading The Microchip Website Customer Support Document Revision History DOCUMENT LAYOUT This document describes how to use the UCS1003-1 Evaluation Board. The manual layout is as follows: • Chapter 1. “Product Overview” – Important information about the UCS1003-1 Evaluation Board. • Chapter 2. “Installation and Operation” – Includes instructions on how to configure the UCS1003-1 Evaluation Board. • Chapter 3. “Hardware Description” – Describes the UCS1003-1 Evaluation Board features and functionalities. • Chapter 4. “Software Description” – Describes the PC Graphical User Interface that operates the UCS1003-1 Evaluation Board. • Appendix A. “Schematic and Layouts” – Shows the schematic and layout diagrams for the UCS1003-1 Evaluation Board. • Appendix B. “Bill of Materials (BOM)” – Lists the parts used to build the UCS1003-1 Evaluation Board. 2016 Microchip Technology Inc. DS50002510A-page 7 UCS1003-1 Evaluation Board User’s Guide CONVENTIONS USED IN THIS GUIDE This manual uses the following documentation conventions: DOCUMENTATION CONVENTIONS Description Arial font: Italic characters Initial caps Quotes Underlined, italic text with right angle bracket Bold characters N‘Rnnnn Text in angle brackets < > Courier New font: Plain Courier New Represents Referenced books Emphasized text A window A dialog A menu selection A field name in a window or dialog A menu path MPLAB® IDE User’s Guide ...is the only compiler... the Output window the Settings dialog select Enable Programmer “Save project before build” A dialog button A tab A number in verilog format, where N is the total number of digits, R is the radix and n is a digit. A key on the keyboard Click OK Click the Power tab 4‘b0010, 2‘hF1 Italic Courier New Sample source code Filenames File paths Keywords Command-line options Bit values Constants A variable argument Square brackets [ ] Optional arguments Curly brackets and pipe character: { | } Ellipses... Choice of mutually exclusive arguments; an OR selection Replaces repeated text Represents code supplied by user DS50002510A-page 8 Examples File>Save Press <Enter>, <F1> #define START autoexec.bat c:\mcc18\h _asm, _endasm, static -Opa+, -Opa0, 1 0xFF, ‘A’ file.o, where file can be any valid filename mcc18 [options] file [options] errorlevel {0|1} var_name [, var_name...] void main (void) { ... } 2016 Microchip Technology Inc. Preface RECOMMENDED READING This user's guide describes how to use UCS1003-1 Evaluation Board. Other useful documents are listed below. The following Microchip documents are available and recommended as supplemental reference resources. • UCS1003-1/2/3 Data Sheet - “USB Port Power Controller with Charger Emulation” (DS200005346) • MCP2221 Data Sheet - “USB 2.0 to I2C/UART Protocol Converter with GPIO” (DS200005292) • AN24.14 - “UCS1002 Fundamentals of Custom Charger Emulation” (DS200005234) THE MICROCHIP WEBSITE Microchip provides online support via our website at www.microchip.com. This website is used as a means to make files and information easily available to customers. Accessible by using your favorite Internet browser, the website contains the following information: • Product Support – Data sheets and errata, application notes and sample programs, design resources, user’s guides and hardware support documents, latest software releases and archived software • General Technical Support – Frequently Asked Questions (FAQs), technical support requests, online discussion groups, Microchip consultant program member listing • Business of Microchip – Product selector and ordering guides, latest Microchip press releases, listing of seminars and events, listings of Microchip sales offices, distributors and factory representatives CUSTOMER SUPPORT Users of Microchip products can receive assistance through several channels: • • • • Distributor or Representative Local Sales Office Field Application Engineer (FAE) Technical Support Customers should contact their distributor, representative or field application engineer (FAE) for support. Local sales offices are also available to help customers. A listing of sales offices and locations is included at the back of this document. Technical support is available through the website at: http://www.microchip.com/support. DOCUMENT REVISION HISTORY Revision A (June 2016) • Initial release of this document. 2016 Microchip Technology Inc. DS50002510A-page 9 UCS1003-1 Evaluation Board User’s Guide NOTES: DS50002510A-page 10 2016 Microchip Technology Inc. UCS1003-1 EVALUATION BOARD USER’S GUIDE Chapter 1. Product Overview 1.1 INTRODUCTION This document provides a description of the software and hardware used to evaluate the features of the UCS1003-1. 1.2 UCS1003-1 EVALUATION SYSTEM The evaluation system has several components, as shown in Figure 1-1: • Customer-provided Windows® PC • UCS1003-1 graphical user interface (GUI) program. The software is identical to the UCS81003 Evaluation Board GUI. Refer to Section 2.7 “Software Installation” for details. • UCS1003-1 Evaluation Board • USB Cable for GUI communications (Standard-A plug to mini-B plug) • 5V power source (VS) • Customer-provided portable device and OEM USB charging cable (with Standard-A plug at board’s end) VS PC running UCS1003-1 GUI Cable UCS1003-1 Device USB Cable OEM USB Charging Cable Portable Device UCS1003-1 Evaluation Board FIGURE 1-1: UCS1003-1 Evaluation System. 2016 Microchip Technology Inc. DS50002510A-page 11 UCS1003-1 Evaluation Board User’s Guide Figure 1-2 shows the block diagram of the UCS1003-1 Evaluation Board. USB STD-A RECPT (To Portable Device) USB STD-A PLUG (Data & Power From Host) AUX Input (Power) UCS1003-1 Control/Status Manual/Bridge Configuration & Status USB MINI-B RECPT FIGURE 1-2: 1.3 USB Bridge MCP2221 UCS1003-1 Evaluation Board – Block Diagram. WHAT THE UCS1003-1 EVALUATION BOARD KIT CONTAINS The UCS1003-1 Evaluation Board kit includes: • • • • DS50002510A-page 12 UCS1003-1 Evaluation Board (ADM00668) Important Information Sheet 5V AC-DC Wall Adapter Standard-A plug to mini-B plug USB Cable 2016 Microchip Technology Inc. UCS1003-1 EVALUATION BOARD USER’S GUIDE Chapter 2. Installation and Operation 2.1 INTRODUCTION This chapter identifies the main connectors, LEDs, jumpers and test points that can be found on the UCS1003-1 Evaluation Board. It also explains the steps necessary for the installation of the board’s graphical user interface. 2.2 CONNECTORS ON THE EVALUATION BOARD Figure 2-1 shows the top of the evaluation board and highlights the connectors. J1 Auxiliary power connector to external power supply J2 USB mini-B receptacle to PC J3 USB standard-A plug to USB host/USB power FIGURE 2-1: J10 USB standard-A receptacle to portable device UCS1003-1 Evaluation Board Top View – Connectors. 2016 Microchip Technology Inc. DS50002510A-page 13 UCS1003-1 Evaluation Board User’s Guide TABLE 2-1: CONNECTOR DESCRIPTION Designator Connector Type Description J1 Power jack External 5V power supply J2 USB Mini-B receptacle This connects the board to the PC with the GUI software J3 USB Standard-A plug This connects the evaluation board to the USB host J10 Right-Angle USB Standard-A receptacle This connects the board to the portable device 2.3 LEDS ON THE EVALUATION BOARD Figure 2-2 shows the top of the Evaluation Board and highlights the LEDs. LED2 SMBus Activity (red) LED3 Alert (red) FIGURE 2-2: TABLE 2-2: LED1 USB_OK (green) LED4 Attach Detection (green) Evaluation Board Top View – LEDs. LED DESCRIPTION Designator Function LD1 USB_OK When lit, this green LED means the MCP2221 USB bridge is connected to the PC. LD2 SM_ACT When flashing, this green LED indicates SMBus communication activity. LD3 ALERT# When lit, this red LED indicates an alert signal is active. LD4 A_DET# When lit, this green LED indicates a device is attached for the UCS1003-1. DS50002510A-page 14 Description 2016 Microchip Technology Inc. Installation and Operation 2.4 JUMPERS ON THE EVALUATION BOARD Figure 2-3 shows the top of the Evaluation Board and highlights the jumpers. J5 J4 VS source selection: VDD source selection: 5V from J1 or from VS or VBUS from J2 J3 VBUS J7 J18 SMBus data, Current limit clock Stand-Alone mode J16 Current limit SMBus mode J2 J1 J3 J10 J9 J19 J18 J6 J17 Address selection PWR_EN, Address selection - Connects UCS1003-1, LATCH, PWR_EN Active High EM_EN, S0 PWR_EN Active Low VBUS output to J10 M1, M2 FIGURE 2-3: Evaluation Board Top View – Jumpers. 2016 Microchip Technology Inc. DS50002510A-page 15 UCS1003-1 Evaluation Board User’s Guide TABLE 2-3: JUMPER DESCRIPTION (Note 1) Designator Function J4 VDD source selection J5 J6 Jumper Position Description The jumper populated on this header selects the VDD supply source for the digital circuits on the board. 1-2 VDD is connected to VBUS pin of the J2 USB connector 2-3 VDD is connected to VS. This is the recommended configuration when evaluating the Attach Detection feature of the UCS1003-1. If the board is evaluated with a PC running the GUI, then the VS must be supplied after the USB cable is plugged into the J2 connector. VS source selection The jumper populated on this header selects the voltage input source for the power switch inside the UCS1003-1. 1-2 VS source is the J1 power connector (external 5V power supply). 2-3 VS is connected to VBUS of the J3 USB connector. Use this configuration only if the USB host can deliver the necessary current for charging. LATCH, S0 Logic Inputs settings The jumpers must be left off for SMBus communication to be enabled. If the UCS1003-1 is in Stand-Alone mode (as selected by using J18 instead of J16), then the header pins have the following functions: 1-2 Jumper placed S0 = Logic Low – Detect Power state disabled No jumper S0 = Logic High – Detect Power state enabled 3-4 Jumper placed LATCH = Logic Low – “Auto-retry” fault handler enabled No jumper LATCH = Logic High – “Latch” fault handler enabled J7 SMBus data and clock lines If the UCS1003-1 is in SMBus mode (as selected by using J16 instead of J18), then two jumpers must be populated in 1-2 and 3-4 positions to connect the clock and data lines to the MCP2221 USB bridge. The jumpers must be left off if UCS1003-1 is in Stand-Alone mode. J8 VBUS output connection This jumper connects the 5V pin of connector J10 to the UCS1003-1 VBUS power output pins. A current probe or a multimeter can be connected to this header for measuring the charging current and the voltage, close to the USB connector. J9 PWR_EN, EM_EN, M1, M2 Logic Inputs settings When a jumper is installed, the corresponding UCS1003-1 input pin will be in Logic Low state. Otherwise, the corresponding pin will be in Logic High state. J16 Note 1: Current Limit SMBus mode 1-2 PWR_EN 3-4 EM_EN 5-6 M1 7-8 M2 Placing one jumper on this header selects the current limit and sets the UCS1003-1 in SMBus mode. In this case, no jumper must be populated on J18 header. The following headers must be populated with one jumper for the UCS1003-1 Evaluation Board to be functional: • J4, J5, J8 • J16 or J18 • J17 or J19 • If the UCS1003-1 is configured in SMBus mode (as selected by using J16 instead of J18, two jumpers must be populated on J7; J6 must be left unpopulated. If the UCS1003-1 is configured in Stand-Alone mode, the jumpers on J7 must be left off.) DS50002510A-page 16 2016 Microchip Technology Inc. Installation and Operation TABLE 2-3: JUMPER DESCRIPTION (CONTINUED) (Note 1) Jumper Position Designator Function J18 Current Limit Stand-Alone mode J17 SMBus Address PWR_EN active low Placing one jumper on this header selects the SMBus address and sets the PWR_EN control to be active low. In this case, no jumper must be populated on J19 header. J19 SMBus Address PWR_EN active high Placing one jumper on this header selects the SMBus address and sets the PWR_EN control to be active high. In this case, no jumper must be populated on J17 header. Note 1: 2.5 Description Placing one jumper on this header selects the current limit and sets the UCS1003-1 in Stand-Alone mode. In this case, no jumper must be populated on J16 header. The following headers must be populated with one jumper for the UCS1003-1 Evaluation Board to be functional: • J4, J5, J8 • J16 or J18 • J17 or J19 • If the UCS1003-1 is configured in SMBus mode (as selected by using J16 instead of J18, two jumpers must be populated on J7; J6 must be left unpopulated. If the UCS1003-1 is configured in Stand-Alone mode, the jumpers on J7 must be left off.) DATA TEST POINTS ON THE EVALUATION BOARD Figure 2-4 shows the top of the board and highlights the USB data line test points. TP1 DP_IN FIGURE 2-4: TP2 DM_IN TP4 DP_OUT TP3 DM_OUT Evaluation Board Top View - Data Test Points. 2016 Microchip Technology Inc. DS50002510A-page 17 UCS1003-1 Evaluation Board User’s Guide TABLE 2-4: Designator 2.6 DATA TEST POINTS DESCRIPTION Assigned Pin Description TP1 DP_IN This test point connects to the DPIN data line through a 1 M series resistor. TP2 DM_IN This test point connects to the DMIN data line through a 1 M series resistor. TP3 DM_OUT This test point connects to the DMOUT data line through a 1 M series resistor. TP4 DP_OUT This test point connects to the DPOUT data line through a 1 M series resistor. GROUND TEST POINTS ON THE EVALUATION BOARD Figure 2-5 shows the top of the board and highlights the ground test points. J13 Earth ground J12 Signal ground FIGURE 2-5: TABLE 2-5: J15 Earth ground J14 Earth ground J11 Signal ground Evaluation Board Top View – Ground Test Points. GROUND TEST POINTS DESCRIPTION Designator Test Point Type J11, J12 Signal Ground These test points connect to the signal ground of the board. These are the ground reference for the UCS1003-1. J13, J14, J15 Earth Ground These test points connect to the earth ground of the board (the shield of the USB connectors). DS50002510A-page 18 Description 2016 Microchip Technology Inc. Installation and Operation 2.7 SOFTWARE INSTALLATION To begin using the UCS1003-1 Evaluation Board, software must be installed on a Microsoft® Windows®-based computer with a USB port. The software is the same as the UCS81003 Evaluation Board GUI, with some actions that need to be done by the user, as explained in step 6. 1. Download the software archive for UCS81003 Evaluation Board from the board’s web page, unzip it and double-click the Setup.exe, to start the installation. Figure 2-6 shows the initial installation screen, which displays briefly as the setup program loads. FIGURE 2-6: Software Installation – Initialize Window. 2. Click Next in the Destination Directory window, as shown in Figure 2-7. For proper operation, the files must be installed in the default locations. The default location for the software files is C:\Program Files(x86)\Microchip\UCS81003\, while for the LabVIEW software is C:\Program Files(x86)\National Instruments. FIGURE 2-7: 2016 Microchip Technology Inc. Software Installation – Setting the Destination Directory. DS50002510A-page 19 UCS1003-1 Evaluation Board User’s Guide 3. Read and accept the license agreement, then click Next. FIGURE 2-8: Software Installation – Software License Agreement. 4. To use the LabVIEW software, read and accept the license agreement, then click Next. FIGURE 2-9: Software Installation – LabVIEW License Agreement. 5. On the following screens, select Next and follow the on-screen instructions to complete the installation. When installation is complete, the program will run automatically. If a screen appears requiring a restart for the changes to take effect, reboot the computer. DS50002510A-page 20 2016 Microchip Technology Inc. Installation and Operation 6. Download the archive called “UCS1003-1 Configurations.zip” from the UCS1003-1 board’s web page and unzip it. The archive contains a folder called “Configurations”. Go to the location of the installation directory of the UCS81003 software (the default location for the software files is C:\Program Files(x86)\Microchip\UCS81003\) and over-write the existing Configurations folder with the one from the archive. This step needs to be done once only, at installation. If the UCS81003 Evaluation Board software must be used on the same computer, then that software needs to be reinstalled in a different location. 2016 Microchip Technology Inc. DS50002510A-page 21 UCS1003-1 Evaluation Board User’s Guide NOTES: DS50002510A-page 22 2016 Microchip Technology Inc. UCS1003-1 EVALUATION BOARD USER’S GUIDE Chapter 3. Hardware Description 3.1 UCS1003-1 DEVICE The UCS1003-1 provides a single USB port power switch for precise control of up to 3.0A continuous current (2.85A typical) with overcurrent limiting, dynamic thermal management, latch/auto-recovery upon fault, selectable active low or high enable, under and overvoltage lockout, and back-drive protection. USB Charging Port profiles are integrated into the UCS1003-1 to ensure compliance to multiple standards. In addition to power switching and USB Charging Port profiling, the UCS1003-1 provides automatic and configurable USB data line handshaking to enable charging of USB-IF Battery Charging 1.2 (CDP or DCP modes), Chinese Telecommunications Industry Standard YD/T 1591-2009, Apple® Inc., RIM® and many other mobile devices. The UCS1003-1 provides a device attachment detection output, as well as a dedicated alert output, with current monitoring and charge rationing for controlled delivery of current regardless of a host’s power state. When the limit is reached, the UCS1003-1 will perform the user-programmed behavior (report and disconnect is the default). 3.2 EVALUATION BOARD POWER SOURCE The UCS1003-1 has split power supply support: • VS is the voltage input to Power Switch. This supply rail is required to charge the portable device. VS source is selected by populating a jumper on J5 header, as follows: Jumper Position Definition 1-2 VS is supplied from the external 5V power supply connected to J1 power jack. 2-3 VS is supplied from the VBUS pin of the J3 USB connector. Use this option only if the USB host port can supply the charging current for the portable device. • VDD is the power supply for chip functionality. The UCS1003-1 Evaluation Board contains two additional ICs, MCP2221 USB bridge and MCP23018 I/O expander, which are also powered from the VDD supply rail. VDD source is selected by populating a jumper on the J4 header, as follows: Jumper Position Definition 1-2 VDD is supplied from VBUS pin of the J2 USB connector. When using the board in this configuration and the Attach Detection feature of the UCS1003-1 is used, the VS voltage must not exceed VDD + 150 mV, as specified in the data sheet. 2-3 VDD is connected to VS. This configuration is recommended when using the Attach Detection feature. If the board is evaluated with a PC running the GUI, then the VS must be supplied after the USB cable is plugged into the J2 connector. 2016 Microchip Technology Inc. DS50002510A-page 23 UCS1003-1 Evaluation Board User’s Guide 3.3 MCP2221 USB-TO-SMBUS BRIDGE The MCP2221 is a USB-to-UART/I2C bridge that supports SMBus communication. It is controlled through USB interface by the GUI running on the PC. It is the master device on the SMBus/I2C bus. It is used to read and write the registers of the two devices connected to the SMBus/I2C interface: UCS1003-1 and MCP23018 I/O expander. 3.4 MCP23018 I/O EXPANDER MCP23018 is a 16-bit I/O Expander with open-drain outputs and I2C interface. Its I2C address is configured to 0100_000(R/W), different than all possible addresses of the UCS1003-1. The I/O pins used in this application are configured as inputs. They are used to read the logic state of the following UCS1003-1 pins: ALERT#, ADET#, PWR_EN, EM_EN, M1, M2. 3.5 DIRECT SMBUS CONNECT OPTION It is also possible to connect an external SMBus master to the UCS1003-1 Evaluation Board. Remove the jumpers on J7 and connect the SMBus master to the header pins that are linked directly to UCS1003-1 pins SMDATA/LATCH and SMCLK/S0. Note that ground must be connected to one of the test point grounds or header pins on the evaluation board. See Figure 3-1 for header pins description. USB bridge SDA pin USB bridge SCL pin SMDATA/LATCH UCS1003-1 pin SMDATA/LATCH UCS1003-1 pin Ground FIGURE 3-1: DS50002510A-page 24 UCS1003-1-to-SMBus Bridge Jumpers. 2016 Microchip Technology Inc. UCS1003-1 EVALUATION BOARD USER’S GUIDE Chapter 4. Software Description 4.1 OVERVIEW To get the graphical interface and the evaluation board running, follow these instructions: 1. Start the UCS81003/UCS1003-1 GUI software: from the Windows Start menu, select Programs > Microchip > UCS81003. 2. Connect the USB mini connector end of the cable to the board and the standard USB connector of the cable to any available USB port on the PC. If the VDD supply is connected to VS (the jumper on J4 header is populated on position 2-3), then connect the VS supply. The USB Activity LED should light, indicating that the MCP2221 USB bridge is connected to the PC. The UCS81003/UCS1003-1 Evaluation Board interface (Figure 4-1), consists of five tabs (Main, Configuration & General Status, Custom Charging, Register Set and Demo) and the right-side sections that are always visible (Panel Controls, Pin State & Attach Status and Active Mode Selection). Tabs FIGURE 4-1: Fixed panel with controls UCS81003/UCS1003-1 Evaluation Board GUI Initial Window. 2016 Microchip Technology Inc. DS50002510A-page 25 UCS1003-1 Evaluation Board User’s Guide 4.1.1 Tips for Using the Evaluation Board GUI • For many controls on the GUI panel, placing the mouse cursor over a control will pop up context help that indicates the register address or provides a description. • After a power up of the evaluation board, the default settings are loaded. Users can save setting configurations to user-named files which can be reloaded at any time for quick reconfiguration (see Section 4.3.4.3 “Configuration Save and Load”). • The GUI cannot be used to demonstrate UCS1003-1 behavior in Stand-Alone mode since SMBus communication is required. 4.1.2 GUI Abbreviations Abbreviation Description BC Battery charging CDP Charging downstream port DCE Dedicated charger emulation DCP Dedicated charging port EM Emulation EM_EN 4.1.3 Emulation enable M1 Mode control pin number one M2 Mode control pin number two Keyboard Shortcuts Some GUI controls have keyboard shortcuts, as shown in Table 4-1. TABLE 4-1: DS50002510A-page 26 UCS1003-1 EVALUATION BOARD GUI KEYBOARD SHORTCUTS GUI Control Shortcut Control Description Run CTRL + R Section 4.2.1.1 “Stop and Run Buttons” Stop F12 Section 4.2.1.1 “Stop and Run Buttons” 2016 Microchip Technology Inc. Software Description 4.2 INTERFACE DESCRIPTION AND OPERATION 4.2.1 Panel Controls The Panel Controls section on the right side of the GUI, shown in Figure 4-2, affects the GUI operation. This section is always displayed. Register Read Delay button and field COM Status indicator Stop button Default button Demo button Single/Continuous Read Mode switch Single Read Enable check box FIGURE 4-2: 4.2.1.1 Step button Panel Controls. STOP AND RUN BUTTONS Pressing the Stop button, shown in Figure 4-2, interrupts GUI software communication with the evaluation board. When this button is clicked, the Run button appears under an extended menu bar, as shown in Figure 4-3. Extended Menu Run button Abort Execution button FIGURE 4-3: 2016 Microchip Technology Inc. Stop and Run Button. DS50002510A-page 27 UCS1003-1 Evaluation Board User’s Guide 4.2.1.2 RUN BUTTON To restart communication between the software and the evaluation board, click the Run button. This button disappears when communication resumes. Note: Stopping and restarting the GUI does not affect register settings. To restore default register settings, disconnect power from the board, then reconnect power. To close the program, press the Close (X) button on the upper right corner of the window. 4.2.1.3 COM STATUS INDICATOR The COM Status indicator shows the status of communications over the SMBus. During normal operation, COM Status is green. If SMBus communications fails, COM Status turns red (or alternates red and green). 4.2.1.4 REGISTER READ DELAY The Register Read Delay sets the GUI control panel update speed. This affects the speed at which the software reads the registers, but will not affect the device’s sampling time. The default is 25 ms. This number can range from 0 to 5000 ms in increments of 25 ms. 4.2.1.5 SINGLE/CONTINUOUS READ The panel defaults to continuous register reads (toggle switch in down position, as shown in Figure 4-2). To stop continuous register reads, check the “Single Read Enable” box. In order to capture the register values at a given time, click the switch, which will briefly flip to Single Read. 4.2.1.6 DEFAULT When this button is pressed, it loads the defaults to all registers of the UCS1003-1. 4.2.1.7 STEP When selected, Step will go through the Emulation Profiles in sequence, from Legacy 1 through 7, then BC1.2 DCP, and finally Custom. The actual DCE cycle is slightly different, see the product data sheet for more information (DS20005346). 4.2.1.8 DEMO The Demo button enables an automated routine to cycle through a user-defined set of profiles and selects the highest current profile. This feature emulates an external controller and is not part of the UCS1003-1 device. DS50002510A-page 28 2016 Microchip Technology Inc. Software Description 4.2.2 Pin State and Attach Status Panel The Pin State & Attach Status section on the right side of the GUI, shown in Figure 4-4, provides a quick graphical status reference and allows physical control pin override. This section is always displayed. ALERT# and A_DET# Indicators Pin Indicators Pin Override Check Boxes FIGURE 4-4: Pin State and Attach Status. 4.2.3 Pin State & Attach Status Panel 4.2.3.1 ALERT# AND A_DET# INDICATORS When the ALERT# and A_DET# indicators are green, the signals at the device’s respective pin are low and the corresponding condition has occurred (Alert or Device attached, respectively). When the indicators are dark, the pin states are high. 4.2.3.2 PIN INDICATORS The pin indicators (SEL, PWR_EN, M1, M2 and EM_EN) shown in Figure 4-4 are green if the signal on the corresponding pin on the UCS1003-1 device is high, and dark if the signal is low. If the “Pin Ignore” box is checked (see Section 4.2.3.3 “Pin Override”), these indicators will reflect the GUI overrides for these pins. 4.2.3.3 PIN OVERRIDE For evaluation convenience, the GUI can override the setting of the following pins on the UCS1003-1 device: PWR_EN, M1, M2 and EM_EN. Check the “Pin Ignore” box (see Figure 4-4) to enable pin override. Then, check in the corresponding pin box to set the value high. Note 1: Pin override does not affect the actual signal on the pin. It only affects the register values. 2: The SEL pin is only read once by the UCS1003-1 at power up, so there is no pin override for it. To close the port power switch, the PWR_EN state must match the SEL state (e.g., SEL = high and PWR_EN = high). 2016 Microchip Technology Inc. DS50002510A-page 29 UCS1003-1 Evaluation Board User’s Guide 4.2.4 Active Mode Selection The Active Mode Selection section on the right side of the GUI, shown in Figure 4-5, provides a quick reference regarding operating state based on the values of M1, M2 and EM_EN. This section is always displayed. FIGURE 4-5: 4.3 Charger Emulation Selection. TAB DESCRIPTIONS 4.3.1 Main Tab The Main tab (Figure 4-6) shows key parameters related to the port power switch, including the maximum current limit, the present current limit (always equal to or less than the maximum current limit), and power state (e.g. detect, active, error, etc.). When a portable device has been successfully attached, the screen shows the power state change from Detect to Active and shows the various handshakes applied. Once it is determined that the device is charging, the screen shows which emulation profile was successful, and the graph shows the charging current. Optionally, the user may monitor the charge delivered or ration the charge delivered to the attached device. Tab selection Status panel Instantaneous current measurement screen Measured current status Right-click wave box for plot appearance settings FIGURE 4-6: DS50002510A-page 30 Current status Main Tab Window Overview. 2016 Microchip Technology Inc. Software Description 4.3.1.1 DEDICATED CHARGER EMULATION (DCE) CYCLE As shipped, the UCS1003-1 is ready to function as a dedicated charger, which will be applied when there is an attach detection. To view this behavior, perform the following: 1. Connect VS to the evaluation board (see Section 2.4 “Jumpers on the Evaluation Board”). The VS_LOW indicator at the bottom of the Main Tab must be dark. If the color is red, the voltage is not high enough to charge a portable device. 2. Connect a portable device to the board. Use the OEM USB charging cable that comes with the portable device. 3. The UCS1003-1 should detect an attachment, switch to the Active Power state, apply an emulation profile and deliver a charge. Figure 4-7 shows the interface after charging has started. Power state indicator Charger emulation profile indicator VS_LOW indicator FIGURE 4-7: A_DET# pin status is asserted Main Tab - Charging Started. 4. Disconnect the portable device from the board. The UCS1003-1 should detect a removal, switch to the Detect power state, and stop delivering a charge. Figure 4-8 shows the interface after a removal was detected. 2016 Microchip Technology Inc. DS50002510A-page 31 UCS1003-1 Evaluation Board User’s Guide Power state indicator changed Disconnect point showing in plot A_DET# pin status is deasserted FIGURE 4-8: Main Tab - Removal Detected. 4.3.1.2 CHARGING DOWNSTREAM PORT (CDP) The CDP charging profile is based on the “USB Battery Charging Specification v1.x”. When a BC1.x-compliant portable device attachment is detected, the UCS1003-1 and the portable device do handshaking based on the standard. If handshaking is successful, charging occurs up to the set current limit. To select the CDP port power profile, M1, M2 and EM_EN must be all high. This can be done by removing the jumpers for these pins (from J9 header) or by using the pin override in the GUI (see Section 4.2.3.3 “Pin Override”). 4.3.1.3 PASS-THROUGH Data Pass-Through does not apply any type of charger emulation. When selected, it closes the USB high-speed data switch and supplies current up to the current limit. To select Data Pass-Through, M1, M2 and EM_EN can be set to any one of the two DATA PASS-THRU combinations (010 and 110), as shown in Figure 4-9. This can be done by setting the jumpers for these pins (from J9 header – see Section 2.4 “Jumpers on the Evaluation Board”) or by using the pin override in the GUI (see Section 4.2.3.3 “Pin Override”). Data pass-through options FIGURE 4-9: DS50002510A-page 32 Data Pass-Through Selection Options. 2016 Microchip Technology Inc. Software Description 4.3.1.4 CURRENT MONITORING AND CHARGE RATIONING To view current monitoring and current rationing, perform the following on the Main tab: 1. Set a ration limit. The ration limit is expressed in mAh (electric charge). 2. Set rationing behavior. The ration completion behavior defaults to “Report & Disconnect”. Once the ration limit is reached, portable device charging will cease, the ALERT# pin will assert, and the Ration Complete bit will be set. If you do not want the system to behave in this fashion, select one of the other three options from the “Ration Completion Behavior” drop-down list: Report, Report & Sleep or Take No Action. 3. Connect VS to the evaluation board (see Section 2.4 “Jumpers on the Evaluation Board”). The VS_LOW indicator on the bottom of the Main Tab must be dark. If the VS_LOW indicator is red, the voltage is not high enough to charge a portable device. 4. Connect a portable device to the evaluation board. Use the OEM USB charging cable that comes with the portable device. 5. Enable rationing by checking the Ration Enable check box on the Main Tab. 6. Watch the GUI as the device starts charging. Figure 4-10 shows the interface after the ration limit was reached (for “Report & Disconnect” behavior setting). Note: As shown in Figure 4-10, the green trace is the instantaneous current, while the red diagonal line is the charge being delivered in mAh. Both are also presented in numeric format inside the bottom left boxes. Trace color and characteristics can be changed by clicking on the waveform boxes to the left of these numerical values. Ration Limit setting Ration Enable Rationing Behavior Power state indicator changed Rationing Complete indicator ALERT# pin is asserted Measured current status FIGURE 4-10: Instantaneous Delivered charge current (mA) current (mAh) VS_LOW indicator Main Tab - Ration Limit Reached. 2016 Microchip Technology Inc. DS50002510A-page 33 UCS1003-1 Evaluation Board User’s Guide 4.3.2 Configuration and General Status Tab The Configuration & General Status tab (Figure 4-11), includes various status indicators and configuration controls. Items are grouped by function, detailed in the following sections. Interrupt and General status Configuration tab selected Emulation Behavior option Comm. Fault Handler, General, and Thermal Controls Emulation settings FIGURE 4-11: Emulation Profile Disable Configuration & General Status Tab. 4.3.2.1 INTERRUPT STATUS The indicators in the Interrupt Status section turn green when the corresponding bit is high, and are dark when the bit is low. 4.3.2.2 GENERAL STATUS Indicators in the General Status section turn green when the corresponding bit is high and are dark when the bit is low. 4.3.2.3 EMULATION BEHAVIOR Check the necessary check box to enable the corresponding emulation behavior. 4.3.2.4 COMMUNICATIONS SMBus address is displayed. SMBus timeout can be disabled. 4.3.2.5 EMULATION PROFILE DISABLE Check the Profiles boxes to disable them. They will not be used during emulation. By selecting “Disable ALL”, all profile check boxes will toggle. 4.3.2.6 ATTACH/REMOVE ENABLE Click the S0_SET box to remove the check mark and disable the function. DS50002510A-page 34 2016 Microchip Technology Inc. Software Description 4.3.2.7 FAULT HANDLER These are controls related to fault handling. 4.3.2.8 GENERAL CONTROL Controls for general parameters. 4.3.2.9 THERMAL REGULATION Controls for thermal and detection delay parameters. 4.3.2.10 PORT POWER KEEP-OUT Displays values for the port power parameters. 4.3.2.11 GENERAL EMULATION/CHARGING SETTINGS Controls for emulation and charging. 4.3.2.12 EMULATION TIMEOUTS Sets the emulation timeout period for each profile. These timeout periods are not used if the EM_TIMEOUT_DIS control in the Emulation Behavior section is checked. 4.3.2.13 CHARGING THRESHOLD CURRENT Controls charging threshold current setting. 4.3.2.14 HIGH SPEED SWITCH CONFIGURATION Controls the high-speed switch parameters. 2016 Microchip Technology Inc. DS50002510A-page 35 UCS1003-1 Evaluation Board User’s Guide 4.3.3 Custom Charging Tab The Custom Charging tab (Figure 4-12), provides the means for users to create custom charger emulator configurations. These configurations include signaling on the USB data lines, as well as determining what method of current limiting to employ (constant current or trip). For more information, refer to the UCS1003-1 Data Sheet “USB Port Power with Charger Emulation” (DS200005346) and Application Note AN 24.14 - “UCS1002 Fundamentals of Custom Charger Emulation” (DS200005234). Custom Emulation Quick Load selection Custom Emulation Configuration settings Custom Current Limiting Behavior selection FIGURE 4-12: Custom Charging tab selected Custom Emulation Timeout Custom setting Custom Emulation save option Custom Charging Tab. 4.3.3.1 CUSTOM EMULATION CONFIGURATION Creating a custom emulation profile is a two-part process of entering the appropriate stimulus-response pairs in the provided fields, as well as the desired current limiting behavior (after emulation is applied, and the portable device starts to draw current). 4.3.3.1.1 Example Settings shown in Figure 4-12 will apply the Legacy 2 stimulus pair. This includes a voltage divider on DP and on DM with the values shown under STEP 5 column. If the portable device draws bus current greater than the charging threshold being used, it will always operate in Current Limiting Trip mode (with trip point based on the current limit setting). DS50002510A-page 36 2016 Microchip Technology Inc. Software Description 4.3.3.2 CUSTOM CURRENT LIMITING BEHAVIOR The second part of creating custom profiles is to specify the behavior of current limiting and minimum voltage output. This is accomplished using the “Ibus_r2min” and “VBus_Min” drop-down lists, as shown in Figure 4-13. Click the arrow to reveal the options in the VBus_Min drop-down list Region 2 current limit drop-down list FIGURE 4-13: 4.3.3.3 Current-Voltage Behavior Selection. CUSTOM EMULATION QUICK LOAD The Custom Emulation Quick Load drop-down menu allows single-click loading of the Custom Emulation Configuration registers. Simply select the profile to load from the menu and registers 41h – 4Ch will be loaded with that profile. The Legacy 1 to 7 profiles listed in the Custom Emulation Quick Load drop-down menu correspond to the UCS81003 settings. The profile order is different in UCS1003-1, as shown in Table 4-2. TABLE 4-2: 4.3.3.4 DCE LEGACY PROFILES CORRESPONDENCE BETWEEN UCS81003 AND UCS1003-1 UCS81003 UCS1003-1 Legacy 1 Legacy 5 Legacy 2 Legacy 1 Legacy 3 Legacy 2 Legacy 4 Legacy 3 Legacy 5 Legacy 4 Legacy 6 Legacy 7 Legacy 7 Legacy 6 SAVE CUSTOM EMULATION CONFIGURATION Customs Emulation Configuration allows for a quick way to save the necessary registers to configure the UCS1003-1 for a custom profile to a file. Enter the path and press the SAVE button. Files will be overwritten if duplicate file names are used. Registers 40h – 4Ch (Custom Emulation Configuration - Custom Charging tab), 16h (Emulation Behavior - Configuration tab), 19h (ILIM - Main tab), 25h (High Speed Switch Configuration – Configuration tab) and 51h (Custom Current Limiting Behavior – Custom Charging tab) will be saved in a two-column format. Comments can be added at the end of the file for documentation. 2016 Microchip Technology Inc. DS50002510A-page 37 UCS1003-1 Evaluation Board User’s Guide 4.3.4 Register Set Tab The Register Set tab (Figure 4-14), allows viewing and updating of the UCS1003-1 registers, identifies the device on the evaluation board and manages configuration files. Load/Save Register section Register Set tab selected Register content list Product Information FIGURE 4-14: Register Set Tab. 4.3.4.1 REGISTER CONTENT Register Content shown in Figure 4-14 is a scrollable list of the UCS1003-1 registers and the current value. It is important to note that not all addresses are physical memory locations on the device; these registers will read ‘0’. Likewise, some registers shown, that are undocumented in the data sheet, may contain data. Editing these registers can cause unexpected results. To update a register value, locate the register address in the left column, type the new value in the corresponding cell in the right column, and press Enter on the keyboard or click outside the editable field to complete the action. 4.3.4.2 PRODUCT INFORMATION Product Information panel shows the values of three registers (FDh, FEh and FFh) which identify the device on the evaluation board. DS50002510A-page 38 2016 Microchip Technology Inc. Software Description 4.3.4.3 CONFIGURATION SAVE AND LOAD The Register Set tab contains controls (Figure 4-15) which save the settings currently configured in the UCS1003-1 to allow quick reconfiguration at any time. Browse-for-location buttons Path fields Load/Save All Register Values switches FIGURE 4-15: Save/Load Section. To save configuration settings, configure the UCS1003-1 as desired, then display the Register Set tab. Type a path in the “File Stored Path” field or press the Browse button to select the folder where the configuration file will be saved. The file should be named with the .txt extension or with a similar text file format. Once a file name and location has been chosen, click the Save All Register Values switch, and the file is saved. Note: If a file with the same name already exists, it will be overwritten and the old data will be lost. The data is saved on two columns separated by tabs. The first column is the register address and the second column is the register data. Once a file is saved, it can be recalled at any time by selecting the file in the “File Load Path” field and clicking the Load All Register Values switch. 2016 Microchip Technology Inc. DS50002510A-page 39 UCS1003-1 Evaluation Board User’s Guide 4.3.5 Demo Tab The Demo tab (Figure 4-16) demonstrates external controller logic to apply custom emulation profiles and optimize charging current. This feature uses the LabView engine to step through the selected files and store the current drawn by the device. Several options are available to customize the operation of the demo and explore the potential of the UCS1003-1. Step 1: Configure Device Demo results Demo Options panel Demo tab selected Demo button Step 2 Custom Emulation config. options Quick Load option FIGURE 4-16: Demo Tab. 4.3.5.1 STEP 1: CONFIGURE DEVICE FOR DEMO ROUTINE The first step in preparing to run the Demo feature is to configure the device to the desired starting configuration. A file has been preloaded at installation and is ready to be used, or a new configuration can be created. Each time the Demo button is toggled (in the Panel Control section), the Setup.txt file will be loaded. 4.3.5.2 STEP 2: DEFINE CUSTOM EMULATION CONFIGURATIONS At installation, a set of files are preloaded on the users system (profile1.txt – profile7.txt) with the default profiles of the UCS1003-1. These files can be changed easily by using the Custom Charging tab. 4.3.5.2.1 Active Files Check the corresponding check box to activate the desired profile in the demo routine. 4.3.5.2.2 Custom Emulation Files This column contains the full path to the profile file to be loaded. This file should contain registers 40h – 4Ch, 16h and 25h. This file can be created with the GUI on the Custom Charging tab. DS50002510A-page 40 2016 Microchip Technology Inc. Software Description 4.3.5.2.3 Current Reading This column displays the current being drawn from the attached device. If “End Value” is selected (in the Demo Options section, Current Reading features), this will update continuously. If “MAX Value” is selected, this will store the highest value of current during the dwell time. 4.3.5.2.4 Dwell Time “Dwell Time” column defines the amount of time a profile is applied (from PWR_EN set to PWR_EN unset). Each profile can have a different dwell time value. 4.3.5.3 DEMO OPTIONS TABLE 4-3: DEMO OPTIONS DESCRIPTION Options Description Repeat if 0 mA When this option is set, it will repeat if all of the profiles read 0 mA, i.e. no device connected. Repeat Forever When set, it will repeat the set of files until unchecked. Dead Batt. Repeat When set, it will repeat the cycle with the specified Dead Batt. Delay time. This is useful when the battery is completely discharged and the device OS is unable to handshake with UCS1003-1. Dead Batt. Delay This option is defined in minutes. Minimum is 0 minutes, maximum is 10 minutes. Current Reading Displays either the End Value (last value before PWR_EN set low) or MAX Value (highest value during Dwell Time) 4.3.5.4 CUSTOM FILE PATH QUICK LOAD When starting the UCS1003-1 interface, the file paths are reset to a default path. If desired, the user may save the files to an alternate location. This quick-load feature saves the paths of the Setup.txt and all seven profile locations to quickly return or change files with one click. 4.3.5.5 RUNNING THE DEMO Once the files and settings are configured as desired, enable the Demo routine by pressing the Demo switch within the Panel Controls area. The routine begins and the results are displayed in Profile MAX and Current MAX fields. By default, the Demo routine will enable the profile that is indicated by Profile MAX. • Profile MAX: Stores the profile of the highest value of current draw. • Current MAX: Stores the highest current associated with the Profile MAX #. Note: 2016 Microchip Technology Inc. The Demo tab does not need to be visible to activate the Demo routine. DS50002510A-page 41 UCS1003-1 Evaluation Board User’s Guide 4.4 TROUBLESHOOTING Table 4-4 identifies possible problems and their solutions to troubleshoot the UCS1003-1 software. TABLE 4-4: TROUBLESHOOTING THE INTERFACE – COMMON PROBLEMS Problem Solution GUI Controls unresponsive after installation Restart the computer. In some cases, a restart is required after installation. GUI freezes If the GUI freezes for unknown reasons, communications cannot be stopped, and the program cannot be closed, disconnect the USB cable from the evaluation board, then close the program. Reconnect the board, then restart the GUI. Random panel display When a board is not connected to the PC running the GUI, the panel will be in an all-zero register-displayed state. This also occurs when SMBus communications are disconnected. The panel display is not meaningful. Connect the board and establish SMBus communications. If this still does not work, there is a problem with the connection. The cable or the USB port may be defective. Device is not charging or not charging optimally Check if the current limit jumper is set appropriately. The current source may not have high enough capacity from VS. Run the Demo routine to determine highest current profile. DS50002510A-page 42 2016 Microchip Technology Inc. UCS1003-1 EVALUATION BOARD USER’S GUIDE Appendix A. Schematic and Layouts A.1 INTRODUCTION This appendix contains the following schematics and layouts for the UCS1003-1 Evaluation Board: • • • • • • • Board – Schematic Board – Top Silk Board – Top Copper and Silk Board – Top Copper Board – Bottom Copper Board – Bottom Copper and Silk Board – Bottom Silk 2016 Microchip Technology Inc. DS50002510A-page 43 BOARD – SCHEMATIC VDD_5V USB_N USB_P VDD_5V VDD_5V C11 USB MINI-B Female SHIELD R6 R7 R9 R10 VDD_5V 10k 0603 1% 10k 0603 1% 2.2k 0603 1% 2.2k 0603 1% VDD_5V 2 4 1k 0603 5% 1 3 SMDATA/LATCH SMCLK/S0 R3 LD1 LD2 GREEN RED 4J7 3 2 1 HDR-2.54 Male 2x2 0603 0.47uF 6.3V 47k R28 56k GND 5V-3A R29 68k R30 82k R31 100k R32 120k R33 150k R41 0R R42 10k R43 12k R44 15k R45 18k R46 22k R47 27k R48 33k R34 47k R35 56k R36 68k R37 82k R38 100k J10 R39 120k VBUS D DD D+ GND SSRXSSRX+ GND_D SSTXSSTX+ Shield R40 150k R49 0R R50 10k R51 12k R52 15k R53 18k R54 22k R55 27k R56 33k INTERCHANGEABLE BLADES KIT USB-A Male to Mini USB-B Male 13 GND HDR-2.54 Male 2x2 VDD_5V ADDR 10 VDD 1 VSS C4 0.1uF 25V 0603 GND 1 SHIELD SDA SCL 14 RESET 16 INTA 15 INTB GND VDD_5V SHIELD 11 SCL 12 SDA J6 11 Shunt 2.54mm 1x2 Handle SM_ACT GND U2 RESET SM_ACT USB_OK C9 GPA0 GPA1 GPA2 GPA3 GPA4 GPA5 GPA6 GPA7 GPB0 GPB1 GPB2 GPB3 GPB4 GPB5 GPB6 GPB7 17 18 19 20 21 22 23 24 ALERT# A_DET# PWR_EN EM_EN M1 M2 R17 R20 R21 R23 10k 0603 1% 10k 0603 1% 10k 0603 1% 10k 0603 1% J11 1 1 SHIELD GND 1 SHIELD GND HDR-2.54 Male 2x4 0R 0603 1 SHIELD 0R 0603 GND R26 0R 0603 GND MCP23018 C5 HDR-2.54 Male 1x3 GND 0.01uF 0603 16V 7 VS1 8 VS2 GND VBUS DD+ + GND SSRXSSRX+ GND_D SSTXSSTX+ Shield 0 USB 3.0 A PLUG J3 SHIELD 1 2 3 4 5 6 7 8 9 GND VBUS_IN SSRX_N SSRX_P GND_DRAIN SSTX_N SSTX_P GND D_IN_N D_IN_P 15 DMIN 14 DPIN PWR_EN 10 EM_EN M1 M2 19 EM_EN 1 M1 2 M2 R2 0R 0603 U1 R4 R5 1M 0402 1% 1M 0402 1% DS50002510A-page 44 TP1 TP LOOP White DP_IN GND TP2 TP LOOP Yellow DM_IN 150uF TANT-D 10V 3 VBUS1 4 VBUS2 16 DMOUT 17 DPOUT L1' D_OUT_N D_OUT_P L2' L1 0603 50V VBUS_OUT GND GND L1 D_OUT_N D2 D3 D4 5V SOD-523 5V SOD-882 5V SOD-882 L2 D_OUT_P CM Choke 90Ohm SSRX_N SSRX_P GND_DRAIN SSTX_N SSTX_P 1 2 3 4 5 6 7 8 9 18 A_DET 13 ALERT 11 SMDATA/LATCH 12 SMCLK/S0 5 COMM_SEL/ILIM 6 SEL UCS1003-1 A_DET# ALERT# SMDATA/LATCH SMCLK/S0 COMM_SEL/ILIM SEL R22 LD3 LD4 ALERT# RED A_DET# GREEN SHIELD 0R 0603 GND R14 R18 1k 0603 5% 1k 0603 5% VDD_5V VDD_5V TP3 TP LOOP Yellow DM_OUT R16 R19 1M 0402 1% 1M 0402 1% TP4 TP LOOP White DP_OUT VDD_5V GND SEL HDR-2.54 Male 2x8 GND PWR_EN 20 GND 21 EP GND C8 GND 470pF J17 0 C3 0805 10V VBUS_5V C10 GND 9 0.1uF 0.1uF VDD 10uF 0603 25V C6 J8 0603 16V 0603 25V J19 AH_33h AH_32h AH_31h AH_30h AH_54h AH_55h AH_56h AH_57h AL_57h AL_56h AL_55h AL_54h AL_30h AL_31h AL_32h AL_33h SEL HDR-2.54 Male 2x8 Schematic and Layouts C2 C1 1uF USB 3.0 A RCPT 3 2 1 5V_IN COMM_SEL/ILIM HDR-2.54 Male 2x8 GND 1 2 1 3 2 POWER 2.1mm J16 0.57A 1.00A 1.13A 1.35A 1.68A 2.05A 2.28A 2.85A GND VDD_5V J5 COMM_SEL/ILIM HDR-2.54 Male 2x8 GND R25 VS_5V J1 VDD_5V 0.57A_SA 1.00A_SA 1.13A_SA 1.35A_SA 1.68A_SA 2.05A_SA 2.28A_SA 2.85A_SA GND J15 GND SHIELD J9 R24 J14 GND J12 2 3 4 5 6 7 8 9 J18 R27 JP1 J13 0603 16V 4.7uF 1k 0603 5% GND USB_P USB_N VUSB MCP2221 GND R1 14 13 12 11 10 9 8 15 13 11 9 7 5 3 1 16 14 12 10 8 6 4 2 1 2 3 4 5 VSS D+ DVUSB SCL SDA GP3 8 6 4 2 VBUS DD+ + ID GND VS_5V VDD GP0 GP1 RST UART RX UART TX GP2 7 5 3 1 J2 1 2 3 4 5 6 7 GP0 GP1 RESET RX TX USB_OK ADAPTER1 16 14 12 10 8 6 4 2 15 13 11 9 7 5 3 1 SOD-523 PS1 0603 25V 15 13 11 9 7 5 3 1 16 14 12 10 8 6 4 2 10k 0603 1% 5V CBL1 C7 0.1uF U3 R8 HDR-2.54 Male 1x3 1 2 3 D1 SHIELD VDD_5V 2 4 6 8 10 12 14 16 1 3 5 7 9 11 13 15 VDD_5V J4 0 2016 Microchip Technology Inc. A.2 Schematic and Layouts A.3 BOARD – TOP SILK A.4 BOARD – TOP COPPER AND SILK 2016 Microchip Technology Inc. DS50002510A-page 45 UCS1003-1 Evaluation Board User’s Guide A.5 BOARD – TOP COPPER A.6 BOARD – BOTTOM COPPER DS50002510A-page 46 2016 Microchip Technology Inc. Schematic and Layouts A.7 BOARD – BOTTOM COPPER AND SILK A.8 BOARD – BOTTOM SILK 2016 Microchip Technology Inc. DS50002510A-page 47 UCS1003-1 Evaluation Board User’s Guide NOTES: DS50002510A-page 48 2016 Microchip Technology Inc. UCS1003-1 EVALUATION BOARD USER’S GUIDE Appendix B. Bill of Materials (BOM) TABLE B-1: BILL OF MATERIALS (BOM) (Note 1) Qty. Reference 1 ADAPTER1 4 Description Mech. HW. Adapter Interchangeable Blades Kit For Phihong R-Series Wall Adapters Manufacturer Part Number Phihong USA Corporation RPBAG C1, C4, C6, C7 Capacitor ceramic 0.1 μF 25V 10% X7R SMD. 0603 Murata Electronics® GRM188R71E104KA01D 1 C2 Capacitor ceramic 10 μF 10V 10% X7R SMD. 0805 Murata Electronics GRM21BR71A106KE 51L 1 C3 Capacitor ceramic 0.01 μF 16V 10% X7R SMD. 0603 Samsung Group CL10B103KO8NNNC 1 C5 Capacitor ceramic 1 μF 16V 10% Taiyo Yuden Co., Ltd. EMK107B7105KA-T X7R SMD. 0603 1 C8 Capacitor tantalum 150 μF 10V 10% 100m ohm SMD. D AVX Corporation TPSD157K010R0100 1 C9 Capacitor ceramic 0.47 μF 6.3V 10% X5R SMD. 0603 Murata Electronics GRM188R60J474KA01D 1 C10 Capacitor ceramic 470 pF 50V 10% X7R 0603 TDK Corporation C1608X7R1H471K 1 C11 Capacitor ceramic 4.7 uF 16V 10% X5R SMD. 0603 TDK Corporation C1608X5R1C475K08 0AC 1 CBL1 Mech. HW. Cable USB-A male to Katerno Mini USB-B male 3ft. black 2 D1, D2 Diode Zener T5V0S5-7 5V 150 mW SMD SOD-523 Diodes® Incorporated T5V0S5-7 2 D3, D4 Diode Zener PESD5V0X1BL 5V SMD SOD-882 NXP Semiconductors PESD5V0X1BL,315 1 J1 Connector jack power 2.1 mm 16V 2.5A male TH. R/A CUI Inc. PJ-002A 1 J2 Connector USB Mini-B female SMD. R/A Hirose Electric Co., Ltd. UX60SC-MB-5ST(80) 1 J3 Connector USB 3.0 Standard-A plug SMD. R/A Wurth Elektronik 692112030100 2 J4, J5 Connector header-2.54 male 1x3 FCI gold 5.84 MH TH. vertical 68000-103HLF 1 J6 Connector header-2.54 male 2x2 Samtec, Inc. gold 5.84 MH TH. vertical TSW-102-07-G-D 1 J7 Connector header-2.54 male 2x2 Samtec, Inc. gold 5.84 MH TH. vertical HTSW-102-07-G-D 10UM-02103BK Note 1: The components listed in this Bill of Materials are representative of the PCB assembly. The released BOM used in manufacturing uses all RoHS-compliant components. 2016 Microchip Technology Inc. DS50002510A-page 49 UCS1003-1 Evaluation Board User’s Guide TABLE B-1: BILL OF MATERIALS (BOM) (CONTINUED) (Note 1) Qty. Reference Description Manufacturer Part Number 1 J8 Connector header-2.54 male 1x2 FCI gold 5.84 MH TH. vertical 68001-202HLF 1 J9 Connector header-2.54 male 2x4 Samtec, Inc. gold 5.84 MH TH. vertical TSW-104-08-L-D 1 J10 Connector USB 3.0 Standard-A rcpt. TH. R/A Wurth Elektronik 692121030100 5 J11, J12, J13, J14, J15 Connector TP loop tin SMD. FCI 68602-116HLF 4 J16, J17, J18, J19 Connector header-2.54 male 2x8 FCI gold 5.84 MH TH. vertical 68602-116HLF 11 JP1 Mech. hardware jumper 2.54 mm TE Connectivity, Ltd. 1x2 handle gold 881545-2 1 L1 Inductor choke Common Mode 90 ohm 0805 Murata Electronics DLW21HN900SQ2L 2 LD1, LD4 Diode LED green 2.2V 25mA 15 mcd clear SMD. 0603 Kingbright Electronic Co., Ltd. APT1608SGC 2 LD2, LD3 Diode LED red 1.95V 30 mA 700 mcd clear SMD. 0603 Kingbright Corp. APTD1608SURCK 1 PCB UCS1003-1 Evaluation Board – Printed Circuit Board 1 PS1 Mech. HW. Power Supply 5V 3A DC 2.1 mm Phihong USA PSA15R-050PV 4 R1, R3, R14, R18 Resistor TKF. 1k 5% 1/10W SMD. 0603 Panasonic® - ECG ERJ-3GEYJ102V 7 R2, R22, R24, Resistor TKF. 0R 1/10W SMD. R25, R26, R41, 0603 R49 NIC Components Corp. NRC06Z0TRF 4 R4, R5, R16, R19 Resistor TKF. 1M 1% 1/10W SMD. 0402 Panasonic - ECG ERJ-2RKF1004X 9 R6, R7, R8, Resistor TKF. 10k 1% 1/10W R17, R20, R21, SMD. 0603 R23, R42, R50 NIC Components Corp. NRC06F1002TRF 2 R9, R10 Resistor TKF. 2.2k 1% 1/10W SMD. 0603 Panasonic - ECG ERJ-3EKF2201V 2 R27, R34 Resistor TKF. 47k 1% 1/10W SMD. 0603 Panasonic - ECG ERJ-3EKF4702V 2 R28, R35 Resistor TKF. 56k 1% 1/10W SMD. 0603 Stackpole Electronics, RMCF0603FT56K0 Inc. 2 R29, R36 Resistor TKF. 68k 1% 1/10W SMD. 0603 Stackpole Electronics, RMCF0603FT68K0 Inc. 2 R30, R37 Resistor 82K ohm 1/10W 1% 0603 SMD. Panasonic - ECG ERJ-3EKF8202V 2 R31, R38 Resistor TKF. 100k 1% 1/10W SMD. 0603 Panasonic - ECG ERJ-3EKF1003V — 04-10420 Note 1: The components listed in this Bill of Materials are representative of the PCB assembly. The released BOM used in manufacturing uses all RoHS-compliant components. DS50002510A-page 50 2016 Microchip Technology Inc. Bill of Materials (BOM) TABLE B-1: BILL OF MATERIALS (BOM) (CONTINUED) (Note 1) Qty. Reference Description Manufacturer Part Number 2 R32, R39 Resistor TKF. 120K 1% 1/10W SMD. 0603 Panasonic - ECG ERJ-3EKF1203V 2 R33, R40 Resistor TKF. 150k 1% 1/10W SMD. 0603 Panasonic - ECG ERJ-3EKF1503V 2 R43, R51 Resistor TKF. 12k 1% 1/10W SMD. 0603 Yageo Corporation RC0603FR-0712KL 2 R44, R52 Resistor TKF. 15k 1% 1/10W SMD. 0603 Panasonic - ECG ERJ-3EKF1502V 2 R45, R53 Resistor TKF. 18k 1% 1/10W SMD. 0603 ROHM Semiconductor MCR03EZPFX1802 2 R46, R54 Resistor TKF. 22k 1% 1/10W SMD. 0603 Stackpole Electronics, RMCF0603JT22K0 Inc. 2 R47, R55 Resistor TKF. 27k 1% 1/10W SMD. 0603 Yageo Corporation 2 R48, R56 Resistor TKF. 33k 1% 1/10W SMD. 0603 Stackpole Electronics. RMCF0603FT33K0 Inc. 2 TP1, TP4 Connector TP. loop white TH. Keystone Electronics Corp. 5012 2 TP2, TP3 Conn. TP. loop yellow TH. Keystone Electronics Corp. 5014 1 U1 Interface USB power switch with charger emulation UCS1003-1 QFN-20 Microchip Technology UCS1003-1-BP Inc. 1 U2 Interface GPIO-port Expand. I2C 16-port MCP23018-E/SS SSOP-24 Microchip Technology MCP23018-E/SS Inc. 1 U3 MCP2221 TSSOP-14 Microchip Technology MCP2221- I/ST Inc. RC0603FR-0727KL Note 1: The components listed in this Bill of Materials are representative of the PCB assembly. The released BOM used in manufacturing uses all RoHS-compliant components. 2016 Microchip Technology Inc. DS50002510A-page 51 Worldwide Sales and Service AMERICAS ASIA/PACIFIC ASIA/PACIFIC EUROPE Corporate Office 2355 West Chandler Blvd. Chandler, AZ 85224-6199 Tel: 480-792-7200 Fax: 480-792-7277 Technical Support: http://www.microchip.com/ support Web Address: www.microchip.com Asia Pacific Office Suites 3707-14, 37th Floor Tower 6, The Gateway Harbour City, Kowloon China - Xiamen Tel: 86-592-2388138 Fax: 86-592-2388130 Austria - Wels Tel: 43-7242-2244-39 Fax: 43-7242-2244-393 China - Zhuhai Tel: 86-756-3210040 Fax: 86-756-3210049 Denmark - Copenhagen Tel: 45-4450-2828 Fax: 45-4485-2829 India - Bangalore Tel: 91-80-3090-4444 Fax: 91-80-3090-4123 France - Paris Tel: 33-1-69-53-63-20 Fax: 33-1-69-30-90-79 India - New Delhi Tel: 91-11-4160-8631 Fax: 91-11-4160-8632 Germany - Dusseldorf Tel: 49-2129-3766400 Atlanta Duluth, GA Tel: 678-957-9614 Fax: 678-957-1455 Hong Kong Tel: 852-2943-5100 Fax: 852-2401-3431 Australia - Sydney Tel: 61-2-9868-6733 Fax: 61-2-9868-6755 China - Beijing Tel: 86-10-8569-7000 Fax: 86-10-8528-2104 Austin, TX Tel: 512-257-3370 China - Chengdu Tel: 86-28-8665-5511 Fax: 86-28-8665-7889 Boston Westborough, MA Tel: 774-760-0087 Fax: 774-760-0088 China - Chongqing Tel: 86-23-8980-9588 Fax: 86-23-8980-9500 Chicago Itasca, IL Tel: 630-285-0071 Fax: 630-285-0075 Cleveland Independence, OH Tel: 216-447-0464 Fax: 216-447-0643 Dallas Addison, TX Tel: 972-818-7423 Fax: 972-818-2924 Detroit Novi, MI Tel: 248-848-4000 Houston, TX Tel: 281-894-5983 Indianapolis Noblesville, IN Tel: 317-773-8323 Fax: 317-773-5453 Los Angeles Mission Viejo, CA Tel: 949-462-9523 Fax: 949-462-9608 New York, NY Tel: 631-435-6000 San Jose, CA Tel: 408-735-9110 Canada - Toronto Tel: 905-673-0699 Fax: 905-673-6509 China - Dongguan Tel: 86-769-8702-9880 China - Hangzhou Tel: 86-571-8792-8115 Fax: 86-571-8792-8116 India - Pune Tel: 91-20-3019-1500 Japan - Osaka Tel: 81-6-6152-7160 Fax: 81-6-6152-9310 Japan - Tokyo Tel: 81-3-6880- 3770 Fax: 81-3-6880-3771 Korea - Daegu Tel: 82-53-744-4301 Fax: 82-53-744-4302 China - Hong Kong SAR Tel: 852-2943-5100 Fax: 852-2401-3431 Korea - Seoul Tel: 82-2-554-7200 Fax: 82-2-558-5932 or 82-2-558-5934 China - Nanjing Tel: 86-25-8473-2460 Fax: 86-25-8473-2470 Malaysia - Kuala Lumpur Tel: 60-3-6201-9857 Fax: 60-3-6201-9859 China - Qingdao Tel: 86-532-8502-7355 Fax: 86-532-8502-7205 Malaysia - Penang Tel: 60-4-227-8870 Fax: 60-4-227-4068 China - Shanghai Tel: 86-21-5407-5533 Fax: 86-21-5407-5066 Philippines - Manila Tel: 63-2-634-9065 Fax: 63-2-634-9069 China - Shenyang Tel: 86-24-2334-2829 Fax: 86-24-2334-2393 Singapore Tel: 65-6334-8870 Fax: 65-6334-8850 China - Shenzhen Tel: 86-755-8864-2200 Fax: 86-755-8203-1760 Taiwan - Hsin Chu Tel: 886-3-5778-366 Fax: 886-3-5770-955 China - Wuhan Tel: 86-27-5980-5300 Fax: 86-27-5980-5118 Taiwan - Kaohsiung Tel: 886-7-213-7828 China - Xian Tel: 86-29-8833-7252 Fax: 86-29-8833-7256 Germany - Karlsruhe Tel: 49-721-625370 Germany - Munich Tel: 49-89-627-144-0 Fax: 49-89-627-144-44 Italy - Milan Tel: 39-0331-742611 Fax: 39-0331-466781 Italy - Venice Tel: 39-049-7625286 Netherlands - Drunen Tel: 31-416-690399 Fax: 31-416-690340 Poland - Warsaw Tel: 48-22-3325737 Spain - Madrid Tel: 34-91-708-08-90 Fax: 34-91-708-08-91 Sweden - Stockholm Tel: 46-8-5090-4654 UK - Wokingham Tel: 44-118-921-5800 Fax: 44-118-921-5820 Taiwan - Taipei Tel: 886-2-2508-8600 Fax: 886-2-2508-0102 Thailand - Bangkok Tel: 66-2-694-1351 Fax: 66-2-694-1350 07/14/15 DS50002510A-page 52 2016 Microchip Technology Inc.