Microchip Technology MCP3422 Evaluation Board for PICkit Serial User guide

MCP3422
Evaluation Board
for PICkit™ Serial
User’s Guide
© 2008 Microchip Technology Inc. DS51781A
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, KEELOQ logo, MPLAB, PIC, PICmicro,
PICSTART, rfPIC, SmartShunt and UNI/O are registered trademarks of Microchip Technology Incorporated in the U.S.A. and other countries.
FilterLab, Linear Active Thermistor, 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, dsSPEAK, ECAN, ECONOMONITOR, FanSense, In-Circuit Serial Programming, ICSP, ICEPIC, Mindi, MiWi, MPASM, MPLAB Certified logo, MPLIB, MPLINK, mTouch, PICkit, PICDEM, PICDEM.net, PICtail, PIC
32
logo, PowerCal, PowerInfo, PowerMate, PowerT ool, REAL ICE, rfLAB, Select Mode, Total Endurance, 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.
© 2008, 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 T empe, 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 memo ry and analog products. In addition, Microchip’s quality system for the desig n and manufacture of development systems is ISO 9001:2000 certified.
®
MCUs and dsPIC® DSCs, KEELOQ
®
code hopping
DS51781A-page ii © 2008 Microchip Technology Inc.
MCP3422 EVALUATION BOARD FOR
PICkit™ SERIAL USER’S GUIDE
Table of Contents
Preface ...........................................................................................................................1
Introduction............................................................................................................1
Document Layout..................................................................................................1
Conventions Used in this Guide............................................................................2
Recommended Reading........................................................................................3
The Microchip Web Site........................................................................................ 3
Customer Support.................................................................................................3
Document Revision History...................................................................................3
Chapter 1. Quick Start Instructions
1.1 Introduction .....................................................................................................5
1.2 Description of the MCP3422 Evaluation Board ..............................................5
1.3 Getting Started with the PICkit Serial Analyzer .............................................. 6
Appendix A. Schematic and Layouts
A.1 Introduction ..................................................................................................21
A.2 Board Schematic ..........................................................................................22
A.3 Board – Top Layer ....................................................................................... 23
A.4 Board – Top Metal Layer .............................................................................24
A.5 Board – Bottom Layer .................................................................................25
Appendix B. Bill Of Materials (BOM)
Worldwide Sales and Service ....................................................................................28
© 2008 Microchip Technology Inc. DS51781A-page iii
MCP3422 Evaluation Board for PICkit™ Serial User’s Guide
NOTES:
DS51781A-page iv © 2008 Microchip Technology Inc.
MCP3422 EVALUATION BOARD FOR
PICkit™ SERIAL 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 MCP3422 Evaluation 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 MCP3422 Evalu a tio n Boa rd as a development tool to emulate and debug firmware on a t arget board. The manual layout is as follows:
Chapter 1. “Quick Start Instructions” – this chapter provide s an overview of the MCP3422 Evaluation Board and instruct ions on how to use theMCP3422 Evaluation Board with PICkit
Appendix A. “Schematic and Layouts” – shows the schematic and layout diagrams for the MCP3422 Evaluation Board.
Appendix B. “Bill Of Materials (BOM)” – lists the parts used to build the MCP3422 Evaluation Board.
TM
Serial Analyzer.
© 2008 Microchip Technology Inc. DS51781A-page 1
MCP3422 Evaluation Board for PICkit™ Serial User’s Guide

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
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 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 [,
A menu path File>Save
A tab Click the Power tab
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’
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)
{ ... }
DS51781A-page 2 © 2008 Microchip Technology Inc.

RECOMMENDED READING

