MICROCHIP MCP212X Technical data

MCP212X
Developer’s Daughter Board
User’s Guide
© 2006 Microchip Technology Inc. DS51571B
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, Accuron, dsPIC, K
EELOQ, microID, MPLAB, PIC, PICmicro,
PICSTART, PRO MATE, PowerSmart, rfPIC and SmartShunt are registered trademarks of Microchip Technology Incorporated in the U.S.A. and other countries.
AmpLab, FilterLab, Migratable Memory, MXDEV, MXLAB, SEEVAL, SmartSensor 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, ECAN, ECONOMONITOR, FanSense, FlexROM, fuzzyLAB, In-Circuit Serial Programming, ICSP, ICEPIC, Linear Active Thermistor, Mindi, MiWi, MPASM, MPLIB, MPLINK, PICkit, PICDEM, PICDEM.net, PICLAB, PICtail, PowerCal, PowerInfo, PowerMate, PowerTool, REAL ICE, rfLAB, rfPICDEM, Select Mode, Smart Serial, SmartTel, Total Endurance, UNI/O, 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.
© 2006, Microchip Technology Incorporated, Printed in the U.S.A., All Rights Reserved.
Printed on recycled paper.
Microchip received ISO/TS-16949:2002 certification for its worldwide headquarters, design and wafer fabrication facilities in Chandler and Tempe, Arizona, Gresham, Oregon and Mountain View, California. The Company’s quality system processes and procedures are for its PICmicro 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.
®
8-bit MCUs, KEELOQ
®
code hopping devices, Serial
DS51571B-page ii © 2006 Microchip Technology Inc.
MCP212X DEVELOPER’S
DAUGHTER BOARD USER’S GUIDE
Table of Contents
Preface ........................................................................................................................... 1
Introduction............................................................................................................ 1
Document Layout .................................................................................................. 2
Conventions Used in this Guide ............................................................................ 3
Recommended Reading........................................................................................ 4
The Microchip Web Site ........................................................................................ 5
Customer Support ................................................................................................. 5
Document Revision History ................................................................................... 5
Chapter 1. Product Overview ....................................................................................... 7
1.1 Introduction ..................................................................................................... 7
1.2 What is the MCP212X Developer’s Daughter Board? .................................... 7
1.3 What the MCP212X Developer’s Daughter Board Kit Includes ...................... 8
Chapter 2. Installation and Operation ......................................................................... 9
2.1 Introduction ..................................................................................................... 9
2.2 Features ....................................................................................................... 10
2.3 Getting Started ............................................................................................. 11
2.4 Making a Demo System ............................................................................... 16
2.5 MCP212X Developer’s Daughter Board Description .................................... 18
Appendix A. Schematic and Layouts ........................................................................ 21
A.1 Introduction .................................................................................................. 21
A.2 Schematics and PCB Layout ....................................................................... 21
A.3 Board Schematic – Page 1 ........................................................................ 22
A.4 Board Schematic – Page 2 ........................................................................ 23
A.5 Board Layout – Component Layer ............................................................. 24
A.6 Board Layout – Top Layer .......................................................................... 25
A.7 Board Layout – Bottom Layer .................................................................... 26
Appendix B. Bill Of Materials (BOM) ......................................................................... 27
Appendix C. Board Testing ........................................................................................ 29
C.1 What is Tested ............................................................................................. 29
C.2 What is NOT Tested .................................................................................... 29
Appendix D. Using the MCP212X Developer’s Daughter Board with the
PICDEM™ HPC Explorer Demo Board ................................................ 31
D.1 demonstration using two PICDEM™ HPC Explorer Demo Boards ............. 31
© 2006 Microchip Technology Inc. DS51571B-page iii
MCP212X Developer’s Daughter Board User’s Guide
Appendix E. Using the MCP212X Developer’s Daughter Board with the
PICDEM™ FS USB Demo Board ...........................................................37
E.1 Demonstration with the PICDEM FS USB Demo Board .............................. 37
Appendix F. Configuring the HyperTerminal® Program ..........................................41
F.1 Configuring the Hyperterminal® Program .................................................... 41
Worldwide Sales and Service .....................................................................................46
DS51571B-page iv © 2006 Microchip Technology Inc.
MCP212X DEVELOPER’S
DAUGHTER 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.

INTRODUCTION

This chapter contains general information that will be useful to know before using the MCP212X Developer’s Daughter 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
© 2006 Microchip Technology Inc. DS51571B-page 1
MCP212X Developer’s Daughter Board User’s Guide

DOCUMENT LAYOUT

