Microchip Technology MCP42XX, MCP42XX PICtail Plus User Manual

MCP42XX
PICtail™ Plus
Daughter Board
User’s Guide
© 2008 Microchip Technology Inc. DS51759A
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,
PICSTAR T, rfPIC and SmartShunt are registered trademarks of Microchip T echnology 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, 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.
© 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
DS51759A-page ii © 2008 Microchip Technology Inc.
MCP42XX PICTAIL™ PLUS
DAUGHTER BOARD 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. Product Overview
1.1 Introduction .....................................................................................................5
1.2 What is the MCP42XX PICtail Plus Daughter Board? ....................................6
1.3 What the MCP42XX PICtail Plus Daughter Board Kit includes ...................... 7
Chapter 2. Installation and Operation
2.1 Introduction .....................................................................................................9
2.2 Features .........................................................................................................9
2.3 Getting Started .............................................................................................10
2.4 Explorer 16 Daughter Demo Board Demos ..................................................14
Appendix A. Schematic and Layouts
A.1 Introduction ..................................................................................................29
A.2 Schematics and PCB Layout ....................................................................... 29
A.3 Board - Schematic .......................................................................................30
A.4 Board – Top Silk-screen Layer ....................................................................31
A.5 Board – Top Components + Silk-Screen .....................................................32
A.6 Board – Ground Layer .................................................................................33
A.7 Board – Power Layer ................................................................................... 34
A.8 Board – Bottom Layer .................................................................................. 35
Appendix B. Bill Of Materials (BOM) Appendix C. Board Testing
C.1 Introduction ..................................................................................................39
C.2 What is Tested .............................................................................................40
C.3 What is NOT Tested .................................................................................... 40
Worldwide Sales and Service ....................................................................................42
© 2008 Microchip Technology Inc. DS51759A-page iii
MCP42XX PICtail™ Plus Daughter Board User’s Guide
NOTES:
DS51759A-page iv © 2008 Microchip Technology Inc.
MCP42XX PICTAIL™ PLUS
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.
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 MCP42XX PICtail Plus Daughter Board User’s Guide. 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 MCP42XX PICtail Plus Daughter Boar d User’s Guide as a development tool to emulate and debug firmware on a ta rget board. The manual layout is as follows:
Chapter 1. “Product Overview” – Important information about the MCP42XX PICtail Plus Daughter Board User’s Guide.
Chapter 2. “Installation and Operation” – Includes instructions on how to get started with this user’s guide and a description of the user’s guide.
Appendix A. “Schematic and Layouts” – Shows the schematic and layout diagrams for the MCP42XX PICtail Plus Daughter Board User’s Guide.
Appendix B. “Bill Of Materials (BOM)” – Lists the parts used to build the MCP42XX PICtail Plus Daughter Board User’s Guide.
Appendix C. “Board Testing” – Describes the testing method for the MCP42XX PICtail Plus Daughter Board User’s Guide and what aspects of the board are and are not tested.
© 2008 Microchip Technology Inc. DS51759A-page 1
MCP42XX PICtail™ Plus Daughter Board 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)
{ ... }
DS51759A-page 2 © 2008 Microchip Technology Inc.

RECOMMENDED READING

This user's guide describes how to use MCP42XX PICtail Plus Daughter Board User’s Guide. Other useful documents are listed below. The following Microchip documents are available and recommended as supplemental reference resources.
AN1080 Application Note, “Understanding Digital Potentiometer Resistor Varia­tions”, DS01080
These data sheets provides detailed information regarding the MCP41XX/42XX product family:
MCP413x/415x/423x/425x Data Sheet, “7/8-Bit Single/Dual SPI Digital POT with Non-Volatile Memory“, DS22059
MCP414x/416x/424x/426x Data Sheet, “7/8-Bit Single/Dual SPI Digital POT with Volatile Memory“, DS22060

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 (September 2008)
• Initial Release of this Document.
© 2008 Microchip Technology Inc. DS51759A-page 3
MCP42XX PICtail™ Plus Daughter Board User’s Guide
NOTES:
DS51759A-page 4 © 2008 Microchip Technology Inc.

Chapter 1. Product Overview

1.1 INTRODUCTION

