Microchip Technology UCS81003 User Manual

UCS81003
Evaluation Board
User’s Guide
2014 Microchip Technology Inc. DS50002300A
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.

Trademarks

The Microchip name and logo, the Microchip logo, dsPIC, FlashFlex, flexPWR, JukeBlox, K LANCheck, MediaLB, MOST, MOST logo, MPLAB, OptoLyzer, PIC, PICSTART, PIC SST, SST Logo, SuperFlash and UNI/O are registered trademarks of Microchip Technology Incorporated in the U.S.A. and other countries.
The Embedded Control Solutions Company and mTouch are registered trademarks of Microchip Technology Incorporated in the U.S.A.
Analog-for-the-Digital Age, BodyCom, chipKIT, chipKIT logo, CodeGuard, dsPICDEM, dsPICDEM.net, ECAN, In-Circuit Serial Programming, ICSP, Inter-Chip Connectivity, KleerNet, KleerNet logo, MiWi, MPASM, MPF, MPLAB Certified logo, MPLIB, MPLINK, MultiTRAK, NetDetach, Omniscient Code Generation, PICDEM, PICDEM.net, PICkit, PICtail, RightTouch logo, REAL ICE, SQI, Serial Quad I/O, 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.
© 2014, Microchip Technology Incorporated, Printed in the U.S.A., All Rights Reserved.
ISBN: 978-1-63276-598-7
EELOQ, KEELOQ logo, Kleer,
32
logo, RightTouch, SpyNIC,
QUALITY MANAGEMENT S
DS50002300A-page 2 2014 Microchip Technology Inc.
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
UCS81003 Evaluation Board User’s Guide
Object of Declaration: UCS81003 Evaluation Board
2014 Microchip Technology Inc. DS50002300A-page 3
UCS81003 Evaluation Board User’s Guide
NOTES:
DS50002300A-page 4 2014 Microchip Technology Inc.
UCS81003 EVALUATION BOARD
USER’S GUIDE

Table of Contents