This document describes how to use the MCP212X Developer’s Daughter Board. The manual layout is as follows:
Chapter 1. “Product Overview” – Important information about the MCP212X
Developer’s Daughter Board.
Chapter 2. “Installation and Operation” – Includes a detailed description of
each function, as well as instructions on how to get started with this daughter board.
Appendix A. “Schematic and Layouts” – Shows the schematic and layout
diagrams for the MCP212X Developer’s Daughter Board.
Appendix B. “Bill Of Materials (BOM)” – Lists the parts used to build the
MCP212X Developer’s Daughter Board.
Appendix C. “Board Testing” – Discusses the testing of the MCP212X
Developer’s Daughter Board in several configurations.
Appendix D. “Using the MCP212X Developer’s Daughter Board with the PICDEM™ HPC Explorer Demo Board” – Shows how the MCP212X Developer’s Daughter Board can be demonstrated using the PICDEM™ HPC Explorer Demo Board.
Appendix E. “Using the MCP212X Developer’s Daughter Board with the PICDEM™ FS USB Demo Board” – Shows how the MCP212X Developer’s Daughter Board can be demonstrated using the PICDEM™ FS USB Demo Board.
Appendix F. “Configuring the HyperTerminal configuration of the HyperTerminal program used to demonstrate the MCP212X Developer’s Daughter Board system.
®
Program” – Shows the
DS51571B-page 2 © 2006 Microchip Technology Inc.

CONVENTIONS USED IN THIS GUIDE

This manual uses the following documentation conventions:
DOCUMENTATION CONVENTIONS
Description Represents Examples
Arial font:
Italic characters Referenced books MPLAB® IDE User’s Guide
Initial caps A window the Output window
Quotes A field name in a window or
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 [,
Preface
Emphasized text ...is the only compiler...
A dialog the Settings dialog A menu selection select Enable Programmer
“Save project before build”
dialog A menu path File>Save
A tab Click the Power tab
4‘b0010, 2‘hF1 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’
any valid filename
[options]
Choice of mutually exclusive arguments; an OR selection
Represents code supplied by user
errorlevel {0|1}
var_name...]
void main (void)
{ ...
}
© 2006 Microchip Technology Inc. DS51571B-page 3
MCP212X Developer’s Daughter Board User’s Guide

RECOMMENDED READING

This user's guide describes how to use the MCP212X Developer’s Daughter Board. The following Microchip documents are available and recommended as supplemental reference resources.
MCP2122 Data Sheet (DS21894)
This data sheet provides detailed information regarding the MCP2122 device.
MCP2120 Data Sheet (DS21618)
This data sheet provides detailed information regarding the MCP2120 device.
AN946, “Interfacing the MCP2122 to Host Controller” (DS00946)
This application note discusses the interface between a Host Controller and the MCP2122 device.
TB073, “Selecting a MCP21XX Device for IrDA
This technical brief discusses the selection of the MCP21XX devices for IrDA standard applications.
AN756, “Using the MCP2120 for Infrared Communications” (DS00756)
This application note discusses the encoding/decoding function of the MCP2120 as specified in the physical layer component of the IrDA
AN923, “Using the MCP2120 Developer’s Board for “IR Sniffing” (DS00923)
This application note discusses how one can use the MCP2120 Developer’s Board for “IR Sniffing”. This technique can assist in the debugging of an IrDA
®
Applications” (DS91073)
®
standard.
®
standard system.
®
The following documents may be useful, depending on which PICDEM™ demo board you are using with the MCP212X Developer’s Daughter Board.
PIC18F8722 Family Data Sheet (DS39646)
This data sheet provides detailed information regarding the PIC18F8722 device. This device is used on the PICDEM™ HPC Explorer Demo Board (DM183022).
PICDEM™ 2 Plus Demo Board User’s Guide (DS51275)
This user’s guide provides detailed information regarding the PICDEM™ 2 Plus Board (DM163022).
PIC16F87XA Family Data Sheet (DS39582)
This data sheet provides detailed information regarding the PIC16F87XA device. This device is used on the PICDEM™ 2 Plus Demo Board (DM163022).
PICDEM™ FS USB Demonstration Board User’s Guide (DS51526)
This user’s guide provides detailed information regarding the PICDEM™ Full-Speed USB Demo Board (DM163025).
PIC18F4550 Data Sheet (DS39632)
This data sheet provides detailed information regarding the PIC18F4550 device. This device is used on the PICDEM™ Full-Speed USB Demo Board (DM163025).
PICDEM™ LCD Demo Board User’s Guide (DS51536)
This user’s guide provides detailed information regarding the PICDEM™ LCD Demo Board (DM163028).
PIC18F8490 Data Sheet (DS39629)
This data sheet provides detailed information regarding the PIC18F8490 device. This device is used on the PICDEM™ LCD Demo Board (DM163028).
DS51571B-page 4 © 2006 Microchip Technology Inc.

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

