mcp3903 adc evaluation board for 16-bit mcus user's guide · © 2011 microchip technology inc....

32
© 2011 Microchip Technology Inc. DS51994A MCP3903 ADC Evaluation Board for 16-Bit MCUs User’s Guide

Upload: others

Post on 19-Mar-2020

0 views

Category:

Documents


0 download

TRANSCRIPT

Page 1: MCP3903 ADC Evaluation Board for 16-Bit MCUs User's Guide · © 2011 Microchip Technology Inc. DS51994A MCP3903 ADC Evaluation Board for 16-Bit MCUs User’s Guide

© 2011 Microchip Technology Inc. DS51994A

MCP3903 ADC Evaluation Board

for 16-Bit MCUs User’s Guide

Page 2: MCP3903 ADC Evaluation Board for 16-Bit MCUs User's Guide · © 2011 Microchip Technology Inc. DS51994A MCP3903 ADC Evaluation Board for 16-Bit MCUs User’s Guide

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 ourproducts. Attempts to break Microchip’s code protection feature may be a violation of the Digital Millennium Copyright Act. If such actsallow 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 deviceapplications and the like is provided only for your convenienceand may be superseded by updates. It is your responsibility toensure that your application meets with your specifications.MICROCHIP MAKES NO REPRESENTATIONS ORWARRANTIES OF ANY KIND WHETHER EXPRESS ORIMPLIED, WRITTEN OR ORAL, STATUTORY OROTHERWISE, RELATED TO THE INFORMATION,INCLUDING BUT NOT LIMITED TO ITS CONDITION,QUALITY, PERFORMANCE, MERCHANTABILITY ORFITNESS FOR PURPOSE. Microchip disclaims all liabilityarising from this information and its use. Use of Microchipdevices in life support and/or safety applications is entirely atthe buyer’s risk, and the buyer agrees to defend, indemnify andhold harmless Microchip from any and all damages, claims,suits, or expenses resulting from such use. No licenses areconveyed, implicitly or otherwise, under any Microchipintellectual property rights.

DS51994A-page 2

Trademarks

The Microchip name and logo, the Microchip logo, dsPIC, KEELOQ, KEELOQ logo, MPLAB, PIC, PICmicro, PICSTART, PIC32 logo, rfPIC and UNI/O are registered trademarks of Microchip Technology Incorporated in the U.S.A. and other countries.

FilterLab, Hampshire, HI-TECH C, Linear Active Thermistor, MXDEV, MXLAB, SEEVAL 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, chipKIT, chipKIT logo, CodeGuard, dsPICDEM, dsPICDEM.net, dsPICworks, dsSPEAK, ECAN, ECONOMONITOR, FanSense, HI-TIDE, In-Circuit Serial Programming, ICSP, Mindi, MiWi, MPASM, MPLAB Certified logo, MPLIB, MPLINK, mTouch, Omniscient Code Generation, PICC, PICC-18, PICDEM, PICDEM.net, PICkit, PICtail, REAL ICE, rfLAB, Select Mode, Total Endurance, TSHARC, UniWinDriver, 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.

© 2011, Microchip Technology Incorporated, Printed in the U.S.A., All Rights Reserved.

Printed on recycled paper.

ISBN: 978-1-61341-426-2

© 2011 Microchip Technology Inc.

Microchip received ISO/TS-16949:2009 certification for its worldwide headquarters, design and wafer fabrication facilities in Chandler and Tempe, Arizona; Gresham, Oregon and design centers in California and India. The Company’s quality system processes and procedures are for its PIC® MCUs and dsPIC® DSCs, KEELOQ® code hopping devices, Serial 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.

Page 3: MCP3903 ADC Evaluation Board for 16-Bit MCUs User's Guide · © 2011 Microchip Technology Inc. DS51994A MCP3903 ADC Evaluation Board for 16-Bit MCUs User’s Guide

MCP3903 ADC EVALUATION BOARDFOR 16-BIT MCUs USER’S GUIDE

Table of Contents

Preface ........................................................................................................................... 1Introduction............................................................................................................ 1Document Layout .................................................................................................. 1Conventions Used in this Guide ............................................................................ 2Recommended Reading........................................................................................ 3The Microchip Web Site ........................................................................................ 3Customer Support ................................................................................................. 3Document Revision History ................................................................................... 3

Chapter 1. Hardware Description1.1 Overview ........................................................................................................ 51.2 PIM Module / MCP3903 Connection and Peripheral Usage Overview .......... 71.3 Analog Input Structure .................................................................................... 91.4 USB to Serial Converter ................................................................................. 9

Chapter 2. Code Example2.1 dsPIC33 Example Description ...................................................................... 11

Appendix A. Schematics and LayoutsA.1 Introduction .................................................................................................. 15A.2 Schematic - Analog ...................................................................................... 16A.3 Schematic - LCD and UART ....................................................................... 17A.4 Schematic - USB and Memory ..................................................................... 18A.5 Schematic - Microcontroller (MCU) .............................................................. 19A.6 Schematic - PIM Module .............................................................................. 20A.7 Schematic - Power ....................................................................................... 21A.8 Board - Top Trace and Top Silk ................................................................... 22A.9 Board - Bottom Trace and Bottom Silk ........................................................ 22A.10 Board - Layer #2 VDD ................................................................................ 23A.11 Board - Layer #3 GND ............................................................................... 23A.12 Board - Top SILK and PADS ..................................................................... 24A.13 Board - Bottom SILK and PADS ................................................................ 24

Appendix B. Bill of Materials (BOM)Worldwide Sales and Service .................................................................................... 28

© 2011 Microchip Technology Inc. DS51994A-page 3

Page 4: MCP3903 ADC Evaluation Board for 16-Bit MCUs User's Guide · © 2011 Microchip Technology Inc. DS51994A MCP3903 ADC Evaluation Board for 16-Bit MCUs User’s Guide

MCP3903 ADC Evaluation Board for 16-Bit MCUs User’s Guide

DS51994A-page 4 © 2011 Microchip Technology Inc.

Page 5: MCP3903 ADC Evaluation Board for 16-Bit MCUs User's Guide · © 2011 Microchip Technology Inc. DS51994A MCP3903 ADC Evaluation Board for 16-Bit MCUs User’s Guide

MCP3903 ADC EVALUATION BOARDFOR 16-BIT MCUs USER’S GUIDE

Preface

INTRODUCTIONThis chapter contains general information that will be useful to know before using the MCP3903 ADC Evaluation Board for 16-Bit MCUs. 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 LAYOUTThis document describes how to use the MCP3903 ADC Evaluation Board for 16-Bit MCUs as a development tool to emulate and debug firmware on a target board. The manual layout is as follows:• Chapter 1. “Hardware Description”– Provides important information about the

hardware.• Chapter 2. “Code example”– Describes the firmware. • Appendix A. “Schematics and Layouts”– Shows the schematic and board

layouts.• Appendix B. “Bill of Materials (BOM)” – Lists the parts used to build the

MCP3903 ADC Evaluation Board for 16-Bit MCUs.

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® IDE on-line help. Select the Help menu, and then Topics to open a list of available on-line help files.

© 2011 Microchip Technology Inc. DS51994A-page 1

Page 6: MCP3903 ADC Evaluation Board for 16-Bit MCUs User's Guide · © 2011 Microchip Technology Inc. DS51994A MCP3903 ADC Evaluation Board for 16-Bit MCUs User’s Guide

MCP3903 ADC Evaluation Board for 16-Bit MCUs User’s Guide

CONVENTIONS USED IN THIS GUIDEThis manual uses the following documentation conventions:

DOCUMENTATION CONVENTIONSDescription 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 dialogA menu selection select Enable Programmer

Quotes A field name in a window or dialog

“Save project before build”

Underlined, italic text with right angle bracket

A menu path File>Save

Bold characters A dialog button Click OKA tab Click the Power tab

N‘Rnnnn A number in verilog format, where N is the total number of digits, R is the radix and n is a digit.

4‘b0010, 2‘hF1

Text in angle brackets < > A key on the keyboard Press <Enter>, <F1>Courier New font:Plain Courier New Sample source code #define START

Filenames autoexec.bat

File paths c:\mcc18\hKeywords _asm, _endasm, staticCommand-line options -Opa+, -Opa-

Bit values 0, 1Constants 0xFF, ‘A’

Italic Courier New A variable argument file.o, where file can be any valid filename

Square brackets [ ] Optional arguments mcc18 [options] file [options]

Curly brackets and pipe character: { | }

Choice of mutually exclusive arguments; an OR selection

errorlevel {0|1}

Ellipses... Replaces repeated text var_name [, var_name...]

Represents code supplied by user

void main (void){ ...}

DS51994A-page 2 © 2011 Microchip Technology Inc.

