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,
PICMASTER, 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, dsPICDEM,
dsPICDEM.net, dsPICworks, ECAN, ECONOMONITOR,
FanSense, FlexROM, fuzzyLAB, In-Circuit Serial
Programming, ICSP, ICEPIC, Linear Active Thermistor,
MPASM, MPLIB, MPLINK, MPSIM, 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.
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.
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
MCP3551 PICtail™ Demo 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 MCP3551 PICtail™ Demo Board as a
development tool to emulate and debug firmware on a target board. The manual layout
is as follows:
• Chapter 1. “Product Overview” – Important information about the MCP3551
PICtail™ Demo Board.
• Chapter 2. “Installation and Operation” – Includes instructions on how to get
started with the MCP3551 PICtail™ Demo Board.
• Appendix A. “Schematic and Layout” – Shows the schematic and layout
diagrams for the MCP3551 PICtail™ Demo Board.
• Appendix B. “Bill Of Materials (BOM)” – Lists the parts used to build the
Choice of mutually exclusive
arguments; an OR selection
Represents code supplied by
user
“Save project before build”
any valid filename
[options]
errorlevel {0|1}
var_name...]
void main (void)
{ ...
}
®
IDE User’s Guide
RECOMMENDED READING
This user's guide describes how to use the MCP3551 PICtail™ Demo Board. The
following Microchip documents are available and recommended as supplemental
reference resources.
MCP3550/1/3 Data Sheet, “Low-Power, Single-Channel 22-Bit Delta-Sigma
ADCs” (DS21950)
This data sheet provides detailed information regarding the MCP3550/1/3 product
family.
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
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 C (March 2006)
• Updated Bill of Materials (BOM) to show RoHS-compliant part numbers
This chapter provides an overview of the MCP3551 PICtail™ Demo Board and covers
the following topics:
• What is the MCP3551 PICtail™ Demo Board?
• What the MCP3551 PICtail™ Demo Board Kit includes
1.2WHAT IS THE MCP3551 PICtail™ DEMO BOARD?
The MCP3551 PICtail™ Demo Board allows the system designer to evaluate the
operation of the MCP3551 22-Bit Delta-Sigma Analog-to-Digital Converter (ADC). The
board demonstrates the MCP3551 performance in a low-noise environment.
1.3WHAT THE MCP3551 PICtail™ DEMO BOARD KIT INCLUDES
This MCP3551 PICtail™ Demo Board Kit includes:
• One MCP3551 PICtail™ Demo Board
•DataView
• MCP3550/1/3 Data Sheet (electronic version on CD)
• MCP3551 PICtail™ Demo Board User’s Guide (electronic version on CD)
®
software for viewing the performance of the MCP3551
This chapter discusses the setup and operation of the MCP3551 PICtail™ Demo
Board.
The MCP3551 PICtail™ Demo Board is designed to demonstrate Microchip
Technology’s MCP3551 22-Bit Delta-Sigma Analog-to-Digital Converter performance
using the DataView software installed on a Personal Computer (PC). The demo board
can be used with the MPLAB
Development Programmer for developing demonstration/evaluation firmware.
This demo board is designed to evaluate the MCP3551 with minimum Printed Circuit
Board (PCB) noise. The PCB layout practices low-noise design to reduce the signal
noise as much as possible in order to demonstrate the 22-bit performance of the
MCP3551.
2.2FEATURES
The MCP3551 PICtail™ Demo Board has the following features:
• Three precision potentiometers for demonstrating the capabilities of the MCP3551
• USB interface for connecting to a PC
• On-board PIC18F4550 Microcontroller Unit (MCU) with USB for communication
with DataView software
• DataView software with easy-to-read format and data logging
• Three headers/connectors for programming the PIC18F4550 MCU using any of
the following (see schematic):
The MCP3551 PICtail™ Demo Board is a fully functional, assembled and tested board
for evaluation of the MCP3551 22-Bit Delta-Sigma ADC. The board is engineered to
provide a virtually noise-free analog signal to the MCP3551, so that the capabilities of
the device can be observed using a PC loaded with the DataView software.
The setup process is as follows:
1. Install the DataView software.
2. Since the board can be powered by USB power or with a 5V power supply,
connect only the USB cable or the USB cable and
3. After applying power, the “Power” LED (D1) will illuminate and either D4
(externally-powered) or D7 (USB-powered) will illuminate.
4. The drivers will automatically install the first time the board is connected.
5. Run the DataView software.
V
REF
SMA
a separate 5V power supply.
®
MPLAB
ICD 2
USB
SMA
Z5
Open
Z6
Open
Z7
Open
Note: Resistors are for
initial demonstration
purposes only and must
be removed for sensor
evaluation.
The board can be powered directly from the USB cable or self-powered. LEDs, D4 and
D7, indicate how the board is powered.
To power the board via the USB, simply connect the USB cable. D7 will illuminate.
To self-power the board, connect a 5V power supply to the power terminals. D4 will
illuminate.
2.4.3The Analog Input
By default, the analog input is provided by a voltage divider circuit on VIN+, with VINshorted to ground via a 0Ω resistor. These components are initially soldered on the
board for demonstration purposes only and are not required by a typical MCP3551
system. These components should be removed when evaluating a sensor through
JPX.
2.4.4Customizing the Analog Input
For demonstration purposes, the voltage on the inputs is fixed via a voltage divider on
V
+. However, experimentation with different voltages on the inputs is made possible
IN
by the two SMA connectors (J1 and J3) and/or the 4-pin header (J10).
There are several reference designators (Zn) which can be populated, as needed, to
evaluate the MCP3551, external circuits, Z1, Z2 and Z3, are populated to create the
voltage divider. These components will need to be removed to accommodate the
custom circuit. All other Zn designators are unpopulated.
2.4.5Reading the MCP3551 Output Using the DataView Software
The DataView software displays the digital output of the MCP3551 in a graphical format
on Windows
PC through the USB port, where it is converted to decimal and then plotted. The sample
size of each window calculation (Histogram, Output and Auxiliary) can be configured
through the Configuration dialog box. There are three different windows that display the
data.
2.4.5.1OUTPUT WINDOW
The Output window (Figure 2-2) shows the ADC output as a scope plot. The Y-axis can
be configured LSB (default), PPM, percentage or volts (see Figure 2-5).
2.4.5.2HISTOGRAM WINDOW
The Histogram window (Figure 2-3) shows the distribution over the selected sample
size. Each bin of the histogram is always the equivalent of 1 LSB, showing the true
output noise performance of the system with this quanta.
2.4.5.3AUXILIARY DATA SCREEN
The Auxiliary Data window (Figure 2-4) displays calculated information, such as mean
LSB, mean PPM, sample size and output noise RMS (PPM).
2.4.5.4CONFIGURATION WINDOW
The Configuration window has three tabs for configuration and information.
The Scope Plot tab allows the Y-axis and the units to be changed. The X-axis is fixed.
The defualt for the Y-axis is ‘Auto’ for the min/max and LSB for the units.
The A/D Device tab displays the ADC used (MCP3551) and is also where the sample
rate for displaying the data is set. Please note that the minimum should be ~90 ms
(see Section 2.4.6 “MCP3551 Sample Rate Demo” for more information).
The USB Device tab displays information about the board/device.
®
2000 and Windows XP® systems. The 22-bit value is transferred to the
The Sample Rate demo uses a combination of polling and time to sample the input
signal. When the Play button in the software is pressed, the PIC18F4550 samples the
Ready state of the MCP3551 every 10 ms by lowering CS
pin. If the device is ready (i.e., the conversion is complete), the data is clocked out.
Otherwise, CS
Note:Once data is read out and CS is toggled for the first time, the device is
Since the conversion time of the MCP3551 is ~72 ms and the Ready state is sampled
at ~10 ms intervals, the data is available to the PC approximately every 72 ms, ±10 ms.
However, the USB host queries the board for data every 10 ms. This implies that the
minimum sample rate for the software (see Section 2.4.5.4 “Configuration Window”
for details on setting the sample rate) should be > 92 ms (or ~100 ms). If the DataView
software is set to a shorter sample rate, data will be repeated and the software will not
reflect the true operation of the device.
See the MCP3550/1/3 Data Sheet (DS21950) for more details on conversion time and
Single Conversion mode.