ebook img

MCP3909 ADC Evaluation Board for 16-Bit MCUs User's - Microchip PDF

38 Pages·2008·1.56 MB·English
Save to my drive
Quick download
Download
Most books are stored in the elastic cloud where traffic is expensive. For this reason, we have a limit on daily download.

Preview MCP3909 ADC Evaluation Board for 16-Bit MCUs User's - Microchip

MCP3909 ADC Evaluation Board for 16-Bit MCUs User’s Guide © 2008 Microchip Technology Inc. DS51777A 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 Trademarks applications and the like is provided only for your convenience The Microchip name and logo, the Microchip logo, Accuron, and may be superseded by updates. It is your responsibility to dsPIC, KEELOQ, KEELOQ logo, MPLAB, PIC, PICmicro, ensure that your application meets with your specifications. PICSTART, rfPIC, SmartShunt and UNI/O are registered MICROCHIP MAKES NO REPRESENTATIONS OR trademarks of Microchip Technology Incorporated in the WARRANTIES OF ANY KIND WHETHER EXPRESS OR U.S.A. and other countries. IMPLIED, WRITTEN OR ORAL, STATUTORY OR OTHERWISE, RELATED TO THE INFORMATION, FilterLab, Linear Active Thermistor, MXDEV, MXLAB, INCLUDING BUT NOT LIMITED TO ITS CONDITION, SEEVAL, SmartSensor and The Embedded Control Solutions QUALITY, PERFORMANCE, MERCHANTABILITY OR Company are registered trademarks of Microchip Technology FITNESS FOR PURPOSE. Microchip disclaims all liability Incorporated in the U.S.A. arising from this information and its use. Use of Microchip Analog-for-the-Digital Age, Application Maestro, CodeGuard, devices in life support and/or safety applications is entirely at dsPICDEM, dsPICDEM.net, dsPICworks, dsSPEAK, ECAN, the buyer’s risk, and the buyer agrees to defend, indemnify and ECONOMONITOR, FanSense, In-Circuit Serial hold harmless Microchip from any and all damages, claims, Programming, ICSP, ICEPIC, Mindi, MiWi, MPASM, MPLAB suits, or expenses resulting from such use. No licenses are Certified logo, MPLIB, MPLINK, mTouch, PICkit, PICDEM, conveyed, implicitly or otherwise, under any Microchip PICDEM.net, PICtail, PIC32 logo, PowerCal, PowerInfo, intellectual property rights. PowerMate, PowerTool, REAL ICE, rfLAB, Select Mode, Total Endurance, WiperLock and ZENA are trademarks of Microchip Technology Incorporated in the U.S.A. and other countries. SQTP is a service mark of Microchip Technology Incorporated in the U.S.A. All other trademarks mentioned herein are property of their respective companies. © 2008, Microchip Technology Incorporated, Printed in the U.S.A., All Rights Reserved. Printed on recycled paper. Microchip received ISO/TS-16949:2002 certification for its worldwide headquarters, design and wafer fabrication facilities in Chandler and 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. DS51777A-page ii © 2008 Microchip Technology Inc. MCP3909 ADC EVALUATION BOARD FOR 16-BIT MCUs USER’S GUIDE Table of Contents Preface ...........................................................................................................................1 Introduction............................................................................................................1 Document Layout..................................................................................................1 Conventions Used in this Guide............................................................................2 Recommended Reading........................................................................................3 The Microchip Web Site........................................................................................3 Customer Support.................................................................................................3 Document Revision History...................................................................................3 Chapter 1. Hardware Description 1.1 Overview ........................................................................................................5 1.2 PIM Module / MCP3909 Connection and Peripheral Usage Overview ..........7 1.3 MCP3909 Delta-Sigma Sampling / MCLK Options ........................................8 1.4 Analog Input Structure ....................................................................................9 1.5 Universal Serial Bus (USB) ............................................................................9 Chapter 2. Firmware 2.1 DSPIC33 Firmware Description ...................................................................11 2.2 Display Mode Control - SW2 ........................................................................13 2.3 Sampling Speed Rate Control - SW3 ...........................................................13 2.4 Data Acquisition ...........................................................................................13 2.5 Data Transmission .......................................................................................15 Chapter 3. MCP3909 PC Software Tool 3.1 Software Overview .......................................................................................17 3.2 Setting the Sample Rate ..............................................................................18 3.3 Connectivity, Recording Length and Calibration of Data ..............................18 3.4 Scope Plot Window - Time Domain Analysis ...............................................18 3.5 Histogram Window - Noise Analysis ............................................................19 3.6 FFT Window - Frequency Domain Analysis .................................................19 3.7 Auxiliary Data Window .................................................................................19 © 2008 Microchip Technology Inc. DS51777A-page iii MCP3909 ADC Evaluation Board for 16-Bit MCUs User’s Guide Appendix A. Schematics and Layouts A.1 Introduction ..................................................................................................21 A.2 Schematic - Analog ......................................................................................22 A.3 Schematic - LCD And UART .......................................................................23 A.4 Schematic - USB And Memory ....................................................................24 A.5 Schematic - Microcontroller (MCU) ..............................................................25 A.6 Schematic - PIM Module ..............................................................................26 A.7 Schematic - Power .......................................................................................27 A.8 Board - Top Trace and Top Silk ...................................................................28 A.9 Board - Bottom Trace and Bottom Silk ........................................................28 A.10 Board - Layer #2 VDD ................................................................................29 A.11 Board - Layer #3 GND ...............................................................................29 A.12 Board -Top Silk and Pads ..........................................................................30 A.13 Board - Bottom Silk and Pads ....................................................................30 Appendix B. Bill of Materials (BOM) Worldwide Sales and Service .....................................................................................34 DS51777A-page iv © 2008 Microchip Technology Inc. MCP3909 ADC EVALUATION BOARD FOR 16-BIT MCUs USER’S GUIDE Preface NOTICE TO CUSTOMERS All documentation becomes dated, and this manual is no exception. Microchip tools and documentation are constantly evolving to meet customer needs, so some actual dialogs and/or tool descriptions may differ from those in this document. Please refer to our web site (www.microchip.com) to obtain the latest documentation available. Documents are identified with a “DS” number. This number is located on the bottom of each page, in front of the page number. The numbering convention for the DS number is “DSXXXXXA”, where “XXXXX” is the document number and “A” is the revision level of the document. For the most up-to-date information on development tools, see the MPLAB® IDE on-line help. Select the Help menu, and then Topics to open a list of available on-line help files. INTRODUCTION This chapter contains general information that will be useful to know before using the MCP3909 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 LAYOUT This document describes how to use the MCP3909 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 MCP3909 ADC Evaluation Board for 16-Bit MCUs hardware. • Chapter 2.“Firmware”– Describes the MCP3909 ADC Evaluation Board for 16-Bit MCUs firmware. • Chapter 3.“MCP3909 PC Software Tool” – Provides detailed information about board’s PC software tool. • Appendix A.“Schematics and Layouts”– Shows the schematic and board layouts for the MCP3909 ADC Evaluation Board for 16-Bit MCUs. • Appendix B.“Bill of Materials (BOM)” – Lists the parts used to build the MCP3909 ADC Evaluation Board for 16-Bit MCUs. © 2008 Microchip Technology Inc. DS51777A-page 1 MCP3909 ADC Evaluation Board for 16-Bit MCUs User’s Guide CONVENTIONS USED IN THIS GUIDE This manual uses the following documentation conventions: DOCUMENTATION CONVENTIONS Description Represents Examples Arial font: Italic characters Referenced books MPLAB® IDE User’s Guide Emphasized text ...is the only compiler... Initial caps A window the Output window A dialog the Settings dialog A menu selection select Enable Programmer Quotes A field name in a window or “Save project before build” dialog Underlined, italic text with A menu path File>Save right angle bracket Bold characters A dialog button Click OK A tab Click the Power tab N‘Rnnnn A number in verilog format, 4‘b0010, 2‘hF1 where N is the total number of digits, R is the radix and n is a digit. 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\h Keywords _asm, _endasm, static Command-line options -Opa+, -Opa- Bit values 0, 1 Constants 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 Choice of mutually exclusive errorlevel {0|1} character: { | } arguments; an OR selection Ellipses... Replaces repeated text var_name [, var_name...] Represents code supplied by void main (void) user { ... } DS51777A-page 2 © 2008 Microchip Technology Inc. Preface RECOMMENDED READING This user's guide describes how to use MCP3909 ADC Evaluation Board for 16-Bit MCUs. Other useful documents are listed below. The following Microchip document is available and recommended as supplemental reference resources: • MCP3909 Data Sheet - “Energy Metering IC with SPI Interface and Active Power Pulse Output” (DS22025) 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 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. 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 (November 2008) • Initial Release of this Document. © 2008 Microchip Technology Inc. DS51777A-page 3 MCP3909 ADC Evaluation Board for 16-Bit MCUs User’s Guide NOTES: DS51777A-page 4 © 2008 Microchip Technology Inc. MCP3909 ADC EVALUATION BOARD FOR 16-BIT MCUs USER’S GUIDE Chapter 1. Hardware Description 1.1 OVERVIEW The MCP3909 ADC Evaluation Board for 16-Bit MCUs system provides the ability to evaluate the performance of the MCP3909 dual channel ADC. It also provides a devel- opment platform for 16-bit PIC 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 and dsPIC33FJ256GP710 PIM modules that communicate both to on-board LCD and a LabView GUI for both in-circuit and PC signal processing. 1.1.1 Feature Highlights • Dual 16-bit ADC MCP3909 output display using Serial communication to PCSoftwareInterface • Simultaneous 15ksps at 81dB SINAD performance on dual 16-Bit MCP3909 channels • Spectral Analysis using DFT dsPIC33F calculations, resolution of TBDAH • System and ADC performance analysis through graphical PC tools showing Noise Histogram, Frequency Domain (FFT), Time domain scope plot, and statistical numerical analysis • Robust hardware design with analog grounding and analog/digital separation, allowing low noise evaluation of MCP3909 devices. Separate power supplies and power planes - 4 layer board • Pigtail Plus connectors for Explorer-16 daughter board compatibility © 2008 Microchip Technology Inc. DS51777A-page 5 MCP3909 ADC Evaluation Board for 16-Bit MCUs User’s Guide HFOUT CH0+ + GND G - CH0- Serial Connector CH1+ + MCP3909 GND G CH1- - ++5V +E9XVT I+N5V PIM RESET SW2 SW3 SW4 -T USB MCP3909 EX Digital I/O RA9 RA10 PWR LED +5V +3V (Blue) 9V EXT. IN REG REG D C 8 I us C1 Pl D PI ail C Ct 8 I PI 1 C USB PI PIC18F86J65 SRAM PIM (100-PIN) PIC18 AUX I/O PIC18 EXTERNAL I/O MCP3909 ADC Evaluation Board for 16-bit MCU FIGURE 1-1: Evaluation Board Block Diagram. DS51777A-page 6 © 2008 Microchip Technology Inc.

Description:
Appendix A. “Schematics and Layouts”– Shows the schematic and board layouts for the MCP3909 Data Sheet - “Energy Metering IC with SPI Interface and Active . crystal, being used as a clock source by placing jumpers in the following position on the. MCP3909 Digital micros, and memory. NY
See more

The list of books you might like

Most books are stored in the elastic cloud where traffic is expensive. For this reason, we have a limit on daily download.