MCP2221 Breakout Module User’s Guide 2014 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.
Object of Declaration: MCP2221 Breakout Module 2014 Microchip Technology Inc.
MCP2221 Breakout Module User’s Guide NOTES: DS50002282A-page 4 2014 Microchip Technology Inc.
MCP2221 BREAKOUT MODULE USER’S GUIDE Table of Contents Preface ........................................................................................................................... 7 Introduction............................................................................................................ 7 Document Layout .................................................................................................. 7 Conventions Used in this Guide ....................................................
MCP2221 Breakout Module User’s Guide NOTES: DS50002282A-page 6 2014 Microchip Technology Inc.
MCP2221 BREAKOUT MODULE 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.
MCP2221 Breakout Module 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 the MCP2221 Breakout Module. Another useful document is listed below. The following Microchip document is available and recommended as a supplemental reference resource. • MCP2221 Data Sheet – “USB 2.0 to I2C/UART Protocol Converter with GPIO” (DS20005292) THE MICROCHIP WEB SITE Microchip provides online support via our web site at www.microchip.com.
MCP2221 Breakout Module User’s Guide NOTES: DS50002282A-page 10 2014 Microchip Technology Inc.
MCP2221 BREAKOUT MODULE USER’S GUIDE Chapter 1. Product Overview 1.1 INTRODUCTION This chapter provides an overview of the MCP2221 Breakout Module and covers the following topics: • MCP2221 Breakout Module General Description • What the MCP2221 Breakout Module Kit Contains 1.2 MCP2221 BREAKOUT MODULE GENERAL DESCRIPTION The MCP2221 Breakout Module is a development and evaluation platform for the MCP2221 device. The module is comprised of a single DIP form factor board.
MCP2221 Breakout Module User’s Guide NOTES: DS50002282A-page 12 2014 Microchip Technology Inc.
MCP2221 BREAKOUT MODULE USER’S GUIDE Chapter 2. Installation and Operation 2.1 INTRODUCTION The MCP2221 Breakout Module is designed to demonstrate the device as a USB-to-UART/I2C/SMBus protocol converter solution.
MCP2221 Breakout Module User’s Guide FIGURE 2-1: 2.3 BREAKOUT MODULE LAYOUT BOARD OPERATION The MCP2221 will be detected by a Windows-based PC host as a composite device. The accompanying software can be used to exercise the board’s features and also provides a reference point for users who want to design their own applications based on the MCP2221 device. 2.3.1 MCP2221 Breakout Module Operation The MCP2221 Breakout Module can be used together with UART-based and/or I2C/SMBus systems.
Installation and Operation • Jumper-selectable power supply: 3.3 or 5V (up to 500 mA) • PICkit Serial Analyzer header – the board can be directly plugged into systems that have this type of header. The MCP2221 Breakout Module provides UART-to-USB and USB-to-I2C/SMBus access.
MCP2221 Breakout Module User’s Guide NOTES: DS50002282A-page 16 2014 Microchip Technology Inc.
MCP2221 BREAKOUT MODULE USER’S GUIDE Chapter 3. Software Description 3.1 INTRODUCTION The I2C/SMBus functionality of the MCP2221 Breakout Module requires a Microsoft® Windows® XP/7/8 operating system and a USB port. To run the software, follow the steps described in this section. 1. Connect the MCP2221 Breakout Module to the PC using the provided USB cable. 2. To start the I2C®/SMBus Terminal application, select Start > All Programs > Microchip > MCP2221 I2C/SMBus Terminal.
MCP2221 Breakout Module User’s Guide 3.3 CONFIGURING PARAMETERS As depicted in Figure 3-1, the MCP2221 Breakout Module user interface is divided into three parts: • Commands Panel • Settings Panel • Operating Status Box 3.3.1 Commands Panel Figure 3-2 shows a detailed view of the Commands panel. FIGURE 3-2: 3.3.1.1 COMMANDS PANEL “ON” CHECK BOX This check box is used when pressing the Send All button. Data lines that have the check box enabled will be sent to the slave. 3.3.1.
Software Description 3.3.1.7 “PEC” (PACKET ERROR CHECK) FIELD This field is used for SMBus only and will enable/disable the error checking for SMBus packets. 3.3.1.8 “DELAY” FIELD This field is used to insert the delay period after the message has been sent. To enable the delay, press the Send All button. 3.3.1.9 “SEND” FIELD When pressing the Send button on the selected field, the command will be transmitted from the corresponding line to the slave. 3.3.1.
MCP2221 Breakout Module User’s Guide FIGURE 3-4: COMMAND SELECTION Select all lines Select one line Command lines can be rearranged by left clicking on a line, then dragging and dropping it into the desired location. 3.3.2 Settings Panel Figure 3-5 shows a detailed view of the Settings panel. FIGURE 3-5: SETTINGS PANEL Settings Advanced Settings 3.3.2.1 SELECT DEVICE This drop-down menu contains a list of the connected MCP2221 devices.
Software Description To display the Advanced Settings panel, press the Advanced Settings button. The options in the Advanced Settings panel are described below. 3.3.2.4 CUSTOM DEVICE OPTIONS The terminal can be used with MCP2221 devices which have been configured with different VID and PID values. To connect to a custom device, provide the VID and PID values and press the Apply button so the new settings take effect.
MCP2221 Breakout Module User’s Guide 3.4 EXAMPLE FOR INTERFACING WITH THE MCP23008 (8-BIT I/O EXPANDER) 1. If multiple MCP2221 devices are connected, choose the one to be used from the Select Device drop-down menu. Also, select the desired communication speed from the Speed list, as shown in Figure 3-7. FIGURE 3-7: DEVICE SETTINGS 2. With A0, A1, A2 pins on the board tied to a 0 logic level, select the protocol, address length, slave address and whether the operation is a read or a write (Figure 3-8).
Software Description 4. The command sequence in Figure 3-10 sets the address for the GPIO register and reads one byte of data from the slave, obtaining the value from the register. FIGURE 3-10: READ SEQUENCE 5. The results of the four commands sent in steps 3 and 4 are shown in Figure 3-11. FIGURE 3-11: 2014 Microchip Technology Inc.
MCP2221 Breakout Module User’s Guide NOTES: DS50002282A-page 24 2014 Microchip Technology Inc.
MCP2221 BREAKOUT MODULE USER’S GUIDE Appendix A. Schematic and Layouts A.1 INTRODUCTION This appendix contains the following schematics and layouts for the MCP2221 Breakout Module: • • • • • • • Board – Schematic Board – Top Silk Board – Top Copper and Silk Board – Top Copper Board – Bottom Silk Board – Bottom Copper and Silk Board – Bottom Copper 2014 Microchip Technology Inc.
MCP2221 Breakout Module User’s Guide A.2 BOARD – SCHEMATIC U2 5V C2 4.7uF 10V 0805 0.1uF 16V 0603 GND VOUT GND 3 2 C1 VIN 3.3V 5V 1 2 3 C3 J4 4.7uF 10V 0805 GND VBUS DD+ ID GND 0 GND HDR-2.54 Male 1x3 USB MINI-B Female JP1 GND J5 1 2 3 4 5 USB_N USB_P MCP1825S/3.3V 1 GND 5V VDD VUSB Shunt 2.54mm 1x2 Handle VDD C5 5 DNP GP0 GP1 RESET RX TX GP2 4 1 2 3 4 5 6 7 HDR-2.
Schematic and Layouts A.3 BOARD – TOP SILK A.4 BOARD – TOP COPPER AND SILK 2014 Microchip Technology Inc.
MCP2221 Breakout Module User’s Guide A.5 BOARD – TOP COPPER A.6 BOARD – BOTTOM SILK DS50002282A-page 28 2014 Microchip Technology Inc.
Schematic and Layouts A.7 BOARD – BOTTOM COPPER AND SILK A.8 BOARD – BOTTOM COPPER 2014 Microchip Technology Inc.
MCP2221 Breakout Module User’s Guide NOTES: DS50002282A-page 30 2014 Microchip Technology Inc.
MCP2221 BREAKOUT MODULE USER’S GUIDE Appendix B. Bill of Materials TABLE B-1: BILL OF MATERIALS Qty Reference Description Manufacturer Part Number 2 C1, C3 Cap. cer. 4.7 µF 10V 10% X5R SMD 0805 Taiyo Yuden Co., Ltd. LMK212BJ475KD-T 2 C2, C5 Cap. cer. 0.1 µF 16V 10% X7R SMD 0603 NIC Components Corp. NMC0603X7R104K16TRPF 1 C4 Cap. cer. 0.47 µF 6.3V 10% X5R SMD 0603 Murata Electronics® GRM188R60J474KA01D 1 J3 Conn. hdr - 2.
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.