Page 7: MCP3903 ADC Evaluation Board for 16-Bit MCUs User's Guide · © 2011 Microchip Technology Inc. DS51994A MCP3903 ADC Evaluation Board for 16-Bit MCUs User’s Guide

Preface

RECOMMENDED READINGThis User's Guide describes how to use MCP3903 ADC Evaluation Board for 16-Bit MCUs. Other useful documents are listed below. The following Microchip document is available and recommended as a supplemental reference resource:• MCP3903 Data Sheet - “Six Channel Delta Sigma A/D Converter”

(DS25048B)

THE MICROCHIP WEB SITEMicrochip 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 SUPPORTUsers of Microchip products can receive assistance through several channels:• Distributor or Representative• Local Sales Office• Field Application Engineer (FAE)• Technical SupportCustomers should contact their distributor, representative or field application engineer (FAE) 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.

DOCUMENT REVISION HISTORY

Revision A (July 2011)• Initial Release of this Document.

© 2011 Microchip Technology Inc. DS51994A-page 3

Page 8: MCP3903 ADC Evaluation Board for 16-Bit MCUs User's Guide · © 2011 Microchip Technology Inc. DS51994A MCP3903 ADC Evaluation Board for 16-Bit MCUs User’s Guide

MCP3903 ADC Evaluation Board for 16-Bit MCUs User’s Guide

NOTES:

DS51994A-page 4 © 2011 Microchip Technology Inc.

Page 9: MCP3903 ADC Evaluation Board for 16-Bit MCUs User's Guide · © 2011 Microchip Technology Inc. DS51994A MCP3903 ADC Evaluation Board for 16-Bit MCUs User’s Guide

MCP3903 ADC EVALUATION BOARDFOR 16-BIT MCUs USER’S GUIDE

Chapter 1. Hardware Description

1.1 OVERVIEWThe MCP3903 ADC Evaluation Board for 16-Bit MCUs system lets users evaluate the performance of the MCP3903 six-channel ADC. It also provides a development platform for 16-bit PIC® MCU-based applications, using existing 100-pin PIM systems, compatible with the Explorer-16 and other high pincount PIC demo boards. The system comes with programmed PIC24FJ128GA010 PIM modules that communicate with the LabView GUI for data exchange and ADC setup.

1.1.1 Feature Highlights• Six-channel ADC MCP3903 output display using serial communication to the

PC Software Interface and LCD• Simultaneous 4 ksps at 91 dB Signal-to-Noise and Distortion Ratio (SINAD)

performance. The ADC can run up to 64 ksps.• System and ADC performance analysis through graphical PC tools showing Time

domain scope plot, Frequency Domain (FFT), and statistical numerical analysis.• Robust hardware design with analog grounding and analog/digital separation,

allowing low noise evaluation of the MCP3903 devices. Separate power supplies and power planes - 4 layer board.

• Pigtail Plus connectors for Explorer-16 daughter board compatibility.

© 2011 Microchip Technology Inc. DS51994A-page 5

Page 10: MCP3903 ADC Evaluation Board for 16-Bit MCUs User's Guide · © 2011 Microchip Technology Inc. DS51994A MCP3903 ADC Evaluation Board for 16-Bit MCUs User’s Guide

MCP3903 ADC Evaluation Board for 16-Bit MCUs User’s Guide

FIGURE 1-1: MCP3903 ADC Evaluation Board for 16-Bit MCUs.

DS51994A-page 6 © 2011 Microchip Technology Inc.

Page 11: MCP3903 ADC Evaluation Board for 16-Bit MCUs User's Guide · © 2011 Microchip Technology Inc. DS51994A MCP3903 ADC Evaluation Board for 16-Bit MCUs User’s Guide

Hardware Description

1.2 PIM MODULE / MCP3903 CONNECTION AND PERIPHERAL USAGE OVERVIEW

The MCP3903 ADC Evaluation Board for 16-Bit MCUs contains a 100-pin PIM socket, compatible with Microchip’s PIM modules. The system comes with a PIM module: the PIC24FJ128GA010. For a complete description of the firmware programmed with these two modules, see Chapter 1. “Hardware Description”.

FIGURE 1-2: Digital Connection Overview PIM/MCP3903 Connections.

Ports A, B, and D are used for signals such as push buttons, output LEDs, CS and MCLR (for MCP3903 data mode setting). Output Capture 1 is used for MCP3903’s clock generation. Serial communication is achieved through the MSSP module 1.The MCP3903 device is an ADC with a second order modulator and a third order sync filter. This Delta-Sigma A/D converter has an adjustable oversampling ratio. The CLKIN pin of the MCP3903 is the ADC’s clock (MCLK) input. The MCP3903 ADC Evaluation Board for 16-Bit MCUs offers two different options for the MCP3903 master clock (MCLK).

CONTROL SWITCHES (X3)

MCP3903

SDI

SDO

RA5

RA4

SCK1/RF6

SDO1/RF8

SDI1/RF7

RB8/9/10

PIM Module

SCK

OC1/RD0

RA9/10 D6 D7 (Green)

RF3/U1TX

RF2/U1RXUART SERIAL TO PC COMMUNICATION

RESET

DR

CSINT3/RA4

IC4/RD11

IC3/RD10

CH0+CH0-CH1+CH1-CH2+CH2-CH3+CH3-CH4+CH4-CH5+CH5-

Six Channels Sigma-Delta ADC

SPI Serial Interface

AVDDAGNDOSC1OSC2DGND DVdd

Phase CorrectionClock Generation/ INT

Vref

© 2011 Microchip Technology Inc. DS51994A-page 7

Page 12: MCP3903 ADC Evaluation Board for 16-Bit MCUs User's Guide · © 2011 Microchip Technology Inc. DS51994A MCP3903 ADC Evaluation Board for 16-Bit MCUs User’s Guide

MCP3903 ADC Evaluation Board for 16-Bit MCUs User’s Guide

1.2.1 Using the Crystal X2The MCP3903 ADC Evaluation Board for 16-Bit MCUs is populated with a 3.58 MHz crystal, being used as a clock source, by placing jumpers in the following position on the MCP3903 Digital I/O header block:

FIGURE 1-3: ADC Clock Selection Jumpers - External Crystal.

1.2.2 Driving the Clock with the PIM ModuleThe PIC® MCU can be used to generate the CLKIN (MCLK) signal for the MCP3903, setting the ADC sample rate through the use of the output compare module OC1. To use this, make the following jumper change to the MCP3903 Digital I/O header block:

FIGURE 1-4: ADC Clock Selection Jumpers - Clock from MCU.

The signal frequency from OC1 can be changed by the user from the PC software by changing the value in the Sampling Speed Control box from the Edit menu. A low number will generate a high frequency signal. The value of the sampling rate, which is directly proportional to the clock frequency from OC1, is indicated in the sampling speed indicator box in the PC software (see Figure 2-3) for the dsPIC33 example. In the PIC24F example, the sampling speed is constant at 4.8 ksps, regardless of the OSR value.

XTALXTALPIM OC1CLKIN

CLKINCLKOUT

XTALXTALPIM OC1CLKIN

CLKINCLKOUT

DS51994A-page 8 © 2011 Microchip Technology Inc.

Page 13: MCP3903 ADC Evaluation Board for 16-Bit MCUs User's Guide · © 2011 Microchip Technology Inc. DS51994A MCP3903 ADC Evaluation Board for 16-Bit MCUs User’s Guide

Hardware Description

1.3 ANALOG INPUT STRUCTURETwo differential input paths allow external signal sources to be easily connected to the MCP3903 input. Edge connectors JP1 and JP2 are 3-pin connectors that act both as crew-type and clip-on post connectors.

JP1 and JP2 can be used to force either channel from a differential to a single-ended configuration. R3 and R4 (on CH0), and R1 and R2 (on CH2) act as locations for burden resistor connectors for any current transformer inputs.

1.4 USB TO SERIAL CONVERTERThe MCP3903 ADC Evaluation Board for 16-Bit MCUs also contains a USB connection for connecting the evaluation board to a PC. On the board, there is an MCP2200 USB to UART converter that creates a virtual COM port on the PC. The MCP3903 ADC Evaluation Board for 16-Bit MCUs also features a RS232 connector just in case it is required. The RS232 Line driver is connected to the same UART pins of the MCU. For this reason, a 3-pin jumper (J5) is present on the evaluation board to select which serial communication will be used: USB or RS232. The following figure summarizes the connections between the ADC, MCU, USB to serial converter and RS232 line driver.

FIGURE 1-5: Serial Communication Block Diagram.

Note: To use an edge connector as a post connector, pull up the blue plastic top to access the posts.

PIM Module

USB

TX RX

MCP2200

ADC MCP3903

RF6/SCK1RF7/SDI1

RF8/SDO1

SCKSDOSDI

RS232 Driver

USB con

RS232

TXRX

RF2/U1RX

