Microchip Technology UCS1003-1 User Manual

UCS1003-1
Evaluation Board
User’s Guide
2016 Microchip Technology Inc. DS50002510A
Note the following details of the code protection feature on Microchip devices:
YSTEM
CERTIFIED BY DNV
== ISO/TS 16949 ==
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.
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 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.
®
MCUs and dsPIC® DSCs, KEELOQ
®
code hopping
QUALITY MANAGEMENT S

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.
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
DS50002510A-page 2 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 p age 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 Select the Help menu, and then Topics to open a list of available online help files.
®
IDE online help.

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. “Hardwa re Desc ript ion ” – 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 Represents Examples
Arial font:
Italic characters Referenced books MPLAB
Emphasized text ...is the only compiler...
Initial caps A window the Output window
A dialog the Settings dialog A menu selection select Enable Programmer
Quotes A field name in a window or
dialog
Underlined, italic text with right angle bracket
Bold characters A dialog button Click OK
N‘Rnnnn A number in verilog format,
Text in angle brackets < > A key on the keyboard Press <Enter>, <F1>
Courier New font:
Plain Courier New Sample source code #define START
Italic Courier New A variable argument file.o, where file can be
Square brackets [ ] Optional arguments mcc18 [options] file
Curly brackets and pipe character: { | }
Ellipses... Replaces repeated text var_name [,
A menu path File>Save
A tab Click the Power tab
where N is the total number of digits, R is the radix and n is a digit.
Filenames autoexec.bat File paths c:\mcc18\h Keywords _asm, _endasm, static Command-line options -Opa+, -Opa- Bit values 0, 1 Constants 0xFF, ‘A’
Choice of mutually exclusive arguments; an OR selection
Represents code supplied by user
“Save project before build”
4‘b0010, 2‘hF1
any valid filename
[options] errorlevel {0|1}
var_name...] void main (void)
{ ... }
®
IDE User’s Guide
DS50002510A-page 8 2016 Microchip Technology Inc.

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 I (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
Preface
2
C/UART Protocol Converter with GPIO”

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.

Chapter 1. Product Overview

Portable
Device
PC running UCS1003-1 GUI
UCS1003-1
Device
UCS1003-1 Evaluation
Board
OEM USB
Charging Cable
V
S
Cable
USB Cable

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
• UCS1003-1 graphical user interface (GUI) program. The software is identical to
the UCS81003 Evaluation Board GUI. Refer to Sec ti on 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 (V
• Customer-provided portable device and OEM USB charging cable (with Standard-A plug at board’s end)
)
S
®
UCS1003-1
EVALUATION BOARD
USER’S GUIDE
PC

FIGURE 1-1: UCS1003-1 Evaluation System.

2016 Microchip Technology Inc. DS50002510A-page 11
UCS1003-1 Evaluation Board User’s Guide
USB STD-A PLUG
(Data & Power
From Host)
AUX Input (Power)
UCS1003-1
USB STD-A
RECPT
(To Portable
Device)
USB Bridge
MCP2221
USB MINI-B
RECPT
Control/Status
Manual/Bridge
Configuration &
Status
Figure 1-2 shows the block diagram of the UCS1003-1 Evaluation Board.

FIGURE 1-2: UCS1003-1 Evaluation Board – Block Diagram.

1.3 WHAT THE UCS1003-1 EVALUATION BOARD KIT CONTAINS

The UCS1003-1 Evaluation Board kit includes:
• UCS1003-1 Evaluation Board (ADM00668)
• Important Information Sheet
• 5V AC-DC Wall Adapter
• Standard-A plug to mini-B plug USB Cable
DS50002510A-page 12 2016 Microchip Technology Inc.
EVALUATION BOARD
USB standard-A plug to
USB host/USB power
J3
J10
USB standard-A
receptacle to
portable device
J1
Auxiliary power connector to
external power supply
J2
USB mini-B receptacle to PC

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.
UCS1003-1
USER’S GUIDE

FIGURE 2-1: UCS1003-1 Evaluation Board Top View – Connectors.

2016 Microchip Technology Inc. DS50002510A-page 13
UCS1003-1 Evaluation Board User’s Guide
LED2
SMBus Activity
(red)
LED1
USB_OK
(green)
LED3 Alert (red)
LED4
Attach Detection
(green)

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.

FIGURE 2-2: Evaluation Board Top View – LEDs.

TABLE 2-2: LED DESCRIPTION

Designator Function Description
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 2016 Microchip Technology Inc.
Installation and Operation
J2
J1
J3
J10
J4
VDD source selection:
V
S
or V
BUS
from J2
J5
V
S
source selection:
5V from J1 or from
J3 V
BUS
J7
SMBus data,
clock
J18
Current limit -
Stand-Alone mode
J16
Current limit -
SMBus mode
J9
PWR_EN,
EM_EN, M1, M2
J6
LATCH,
S0
J19
Address selection -
PWR_EN Active High
J17
Address selection -
PWR_EN Active Low
J18
Connects UCS1003-1,
V
BUS
output to J10

2.4 JUMPERS ON THE EVALUATION BOARD

Figure 2-3 shows the top of the Evaluation Board and highlights the jumpers.

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 The jumper populated on this header selects the VDD supply
J5 VS source selection The jumper populated on this header selects the voltage input
J6 LATCH, S0
Logic Inputs settings
J7 SMBus data and clock
lines
J8 V
output connection This jumper connects the 5V pin of connector J10 to the
BUS
J9 PWR_EN, EM_EN, M1,
M2
Logic Inputs settings
J16 Current Limit
SMBus mode
Note 1: 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.)
Jumper
Position
Description
source for the digital circuits on the board.
1-2 V
is connected to V
DD
pin of the J2 USB connector
BUS
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.
source for the power switch inside the UCS1003-1.
1-2 V
2-3 VS is connected to V
source is the J1 power connector (external 5V power supply).
S
of the J3 USB connector. Use this
BUS
configuration only if the USB host can deliver the necessary current for charging.
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
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.
UCS1003-1 V
power output pins. A current probe or a
BUS
multimeter can be connected to this header for measuring the charging current and the voltage, close to the USB connector.
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.
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.
DS50002510A-page 16 2016 Microchip Technology Inc.
Loading...
+ 37 hidden pages