Preface ...........................................................................................................................7
Introduction............................................................................................................ 7
Document Layout .................................................................................................. 7
Conventions Used in this Guide ............................................................................ 8
Recommended Reading........................................................................................ 9
The Microchip Web Site ........................................................................................ 9
Customer Support ................................................................................................. 9
Document Revision History ................................................................................... 9
Chapter 1. Product Overview
1.1 Introduction ................................................................................................... 11
1.2 UCS81003 Evaluation System ..................................................................... 11
1.3 What the UCS81003 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 UCS81003 Device ........................................................................................ 21
3.2 Evaluation Board Power Source .................................................................. 21
3.3 MCP2221 USB-to-SMBus Bridge ................................................................. 22
3.4 MCP23018 I/O expander .............................................................................. 22
3.5 Direct SMBus Connect Option ..................................................................... 22
Chapter 4. Software Description
4.1 Overview ...................................................................................................... 23
4.1.1 Tips for Using the EVB GUI ....................................................................... 24
4.1.2 GUI Abbreviations ..................................................................................... 24
4.1.3 Keyboard Shortcuts ................................................................................... 24
4.2 Interface Description and Operation ............................................................. 25
4.2.1 Panel Controls ........................................................................................... 25
4.2.2 Pin State and Attach Status Panel ............................................................ 27
4.2.3 Pin State & Attach Status Panel ................................................................ 27
2014 Microchip Technology Inc. DS50002300A-page 5
UCS81003 Evaluation Board User’s Guide
4.2.4 Active Mode Selection ...............................................................................28
4.3 Tabs Description .......................................................................................... 29
4.3.1 Main Tab ....................................................................................................29
4.3.2 Configuration and General Status Tab ......................................................33
4.3.3 Custom Charging Tab ................................................................................35
4.3.4 Register Set Tab ........................................................................................37
4.3.5 Demo Tab ..................................................................................................39
4.4 Troubleshooting ............................................................................................ 41
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 – Inner Plans GND 1 ......................................................................... 46
A.7 Board – Inner Plans GND 2 ......................................................................... 47
A.8 Board – Bottom Copper ............................................................................... 47
A.9 Board – Bottom Copper and Silk ................................................................. 48
A.10 Board – Bottom Silk ................................................................................... 48
Appendix B. Bill of Materials
Worldwide Sales and Service .....................................................................................51
DS50002300A-page 6 2014 Microchip Technology Inc.
UCS81003 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 web site (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 UCS81003 Evaluation Board. Items discussed in this chapter include:
• Document Layout
• Conventions Used in this Guide
• Recommended Reading
• The Microchip Web Site
• Customer Support
• Document Revision History

DOCUMENT LAYOUT

This document describes how to use the UCS81003 Evaluation Board. The manual layout is as follows:
Chapter 1. “Product Overview” – Important information about the UCS81003
Evaluation Board.
Chapter 2. “Installation and Operation” – Includes instructions on how to
configure the board.
Chapter 3. “Hardwa re Desc ript ion ” – Describes the UCS81003 Evaluation
Board features and functionalities.
Chapter 4. “Software Description” – Describes the PC Graphical User Interface
that operates the UCS81003 Evaluation Board.
Appendix A. “Schematic and Layouts” – Shows the schematic and layout
diagrams for the UCS81003 Evaluation Board.
Appendix B. “Bill of Materials” – Lists the parts used to build the UCS81003
Evaluation Board.
2014 Microchip Technology Inc. DS50002300A-page 7
UCS81003 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
DS50002300A-page 8 2014 Microchip Technology Inc.

RECOMMENDED READING

This user's guide describes how to use UCS81003 Evaluation Board. Other useful documents are listed below. The following Microchip documents are available and recommended as supplemental reference resources.
• UCS81003 Data Sheet - “Automotive USB Port Power Controller with Charger Emulation” (DS20005334)
• MCP2221 Data Sheet - “USB 2.0 to I GPIO” (DS200005292)
• AN24.14 - “UCS1002 Fundamentals of Custom Charger Emulation” (DS200005234)

THE MICROCHIP WEB SITE

Microchip provides online support via our web site at www.microchip.com. This web site is used as a means to make files and information easily available to customers. Accessible by using your favorite Internet browser, the web site 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

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 in the back of this document.
Technical support is available through the web site at:
http://www.microchip.com/support.

DOCUMENT REVISION HISTORY

Revision A (September 2014)
• Initial Release of this Document.
2014 Microchip Technology Inc. DS50002300A-page 9
UCS81003 Evaluation Board User’s Guide
NOTES:
DS50002300A-page 10 2014 Microchip Technology Inc.

Chapter 1. Product Overview

Portable
Device
PC running UCS81003 GUI
UCS81003
Device
UCS81003 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 UCS81003.

1.2 UCS81003 EVALUATION SYSTEM

The evaluation system has several components, as shown in Figure 1-1:
• Customer-provided Windows
• UCS81003 graphical user interface (GUI) program
• UCS81003 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
®
UCS81003 EVALUATION
BOARD USER’S GUIDE
PC

FIGURE 1-1: UCS81003 Evaluation System.

2014 Microchip Technology Inc. DS50002300A-page 11
UCS81003 Evaluation Board User’s Guide
USB STD-A PLUG
(Data & Power
From Host)
AUX Input (Power)
UCS81003
USB STD-A
RECPT
(To Portable
Device)
USB Bridge
MCP2221
USB MINI-B
RECPT
Control/Status
Manual/Bridge
Configuration &
Status
A block diagram of the UCS81003 Evaluation Board is shown in Figure 1-2 below:

FIGURE 1-2: UCS81003 Evaluation Board Block Diagram.

1.3 WHAT THE UCS81003 EVALUATION BOARD KIT CONTAINS

This UCS81003 Evaluation Board kit includes:
• UCS81003 Evaluation Board (ADM00561)
• Important Information Sheet
• 5V AC-DC Wall Adapter
• Standard-A plug to mini-B plug USB Cable
DS50002300A-page 12 2014 Microchip Technology Inc.
UCS81003 EVALUATION
J2
USB Mini-B
receptacle
to PC
J10
USB Standard-A receptacle
to portable device
J3
USB Stanadrd-A plug to
USB host / USB Power
J1
Auxiliary power connector
to external power supply
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 UCS81003 Evaluation Board. It also explains the steps to install 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.

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

TABLE 2-1: CONNECTOR DESCRIPTIONS

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
2014 Microchip Technology Inc. DS50002300A-page 13
UCS81003 Evaluation Board User’s Guide
LED4
Attach Detection (green)
LED1
USB_OK
(green)
LED3 ALERT
(red)
LED2
SMBus Activity
(red)

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 DESCRIPTIONS

Designator Function Description
LD1 USB OK When lit, this green LED means the MCP2221 USB
LD2 SMBus Activity When flashing, this green LED indicates SMBus
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
bridge is connected to the PC.
communication activity.
for the UCS81003.
DS50002300A-page 14 2014 Microchip Technology Inc.
Installation and Operation
J16 Current Limit, SMBus mode
J18
Current Limit,
Stand-Alone mode
J8
Connects
UCS81003 V
BUS
output to J10
J9
PWR_EN,
EM_EN,
M1, M2
J17
Address Selection,
PWR_EN Active Low
J19
Address Selection,
PWR_EN Active High
J6
LATCH,
S0
J7
SMBus
data, clock
J5
V
S
source
selection:
5V from J1 or
from J3 V
BUS
J4
VDD source
selection:
Vs or
V
BUS
from J2
J1
J2
J3 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.

TABLE 2-3: JUMPER DESCRIPTIONS

Designator Function
J4 V
source selection The jumper populated on this header selects the VDD
DD
Jumper
Position
1-2 V
2-3 V
supply source for the digital circuits on the board.
is connected to V
DD
is connected to VS. This is the recommended
DD
configuration when evaluating the Attach Detection feature of the UCS81003. If the board is evaluated with a PC running the GUI, then the V USB cable is plugged into the J2 connector.
BUS
Description
pin of the J2 USB connector
must be supplied after the
S
2014 Microchip Technology Inc. DS50002300A-page 15
UCS81003 Evaluation Board User’s Guide
TABLE 2-3: JUMPER DESCRIPTIONS (CONTINUED)
Designator Function
J5 VS source selection The jumper populated on this header selects the voltage
J6 LATCH, S0
Logic Inputs settings
J7 SMBus data and clock lines If the UCS81003 is in SMBus mode (as selected by using
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
J18 Current Limit
Stand-alone mode
J17 SMBus Address
PWR_EN active low
Jumper
Position
Description
input source for the power switch inside the UCS81003.
1-2 V
source is the J1 power connector (external 5V power
S
supply).
2-3 V
is connected to V
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 UCS81003 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
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 UCS81003 is in Stand-alone mode.
UCS81003 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 UCS81003 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 UCS81003 in SMBus mode. In this case, no jumper must be populated on J18 header.
Placing one jumper on this header selects the current limit and sets the UCS81003 in Stand-alone mode. In this case, no jumper must be populated on J16 header.
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.
DS50002300A-page 16 2014 Microchip Technology Inc.
Loading...
+ 36 hidden pages