RF3/U1TX

© 2011 Microchip Technology Inc. DS51994A-page 9

Page 14: MCP3903 ADC Evaluation Board for 16-Bit MCUs User's Guide · © 2011 Microchip Technology Inc. DS51994A MCP3903 ADC Evaluation Board for 16-Bit MCUs User’s Guide

MCP3903 ADC Evaluation Board for 16-Bit MCUs User’s Guide

NOTES:

DS51994A-page 10 © 2011 Microchip Technology Inc.

Page 15: MCP3903 ADC Evaluation Board for 16-Bit MCUs User's Guide · © 2011 Microchip Technology Inc. DS51994A MCP3903 ADC Evaluation Board for 16-Bit MCUs User’s Guide

MCP3903 ADC EVALUATION BOARDFOR 16-BIT MCUs USER’S GUIDE

Chapter 2. Code Example

2.1 DSPIC33 EXAMPLE DESCRIPTIONIf the user needs to evaluate the ADC on a system that uses dsPIC33 microcontrollers, then a PIM connector with a dsPIC33FJ256GA710A can be used on the evaluation board.Using this example, the user can modify all MCP3903 internal registers from the PC software “MCP390x Data VIEW”. The UART communication speed is at 115.2 kbps.

2.1.1 SPI CommunicationTo transfer data from the ADC to the MCU, the SPI communication is controlled by DMA1. DMA1 channel is set up to use nul data write to read the MCP3903 register correctly. The DMA1 reads 7 bytes, but the first byte is not used. Before a new DMA read takes place, the CS pin must be controlled in the software and the MCU must wait for a new external interrupt 3 that indicates a new acquisition.After the DMA1 transfer is finished, the DMA buffer content is moved into the Vch0 and Vch1 buffers. The loop is repeated until Vch0 and Vch1 are filled.Timer 8 and Timer 9 are configured to work as a 32-bit timer. This timer starts when the acquisition is started and stopped when data buffers are full. The value indicated by this timer will be used to evaluate the sampling speed of the ADC on the PC interface.After the buffers are filled with the samples, the internal registers of MCP3903 are read also using DMA1, now configured to read 16 bytes. The state of the MCP3903 internal registers will be stored into the MCU, since later they will be sent to the PC GUI.To set the MCP3903 configuration registers, MCU must write on the SPI bus. For this purpose, the DMA0 channel is used and is set to do a thirteen bytes transfer from MCU to MCP3903.

2.1.2 UART CommunicationTo send the acquired samples from the MCU to the PC, the UART peripheral is used. On the board, the user can use the RS232 DB9 connector to connect to a serial port on PC side, or it can use the USB port that creates a virtual serial port on the PC, thanks to the MCP2200 USB to TTL converter that is connected to the MCU.The RX pins of the MAX2323 and the MCP2200 are tightened together with the TX pin of the UART2 from the MCU. The user needs to select from jumperJ5 if the MCU receives data from MCP2200 or MAX2323. In firmware, the MCU is using DMA2 to do the transfer from MCU to the PC. To receive data from the PC through UART, the RX interrupt is used.

© 2011 Microchip Technology Inc. DS51994A-page 11

Page 16: MCP3903 ADC Evaluation Board for 16-Bit MCUs User's Guide · © 2011 Microchip Technology Inc. DS51994A MCP3903 ADC Evaluation Board for 16-Bit MCUs User’s Guide

MCP3903 ADC Evaluation Board for 16-Bit MCUs User’s Guide

FIGURE 2-1: dsPIC33 Example Flow Chart.

2.1.3 PC SoftwareThe PC receives the data and displays it on the MCP390x Data View. The program can display and process only two channels at the same time. To select the desired channels, the SW4 (RD13) must be pressed.

S ta r t

In it ia lis a tio n

G e t s a m p le s in to b u ffe r [5 1 2 ]

R e a d In te rn a l R e g is te rs

W a it fo r P C G U I c o m m a n d

C o m m a n d re c e iv e d

C h e c k v a lid ity

C o m m a n d v a lid

W r ite in te rn a l re g is te rs

S e n d s a m p le s fro m B u ffe r [5 1 2 ]

S e n d in te rn a l re g is te rs

S e n d F F T(n o t c o m p u te d h e re )

U p d a te c h a n n e ls s e le c tio n

Y E S

Y E S

N O

N O

Initialization

DS51994A-page 12 © 2011 Microchip Technology Inc.

Page 17: MCP3903 ADC Evaluation Board for 16-Bit MCUs User's Guide · © 2011 Microchip Technology Inc. DS51994A MCP3903 ADC Evaluation Board for 16-Bit MCUs User’s Guide

Code Example

FIGURE 2-2: MCP3903 Data View Software - Main Screen.

Connectivity is done through the serial port. First, the user must identify the com port number from My computer > Manage > Device Manager. After this, in “VISA resource names”, users must find and select the correct com port number. Only after this, can the START button be pressed to begin the data acquisition.

FIGURE 2-3: MCP3903 Data View Software - Registers and Settings Screen.

From the Edit menu, the user can open the Registers and Settings window to control the internal registers of the MCP3903, the sampling speed of the ADC or if any averaging should be done on the acquired samples.From the buffer length, the user can select the amount of data that will be processed. The maximum length is 512. From the Sampling Speed Control, the user can change the sampling speed of the ADC. By writing a lower value, the sampling speed is increased, and for higher values it is decreased. The accurate value of the sampling speed is indicated in the Sampling speed indicator.If the user wants to investigate the effect of averaging on the performance indicator, the desired value can be written in the “Averages” control. It must be noted that the processed buffer will decrease by a factor equal to the value of the average.The Write Register and Read Register tabs are used to set the internal registers of the MCP3903. With the Write Register tab they are written and with the Read Register tab, the user can check the settings of the registers.

© 2011 Microchip Technology Inc. DS51994A-page 13

Page 18: MCP3903 ADC Evaluation Board for 16-Bit MCUs User's Guide · © 2011 Microchip Technology Inc. DS51994A MCP3903 ADC Evaluation Board for 16-Bit MCUs User’s Guide

MCP3903 ADC Evaluation Board for 16-Bit MCUs User’s Guide

The Waveform Graphs will show the signal in Time domain, while the Signal Spectrum graphs shows the signal in Frequency domain. From the Graphs menu, under the Signal Spectrum option, the user can find the Switch Y-axis scale option. From here, it is possible to change the Y axis of the Signal Spectrum in linear scale or in logarithmic scale. The spectrum signal information is obtained by performing a Fast Fourier transformation over the Time domain signal. This Fourier transformation can be done after the signal has been windowed. For this, the user must select the type of window from the Window control on the lower area of the main window.The Histogram Graph can be used to investigate the distribution of the codes. This is especially helpful to check if a DC signal distribution is Gaussian. From the Graphs menu, under the Histogram option, the user can Change the number of bits, with the default being 40.The indicators from the lower area of the program indicate other performance parameters of the ADC. The main one is SINAD and related to it is Effective Number of Bits (ENOB), used to indicate the AC signal performance. The ENOB value is computed according to the formula below:

EQUATION 2-1:

For DC signals, the Noise RMS signal in µV is displayed. For AC signals, the indicator will show the RMS value of the signal.

ENOB SINAD 1.76–6.02

------------------------------------=

DS51994A-page 14 © 2011 Microchip Technology Inc.

Page 19: MCP3903 ADC Evaluation Board for 16-Bit MCUs User's Guide · © 2011 Microchip Technology Inc. DS51994A MCP3903 ADC Evaluation Board for 16-Bit MCUs User’s Guide

MCP3903 ADC EVALUATION BOARDFOR 16-BIT MCUs USER’S GUIDE

Appendix A. Schematics and Layouts

A.1 INTRODUCTIONThis appendix contains the following schematics of the MCP3903 ADC Evaluation Board for 16-Bit MCUs.

• Schematic - Analog• Schematic - LCD and UART• Schematic - USB and Memory• Schematic - Microcontroller (MCU)• Schematic - PIM Module• Schematic - Power• Board - Top Trace and Top Silk• Board - Bottom Trace and Bottom Silk• Board - Layer #2 VDD• Board - Layer #3 GND• Board - Top Silk and Pads• Board - Bottom Silk and Pads

© 2011 Microchip Technology Inc. DS51994A-page 15

Page 20: MCP3903 ADC Evaluation Board for 16-Bit MCUs User's Guide · © 2011 Microchip Technology Inc. DS51994A MCP3903 ADC Evaluation Board for 16-Bit MCUs User’s Guide

MCP3903 ADC Evaluation Board for 16-Bit MCUs User’s Guide

A.2 SCHEMATIC - ANALOG

C

of1

4

AB

CD

E

Filena

me:

Size

Title

6

A.Hap

enciuc

F

42

1

Date:

3/18

/10

B.Po

pescu