CUSTOMER SUPPORT

Users of Microchip products can receive assistance through several channels:
• Distributor or Representative
• Local Sales Office
• Field Application Engineer (FAE)
• Technical Support
• Development Systems Information Line
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
Preface

DOCUMENT REVISION HISTORY

Revision B (July 2006)
• Add disclaimer to Bill of Materials regarding RoHS-Compliant part numbers.
Revision A (August 2005)
• Initial Release of this Document.
© 2006 Microchip Technology Inc. DS51571B-page 5
MCP212X Developer’s Daughter Board User’s Guide
NOTES:
DS51571B-page 6 © 2006 Microchip Technology Inc.
MCP212X DEVELOPER’S
DAUGHTER BOARD USER’S GUIDE

Chapter 1. Product Overview

1.1 INTRODUCTION

This chapter provides an overview of the MCP212X Developer’s Daughter Board and covers the following topics:
• What is the MCP212X Developer’s Daughter Board?
• What the MCP212X Developer’s Daughter Board kit includes

1.2 WHAT IS THE MCP212X DEVELOPER’S DAUGHTER BOARD?

The MCP212X Developer’s Daughter Board is used to evaluate and demonstrate the MCP2122 or MCP2120 IrDA
®
Standard Encoder/Decoder device. This allows the system designer to implement a low-cost, wireless IR port in any application providing support for IrDA standard bit encoding/decoding.
The MCP212X Developer’s Daughter Board is designed to interface to several of the “new” low-cost PICmicro
®
microcontroller-based demonstration (demo) boards, or to be interfaced into your application. Multiple header interfaces are available that allow support for the many different PICDEM™ Demo Boards, as well as being easily jumpered into systems for development purposes. Table 1-1 shows some of the PICDEM demo boards that are supported.
Depending on the features of the PICmicro Microcontroller Unit (MCU) and the selected demo board, the MCP2122 TX and RX signals can either be connected (jumpered) directly to the RS-232 line driver or to the PICmicro MCU’s RX and TX signals. The PICmicro MCU could process that data and then send it out of the UART.
TABLE 1-1: PICDEM™ DEMO BOARD SUPPORT
Name
PICDEM™ HPC Explorer Board
PICDEM™ LCD DM163028 DS51536 PIC18F8490 J1, J2 Y Y
PICDEM™ Full-Speed USB DM163025 DS51526 PIC18F4550 J3 Y N/A
PICDEM™ 2 Plus DM163022 DS51275 PIC16F877,
User Embedded System N/A HD1 Y
Note 1: Other boards may also be supported. Please refer to the MCP212X Developer’s Daughter Board and
desired PICDEM™ Demo Board documentation to determine if the boards you are using are supported.
2: For proper orientation of the daugter board to the PICDEM™ demo board, Revision 5 of the PICDEM™
HPC Explorer Board is recommended. Revision 4 will function, but the direction of the optical transceiver will be facing the same side as the serial port connector.
3: The MCP212X Developer’s Daughter Board allows the MCP212X TX and RX signals to be routed to
different header connections. This may allow the system to support multiple configurations, such as being either connected to the PICmicro communicate via the DB-9 connector).
Order
Number
(2)
DM183022 DS51540 PIC18F8722 J1, J2 Y Y
Literature #
®
MCU USART or to the RS-232 driver (allows the MCP212X to directly
(1)
Host Controller
(PICmicro® MCU)
Supported
PIC18F452
Header(s)
Used
J3 Y N
TX/RX Signals to
Host
Controller
RS-232
(3)
© 2006 Microchip Technology Inc. DS51571B-page 7
MCP212X Developer’s Daughter Board User’s Guide

1.3 WHAT THE MCP212X DEVELOPER’S DAUGHTER BOARD KIT INCLUDES

This MCP212X Developer’s Daughter Board Kit includes:
• The MCP212X Developer’s Daughter Board (with MCP2122 installed)
• A MCP2120 sample device
• MCP212X Developer’s Daughter Board User’s Guide (Electronic version on CD-ROM)
• PICDEM™ HPC Explorer Board firmware (on CD-ROM)
• PICDEM™ USB Board firmware (on CD-ROM)
• Analog and Interface Products Demonstration Boards CD-ROM (DS21912)
DS51571B-page 8 © 2006 Microchip Technology Inc.

Chapter 2. Installation and Operation

2.1 INTRODUCTION

This chapter discusses the operation of the MCP212X Developer’s Daughter Board and how it can be used in conjunction with some of Microchip’s low-cost PICDEM™ Demo Boards or easily connected to your system.
When the MCP212X Developer’s Daughter Board is used in conjunction with one of the low-cost PICDEM™ Demo Boards, it demonstrates the implementation of an embedded system with an IrDA A second encoder/decoder system is required to demonstrate system operation.
The Host UART interface includes only the TX and RX signals. A discussion of the Host UART interface is given in the following application note:
•AN946, “Interfacing the MCP2122 to the Host Controller” (DS00946)
MCP212X DEVELOPER’S
DAUGHTER BOARD USER’S GUIDE
®
standard physical layer interface (encoder/decoder).
© 2006 Microchip Technology Inc. DS51571B-page 9
MCP212X Developer’s Daughter Board User’s Guide

2.2 FEATURES

The MCP212X Developer’s Daughter Board has the following features:
• Dual Header to connect to:
- PICDEM™ HPC Explorer Demo Board
- PICDEM™ LCD Demo Board
• Header to connect to:
- PICDEM™ Full-Speed USB Demo Board
- PICDEM™ 2 Plus Demo Board
• Header to easily connect to the user’s embedded system
• Installed optical transceiver circuit using:
-Vishay
• Footprint for optional optical transceiver circuits using:
- Vishay TFDU 4100
- Agilent
• Jumpers to select connection point (header) for the following signals:
-TX
-RX
-16XCLK
• Jumpers to “swap” TX and RX so that the MCP2120 can directly communicate over the PICDEM™ HPC Explorer Board’s DB-9 connector
• Jumpers which can be used by the PICDEM demo board firmware program to determine the mode of operation
• 8-pin DIP socket for the installation of the MCP2122
• 14-pin DIP socket for the installation of the MCP2120
• MCP2120’s crystal is socketed to allow ease of crystal selection
®
TFDU 4300
®
HSDL 3000
TABLE 2-1: PICDEM™ DEMO BOARD SUPPORT
PICmicro®
MCU Demo
Board Name
PICDEM™ HPC Explorer
PICDEM™ LCD DM163028 PIC18F8490 UART Yes DS51536 MCU firmware could support:
PICDEM™ Full-Speed USB
PICDEM™ 2 Plus
Part #
DM183022 PIC18F8722 UART Yes DS51540 MCU firmware could support:
DM163025 PIC18F4550 USB DS51526 MCU firmware could support:
DM163022 PIC16F877/
PICmicro
MCU
PIC18F452
MCU
®
Interface
to PC
UART DS51275 MCU firmware could support:
MCP2122
RX/TX direct
access to DB9
User’s
Guide Lit. #
Comment
• MCP2122 MCU
• MCP2122 PC
(UART)
• MCP2122 MCU PC (UART)
• MCP2122 MCU
• MCP2122 PC (UART)
• MCP2122 MCU PC (UART) DB-9 does not have CTS signal
• MCP2122 MCU
• MCP2122 MCU PC (USB)
• MCP2122 MCU
DS51571B-page 10 © 2006 Microchip Technology Inc.

2.3 GETTING STARTED

This section presents an overview of the following system blocks:
• The MCP212X Developer’s Daughter Board Hardware
• The MCP212X Developer’s Daughter Board Firmware
2.3.1 The MCP212X Developer’s Daughter Board Hardware Overview
The major components for the MCP212X Developer’s Daughter Board are:
1. MCP2122 device (U4).
2. MCP2120 device socket (U1).
3. Optical transceiver (U5 – Vishay TFDU 4300).
4. Headers H1 and H2.
5. Header H3.
6. Header HD1.
7. Jumpers to route the TX, RX and 16XCLK signals.
8. Jumpers to select the baud rate and mode.
9. Footprint for two different optional optical transceiver circuits (Vishay TFDU 4100 and Agilent HSDL 3000).
10. MCP2120 crystal (Y2).
The MCP212X Developer’s Daughter Board is assembled and tested to allow for the evaluation and demonstration of the MCP2122 or MCP2120 features. A schematic of the circuit, as well as the corresponding PCB layout, is shown in Appendix A. “Schematic and Layouts”. Appendix B. “Bill Of Materials (BOM)” shows two tables; the first is the components that are installed, while the second lists the optional components that are not installed.
The component layout floor plan is shown in Figure 2-1.
Installation and Operation
© 2006 Microchip Technology Inc. DS51571B-page 11
Loading...
+ 35 hidden pages