The MCP42XX PICtail Plus Daughter Board demonstrates the features and abilities of Microchip’s MCP41XX and MCP42XX Digital Potentiometers. This board is designed to exclusively use the MCP42XX devices.
The MCP41XX and MCP42XX are Digital Potentiometers with an SPI interface. These devices have either 7-bits or 8-bits of resolution, single or dual offering, and are available as either volatile or non-volatile memory options.
This board is designed to easily operate with any of the following:
• PIC24 Explorer 16 Demo Board (DM240001)
• PICkit™ Serial Analyzer (DV164122)
• Other PICDEM Demo Board that includes a PICtail Plus female connector
The use of the PIC24 Explorer 16 Demo Board (DM240001) will require a tool to program the supplied firmware into the PIC24FJ128GA010 device. The use of any other PICDEM Demo Board will require the user to modify the supplied “C” source program appropriately.
The use of the PICkit Serial Analyzer will require the PC GUI interface program to control the command and data sent to the MCP42XX devices serial port. The PICkit Serial Analyzer GUI may be used, or the provided dedicated GUI may be used. The source code for this dedicated GUI is available, but not supported (as is).
This chapter covers the following topics:
• What is the MCP42XX PICtail Plus Daughter Board?
• What the MCP42XX PICtail Plus Daughter Board Kit includes
MCP42XX PICTAIL™ PLUS
DAUGHTER BOARD USER’S GUIDE
© 2008 Microchip Technology Inc. DS51759A-page 5
MCP42XX PICtail™ Plus Daughter Board User’s Guide
PICkit Serial Analyzer Interface (SPI)
Not Installed
Connects Wipers (W0 and W1) to PIC24 Analog Inputs
Connects Explorer 16 +5V signal to AVDD signal
Selects source of Terminal A0 Voltage. Either AVDD or VA0
Selects source of Terminal B0 Voltage. Either A VSS or VB0
Selects source of Terminal A1 Voltage. Either AVDD or VA1
Selects source of Terminal B1 Voltage. Either AVSS or VB1

1.2 WHAT IS THE MCP42XX PICTAIL PLUS DAUGHTER BOARD?

The MCP42XX PICtail Plus Daughter Board is used to demonstrate the use of Digital Potentiometers. This board is designed to be used in conjunctio n with either the PIC24 Explorer 16 Demo Board or the PICkit™ Serial Anal yzer . Figu re 1-1 shows the boards component placement and the purpose of the jumpers.
The board has an MCP4261-103 (10 kΩ) device for evaluation. This device is in the TSSOP package (U2). This is a dual 8-bit Non-Volatile Potentiometer device. The MCP4261 uses an SPI interface and can be controlled via the PICkit Serial Analyzer interface (J1) or via the PICtail Plus interface (J3).
When using the PICtail Plus interface, the CS high voltage commands. This is done by controlling the selection of the analog switch device (U1).
Jumpers allow the Terminal A and T erminal B voltages to be tied to AVDD and VSS, or come from and external source.
voltages can be ta ken to a V
level for
IHH
DS51759A-page 6 © 2008 Microchip Technology Inc.
FIGURE 1-1: MCP42XX Explorer 16 Daughter Board Demo Boar d Connectors.
Product Overview
Some of the features of the board include:
• PICkit Serial Analyzer Interface (J1)
• PICtail Plus Interface (J3)
• MAX4582L High Voltage analog switch to allow CS of four voltages (V
• Jumpers (JP2:JP3) to connect Wiper pins (W0 and W1) to PICDEM Analog Channels
• Jumper (JP1) to allow AVDD to be driven by external power supply while connected to PICDEM board or PICkit Serial Analyzer
• Jumpers to allow Terminal A pins to be connected to AV
• Jumpers to allow Terminal B pins to be connected to V
• Connection point for easy connection to Resistor Network Terminal pins
, 3.3V, 5.0V, or 9.0V) - High Voltage command support
SS

1.3 WHAT THE MCP42XX PICTAIL PLUS DAUGHTER BOARD KIT INCLUDES

This MCP42XX PICtail Plus Daughter Board Kit includes:
• One MCP42XX PICtail Plus Daughter Board, 102-00182
• Analog and Interface Products Demonstration Boards CD-ROM (DS21912)
- MCP42XX PICtail™ Plus Daughter Board User’s Guide, (DS51759)
- PICkit Serial Analyzer PC GUI (executable and source code) - supplied “As
Is”
voltage to be selected as one
or VAx pad
DD
or VBx pad
SS
© 2008 Microchip Technology Inc. DS51759A-page 7
MCP42XX PICtail™ Plus Daughter Board User’s Guide
NOTES:
DS51759A-page 8 © 2008 Microchip Technology Inc.