31

AB

CD

E

REV

F

2

Shee

tAD

C_M

PU_M

EMORY.SC

HDOC

Eng:

3

Drawn by

:

1

Date

Rev

ision Notes

M4

GND

GND

GND

GNDA

GNDA

GNDA

GG

GNDA

-+GNDA

GNDA

-+

+5V

3903

_CS

3903

_SDO

3903

_SCK

3903

_SDI

GNDA3903

_RES

ET

1

3903

_CLK

IN2

GND

GNDA

GNDA

GNDA

C

GNDA

GNDA

-+-+GNDA

GNDA

GNDA

GNDA

GNDA

GNDA

GNDA

GNDA

GNDA

GNDA

GNDA

GNDA

GNDA

GNDA

3903

_DR

+3.3V

DNP

R94 DNP

R93

1P5A

2P5B

3P4C

1P3A

2P3B

2P2B

3P2C

2P1B

3P1C

1P0A

3P0C

GNDA

GNDA

GNDA

GNDA

+-

1KR97

1KR98

GNDA

100

R56

100

R55

100

R69

100

R5410

0R68

3903

_DR

RF3

/U1T

X

RF2

/U1R

X

3903

_CS

3903

_SCK

3903

_SDO

3903

_RES

ET

1

1P4A

3P5C

2P4B

1P2A

3P3C

1P1A

2P0B

GNDA

GNDA

1 3 5

2 4 6

JP2

HDR3X

2

GNDA

GNDA

GNDA

1 3 5

2 4 6

JP7

HDR3X

2

GNDA

GNDA

GNDA

GNDA

-

1KR121KR11

+

1KR7

68NFC8

GNDA

GNDA

GNDA

DNPR10GNDA

GNDA

GNDA

1KR951KR10

0

GNDA

GNDA

68NF

C7

GNDA

DNP

R9

GNDA

100N

F

C46

100N

F

C44

100

R63

3903

_DR

3903

_SDI

10k

R57

GNDA

GNDA

GNDA

GNDA

1 3 5

2 4 6

JP1

HDR3X

2

1 3 5

2 4 6

JP8

HDR3X

2

1 3 5

2 4 6

JP10

HDR3X

2

1 3 5

2 4 6

JP9

HDR3X

2

68NF

C10

DNPR6

1KR5

68NF

C52

68NF

C51

DNPR87

DNPR84

68NF

C56

68NF

C55

DNPR99

DNPR96

68NF

C9

DNP

R8

68NF

C54

68NF

C53

DNP

R62 DNP

R52

68NF

C58 68NF

C57

GNDA

JP6

18PF

C38

18PF

C37

P22

P44

P66

P88

P10

10

P12

12

P14

14

P16

16P1

515

P13

13

P11

11

P99

P77

P55

P33

P11

P8

HDR2X

8-O/E

CH5+

CH4+

CH3+

GND

CH2+

CH0-

CH0+

1KR88

10R60

1MR40

ADC CLO

CK SE

LECT

3/31

/10

CH4-

CH5-

GND

CH2-

CH3-

CH1+

CH1-

DNP

R2DNP

R1DNP

R3

DNP

R92

1KR831KR85

DNP

R91D

NP

R10

4

DNP

R10

3

10R59

ADC/M

PU/M

EMORY

3.57

9545

MHZ

X2

1 3 5

2 4 6

JP5

HDR3X

2

100

R43

DNP

R4

DNP

R90 DNP

R89

1KR86

DNP

R10

2

DNP

R10

1

REF

IN+

14

CH4-

11

CH3-

8

CH1+

5

CH0+

2

REF

IN-15

DRA

18

OSC

121

SCK

24

RES

ET27

CH5-

12

CH5+

13

CH2+

6

CH2-

7

CH3+

9

CH4+

10

AVDD

1

CH0-

3

CH1-

4

DGND

17

AGND

16

DRB

19

DRC

20

OSC

222

CS

23

SDO

25

SDI26

DVD

D28

U9

MCP39

03_S

O28

100N

F

C45

MCP39

03 Eva

l Boa

rd fo

r 16-bit M

CU

Initial R

elea

se Build

NET

0008

3

NET

0008

8

NET

0009

3

+3.3V

DS51994A-page 16 © 2011 Microchip Technology Inc.

Page 21: MCP3903 ADC Evaluation Board for 16-Bit MCUs User's Guide · © 2011 Microchip Technology Inc. DS51994A MCP3903 ADC Evaluation Board for 16-Bit MCUs User’s Guide

Schematics and Layouts

A.3 SCHEMATIC - LCD AND UART

Rev

5

AB

1

Size

Title

D

Eng:

3 421

AB

4321

3/18

/10

6

Date

LCD_E

XPLO

RER

16.SC

HDOC

C

Shee

t

Drawn by

:

of

Rev

CD

B.Po

pescu

A.Hap

enciuc

Des

criptio

n

Filena

me:

B

Date:M

5

Initial D

esign

2

+3.3V

+5V

VEE

+3.3V

RB1

5/PM

PA0

RD5/PM

PRD

RD4/PMPWR

GNDA

RB1

5/PM

PA0

RD5/PM

PRD

RD4/PMPWR

TXRXRC14

RD15

/U1R

TS

TXRX

+3.3V

+3.3V

VEE +3.3V

GNDA

GNDA

GNDA

GNDA

GNDA

RE7

/PMPD

7

RE6

/PMPD

6

RE5

/PMPD

5

RE3

/PMPD

3

RE2

/PMPD

2

RE1

/PMPD

1

RE0

/PMPD

0

RE7

/PMPD

7

RE6

/PMPD

6

RE5

/PMPD

5

RE4

/PMPD

4

RE2

/PMPD

2

RE1

/PMPD

1

RE0

/PMPD

0

RD14

/U1C

TS

RC13

RF3

/U1T

X

U6R

X

1.3KR16

10K

R15

100N

F

C12

GNDA

NONE

R17

NONE

R18

RE4

/PMPD

4

RE3

/PMPD

3

100N

F

C34

100NF

C36

1KR32

GNDA

100N

F

C30

GNDA

GNDA

1KR33

100N

F

C35

MCP3

903 Ev

al Boa

rd fo

r 16-bit M

CU

3/31

/10

GND

1

VCC

2

RS

4

E6

R/W

5

VC3

DB7

14

DB4

11

DB2

9

DB5

12

DB3

10

DB1

8DB0

7

DB6

13

LCD2

LCD_T

M16

2JCAWG1

100N

F

C33

1 6 2 7 3 8 4 9 5

J3

DB9R

F

DB7

11

DB4

8

DB2

6

E3

DB1

5DB0

4

DB3

7

DB5

9

DB6

10

GND1

15

VCC

13

RS

1R/W

2

VEE

14

GND

12

LCD1

LCD_2

X16_

BOTH

LCD/EXPLO

RER 16

INVA

LID

11

T1IN

13

R1IN

16

GND

18

R1O

UT

15

T1OUT

17

T2IN

12

FORCEO

N14

VCC

19FO

RCEO

FF20

R2O

UT

10

T2OUT

8

C2+

5

V+3

C1-

4

C2-

6

V-

7

R2IN

9

EN1

C1+

2

SN75

C32

23PWU6

NET

0005

2

NET

0006

3

NET

0006

4

NET

0006

5

NET

0006

6

NET

0006

7

NET

0006

8

NET

0007

1

NET

0007

3

NET

0007

4

NET

0007

5

© 2011 Microchip Technology Inc. DS51994A-page 17

Page 22: MCP3903 ADC Evaluation Board for 16-Bit MCUs User's Guide · © 2011 Microchip Technology Inc. DS51994A MCP3903 ADC Evaluation Board for 16-Bit MCUs User’s Guide

MCP3903 ADC Evaluation Board for 16-Bit MCUs User’s Guide

A.4 SCHEMATIC - USB AND MEMORY

C

of3

4

AB

CD

E

Filena

me:

Size

Title

6

A.Hap

enciuc

F

42

1

Date:

3/18

/10

B.Po

pescu

31

AB

CD

E

REV

F

2

Shee

tds

PIC33

.SCHDOC

Eng:

3

Drawn by

:

3

Date

Rev

ision Notes

M4

+3.3V

+3.3V

+3.3V

RD13

RD6

RD7

PIC24

_MCLR

GNDA

+3.3V

PIC24

_MCLR

RB0

/AN0

RB1

/AN1

RB2

/SS1

/AN2

RB4

/AN4

RB5

/AN5

RE9

/INT2

RE8

/INT1

RA0

/TMS

USB

_SS

PIC24

_MCLR

USB

_SDO

USB

_SDI

RC4

RC3

RC2

RE6

/PMPD

6

RE7

/PMPD

7

RE5

/PMPD

5

RG15

+3.3V

+3.3V

RB6/AN6/PGC

