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, 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
MCP355X Tiny Application Sensor 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 MCP355X Tiny Application Sensor 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” – This is an introduction to the MCP355X Tiny
Application Sensor Demo Board. It covers the kit contents, associated tools and
how they work together.
• Chapter 2. “Installation and Operation” – Covers the initial set-up of the
MCP355X Tiny Application Sensor Demo Board. It lists the required tools, shows
how to connect this board and demonstates how to verify the set-up.
• Appendix A. “Schematic and Layouts” – Gives detailed information on the
MCP355X Tiny Application Sensor Demo Board. Includes detailed circuit
explanation, schematic, board layouts and Bill of Materials (BOM).
• Appendix B. “Bill Of Materials (BOM)” – Gives detailed information on the
MCP355X Tiny Application Sensor Demo Board’s firmware.
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)
{ ...
}
®
IDE User’s Guide
RECOMMENDED READING
This user's guide describes how to use the MCP355X Tiny Application Sensor Demo
Board. Other useful documents are listed below. 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 MCP355X 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
This chapter provides an overview of the MCP355X Tiny Application Sensor Demo
Board and covers the following topics:
• What is the MCP355X Tiny Application Sensor Demo Board?
• What the MCP355X Tiny Application Sensor Demo Board kit includes
1.2WHAT IS THE MCP355X TINY APPLICATION SENSOR DEMO BOARD?
The MCP3550/1/3 devices are 2.7V to 5.5V low-power, 22-bit Delta-Sigma
Analog-to-Digital Converters (ADCs). The MCP355X Tiny Application Sensor Demo
Board is used to demonstrate the most basic application of the devices using a
ratiometric connection with V
Board includes all the necessary PCB circuits and PCB layout tips required to obtain
the performance demonstrated on the PC.
1.3WHAT THE MCP355X TINY APPLICATION SENSOR DEMO BOARD KIT
INCLUDES
DD
as V
. The MCP355X Tiny Application Sensor Demo
REF
This MCP355X Tiny Application Sensor Demo Board Kit includes:
The MCP355X Tiny Application Sensor Demo Board is designed to demonstrate the
performance of the MCP3550/1/3 devices in a simple low-cost application. The circuit
uses a ratiometric sensor configuration and uses the system power supply as the
voltage reference. The extreme common mode rejection capability of the MCP3551
device, along with it’s excellent normal mode power supply rejection at 50 and 60 Hz,
allows for this system performance. The functional circuit block diagram is shown in
Figure 2-1.
MCP355X TINY APPLICATION SENSOR
DEMO BOARD USER’S GUIDE
350Ω
350Ω
SM5420 Absolute
Pressure Sensor
MCP355X Tiny Application Sensor Demo Board
350Ω
350Ω
Input Filtering
V
IN
V
IN
FIGURE 2-1:Ratiometric Sensor Configuration.
2.2FEATURES
V
REF
+
MCP3551
V
SS
V
DD
SCK
SDO
CS
3
PS Filtering
PIC18F4550
USB
USB interface to DataView on PC
for noise analysis
Analog
Digital
5
PC Running
DataView
The MCP355X Tiny Application Sensor Demo Board has the following features:
• Better than 16-bit system performance from a direct connected PC USB
connection using ratiometric
• Simple USB connection to DataView on the PC showing system performance
• Low-cost design for analog-to-digital conversion
The SM5420 device is an absolute pressure sensor in a surface mount SOIC package.
The device is a piezo resistive silicon device available from Silicon Microstructure.
With a constant excitation voltage, the output changes linearly with pressure. The zero
scale error of the device is rated at ±10 mV/V and the full scale output is rated at
60 mV/V ±20 mV. These large errors require an overall system calibration, as well as
temperature compensation for a working absolute pressure sensor design. This board
demonstrates the overall system resolution and noise performance of the ADC and
sensor with no voltage reference.
2.3.2MCP3551
The MCP3551 is a 22-bit Delta-Sigma A/D converter. The device includes a third-order
modulator, fourth-order digital SINC filter, internal oscillator for oversampling clock and
digital logic for a simple SPI interface.
Digital SINC Filter
The MCP3551 device includes a digital decimation filter, which is a fourth-order modified SINC filter. This filter averages the incoming bitstream from the modulator and outputs a 22-bit conversion word in binary two's complement. When all bits have been
processed by the filter, the output code is ready for SPI communication, the RDY
is set on the SDO/RDY
pin and all the internal registers are reset in order to process
the next conversion. This filter achieves greater than -80 dB of rejection at both 50 and
60 Hz. For improved performance, the MCP3550 device is available which gives
greater than -120 dB of rejection at either 50 or 60 Hz.
The high speed USB PICmicro® microcontroller is used to connect to the PC and
quickly evaluate system performance. An In-Circuit Serial Programming™ (ICSP™)
connector is also included.
2.3.4Filtering
Power supply filtering using passive components is included to improve the noise
performance of the MCP3551 device. The following circuit comprises the filtering on
the power supply, separating the analog and digital sections of the board:
AvDD , V
10 μF
REF
USB Power Supply
10 μH
1kΩ
10 μF
Digital
100Ω
Analog
2.3.5DataView Noise Analysis
The system noise from the MCP355X Tiny Application Sensor Demo Board will be an
aperiodic signal not having any wave or shape. This randomness is best dealt with in
statistical properties, hence the RMS measurement of the Gaussian or normal distribution. When designing a system and attempting to measure the performance, the RMS
noise is much more repeatable than the peak-to-peak noise. Figure 2-4 shows two
different distributions with different RMS and PEAK values, representing two different
ADC output distributions.
FIGURE 2-4:Two Normal or Gaussian Output Distributions.
The DataView software tool is a visualization tool, showing real-time histograms using
the MCP3551. The software also calculates the RMS noise of the current distribution.
The number of samples in the distribution is also scalable, allowing post averaging
experiments.
FIGURE 2-5: DataView showing system performance in a histogram format.
The software can also be used for time-based system analysis using the scope plot
window. Any system drift or other time-based errors can be analyized using this visual
analysis tool.
This appendix contains the following schematics and layouts for the MCP355X Tiny
Application Sensor Demo Board User’s Guide:
• Board Schematic
• Board - Top Layer
• Board - Bottom Layer
A.2SCHEMATICS AND PCB LAYOUT
Figure A.3 “Board - Schematic” shows the MCP355X Tiny Application Sensor Demo
Board schematic, while Figure A.4 “Board Layout - Top Layer” and Figure
A.5 “Board Layout - Bottom Layer” show the layout for the two different layers. The