Microchip Technology MCP3903 User Manual
Microchip Technology MCP3903 User Manual

Microchip Technology MCP3903 User Manual

Adc evaluation board for 16-bit mcus

Advertisement

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

Advertisement

Table of Contents
loading
Need help?

Need help?

Do you have a question about the MCP3903 and is the answer not in the manual?

Questions and answers

Subscribe to Our Youtube Channel

Summary of Contents for Microchip Technology MCP3903

  • Page 1 MCP3903 ADC Evaluation Board for 16-Bit MCUs User’s Guide © 2011 Microchip Technology Inc. DS51994A...
  • Page 2 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.
  • Page 3: Table Of Contents

    Document Revision History ................... 3 Chapter 1. Hardware Description 1.1 Overview ......................5 1.2 PIM Module / MCP3903 Connection and Peripheral Usage Overview ..7 1.3 Analog Input Structure ..................9 1.4 USB to Serial Converter ................. 9 Chapter 2. Code Example 2.1 dsPIC33 Example Description ..............
  • Page 4 MCP3903 ADC Evaluation Board for 16-Bit MCUs User’s Guide © 2011 Microchip Technology Inc. DS51994A-page 4...
  • Page 5: Preface

    • Customer Support • Document Revision History DOCUMENT LAYOUT This 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: •...
  • Page 6: Conventions Used In This Guide

    MCP3903 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...
  • Page 7: Recommended Reading

    Preface RECOMMENDED READING This 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”...
  • Page 8 MCP3903 ADC Evaluation Board for 16-Bit MCUs User’s Guide NOTES: © 2011 Microchip Technology Inc. DS51994A-page 4...
  • Page 9: Chapter 1. Hardware Description

    MCP3903 ADC EVALUATION BOARD FOR 16-BIT MCUs USER’S GUIDE Chapter 1. Hardware Description OVERVIEW The 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.
  • Page 10 MCP3903 ADC Evaluation Board for 16-Bit MCUs User’s Guide FIGURE 1-1: MCP3903 ADC Evaluation Board for 16-Bit MCUs. © 2011 Microchip Technology Inc. DS51994A-page 6...
  • Page 11: Pim Module / Mcp3903 Connection And Peripheral Usage Overview

    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.
  • Page 12 1.2.1 Using the Crystal X2 The 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:...
  • Page 13: Analog Input Structure

    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.
  • Page 14 MCP3903 ADC Evaluation Board for 16-Bit MCUs User’s Guide NOTES: © 2011 Microchip Technology Inc. DS51994A-page 10...
  • Page 15: Chapter 2. Code Example

    To 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.
  • Page 16 MCP3903 ADC Evaluation Board for 16-Bit MCUs User’s Guide S ta r t In itia lis a tio n Initialization G e t s a m p le s in to b u ffe r [5 1 2 ] R e a d In te r n a l R e g is te rs...
  • Page 17 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.
  • Page 18 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.
  • Page 19: Appendix A. Schematics And Layouts

    MCP3903 ADC EVALUATION BOARD FOR 16-BIT MCUs USER’S GUIDE Appendix A. Schematics and Layouts INTRODUCTION This appendix contains the following schematics of the MCP3903 ADC Evaluation Board for 16-Bit MCUs. • Schematic - Analog • Schematic - LCD and UART •...
  • Page 20: Schematic - Analog

    MCP3903 ADC Evaluation Board for 16-Bit MCUs User’s Guide SCHEMATIC - ANALOG © 2011 Microchip Technology Inc. DS51994A-page 16...
  • Page 21: Schematic - Lcd And Uart

    Schematics and Layouts SCHEMATIC - LCD AND UART © 2011 Microchip Technology Inc. DS51994A-page 17...
  • Page 22: Schematic - Usb And Memory

    MCP3903 ADC Evaluation Board for 16-Bit MCUs User’s Guide SCHEMATIC - USB AND MEMORY © 2011 Microchip Technology Inc. DS51994A-page 18...
  • Page 23: Schematic - Microcontroller (Mcu)

    Schematics and Layouts SCHEMATIC - MICROCONTROLLER (MCU) © 2011 Microchip Technology Inc. DS51994A-page 19...
  • Page 24: Schematic - Pim Module

    MCP3903 ADC Evaluation Board for 16-Bit MCUs User’s Guide SCHEMATIC - PIM MODULE © 2011 Microchip Technology Inc. DS51994A-page 20...
  • Page 25: Schematic - Power

    Schematics and Layouts SCHEMATIC - POWER © 2011 Microchip Technology Inc. DS51994A-page 21...
  • Page 26: Board - Top Trace And Top Silk

    MCP3903 ADC Evaluation Board for 16-Bit MCUs User’s Guide BOARD - TOP TRACE AND TOP SILK BOARD - BOTTOM TRACE AND BOTTOM SILK © 2011 Microchip Technology Inc. DS51994A-page 22...
  • Page 27: Board - Layer #2 Vdd

    Schematics and Layouts A.10 BOARD - LAYER #2 VDD A.11 BOARD - LAYER #3 GND © 2011 Microchip Technology Inc. DS51994A-page 23...
  • Page 28: Board - Top Silk And Pads

    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 © 2011 Microchip Technology Inc. DS51994A-page 24...
  • Page 29: Appendix B. Bill Of Materials (Bom)

    MCP3903 ADC EVALUATION BOARD FOR 16-BIT MCUs USER’S GUIDE Appendix B. Bill of Materials (BOM) TABLE B-1: BILL OF MATERIALS (BOM) Reference Description Manufacturer Part Number C1,C4 CAP CER 10UF 16V Y5V 0805 TDK Corp. C2012Y5V1C106Z C11<>C22 CAP CER .10UF 25V X7R 10% 0603 TDK Corp.
  • Page 30 RES 100K OHM 1/10W 1% 0603 SMD Rohm Semi. MCR03EZPFX1003 R72,R74,R75 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 CRYSTAL 3.579545MHZ 18PFFUND Abracon Corp. ABLS-3.579545MHZ-B2-T 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: Worldwide Sales And Service

    Tel: 408-961-6444 Fax: 408-961-6445 China - Xian Tel: 86-29-8833-7252 Toronto Fax: 86-29-8833-7256 Mississauga, Ontario, Canada China - Xiamen Tel: 905-673-0699 Tel: 86-592-2388138 Fax: 905-673-6509 Fax: 86-592-2388130 China - Zhuhai Tel: 86-756-3210040 05/02/11 Fax: 86-756-3210049 © 2011 Microchip Technology Inc. DS51994A-page 28...

Table of Contents