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.
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.
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.
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.
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 Variations”, 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
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
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.2WHAT 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.
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 platform 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.2FEATURES
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
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