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.
Trademarks
The Microchip name and logo, the Microchip logo, dsPIC,
K
logo, rfPIC and UNI/O are registered trademarks of
Microchip Technology Incorporated in the U.S.A. and other
countries.
FilterLab, Hampshire, HI-TECH C, Linear Active Thermistor,
MXDEV, MXLAB, SEEVAL and The Embedded Control
Solutions Company are registered trademarks of Microchip
Technology Incorporated in the U.S.A.
Analog-for-the-Digital Age, Application Maestro, CodeGuard,
dsPICDEM, dsPICDEM.net, dsPICworks, dsSPEAK, ECAN,
ECONOMONITOR, FanSense, HI-TIDE, In-Circuit Serial
Programming, ICSP, Mindi, MiWi, MPASM, MPLAB Certified
logo, MPLIB, MPLINK, mTouch, Octopus, Omniscient Code
Generation, PICC, PICC-18, PICDEM, PICDEM.net, PICkit,
PICtail, REAL ICE, rfLAB, Select Mode, Total Endurance,
TSHARC, UniWinDriver, WiperLock 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.
All other trademarks mentioned herein are property of their
respective companies.
Microchip received ISO/TS-16949:2002 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.
A.3 Board – Top Copper, Silk and Pads ........................................................... 17
A.4 Board – Top Copper and Pads .................................................................... 17
A.5 Board – Top Silk and Pads ......................................................................... 18
A.6 Board – Bottom Copper and Pads ............................................................... 18
Appendix B. Bill of Materials (BOM)
Worldwide Sales and Service .................................................................................... 20
2010 Microchip Technology Inc.DS51901A-page 3
MCP2200 USB to RS-232 Demo Board User’s Guide
NOTES:
DS51901A-page 4 2010 Microchip Technology Inc.
MCP2200 USB TO RS-232
DEMO 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 page number. The numbering convention for the DS number is
“DSXXXXXA”, where “XXXXX” 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 on-line help files.
®
IDE on-line help.
INTRODUCTION
This chapter contains general information that will be useful to know before using the
MCP2200 USB to RS-232 Demo 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 MCP2200 USB to RS-232 Demo Board as an
evaluation tool for the MCP2200 General Purpose I/O Expander. The manual layout is
as follows:
• Chapter 1. “Product Overview” – Important information about the MCP2200
USB to RS-232 Demo Board.
• Chapter 2. “MCP2200 USB to RS-232 Demo Board” – Includes instructions on
how to get started with this evaluation board.
• Appendix A. “Schematic and Layouts” – Shows the schematic and layout
diagrams for the MCP2200 USB to RS-232 Demo Board.
• Appendix B. “Bill of Materials (BOM)” – Lists the parts used to build the
MCP2200 USB to RS-232 Demo Board.
2010 Microchip Technology Inc.DS51901A-page 5
MCP2200 USB to RS-232 Demo Board User’s Guide
CONVENTIONS USED IN THIS GUIDE
This manual uses the following documentation conventions:
DOCUMENTATION CONVENTIONS
DescriptionRepresentsExamples
Arial font:
Italic charactersReferenced booksMPLAB
Emphasized text...is the only compiler...
Initial capsA windowthe Output window
A dialogthe Settings dialog
A menu selectionselect Enable Programmer
QuotesA field name in a window or
dialog
Underlined, italic text with
right angle bracket
Bold charactersA dialog buttonClick OK
N‘RnnnnA number in verilog format,
Text in angle brackets < >A key on the keyboardPress <Enter>, <F1>
Courier New font:
Plain Courier NewSample source code#define START
Italic Courier NewA variable argumentfile.o, where file can be
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
DS51901A-page 6 2010 Microchip Technology Inc.
RECOMMENDED READING
This user's guide describes how to use MCP2200 USB to RS-232 Demo Board.
Another useful document is listed below. The following Microchip document is available
and recommended as a supplemental reference resource.
MCP2200 Data Sheet - “USB 2.0 to UART Protocol Converter with GPIO”,
DS22228
This data sheet provides detailed information regarding the MCP2200 product.
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
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://support.microchip.com
DOCUMENT REVISION HISTORY
Revision A (April 2010)
• Initial Release of this Document.
2010 Microchip Technology Inc.DS51901A-page 7
MCP2200 USB to RS-232 Demo Board User’s Guide
NOTES:
DS51901A-page 8 2010 Microchip Technology Inc.
MCP2200 USB TO RS-232
DEMO BOARD USER’S GUIDE
Chapter 1. Product Overview
1.1INTRODUCTION
This chapter provides an overview of the MCP2200 USB to RS-232 Demo Board and
covers the following topics:
• What is the MCP2200 USB to RS-232 Demo Board?
• MCP2200 USB to RS-232 Demo Board Kit Contents
1.2WHAT IS THE MCP2200 USB TO RS-232 DEMO BOARD?
The MCP2200EV-VCP is a USB to RS-232 development and evaluation board for the
MCP2200 device. The board is powered from USB. Each I/O has an associated test
point. In addition, two I/Os are connected to LEDs which are used to indicate USB to
UART traffic when the associated pins are configured as TxLED and RxLED pins,
respectively.
The accompanying PC software is used to evaluate/demonstrate the MCP2200 as a
Virtual Com Port (VCP) device. The software also allows I/O control and custom device
configuration.
A DLL is included to allow development of custom configuration and I/O control
software.
1.3MCP2200 USB TO RS-232 DEMO BOARD KIT CONTENTS
This MCP2200 USB to RS-232 Demo Board Kit includes:
• One MCP2200 USB to RS-232 Demo Board
• Configuration and control PC software (available on the board web page)
• PC software for configuration and I/O control (available on the board web page)
• A simple DLL for developing custom software (available on the board web page)
2010 Microchip Technology Inc.DS51901A-page 9
MCP2200 USB to RS-232 Demo Board User’s Guide
NOTES:
DS51901A-page 10 2010 Microchip Technology Inc.
Chapter 2. MCP2200 USB to RS-232 Demo Board
D-SUB 9RS-232MCP2200USB
LEDs
Test Points
GP0
GND
MCP2200EV-VCP
2.1INTRODUCTION
The MCP2200 USB to RS-232 Demo Board is designed to demonstrate the device in
a VCP environment, as well as provide a method for I/O configuration development.
The MCP2200 USB to RS-232 Demo Board has the following features:
• TxLED and RxLED LEDs for indicating USB to UART traffic
• Test points for all I/O pins
• Mini-USB connector
• DB9 connector for connecting to another RS-232 device/application
• RS-232 transceiver
2.2SETUP
1. Download the support material (software and drivers) from the Microchip web
site by finding the board page from www.microchip.com/analogtools
searching for MCP2200EV-VCP from the search box on the web site.
2. Connect the board to a USB port on a Windows PC.
3. When the dialog appears to install the driver, navigate to mchp-HID+CDC.inf.
4. The board should now be set up for operation.
5. The optional PC software can be installed.
MCP2200 USB TO RS-232
DEMO BOARD USER’S GUIDE
or by
Note 1:If the software fails to start and the message box indicates a Code 10
error, a Microsoft update may be required. The update (KB943198) can
be downloaded from http://support.microsoft.com/kb/943198
2:The default VID is 0x04D8, which is licensed to Microchip. The default
PID for the MCP2200 is 0x00DF. Changing the VID assumes you have a
license from the USB consortium, and changing the PID assumes you
have licensed one from Microchip.
FIGURE 2-1:BOARD LAYOUT
.
2010 Microchip Technology Inc.DS51901A-page 11
MCP2200 USB to RS-232 Demo Board User’s Guide
5
4
9
3
8
2
7
1
6
TXDRXD
GND
RTS CTS
2.3OPERATION
The board will operate as a USB to RS-232 converter. In addition, the accompanying
software can be used to control the I/O and set custom configurations.
2.3.1USB to RS-232 Operation
The board can be connected to a USB host and to an RS-232 port that usually connects
to a PC. If the host application software sends a “Set Line Coding” command (sets the
UART baud rate), the MCP2200 will automatically change to the correct baud rate.
FIGURE 2-2:D-SUB 9-PIN MALE CONNECTOR
2.3.2Configuration Software
The PC software allows the user to evaluate the functionality and set custom
configurations. Figure 2-3 shows the main screen.
The software aids in the development of custom configurations. The following can be
modified:
Vendor ID (VID) and Product ID (PID): The default VID is 0x04D8, which is assigned
to Microchip by the USB IF. The VID can be changed to another VID if authorized by
the owner of the assignment. Contact the USB IF for more information.
The default PID for the MCP2200 is 0x00DF and can be used ‘as-is’. Microchip's VID
can be sublicensed by obtaining a new PID from Microchip. See the product page or
board page for a link to the sublicensing agreement. Sublicensing is only required if
Microchip’s VID is used. Changing the VID to another assigned and authorized VID
does not require any sublicensing from Microchip.
Baud Rate: A pull-down box allows selection of the most commonly used baud rates.
I/O Config: It is a binary 8-bit value that configures the I/O port to input (logic ‘1’) or
output (logic ‘0’).
Output Default: It is the default value for the port pins configured as output. This is also
an 8-bit binary value.
Tx/Rx LEDs: Checking this box enables the LED functions on GP6 and GP7. The “LED
Function” and “Blink Duration” must be configured.
Hardware Flow Control: Enables the RTS
and CTS pins for UART handshaking.
USBCFG Pin: Enables the USBCFG pin on GP1.
Suspend Pin: Enables the SSPND pin functionality on GP0.
UART Polarity: Enables the inverse polarity for the UART pins.
String Descriptors: Here you can enter custom Manufacturer and Product string
descriptors.
Update VID/PID Button: This button updates the software to use the VID and PID in
the “New” boxes. For example, if the PID was changed to 0xFFFF, the software would
keep using the original 0x00DF until the Update VID/PID button was pressed. After
this, the software would switch to the 0xFFFF PID.
DS51901A-page 12 2010 Microchip Technology Inc.
MCP2200 USB to RS-232 Demo Board
Note:Care must be taken when changing the VID or PID because the software
will not be able to communicate to the board if there is a mismatch.
FIGURE 2-3:MAIN SOFTWARE SCREEN
2010 Microchip Technology Inc.DS51901A-page 13
MCP2200 USB to RS-232 Demo Board User’s Guide
NOTES:
DS51901A-page 14 2010 Microchip Technology Inc.
Appendix A. Schematic and Layouts
A.1INTRODUCTION
This appendix contains the following schematic and layouts for the MCP2200 USB to
RS232 Demo Board. Diagrams included:
• Board – Schematic
• Board – Top Copper, Pads and Silk
• Board – Top Copper and Pads
• Board – Top Silk and Pads
• Board – Bottom Copper and Pads
MCP2200 USB TO RS-232
DEMO BOARD USER’S GUIDE
2010 Microchip Technology Inc.DS51901A-page 15
MCP2200 USB to RS-232 Demo Board User’s Guide
M
13
R1IN
16
VCC
6
V-
2
V+
14
T1OUT
7
T2OUT
8
R2IN
12
R1OUT
5
C2-1C1+
15
GND
3
C1-4C2+
11
T1IN10T2IN
9
R2OUT
A.2BOARD – SCHEMATIC
DS51901A-page 16 2010 Microchip Technology Inc.
Schematic and Layouts
A.3BOARD – TOP COPPER, SILK AND PADS
A.4BOARD – TOP COPPER AND PADS
2010 Microchip Technology Inc.DS51901A-page 17
MCP2200 USB to RS-232 Demo Board User’s Guide
A.5BOARD – TOP SILK AND PADS
A.6BOARD – BOTTOM COPPER AND PADS
DS51901A-page 18 2010 Microchip Technology Inc.
MCP2200 USB TO RS-232 DEMO
BOARD USER’S GUIDE
Appendix B. Bill of Materials (BOM)
TABLE B-1:BILL OF MATERIALS
QtyReferenceDescriptionManufacturerPart Number
1C1CAP CER .47UF 16V X7R 0603Murata Electronics
North America
3C2, C8, C9CAP .1UF 16V CERAMIC X7R 0603Panasonic – ECGECJ-1VB1C104K
3C4, C5, C7CAP .33UF 10V CERAMIC X5R 0603Panasonic – ECGECJ-1VB1A334K
1C6CAP 47000PF 16V CERM X7R 060Panasonic – ECGECJ-1VB1C473K
2D1, D2LED RED CLEAR 0603 SMDLite-On IncLTST-C190CKT
1J2CONN DB9 MALE SOLDER CUP
NICKEL
1J4CONN MINI USB RCPT RA TYPE B
SMD
1PCBRoHS Compliant Bare PCB, MCP2200
USB to RS-232 Demo Board
3R1, R2, R4RES 470 OHM 1/10W 5% 0603 SMDPanasonic – ECGERJ-3GEYJ471V
3R1, R2, R4RES 470 OHM 1/10W 5% 0603 SMDPanasonic – ECGERJ-3GEYJ471V
1R3RES 10K OHM 1/10W 5% 0603 SMDPanasonic – ECGERJ-3GEYJ103V
1U1MCP2200 USB to UART Serial