This user's guide describes how to use MCP3422 Evaluation Board. Other useful documents are listed below. The following Microchip documents are available and recommended as supplemental reference resources.
PICkit™ Serial Analyzer User’s Guide, DS51647
Consult this document for instructions on how to use the PICkit Serial Analyzer hardware and software.
MCP3422 Data Sheet, “18-Bit, Multi-Channel ΔΣ Analog-to-Digital Converter with
2
I
C™ Interface and On-Board Reference”, DS22088
This data sheet provides detailed information regarding the MCP3422 product family.

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. Lo cal 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 (November 2008)
• Initial Release of this Document.
© 2008 Microchip Technology Inc. DS51781A-page 3
MCP3422 Evaluation Board for PICkit™ Serial User’s Guide
NOTES:
DS51781A-page 4 © 2008 Microchip Technology Inc.
MCP3422 EVALUATION BOARD FOR
PICkit™ SERIAL USER’S GUIDE

Chapter 1. Quick Start Instructions

1.1 INTRODUCTION

The following sections provide an overview of the MCP3422 Evaluation Board and demonstrate how to use it with the PICkit™ Serial Analyzer (P/N: DV164122).
The following topics are covered:
• Description of the MCP3422 Evaluation Board
• How to use the MCP3422 Evaluation Board with the PICkit Serial Analyzer

1.2 DESCRIPTION OF THE MCP3422 EVALUATION BOARD

The MCP3422 Evaluation Board (P/N MCP3422EV) contains a MCP3422 18-Bit Delta-Sigma Analog-to-Digital Converter (ADC). The MCP3422 is a 2-channel ADC device with various options. The MCP3422 Evaluation Board has analog inpu t connection pads and V test the conversion results using the PICkit Serial Analyzer and its PC graphic user interface (GUI). The MCP3422 Evaluation Board has the following interface:
• PICkit Serial Analyzer for writing configuration register bits and reading the conversion data.
, SDA, and SCL test pads. The user can connect inputs an d
DD
Note: The MCP3422 Evaluation Board can be used without the PICkit Serial
Analyzer as long as the V MCP3422 Evaluation Board does not include MCU.
The user can monitor the I SDA and SCL test pads. Refer to Appendix A. “Schematic and Layouts”.
2C
communications by connecting an oscilloscope to the
, SCL, and SDA are provided to the board. The
DD
1.2.1 I2C Address Bits for the MCP3422
The I2C device code and address bits of the MCP3422 device are programmed at factory:
• Device Code: ‘1101’
• A2, A1, A0 Address Bits: the MCP3422 device in the MCP3422 Evaluation Boar d uses default setting: (A2, A1, A0) = (0, 0, 0)
• Address Byte = 1101000R/W
© 2008 Microchip Technology Inc. DS51781A-page 5
MCP3422 Evaluation Board for PICkit™ Serial User’s Guide
FIGURE 1-1: Front View of the MCP3422 Evaluation Board.

1.3 GETTING STARTED WITH THE PICKIT SERIAL ANALYZER

Figure 1-1 shows the MCP3422 Evaluation Board and Figure 1-2 shows the MCP3422 Evaluation Board and PICkit Serial Analyzer.
The following instructions describe how to use them together:
1. Connect the MCP3422 Evaluation Board’s 6-pin socket to the PICkit Serial Analyzer, as shown in Figure 1-2.
2. Connect the oscilloscope probes to the SCL and SDA test pins (optional).
3. V
4. Connecting V
5. Connecting the analog inputs: If you need to measure a single-ended input,
Connecting the inputs: The MCP3422 Evaluation Board has input pads for
Selection: You can use the VDD from the PICkit Serial Analyzer or you can
DD
use your own external V (a) Connect JP1, if using V (b) Disconnect JP1 and apply V
: LED D1 turns on when VDD is applied. The PICkit Serial
DD
Analyzer will provide V
. The JP1 connector selects the VDD path.
DD
from PICkit Serial Analyzer.
DD
at VDD1 pin, if you are using an external VDD.
DD
automatically, if it is connected to the PC. Make sure
DD
LED D1 turns on, when you execute the command using the PICkit Serial Analyzer.
connect the unused pin (example, CHX-) to V
SS
.
analog inputs for each input channel. You can connect all inputs at the same time and multiplex the input channel using configuration register settings. You can also leave the unused channel inputs floating.
DS51781A-page 6 © 2008 Microchip Technology Inc.
Loading...
+ 22 hidden pages