MCP2210 Evaluation Kit User’s Guide © 2012 Microchip Technology Inc.
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.
MCP2210 EVALUATION KIT USER’S GUIDE Table of Contents Preface ........................................................................................................................... 5 Introduction............................................................................................................ 5 Document Layout .................................................................................................. 5 Conventions Used in this Guide .....................................................
MCP2210 Evaluation Kit User’s Guide NOTES: DS52057A-page 4 © 2012 Microchip Technology Inc.
MCP2210 EVALUATION KIT 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.
MCP2210 Evaluation Kit 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 ...
Preface 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 reference 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.
MCP2210 Evaluation Kit User’s Guide NOTES: DS52057A-page 8 © 2012 Microchip Technology Inc.
MCP2210 EVALUATION KIT USER’S GUIDE 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.
MCP2210 Evaluation Kit User’s Guide NOTES: DS52057A-page 10 © 2012 Microchip Technology Inc.
MCP2210 EVALUATION KIT USER’S GUIDE 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 connector - Access to the SPI bus and all GP signals - PICkit™ Serial Analyzer compatible header - 3.
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.
Installation and Operation FIGURE 2-1: SPI TERMINAL UTILITY WINDOW SPI user data section GP Settings Section HEX/Decimal user data mode SPI Transfer Parameters Section Status messages Transfer Data button GP Direct Settings section After the application is started, the state of the connection with the MCP2210 is shown in the Status Messages bar (in the lower left corner of the screen). The user can establish the GP configuration. The GPs can be used as chip select pins.
MCP2210 Evaluation Kit User’s Guide A simple test using the SPI Terminal utility shows how the MCP23S08 (an 8-bit I/O expander) uses the GP4 pin of the MCP2210 device as a chip select line. This line should be active low. The GP4 must be set as in the Figure 2-1, with the IDLE option checked (IDLE value is logic ‘1’) and the ACTIVE option unchecked (ACTIVE value is logic ‘0’).
Installation and Operation FIGURE 2-2: VISUAL BASIC APPLICATION WINDOW I/O Expander Section I/O Expander Section Temperature Sensor Section ADC Section Selected EEPROM Address The PC GUI shows typical sections for each of the SPI slave devices present on the MCP2210 SPI Slave Motherboard. 2.3.5 MCP23S08 GPIO Expander controls The GUI provides specific controls in order to assist the user in exploring the I/O expander features.
MCP2210 Evaluation Kit User’s Guide the first line, first column on the left). When, a particular cell in the data grid control is highlighted, the corresponding EEPROM address is displayed in the bottom left corner of the application window. FIGURE 2-4: EEPROM 25LC02 SECTION Data-grid controls Control buttons The EEPROM section also shows three buttons: • Read EEPROM – Press this button to read the entire EEPROM memory. The content will show in the data-grid control.
Installation and Operation 2.3.8 MCP3204 ADC Display Section The MCP3201 12-bit ADC section displays the board’s measured VDD voltage and a voltage between 0 and VDD/2, corresponding to the voltage value set by the motherboard potentiometer.
MCP2210 Evaluation Kit User’s Guide FIGURE 2-7: MCP2210 TYPICAL USAGE DIAGRAM MCP2210 USB USB-to-SPI bridge External Interrupt (GP6) SPI bus MOSI, MISO, SCK Chip-Select lines CS0-CS8 SPI slave chip #1 Interrupt ... SPI slave chip #n Interrupt When a system requires more than one SPI master sharing the same bus, an arbitration scheme needs to be developed, to prevent multiple SPI masters trying to access the bus at the same time.
Installation and Operation FIGURE 2-8: MCP2210 TYPICAL USAGE DIAGRAM MCP2210 SPI Bus Release Request GP8 GP7 USB USB-toSPI bridge External Interrupt (GP6) SPI Bus Release Acknowledge SPI bus MOSI, MISO, SCK External Interrupt Chip-Select lines SPI slave chip #1 Interrupt © 2012 Microchip Technology Inc. SPI Master #2 ...
MCP2210 Evaluation Kit User’s Guide NOTES: DS52057A-page 20 © 2012 Microchip Technology Inc.
MCP2210 EVALUATION KIT USER’S GUIDE Appendix A. Schematic and Layouts A.
0.1uF 0603 C4 GND D GND D 4.7uF 0603 C3 5V U2 GND D 1 2 3 4 5 6 7 J1 MCP1825S-3.3V 1 3 VIN VOUT GND DS52057A-page 20 2 C5 HDR M 1x7 VERT Left Side Header GP0 GP1 GP2 GP3 GP4 MOSI SCK GND D 0.1uF 0603 VDD 1 2 3 4 5 6 PICkit™ Serial Analyzer Header HDR M 1x6 VERT VDD HDR M 1 x 7 VERT Right Side Header GP8 GP7 GP6 GP5 MI SO GND D Default connection between 1 - 2. User to cut the trace if 5V VDD is needed. GND D J3 J4 1 2 3 5V 22uF 1206 C1 GND D HDR M1 x 3 VERT NT1 3.
Schematic and Layouts A.2.2 Board – Top Silk and Pads © 2012 Microchip Technology Inc.
MCP2210 Evaluation Kit User’s Guide A.2.3 Board – Top Silk, Pads and Copper DS52057A-page 22 © 2012 Microchip Technology Inc.
Schematic and Layouts A.2.4 Board – Top Pads and Copper © 2012 Microchip Technology Inc.
MCP2210 Evaluation Kit User’s Guide A.2.5 Board – Bottom Silk and Pads DS52057A-page 24 © 2012 Microchip Technology Inc.
Schematic and Layouts A.2.6 Board – Bottom Silk, Pads and Copper © 2012 Microchip Technology Inc.
MCP2210 Evaluation Kit User’s Guide A.2.7 Board – Bottom Pads and Copper DS52057A-page 26 © 2012 Microchip Technology Inc.
GP4 GND GND MOSI MI SO SCK GP0 1 J7 1 J5 GP0 0603 GP4 0.1uF C6 2 5 6 1 1 GP6 VDD VDD SI SO 7 8 4 GND VDD 0603 4.7uF 0603 0.1uF C1 VREF 5% 0603 GND 1 2 3 4 5 6 7 8 9 VDD GP7 GP6 GP5 GP4 GP3 GP2 GP1 GP0 MCP23S08 SCK SI SO A1 A0 RESET CS INT VSS U1 I/O EXPANDER VSS 0603 1k 1% R1 10k R7 VCC 2 HOLD 3 WP SCK MOSI MI SO SSCK SC K CS U2 25LC020 EEPROM GND VSS 3 VOUT U5 MCP1525 VIN C5 18 17 16 15 14 13 12 11 10 C2 0.
MCP2210 Evaluation Kit User’s Guide A.3.2 Board – Top Silk DS52057A-page 28 © 2012 Microchip Technology Inc.
Schematic and Layouts A.3.3 Board – Top Silk and Copper © 2012 Microchip Technology Inc.
MCP2210 Evaluation Kit User’s Guide A.3.4 Board – Top Copper DS52057A-page 30 © 2012 Microchip Technology Inc.
Schematic and Layouts A.3.5 Board – Bottom Silk © 2012 Microchip Technology Inc.
MCP2210 Evaluation Kit User’s Guide A.3.6 Board – Bottom Silk and Copper DS52057A-page 32 © 2012 Microchip Technology Inc.
MCP2210 EVALUATION KIT USER’S GUIDE Appendix B. Bill of Materials TABLE B-1: Qty BILL OF MATERIALS - MCP2210 BREAKOUT BOARD Reference Description_ Manufacturer Part Number 1 C1 Cap. Cer. 22 uF 10V 20% Y5V 1206 TDK® 3 C2, C4, C5 Cap. Cer. 1 uF 10% 16V X7R 0603 AVX Corporation 0603YC104KAT2A 1 C3 Cap. Cer. 4.7 uF 6.3V 10% X5R 0603 TDK Corporation C1608X5R0J475K 1 C6 Cap. Cer. 1 uF 16V 10% X7R 0603 TDK Corporation C1608X7R1C105K 2 J1, J2 DO NOT POPULATE Conn. Hdr. Male .
MCP2210 Evaluation Kit User’s Guide TABLE B-2: Qty BILL OF MATERIALS - MCP2210 SPI SLAVE MOTHERBOARD (CONTINUED) Reference Description_ Manufacturer Part Number 8 LD1, LD2, LD3, LD4, LD5, LD6, LD7, LD8 LED Smartled Red 630 nm 0603 OSRAM Opto Semiconductors GmbH. LS L29K-G1J2-1-0-2-R18-Z 1 PCB RoHS compliant bare PCB, MCP2210 SPI Slave Motherboard — 104-00420 13 R1, R2, R3, R4, R5, R6, R8, R9, R10, R12, R13, R14, R15 Res. 1k Ohm 1/10W 1% 0603 SMD Panasonic - ECG ERJ-3EKF1001V 1 R7 Res.
Bill of Materials NOTES: © 2012 Microchip Technology Inc.
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.