RB7/AN7/PGD

RE4/PMPD4

RE3/PMPD3

RA10/PMPA6

+3.3V

RG13

RB8/AN8

RG14

RE1/PMPD1

RB10/PMPA13

RB9/AN9

RA7

RE0/PMPD0

ENVR

EG

+3.3V

RG0

RG1

RA1/TCK

RF13/U2RTS

RF1

RF0

RB12/PMPA11VDDCORE

RB14/PMPA1

RB15/PMPA0

RD6

RD5/PMPRD

+3.3VRD13

RD4/PMPWR

VDDCORE

RD15/U1RTS

RF4/PMPA9/U2RX

RD3/PMPBE

RD2

RF5/PMPA8/U2TXRD1GNDA

+3.3V

+3.3V

RF3

/U1T

X

RF2

/U1R

X

RA2

/SCL2

RA3

/SDA2

RD8

RA1

5/INT4

RD9

RC13

RC14

+3.3V+3.3V

3903

_SDI

3903

_SCK

3903

_CS

3903

_RES

ET

3903

_CLK

IN +3.3V+3.3V

GNDA+3.3V+3.3V

+3.3V+3.3V

+3.3V+3.3V

+3.3V

RG3/SD

A1

RG2/SC

L1

+3.3V

OSC

1

OSC

2

RH6

GNDA+3.3V+3.3V

+3.3V

GNDA

+3.3V

+3.3V

RB3

/AN3

USB

_SCK

+3.3V G

NDA

3903

_SDO

3903

_DR

100

R39

RA9/PMPA7

GNDA

GNDARA10/PMPA6

GNDA

GNDA

GNDA

1KR14

1KR24

RA9/PMPA7

RG12

RE2/PMPD2

RB11/PMPA12

RF12/U2CTS

RA6

ENVREG

GNDA

RB13/PMPA10

RD14/U1CTS

RD7

RD12

GNDA

0.0

R26

GNDA

NONE

R29

GNDA

GNDA

+3.3V

GNDA

RH7

GNDA

RD8

GNDA

SW4

B3S-10

02P

GNDA

SW1

B3S-10

02P

GNDA

1KR20

1KR31

GNDA

NONE

R25

0.0

R22

GNDA

100N

F

C24

100N

F

C28

GNDA

100N

F

C20

100N

F

C27

GNDA

2.2K

R27

18PF

C31

GNDA

GREE

N

D6

SML-51

2MW

100N

F

C14

GNDA

18PF

C32

REDD7

GM1J

R35

200A

E

100

R38

SW3

B3S-10

02P

SW2

B3S-10

02P

10K

R21

GNDA

100N

F

C26

100N

F

C22

100N

F

C25

1

100N

F

C17

1K R37

1K R36

GNDA

GNDA

GNDA

1MR34

3/31

/10

PIC24

ICD

100N

F

C11

100N

F

C13

GNDA10

0NF

C21

GNDA 4.7K

R23

4.7K

R30

GNDA

dsPIC

33

100N

F

C16

GNDA2.

2K R28

NONE

R35

7.37

28MHZ

X3

+

47UF

C23

100N

F

C15

5 631 2 4P6

HDR6X

1

4.7K

R13

4.7K

R1910

0NF

C29

100N

F

C19

100N

F

C18

MCP39

03 Eva

l Boa

rd fo

r 16-bit M

CU

dsPIC33

FJ25

6GP7

10-I/PF

Initial Sch

ematic Des

ign

PGD/OCFA/RB727

PMPA7/RA928

PMPD3/RE399

PMPD2/RE298

AVDD30

RG1296

C1OUT/AN8/RB832

PMPD1/RE194

TDO/AN11/RB1135

CVREF/AN10/RB1034

RA691

RA792

VDD37

RG189

U2RTS/RF1339

U2CTS/RF1240

RF087

VREG86

AN13/RB1342

SCL2/CN16/RD784

PMPA0/AN15/CN12/RB1544

PMPRD/CN14/RD582

CN20/RD1447

VDD46

IC5/RD1279

CN19/RD1380

U2RX/RF449

RD277

INT1

/RE8

18

VSS

15

VDD

16

MCLR

13

T4CK/RC3

8

T2CK/RC1

6

RG15

1

U1T

X/RF3

51

SDO1/RF8

53SD

I1/RF7

54

SDA1

/RG3

56

RA2

58

TDO/RA5

61

TDI/R

A460

OSC

1/CLK

I/RC12

63

VSS

65INT3

/RA1

466

IC1/RTC

C/RD8

68

IC3/RD10

70

RC13

73

OC1/RD0

72

VSS

75

RA0

/TMS

17

INT2

/RE9

19

T3CK/RC2

7

T5CK/RC4

9

VDD

2

U1R

X/RF2

52

SCL1

/RG2

57

RA3

59

VDD

62

SCK1

/INT0

/RF6

55

INT4

/RA1

567

IC2/RD9

69

IC4/RD11

71

OSC

2/CLK

0/RC15

64

RC14

74

AVSS31

PGC2/RB626

PMPA6/RA1029

RG1495

RG1397

PMPD4/RE4100

VSS36

C2OUT/AN9/RB933

TCK/RA138

AN12/RB1241

RF188

VCAP/VDDCORE85

RG090

PMPD0/RE093

VSS45

PMPA1/AN14/RB1443

CN21/RD1548

U2TX/RF550

RD176

SS1/RD378

PMPWR/OC5/RD481

SDA2/CN15/RD683

PGD1/AN

0/RB0

25

C2IN-/A

N2/SS

1/RB2

23C2IN+/AN

3/CN5/RB3

22

C1IN+/AN

5/CN7/RB5

20

PMPA

4/SD

I2/CN9/RG7

11PM

PA5/SC

K2/CN8/RG6

10

PMPD

5/RE5

3

PMPD

6/RE6

4

PGC1/AN

1/CN3/RB1

24

PMPA

2/SS

2/CN11

/RG9

14

C1IN-/A

N4/CN6/RB4

21

PMPD

7/RE7

5

PMPA

3/SD

O2/CN10

/RG8

12

U7

DS51994A-page 18 © 2011 Microchip Technology Inc.

Page 23: MCP3903 ADC Evaluation Board for 16-Bit MCUs User's Guide · © 2011 Microchip Technology Inc. DS51994A MCP3903 ADC Evaluation Board for 16-Bit MCUs User’s Guide

Schematics and Layouts

A.5 SCHEMATIC - MICROCONTROLLER (MCU)

C

of2

4

AB

CD

E

Filena

me:

Size

Title

6

A.Hap

enciuc

F

42

1

Date:

3/18

/10

B.Po

pescu

31

AB

CD

E

REV

F

2

Shee

tMCP2

200 _ USB

.SCHDOC

Eng:

3

Drawn by

:

2

Date

Rev

ision Notes

M4

USB

_+5V

RF3/U1TX

U6RX

RF2/U1RX

GNDA

5J2

E

4J2

D

2J2

B

1J2

A

2

GNDA

470

R41

470

R47

GNDA

GNDA

0.1u

F

C41

J5HDR1X

3

3J2

C

USB

DATA

VIEW PORT

0.1u

F

C39

1

10/26/10

3/31

/10

12MHz

X1

RES

ONAT

OR-C

STCE

MCP22

00

2 1

43

GREEN

RED

D1

470

R44

MCP39

03 Eva

l Boa

rd fo

r 16-bit M

CU

MCP22

00 com

mun

ication

GP4

GP3

GP7

/TxL

EDGP6

/RxL

ED

OSC

1OSC

2

CTS RX

GP0

/SSP

ND

GP1

/USB

CFGD+ D-

TXGP5

RST

VDD

RTS

GP2

VUSBVSS

U5

MCP2

200_

SSOP2

0

Initial Sch

ematic Des

ign

D-

D+

U5-RX

USB

_+5V

© 2011 Microchip Technology Inc. DS51994A-page 19

Page 24: MCP3903 ADC Evaluation Board for 16-Bit MCUs User's Guide · © 2011 Microchip Technology Inc. DS51994A MCP3903 ADC Evaluation Board for 16-Bit MCUs User’s Guide

MCP3903 ADC Evaluation Board for 16-Bit MCUs User’s Guide

A.6 SCHEMATIC - PIM MODULE

C

of4

4

AB

CD

E

Filena

me:

Size

Title

6

A.Hap

enciuc

F

42

1

Date:

3/18

/10

B.Po

pescu

31

AB

CD

E

REV

F

2

Shee

tPIM M

ODULE

.SCHDOC

Eng:

3

Drawn by

:

4

Date

Rev

ision Notes

M4

USB

_SS

USB

_SDI

USB

_SDO

USB

_SCK

RB0

/AN0

RB1

/AN1

RB2

/SS1

/AN2

RB4

/AN4

RB3

/AN3

RB5

