Microchip Technology MCP2210 User’s Guide

MCP2210
Evaluation Kit
User’s Guide
© 2012 Microchip Technology Inc. DS52057A
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 t he lik e is provided only for your convenience and may be su perseded by upda t es . It is y our 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 supp ort and/or safety ap plications is entir ely at the buyer’s risk, and the buyer agrees to defend, indemnify and hold harmless M icrochip from any and all dama ges, claims, suits, or expenses re sulting from such use. No licens es are conveyed, implicitly or otherwise, under any Microchip intellectual property rights.

Trademarks

The Microchip name and logo, the Microchip logo, dsPIC, K
EELOQ, KEELOQ logo, MPLAB, PIC, PICmicro, PICSTART,
32
PIC
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, chipKIT, chipKIT logo, 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, 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.
© 2012, Microchip Technology Incorporated, Printed in the U.S.A., All Rights Reserved.
Printed on recycled paper.
ISBN: 978-1-62076-118-2
QUALITY MANAGEMENT SYSTEM
CERTIFIED BY DNV
== ISO/TS 16949 ==
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
DS52057A-page 2 © 2012 Microchip Technology Inc.
MCP2210 EVALUATIO N KI T
USER’S GUIDE

Table of Contents

Preface ...........................................................................................................................5
Introduction............................................................................................................5
Document Layout .................................................................................................. 5
Conventions Used in this Guide............................................................................ 6
Recommended Reading.............................................................. .. ........................7
The Microchip Web Site........................................................................................ 7
Customer Support....................... ....................................................... ...................7
Document Revision History................................................................................... 7
Chapter 1. Product Overview
1.1 Introduction .....................................................................................................9
1.2 MCP2210 Evaluation Kit General Description ................ .. ........................ .. ....9
1.3 What The MCP2210 Evaluation Kit Includes ................................................. 9
Chapter 2. Installation and Operation
2.1 Introduction ...................................................................................................11
2.2 Kit Setup ....................................................................................................... 11
2.3 Board Oper a tio n .. .. ............................. .......................................................... 12
2.4 MCP2210 Typical Usage Scenarios ...................... .. .....................................17
Appendix A. Schematic and Layouts
A.1 Introduction ..................................................................................................19
A.2 MCP2210 Breakout Board Schematic and Layouts .....................................20
A.3 MCP2210 SPI Slave Motherboard Schematic and Layouts ........................27
Appendix B. Bill of Materials
Worldwide Sales and Service ....................................................................................36
© 2012 Microchip Technology Inc. DS52057A-page 3
MCP2210 Evaluation Kit User’s Guide
NOTES:
DS52057A-page 4 © 2012 Microchip Technology Inc.
MCP2210 EVALUATIO N KI T
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 “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 online help files.
®
IDE online help.

INTRODUCTION

This chapter contains general information that will be useful to know before using the MCP2210 Evaluation Kit. 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 MCP2210 Evaluation Kit as a development tool. The manual layout is as follows:
Chapter 1. “Product Overview” – Important information about the MCP2210 Evaluation Kit
Chapter 2. “Installation and Operation” – Covers the initial set-up of this board and Graphical User Interface (GUI)
Appendix A. “Schematic and Layouts” – Shows the schematic and board layouts for the MCP2210 Evaluation Kit User’s Guide
Appendix B. “Bill of Materials” – Lists the parts used to populate the MCP2210 Evaluation Kit
© 2012 Microchip Technology Inc. DS52057A-page 5
MCP2210 Evaluation Kit User’s Guide

CONVENTIONS USED IN THIS GUIDE

This manual uses the following docum entat io n conven tion s:
DOCUMENTATION CONVENTIONS
Description Represents Examples
Arial font:
Italic chara c ters 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 brac kets < > 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 r epeated text var_name [,
A menu path File>Save
A tab Click the Power tab
where N is the tota l number of digits, R is th e radi x 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 mut ually exclus ive arguments; an OR selection
Represents code supplied by user
®
IDE User’s Guide
“Save project before build”
4‘b0010, 2‘hF1
any valid filename
[options] errorlevel {0|1}
var_name...] void main (void)
{ ... }
DS52057A-page 6 © 2012 Microchip Technology Inc.

RECOMMENDED READING

This user's guide describes how to use MCP2210 Evaluation Kit. Other useful documents are listed below. The following Microchip documents are available and recommended as supplemental r eference resources.
• MCP2210 Data Sheet - “USB-to-SPI Protocol Converter with GPIO (Master Mode)” (DS22288)

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.
T echnical support is available through the web site at: .http://www.microchip.com/support.

DOCUMENT REVISION HISTORY

Revision A (March 2012)
• Initial Release of this Document.
© 2012 Microchip Technology Inc. DS52057 A-page 7
MCP2210 Evaluation Kit User’s Guide
NOTES:
DS52057A-page 8 © 2012 Microchip Technology Inc.
MCP2210 EVALUATIO N KI T

Chapter 1. Product Overview

1.1 INTRODUCTION

This chapter provides an overview of the MCP2210 Evaluation Kit and covers the following topics:
• MCP2210 Evaluation Kit General Description
• What The MCP2210 Evaluation Kit Includes

1.2 MCP2210 EVALUATION KIT GENERAL DESCRIPTION