Chapter 2. Installation and Operation

2.1 INTRODUCTION

The MCP42XX PICtail Plus Daughter Board is used to demonstrate the operation of Digital Potentiometer. The operation of the MCP41XX devices is similar to the MCP42XX devices. Therefore, this demo board can be used as a development plat­form for either device family.
This board is designed to be used in conjunction with either the PIC24 Explorer 16 Demo Board or the PICkit™ Serial Analyzer.

2.2 FEATURES

This board supports the following features
• Each digital potentiometers Terminal A pin can be individually connected to either AV
DD
• Each digital potentiometers Terminal B pin can be individually connected to either AV
SS
• Can control the voltage on the MCP4261’s CS pin to either V
9.0V via control signals from the PICtail Plus interface (J3)
• Can Control the MCP4261 via the PICkit™ Serial Analyzer interface (J1)
• PIC24 can monitor the voltage levels of the MCP4261’s W0 and W1 pins
• Supplied with a “C” program that demonstrates normal and high voltage commands
• Demonstrates a split rail application, with digital logic at 3.3V and analog operation at 5.0V
MCP42XX PICTAIL™ PLUS
DAUGHTER BOARD USER’S GUIDE
or the corresponding VAx pad
or the corresponding VBx pad
, 3.3V, 5.0V, or
SS
© 2008 Microchip Technology Inc. DS51759A-page 9
MCP42XX PICtail™ Plus Daughter Board User’s Guide
PICVDD
R
AB0
R
AB1
CS0
SDI
SDO
AV
DD
R
1
R2
JP3
VA1
AV
DD
Pin # SPI Name I2C Name
1 2 3 4 5 6 7 8 9
10
11 12 13 14
CS SCK SDI VSS P1B P1W P1A P0A P0W P0B WP SHDN SDO VDD
HVC/A0 SCL SDA VSS P1B P1W P1A P0A P0W P0B WP A2 A1 VDD
Pin # SPI Name I2C Name
6 5 4 3 2 1
SDO SCK SDI VSS VDD CS
— SCL SDA VSS VDD —
PICkit Serial 6-Pin Interface
C1
VSS
VSS
AVDD
VSS
SCK
WP
SHDN
R3
R4
R5
R6
R7
RB2 (CS0)
SDI
SDO
RF0 (WP
)
RF1 (SHDN
)
JP4
VB1
V
SS
VW1
JP1
VA0
AVDD
JP2
VB0
V
SS
VW0
H1 (PICkit Serial Interface)
CS V
DD
VSS SDI2 SCK2 SDO2
PIC Explorer 16 Interface
J1
MCP4261
(TSSOP)
SCK
RB0/AN0 RB1/AN1
VW0
J2
VW1
J3
SDA2
RF2
C2
RF3 SCL1 SDA1 V
SS
AN1 RB4/AN4
V
SS
RE8 RD15 +3.3V +5.0V +9.0V RF0 RF1 RF4 RF5 SCL2 SDA2
RB2
SCK1
SDI1
SDO1
V
SS
AN0
RB3/AN3
V
SS
RE9 RD14 +3.3V +5.0V +9.0V
RG0 RG1 RG9
SCK2
SDI2
SDO2
Connector Orientation Notch
1
2
+5.0V +3.3V
+9.0V
V
SS
Y0
Y
Y1 Y2
Y3
CS0
A B
EN
RD15
RD14
V
DD
+9.0V
VSS
RB2
VSS
VSS
C
VSS
(+5.0V)
MAX4582L
H2 (PICkit Serial Interface)
NC V
DD
VSS SDA SCL NC
SCL2
(To SDI)
(To SDO) (To SCK)

2.3 GETTING STARTED

Figure 2-1 shows a simplified circuit for the MCP42XX PICtail Plus Daughter Board. The layout of the board is shown in Figure 2-3. This board can be operated with ei ther a PICDEM board with a PICtail Plus header or the PICkit Serial Analyzer. The MCP42XX PICtail Plus Daughter Board kit comes with firmware for the Explorer 16 Star ter Kit (DV164033). The layout of this board is shown in Figure 2-5.
The MCP42XX PICtail Plus Daughter Board supports the following Microchip Digital Potentiometer devices; which allows demonstration of all MCP42XX devices
•MCP42X1
FIGURE 2-1: MCP41XX Simplified Circuit.
DS51759A-page 10 © 2008 Microchip Technology Inc.
Loading...
+ 32 hidden pages