/AN5

RE9

/INT2

RE8

/INT1

RA0

/TMS

PIC24

_MCLR

RC4

RC3

RC2

RE7

/PMPD

7

RE6

/PMPD

6

RG15

+3.3V

+3.3V

RB6/AN6/PGC

RB7/AN7/PGD

RE4/PMPD4

RE3/PMPD3

RA10/PMPA6

+3.3V

RG13

RB8/AN8

RG14

RE1/PMPD1

RB10/PMPA13

RB9/AN9

RA7

RE0/PMPD0

+3.3V

RG0

RG1

RA1/TCK

RF13/U2RTS

RF1

RF0

RB12/PMPA11VDDCORE

RB14/PMPA1

RB15/PMPA0

RD6

RD5/PMPRD

+3.3VRD13

RD4/PMPWR

RD15/U1RTS

RF4/PMPA9/U2RXRD2

RD3/PMPBE

RF5/PMPA8/U2TXRD1

+3.3V

RF3

/U1T

X

RF2

/U1R

X

RG3/SD

A1

RG2/SC

L1

RA2

/SCL2

RA3

/SDA2

OSC

1

OSC

2

RD8

RA1

5/INT4

RD9

RC14

3903

_SDI

3903

_SCK

3903

_SDO

3903

_CS

3903

_DR

3903

_CLK

IN

GNDA+9V

+5V

+3.3V

GNDA+5V

+9V

+3.3V

GNDA

RE6

/PMPD

6

RE4

/PMPD

4

RE2

/PMPD

2

RE0

/PMPD

0

RD12

RD8

RD6

RD2

RD4/PMPWR

3903

_CLK

IN

RC13

RC3

3903

_DR

RB1

2/PM

PA11

RB1

0/PM

PA13

RB5

/AN5

RB6

/AN6/PG

C

3903

_CS

RA6

RA0

/TMS

RG12

RG15

RF1

2/U2C

TS

RA1

5/INT4

RA9

/PMPA

7

RB8

/AN8

RG8/PM

PA3/SD

O2

RG7/PM

PA4/SD

I2

RG9/PM

PA2/SS

2

RG1

RG0

RD14

/U1C

TS

RE9

/INT2

RB3

/AN3

3903

_SDI

3903

_SCK

3903

_SDO

RB2

/SS1

/AN2

RE7

/PMPD

7

RE5

/PMPD

5

RE3

/PMPD

3

RE1

/PMPD

1

RD13

RD9

RD7

RD1

RD3/PM

PBE

RD5/PM

PRD

RC14

RC4

RC2

RB1

3/PM

PA10

RB1

1/PM

PA12

PIC24

_MCLR

RB7

/AN7/PG

D

RA7

RA1

/TCK

3903

_RES

ET

RG14

RG13

RG1+9

V

+5V

+3.3V

RF1

3/U2R

TS

RA1

0/PM

PA6

RB9

/AN9

RA3

/SDA2

RA2

/SCL2

RF4

/PMPA

9/U2R

X

RF1

RF0

+5V

+9V

+3.3V

RE8

/INT1

RD15

/U1R

TS

RB4

/AN4

RG3/SD

A1

RG2/SC

L1

RF3

/U1T

X

RF2

/U1R

X

GNDA+9V

+5V

+3.3V

GNDA+5V

+9V

+3.3V

GNDA

RE6

/PMPD

6

RE4

/PMPD

4

RE2

/PMPD

2

RE0

/PMPD

0

RD12

RD8

RD6

RD2

RD4/PMPWR

3903

_CLK

IN

RC13

RC3

3903

_DR

RB1

2/PM

PA11

RB1

0/PM

PA13

RB5

/AN5

RB6

/AN6/PG

C

3903

_CS

RA6

RA0

/TMS

RG12

RG15

RF1

2/U2C

TS

RA1

5/INT4

RA9

/PMPA

7

RB8

/AN8

RG8/PM

PA3/SD

O2

RG7/PM

PA4/SD

I2

RG9/PM

PA2/SS

2

RG1

RG0

RD14

/U1C

TS

RE9

/INT2

RB3

/AN3

3903

_SDI

3903

_SCK

3903

_SDO

RB2

/SS1

/AN2

RE7

/PMPD

7

RE5

/PMPD

5

RE3

/PMPD

3

RE1

/PMPD

1

RD13

RD9

RD7

RD1

RD3/PM

PBE

RD5/PM

PRD

RC14

RC4

RC2

RB1

3/PM

PA10

RB1

1/PM

PA12

PIC24

_MCLR

RB7

/AN7/PG

D

RA7

3903

_RES

ET

RA1

/TCK

RG14

RG13

RG1+9

V

+5V

+3.3V

RF1

3/U2R

TS

RA1

0/PM

PA6

RB9

/AN9

RA3

/SDA2

RA2

/SCL2

RF4

/PMPA

9/U2R

X

RF1

RF0

+5V

+9V

+3.3V

RD15

/U1R

TS

RE8

/INT1

RB4

/AN4

RG3/SD

A1

RG2/SC

L1

RF3

/U1T

X

RF2

/U1R

X

RE5

/PMPD

5

GNDA

RC13

3903

_RES

ET

+3.3V

GNDA

RB1

4/PM

PA1

RG6/PM

PA5/SC

K2

RB0

/AN0

+3.3V

RB1

5/PM

PA0

RG0

RF5

/PMPA

8/U2T

X

RB1

/AN1

+3.3V

GNDA

RB1

4/PM

PA1

RG6/PM

PA5/SC

K2

RB0

/AN0

+3.3V

RB1

5/PM

PA0

RG0

RF5

/PMPA

8/U2T

X

RB1

/AN1

GNDA

GNDA

RA9/PMPA7RE2/PMPD2

RB11/PMPA12

RG12

RA6

RB13/PMPA10

RF12/U2CTS

RD14/U1CTS

RD7

ENVREG

RD12

GNDA

GNDA

GNDA

GNDA

GNDA

GNDA

GNDA

GNDA

GNDA

GNDA

GNDA

GNDA

GNDA

GNDA

1

GNDA

3/31

/10

PIM

MODLU

E

1039993 958985797569 716561555145 4741372721 23171373 97 10177 81 83 87 9157 59 67 7339 43 49 5319 25 29 33 351 5 9 11 15 117

119

118

120

113

114

109

110

104

100

94 969086807670 726662565246 4842382822 24181484

115

116

107

105

98 102

106

108

111

112

8478 82 88 9258 60 68 7440 44 50 5420 26 30 34 362 6 10 12 16

J4

MEC1-160-02-L-D

1039993 958985797569 716561555145 4741372721 23171373 97 10177 81 83 87 9157 59 67 7339 43 49 5319 25 29 33 351 5 9 11 15 117

119

118

120

113

114

109

110

104

100

94 969086807670 726662565246 4842382822 24181484

115

116

107

105

98 102

106

108

111

112

8478 82 88 9258 60 68 7440 44 50 5420 26 30 34 362 6 10 12 16

P9 MEC1-160-02-L-D MATE

MCP39

03 Eva

l Boa

rd fo

r 16-bit M

CU

Initial Sch

ematic Des

ign

PGD/OCFA/RB727

PMPA7/RA928

PMPD3/RE399

PMPD2/RE298

AVDD30

RG1296

C1OUT/AN8/RB832

PMPD1/RE194

TDO/AN11/RB1135

CVREF/AN10/RB1034

RA691

RA792

VDD37

RG189

U2RTS/RF1339

U2CTS/RF1240

RF087

VREG86

AN13/RB1342

SCL2/CN16/RD784

PMPA0/AN15/CN12/RB1544

PMPRD/CN14/RD582

CN20/RD1447

VDD46

IC5/RD1279

CN19/RD1380

U2RX/RF449

RD277

INT1

/RE8

18

VSS

15

VDD

16

MCLR

13

T4CK/RC3

8

T2CK/RC1

6

RG15

1

U1T

X/RF3

51

SDO1/RF8

53SD

I1/RF7

54

SDA1

/RG3

56

RA2

58

TDO/RA5

61

TDI/R

A460

OSC

1/CLK

I/RC12

63

VSS

65INT3

/RA1

466

IC1/RTC

C/RD8

68

IC3/RD10

70

RC13

73

OC1/RD0

72

VSS

75

RA0

/TMS

17

INT2

/RE9

19

T3CK/RC2

7

T5CK/RC4

9

VDD

2

U1R

X/RF2

52

SCL1

/RG2

57

RA3

59

VDD

62

SCK1

/INT0

/RF6

55

INT4

/RA1

567

IC2/RD9

69

IC4/RD11

71

OSC

2/CLK

0/RC15

64

RC14

74

AVSS31

PGC2/RB626

PMPA6/RA1029

RG1495

RG1397

PMPD4/RE4100

VSS36