The MCP2210 Evaluation Kit (ADM00421) is a development and evaluation platform for the MCP2210 device. The kit is comprised of two connected boards:
• MCP2210 Breakout Board (ADM00419)
• MCP2210 SPI Slave Motherboard (ADM00420)
The MCP2210 SPI Slave Motherboard is designed to work together with the MCP2210 Breakout Board (ADM00419). The motherboard provides the test-points required for measurements. It also contains the following SPI slave devices:
• MCP23S08 – 8-bit I/O expander
• MCP3204 – 4 channel, 12-bit ADC
• 25LC02 – 2 kbit EEPROM
• TC77 – Temperature sensor
All devices are SPI slaves, controlled by the MCP2210. Windows®-based PC software is used to evaluate/demonstrate the MCP2210 as a
USB-to-SPI (Master) device. It allows I/O control and custom device configuration. The software is downloadable from the board web page on www.microchip.com.
A DLL package is also available for development of custom PC applications using the MCP2210. The DLL package is downloadable from the board’s web page.
USER’S GUIDE

1.3 WHAT THE MCP2210 EVALUATION KIT INCLUDES

The MCP2210 Evaluation Kit includes (ADM00421):
• MCP2210 Breakout Board (ADM00419)
• MCP2210 SPI Slave Motherboard (ADM00420)
•Mini-USB cable
• Important Information Sheet
© 2012 Microchip Technology Inc. DS52057A-page 9
MCP2210 Evaluation Kit User’s Guide
NOTES:
DS52057A-page 10 © 2012 Microchip Technology Inc.

Chapter 2. Installation and Operation

2.1 INTRODUCTION

The MCP2210 Evaluation Kit is designed to demonstrate the device as a USB-to-SPI (Master) bridge solution.
The Evaluation Kit is comprised of two boards that have the following features:
• MCP2210 Breakout Board:
- Small plug-in board with DIP form factor (0.6 inches overall row spacing
between pins)
- Mini-USB co nnector
- Access to the SPI bus and all GP signals
- PICkit™ Serial Analyzer compatible header
- 3.3 or 5V jumper selectable V
up to 500 mA to the rest of the system
• MCP2210 SPI Slave Motherboard:
- Socket for plugging in the MCP2210 Breakout Board
- Test-points for the SPI bus and GP signals
- PICkit™ Serial Analyzer header (it can be used to access only one of the SPI
slave chips present on this board – MCP23S08)
- 8-bit I/O expander (MCP23S08) with eight LEDs
- Four channel, 12-bit ADC (MCP3204) – a potentiometer is used to vary the
voltage on the Channel 1 ADC input
- 2 kbit EEPROM – 25LC02
- Temperature sensor – TC77
MCP2210 EVALUATIO N KI T
USER’S GUIDE
; the Breakout Board can be used to supply
DD

2.2 KIT SETUP

Follow these steps to set up the MCP2210 Evaluation Kit:
1. Download the support material (PC applications and DLL libraries) that can be
found on the board’s page (www.microchip.com/mcp2210evaluationkit).
2. Plug the MCP2210 Breakout Board into the MCP2210 SPI Slave Motherboard.
3. Connect the MCP2210 Breakout Board to a PC via a USB port.
4. The system will automatically install the driver for this board. When the
installation is complete, the board is ready for operation.
5. Install the downloaded PC software.
6. Start the demo application and exercise the SPI slave chip’s features.
© 2012 Microchip Technology Inc. DS52057A-page 11
MCP2210 Evaluation Kit User’s Guide

2.3 BOARD OPERATION

The MCP2210 device is detected by a Windows®-based PC host as a Human Interface Device (HID). The accompanying software can be used to exercise the Evaluation Kit’s features. It also provides a reference point for users that want to create custom applications based on the MCP2210.

2.3.1 MCP2210 Breakout Board Operation

The MCP2210 Breakout Board can be used with either the provided motherboard, or as a stand-alone USB-to-SPI (Master) bridge module. The breakout board provides all the required signals in order to assist the user in building customized boards using the MCP2210.
The breakout board has the following features:
• SPI bus signals (MOSI, MISO, SCK)
• 9 GP signals configurable for:
- GPIO functionality (digital input or output pins)
- Chip Select functionality (working with the SPI bus signals)
- Dedicated function pins
• Jumper selectable power supply: 3.3 or 5V (up to 500 mA). The board has a default connection trace between V mounting unnecessary when powering the board with 3.3V. For 5V operation, a 3-pin header must be mounted on the board.
• PICkit™ Serial Analyzer header using GP4 as the Chip Select signal
and 3.3V rail, making the voltage header
DD
Note: This function is available only on SPI operations, it does not work on I
UART signals.
• Dip form-factor (0.6 inches overall row spacing between pins)
By using the provided software and libraries, the user can create personalized PC applications using the breakout board as a USB-to-SPI (Master) bridge adapter.
2
C or

2.3.2 MCP2210 Breakout Board Operation

The MCP2210 Utility software was created for custom device setting requirements. A few of the settings that this utility can alter include VID, PID, power requirements, and string descriptors. A download link for this software can be found on the board web page. For instructions on the use of this software, refer to the software’s supporting documentation included with in the appl ic at ion install package.

2.3.3 SPI Terminal Utility

The SPI Terminal Utility is a tool that allows low-level data exchange at the SPI bus level. This application is useful for low-level communication and troubleshooting between the MCP2210 and various SPI slave modules.
The utility window has different sections for GP designation, SPI transfer parameters and user data area.
DS52057A-page 12 © 2012 Microchip Technology Inc.
Loading...
+ 26 hidden pages