C2OUT/AN9/RB933

TCK/RA138

AN12/RB1241

RF188

VCAP/VDDCORE85

RG090

PMPD0/RE093

VSS45

PMPA1/AN14/RB1443

CN21/RD1548

U2TX/RF550

RD176

SS1/RD378

PMPWR/OC5/RD481

SDA2/CN15/RD683

PGD1/AN

0/RB0

25

C2IN-/A

N2/SS

1/RB2

23C2IN+/AN

3/CN5/RB3

22

C1IN+/AN

5/CN7/RB5

20

PMPA

4/SD

I2/CN9/RG7

11PM

PA5/SC

K2/CN8/RG6

10

PMPD

5/RE5

3

PMPD

6/RE6

4

PGC1/AN

1/CN3/RB1

24

PMPA

2/SS

2/CN11

/RG9

14

C1IN-/A

N4/CN6/RB4

21

PMPD

7/RE7

5

PMPA

3/SD

O2/CN10

/RG8

12

MOD1

PIM 100

-PIN

DS51994A-page 20 © 2011 Microchip Technology Inc.

Page 25: MCP3903 ADC Evaluation Board for 16-Bit MCUs User's Guide · © 2011 Microchip Technology Inc. DS51994A MCP3903 ADC Evaluation Board for 16-Bit MCUs User’s Guide

Schematics and Layouts

A.7 SCHEMATIC - POWER

Rev

6

AB

1

Size

Title

D

Eng:

3 421

AB

4321

3/18

/10

6

Date

POWER

.SCHDOC

C

Shee

t

Drawn by

:

of

Rev

CD

B.Po

pescu

A.Hap

enciuc

Des

criptio

n

Filena

me:

B

Date:M

6

Initial D

esign

4

GNDA

+9V

GNDA

USB

_+5V

USB

GNDA

+3.3V +5V

GNDA

GNDA

GNDA

100

R58

+3.3V

POWER

GNDA

1P11

A

EXT +5

VGNDA

GNDA

32 1

J1

RAPC72

2

+9V IN

10UF

C4

2P11

B

100N

F C3 G

NDA

POWER

+9V IN

GNDA

100N

F

C5

POWER

BLUE

D5

GM1B

5525

0AC

GNDA

GNDAGND

TP1

PJ-20

2-30

4.7U

F

C2

GND1

IN3

OUT

2

U3

LM11

17-3.3

10UF

C1

EXT +5

V

POWER

AK

D3

MBR

0520

LT1

135

246

JP3

HDR3X

2

10UH

L1

4.7U

F

C6

MCP3

903 Ev

al Boa

rd fo

r 16-bit M

CU

3/31

/10

GND1

IN3

OUT

2

U1

LM11

17-5.0

EXT_

+5V

© 2011 Microchip Technology Inc. DS51994A-page 21

Page 26: MCP3903 ADC Evaluation Board for 16-Bit MCUs User's Guide · © 2011 Microchip Technology Inc. DS51994A MCP3903 ADC Evaluation Board for 16-Bit MCUs User’s Guide

MCP3903 ADC Evaluation Board for 16-Bit MCUs User’s Guide

A.8 BOARD - TOP TRACE AND TOP SILK

A.9 BOARD - BOTTOM TRACE AND BOTTOM SILK

DS51994A-page 22 © 2011 Microchip Technology Inc.

Page 27: MCP3903 ADC Evaluation Board for 16-Bit MCUs User's Guide · © 2011 Microchip Technology Inc. DS51994A MCP3903 ADC Evaluation Board for 16-Bit MCUs User’s Guide

Schematics and Layouts

A.10 BOARD - LAYER #2 VDD

A.11 BOARD - LAYER #3 GND

© 2011 Microchip Technology Inc. DS51994A-page 23

Page 28: MCP3903 ADC Evaluation Board for 16-Bit MCUs User's Guide · © 2011 Microchip Technology Inc. DS51994A MCP3903 ADC Evaluation Board for 16-Bit MCUs User’s Guide

MCP3903 ADC Evaluation Board for 16-Bit MCUs User’s Guide

A.12 BOARD - TOP SILK AND PADS

A.13 BOARD - BOTTOM SILK AND PADS

DS51994A-page 24 © 2011 Microchip Technology Inc.

Page 29: MCP3903 ADC Evaluation Board for 16-Bit MCUs User's Guide · © 2011 Microchip Technology Inc. DS51994A MCP3903 ADC Evaluation Board for 16-Bit MCUs User’s Guide

MCP3903 ADC EVALUATION BOARDFOR 16-BIT MCUs USER’S GUIDE

Appendix B. Bill of Materials (BOM)

TABLE B-1: BILL OF MATERIALS (BOM)

Qty Reference Description Manufacturer Part Number

2 C1,C4 CAP CER 10UF 16V Y5V 0805 TDK Corp. C2012Y5V1C106Z

25 C11<>C22 C24<>C30 C33,C34,C35 C36,C39,C41

CAP CER .10UF 25V X7R 10% 0603 TDK Corp. C1608X7R1E104K

2 C2,C6 CAP CER 4.7UF 25V Y5V 0805 TDK Corp. C2012Y5V1E475Z

1 C23 CAPACITOR TANT 47UF 6.3V 20% SMD Kemet® T491A476M006AT

5 C3,C5,C44 C45,C46

CAP CER .10UF 25V X7R 10% 0805 TDK Corp. C2012X7R1E104K

4 C31,C32 C37,C38

CAP CER 18PF 50V C0G 5% 0603 TDK Corp. C1608C0G1H180J

12 C7,C8,C9, C10 C51<>C58

CAP CER 68000PF 25V C0G 5% 1206 TDK Corp. C3216C0G1E683J

1 D1 LED 2X1.2MM RD/GN WTR CLR SMD Kingbright Corp. APHBM2012SURKCGKC

1 D3 DIODE SCHOTTKY 20V 0.5A SOD123 ON Semi. MBR0520LT1G

1 D5 LED BLUE 470NM CLEAR LENS (0603 Blue)

Para Light Corp. L-C191LBCT-U1

1 D6 LED 570NM GRN WHT/DIFF 0603 SMD Rohm Semi. SML-512MWT86

1 D7 LED RED 470NM CLEAR LENS (0603 Red)

Para Light Corp. L-C192KRCT-U1

4 Ea. Conner of PCB

STANDOFF HEX .500/4-40THR NYLON Keystone 1902C

4 Ea. Conner of PCB

SCREW MACH PHIL 4-40X3/8 NYLON Building Fasteners NY PMS 440 0038 PH

1 J1 CONN POWERJACK MINI .08" R/A T/H Switchcraft® RAPC722X

1 J2 Mini USB Type B Surface Mount Samtec MUSB-05-S-B-SM-A

1 J3 CONN D-SUB RCPT R/A 9POS 15GOLD Tyco Electronics 1734354-2

1 J4 "DO NOT INSTALL" 120-pin MINI EDGE CARD SOCKET

Samtec MEC1-160-02-L-D-A

1 J5 3 x 1 Header 2.54mm - -

8 JP1,JP2,JP3 JP5,JP7,JP8 JP9,JP10

3 X 2 Header 2.54mm on center 6 mm/2.5mm

Samtec TSW-103-07-G-D

1 JP6 2 x 1 Header 2.54mm - -

9 Jumper Shunts CONN JUMPER SHORTING TIN Sullins Connector Solutions

STC02SYAN

Note 1: The components listed in this Bill of Materials are representative of the PCB assembly. The released BOM used in manufacturing uses all RoHS-compliant components.

© 2011 Microchip Technology Inc. DS51994A-page 25

Page 30: MCP3903 ADC Evaluation Board for 16-Bit MCUs User's Guide · © 2011 Microchip Technology Inc. DS51994A MCP3903 ADC Evaluation Board for 16-Bit MCUs User’s Guide

Bill of Materials (BOM)

1 L1 Shielded 10uH Power Inductor 0805 Coilcraft 0805PS-103KLC

1 LCD1 "DO NOT INSTALL" - -

1 LCD2 16X2 FTN Reflective No. BLWT COG 3V Tianma TM162JCAWG1

4 MOD1 25 X 1 Header 1.27mm on center Samtec MTMS-125-01-G-S-230

6 P0,P1,P2,P3 P4,P5

CONN TERM BLK PLUG 6A 3.5MM 3POS Keystone 8723

1 P0,P1,P2,P3 P4,P5,P11

TERM BLK PIN HEADER 24Pin Pos One 24 Pin Header for 1 Board (20 pins needed)

Keystone 8724

1 P11 CONN TERM BLK PLUG 6A 3.5MM 2POS Keystone 8722

1 P6 6 x 1 Header 2.54mm - -

1 P8 8 X 2 CONN HEADER 8POS .100" DUAL TIN

Samtec TSW-104-17-T-D

1 P9 "DO NOT INSTALL” - -

1 PCB RoHS Compliant Bare PCB, MCP3901 Eval. Board for 16-bit MCU

- 104-00221

24 R1,R2,R3,R4 R6,R8,R9 R10,R16, R52,R62 R84,R87 R89<>R94 R96,R99 R101<>R104

(0805) "DO NOT INSTALL" - -

4 R13,R19 R23,R30

RES 4.70K OHM 1/10W 1% 0603 SMD Rohm Semi. MCR03EZPFX4701

8 R14,R20, R24, R31 R32,R33 R36, R37

RES 1.00K OHM 1/10W 1% 0603 SMD Rohm Semi. MCR03EZPFX1001

3 R21,R57 RES 10.0K OHM 1/10W 1% 0603 SMD Rohm Semi. MCR03EZPFX1002

5 R17,R18,R25 R29,R35

(0603) "DO NOT INSTALL" - -

2 R15,R22,R26 RES 0.0 OHM 1/10W 5% 0603 SMD Rohm Semi. MCR03EZPJ000

2 R27,R28 RES 2.20K OHM 1/10W 1% 0603 SMD Rohm Semi. MCR03EZPFX2201

2 R34,R40 RES 1.00M OHM 1/10W 1% 0603 SMD Rohm Semi. MCR03EZPFX1004

10 R38,R39,R43,R54,R55,R56,R58 R63,R68,R69

RES 100 OHM 1/10W 1% 0603 SMD Rohm Semi. MCR03EZPFX1000

3 R41,R44,R47 RES 470 OHM 1/10W 5% 0603 SMD Panasonic ERJ-3GEYJ471V

7 R44,R70,R71, R72,R74,R75 R76

RES 100K OHM 1/10W 1% 0603 SMD Rohm Semi. MCR03EZPFX1003

TABLE B-1: BILL OF MATERIALS (BOM) (CONTINUED)

Qty Reference Description Manufacturer Part Number

Note 1: The components listed in this Bill of Materials are representative of the PCB assembly. The released BOM used in manufacturing uses all RoHS-compliant components.

© 2011 Microchip Technology Inc. DS51994A-page 26

Page 31: MCP3903 ADC Evaluation Board for 16-Bit MCUs User's Guide · © 2011 Microchip Technology Inc. DS51994A MCP3903 ADC Evaluation Board for 16-Bit MCUs User’s Guide

Bill of Materials (BOM)

12 R5,R7,R11 R12,R83,R85 R86,R88,R95 R97,R98 R100

RES 1.0K OHM .1% 1/4W 0805 SMD Susumu Co., LTD. RGH2012-2E-P-102-B

2 R59,R60 RES 10.0 OHM 1/8W 1% 0805 SMD Rohm Semi. MCR10EZHF10R0

4 SW1,SW2 SW3,SW4

SWITCH TACT 6MM 230GF H=4.3MM Omron Electronic Components - ECB Division

B3S-1002P

1 TP1 Wire Test Point 0.3" Length Components Corp. PJ-202-30

1 U1 IC REG LDO 800MA 5.0V SOT-223 National Semi. LM1117MP-5.0/NOPB

1 U3 IC REG LDO 800MA 3.3V SOT-223 National Semi. LM1117MP-3.3/NOPB

1 U6 IC DRVR/RCVR MLTCH RS232 20TSSOP Texas Instruments SN75C3223PWR

1 U7 "DO NOT INSTALL" - -

1 U9 IC ENERGY METER 28SSOP Microchip MCP3903

1 X2 CRYSTAL 3.579545MHZ 18PFFUND SMD

Abracon Corp. ABLS-3.579545MHZ-B2-T

TABLE B-1: BILL OF MATERIALS (BOM) (CONTINUED)

Qty Reference Description Manufacturer Part Number

Note 1: The components listed in this Bill of Materials are representative of the PCB assembly. The released BOM used in manufacturing uses all RoHS-compliant components.

© 2011 Microchip Technology Inc. DS51994A-page 27

Page 32: MCP3903 ADC Evaluation Board for 16-Bit MCUs User's Guide · © 2011 Microchip Technology Inc. DS51994A MCP3903 ADC Evaluation Board for 16-Bit MCUs User’s Guide

DS51994A-page 28 © 2011 Microchip Technology Inc.

AMERICASCorporate Office2355 West Chandler Blvd.Chandler, AZ 85224-6199Tel: 480-792-7200 Fax: 480-792-7277Technical Support: http://www.microchip.com/supportWeb Address: www.microchip.comAtlantaDuluth, GA Tel: 678-957-9614 Fax: 678-957-1455BostonWestborough, MA Tel: 774-760-0087 Fax: 774-760-0088ChicagoItasca, IL Tel: 630-285-0071 Fax: 630-285-0075ClevelandIndependence, OH Tel: 216-447-0464 Fax: 216-447-0643DallasAddison, TX Tel: 972-818-7423 Fax: 972-818-2924DetroitFarmington Hills, MI Tel: 248-538-2250Fax: 248-538-2260IndianapolisNoblesville, IN Tel: 317-773-8323Fax: 317-773-5453Los AngelesMission Viejo, CA Tel: 949-462-9523 Fax: 949-462-9608Santa ClaraSanta Clara, CA Tel: 408-961-6444Fax: 408-961-6445TorontoMississauga, Ontario, CanadaTel: 905-673-0699 Fax: 905-673-6509

ASIA/PACIFICAsia Pacific OfficeSuites 3707-14, 37th FloorTower 6, The GatewayHarbour City, KowloonHong KongTel: 852-2401-1200Fax: 852-2401-3431Australia - SydneyTel: 61-2-9868-6733Fax: 61-2-9868-6755China - BeijingTel: 86-10-8569-7000 Fax: 86-10-8528-2104China - ChengduTel: 86-28-8665-5511Fax: 86-28-8665-7889China - ChongqingTel: 86-23-8980-9588Fax: 86-23-8980-9500China - HangzhouTel: 86-571-2819-3180 Fax: 86-571-2819-3189China - Hong Kong SARTel: 852-2401-1200 Fax: 852-2401-3431China - NanjingTel: 86-25-8473-2460Fax: 86-25-8473-2470China - QingdaoTel: 86-532-8502-7355Fax: 86-532-8502-7205China - ShanghaiTel: 86-21-5407-5533 Fax: 86-21-5407-5066China - ShenyangTel: 86-24-2334-2829Fax: 86-24-2334-2393China - ShenzhenTel: 86-755-8203-2660 Fax: 86-755-8203-1760China - WuhanTel: 86-27-5980-5300Fax: 86-27-5980-5118China - XianTel: 86-29-8833-7252Fax: 86-29-8833-7256China - XiamenTel: 86-592-2388138 Fax: 86-592-2388130China - ZhuhaiTel: 86-756-3210040 Fax: 86-756-3210049

ASIA/PACIFICIndia - BangaloreTel: 91-80-3090-4444 Fax: 91-80-3090-4123India - New DelhiTel: 91-11-4160-8631Fax: 91-11-4160-8632India - PuneTel: 91-20-2566-1512Fax: 91-20-2566-1513Japan - YokohamaTel: 81-45-471- 6166 Fax: 81-45-471-6122Korea - DaeguTel: 82-53-744-4301Fax: 82-53-744-4302Korea - SeoulTel: 82-2-554-7200Fax: 82-2-558-5932 or 82-2-558-5934Malaysia - Kuala LumpurTel: 60-3-6201-9857Fax: 60-3-6201-9859Malaysia - PenangTel: 60-4-227-8870Fax: 60-4-227-4068Philippines - ManilaTel: 63-2-634-9065Fax: 63-2-634-9069SingaporeTel: 65-6334-8870Fax: 65-6334-8850Taiwan - Hsin ChuTel: 886-3-6578-300Fax: 886-3-6578-370Taiwan - KaohsiungTel: 886-7-213-7830Fax: 886-7-330-9305Taiwan - TaipeiTel: 886-2-2500-6610 Fax: 886-2-2508-0102Thailand - BangkokTel: 66-2-694-1351Fax: 66-2-694-1350

EUROPEAustria - WelsTel: 43-7242-2244-39Fax: 43-7242-2244-393Denmark - CopenhagenTel: 45-4450-2828 Fax: 45-4485-2829France - ParisTel: 33-1-69-53-63-20 Fax: 33-1-69-30-90-79Germany - MunichTel: 49-89-627-144-0 Fax: 49-89-627-144-44Italy - Milan Tel: 39-0331-742611 Fax: 39-0331-466781Netherlands - DrunenTel: 31-416-690399 Fax: 31-416-690340Spain - MadridTel: 34-91-708-08-90Fax: 34-91-708-08-91UK - WokinghamTel: 44-118-921-5869Fax: 44-118-921-5820

Worldwide Sales and Service

05/02/11