Advertisement

Quick Links

MCP43XXEV

Evaluation Board

User's Guide
© 2010 Microchip Technology Inc.
DS51892A

Advertisement

Table of Contents
loading
Need help?

Need help?

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

Questions and answers

Subscribe to Our Youtube Channel

Summary of Contents for Microchip Technology MCP43XXEV

  • Page 1: Evaluation Board

    MCP43XXEV Evaluation Board User’s Guide © 2010 Microchip Technology Inc. DS51892A...
  • Page 2 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

    Chapter 1. Product Overview 1.1 Introduction ..................... 9 1.2 What is the MCP43XXEV Evaluation Board? ..........9 1.3 What the MCP43XXEV Evaluation Board Kit Includes ........ 10 Chapter 2. Installation and Operation 2.1 Introduction ....................11 2.2 Features ....................... 12 2.3 Getting Started .....................
  • Page 4 MCP43XXEV Evaluation Board User’s Guide NOTES: © 2010 Microchip Technology Inc. DS51892A-page 4...
  • Page 5: Preface

    • Customer Support • Document Revision History DOCUMENT LAYOUT This document describes how to use the MCP43XXEV Evaluation Board as a development tool to emulate and debug firmware on a target board. The manual layout is as follows: • Chapter 1. “Product Overview” – Important information about the MCP43XXEV Evaluation Board.
  • Page 6: Conventions Used In This Guide

    MCP43XXEV Evaluation Board 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...
  • Page 7 Preface RECOMMENDED READING This User’s Guide describes how to use the MCP43XXEV Evaluation Board. Other useful documents are listed below. The following Microchip documents are available and recommended as supplemental reference resources. AN1080 Application Note, “Understanding Digital Potentiometer Resistor Variations”, DS01080 AN1316 Application Note, “Using Digital Potentiometers for Programmable...
  • Page 8 MCP43XXEV Evaluation Board User’s Guide DOCUMENT REVISION HISTORY Revision A (July 2010) • Initial Release of this Document. © 2010 Microchip Technology Inc. DS51892A-page 8...
  • Page 9: Chapter 1. Product Overview

    MCP43XXEV EVALUATION BOARD USER’S GUIDE Chapter 1. Product Overview INTRODUCTION This chapter provides an overview of the MCP43XXEV Evaluation Board and covers the following topics: • What is the MCP43XXEV Evaluation Board? • What the MCP43XXEV Evaluation Board kit includes...
  • Page 10: What The Mcp43Xxev Evaluation Board Kit Includes

    1x6 Male Header, with 90° right angle FIGURE 1-1: MCP43XXEV Evaluation Board Using the TSSOP20EV Evaluation Board (MCP4361 installed in U3). WHAT THE MCP43XXEV EVALUATION BOARD KIT INCLUDES This MCP43XXEV Evaluation Board kit includes: • MCP43XXEV Evaluation Board •...
  • Page 11: Chapter 2. Installation And Operation

    Chapter 2. Installation and Operation INTRODUCTION The MCP43XXEV Evaluation Board allows the system designer to quickly evaluate the operation of the MCP4361 10 kΩ (-103) Digital Potentiometer device using the PICkit Serial Analyzer. The PICkit Serial Analyzer is available separately (order number: DV164122).
  • Page 12: Features

    MCP43XXEV Evaluation Board User’s Guide FEATURES The MCP43XXEV Evaluation Board has the following features: • MCP4361-103E/ST is installed • 0Ω resistors connect MCP4361 V and V signals to the appropriate Power or Ground plane (see Figure 2-2) • 0Ω resistors connect MCP4361’s Resistor Network 0 and 2 A terminal signal to...
  • Page 13: Getting Started

    2.4.1 The Hardware Figure 2-2 shows the component layout of the MCP43XXEV Evaluation Board. This is a small four-layer board ( 3.9" x 2.1" (99.06 mm x 53.34 mm)). There are twenty two connection points/pads that can use either through-hole or surface-mount connector posts.
  • Page 14 MCP43XXEV Evaluation Board User’s Guide DIP-20 (1) PICkit Serial / ICSP Interface Requires blue TSSOP-20 (1) wire jumpering to connect the PICkit Interface to the selected device P19 P20 SSOP-20 P1 XTAL VIA1 VIA2 PIC Circuitry (bottom of PCB) Note: The TSSOP-14 device (Rheostat) will use the TSSOP-20 footprint, with not all pins connected.
  • Page 15 Four Blue Wire Jumpers to connect PICkit Serial interface (SPI) to device pins 1x6 Male Header, with 90° right angle FIGURE 2-2: MCP43XXEV Evaluation Board Component Placement Using the TSSOP20EV Evaluation Board (Top). © 2010 Microchip Technology Inc. DS51892A-page 15...
  • Page 16 MCP43XXEV Evaluation Board User’s Guide TABLE 2-1: INSTALLED PASSIVE COMPONENTS Component Description Comment R11U, R17U, R20U 0Ω SMT 805 Pull-up resistor R14U, R15U 10 kΩ SMT 805 Pull-up resistor R7D, R13D, R18D 0Ω SMT 805 Pull-down resistor MCP4361-103E/ST = 10 kΩ...
  • Page 17 If the board is powered via the V and GND connection points, the use of bypass capacitors on C1 and C2 may improve performance. The benefit is reduced if the board is powered via the PICkit Serial interface. © 2010 Microchip Technology Inc. DS51892A-page 17...
  • Page 18 MCP43XXEV Evaluation Board User’s Guide 2.4.2 The MCP4361 Device To make variations to the commands sent to the MCP4361 device (from the commands shown in the demo section), one must know the device memory map (see Table 2-3) and the command formats (see Figure 2-3). For additional device operational information, refer to the MCP4361 device data sheet (DS22233).
  • Page 19: Configuring The Pickit Serial Analyzer

    WriteTCON1 SPICSON SPIDATOUT 0x02 0xA0 0xFF SPICSOFF ReadTCON1 SPICSON SPIDATIO 0x02 0xAC 0xA5 SPICSOFF ReadSTATUS SPICSON SPIDATIO 0x02 0x5C 0xA5 SPICSOFF INCRWiper0 SPICSON SPIDATIO 0x01 0x04 SPICSOFF DECRWiper0 SPICSON SPIDATIO 0x01 0x08 SPICSOFF © 2010 Microchip Technology Inc. DS51892A-page 19...
  • Page 20 MCP43XXEV Evaluation Board User’s Guide 2.5.2 Working With the PICkit Serial Analyzer Figure 2-4 shows the PICkit Serial Window after the program has started. The Transaction window indicates if the PICkit Serial GUI located the PICkit Serial Analyzer Hardware. When starting the PICkit Serial Analyzer for the first time, some setup questions may be asked.
  • Page 21 Select PICkit Serial Analyzer -> Select Communications Mode -> SPI Master menu item (make sure the SPI Master item is checked). FIGURE 2-5: PICkit Serial Selecting Communications Mode. © 2010 Microchip Technology Inc. DS51892A-page 21...
  • Page 22 MCP43XXEV Evaluation Board User’s Guide Now we need to configure the mode that we selected. Figure 2-6 shows how to configure the communications mode. Select PICkit Serial Analyzer -> Configure Communications Mode menu item. This will open a new window: FIGURE 2-6: PICkit Serial Main Window at Startup.
  • Page 23 “Save Changes” button. The “Configure Communications Mode” window may now be closed. FIGURE 2-7: PICkit Serial Configure Communications Mode Window. © 2010 Microchip Technology Inc. DS51892A-page 23...
  • Page 24 MCP43XXEV Evaluation Board User’s Guide Now we are going to open the Script Builder window, select the Communications -> Script -> Script Builder menu item (see Figure 2-8). FIGURE 2-8: PICkit Serial - Script Builder Menu Selection. © 2010 Microchip Technology Inc.
  • Page 25 The Script Builder window is shown in Figure 2-9. In this window we see the User SPI Scripts including the ones that were added to the “CommScripts.txt “ file. FIGURE 2-9: PICkit Serial Main Window at Startup. © 2010 Microchip Technology Inc. DS51892A-page 25...
  • Page 26 MCP43XXEV Evaluation Board User’s Guide Double clicking on the WriteWiper0 User SPI Script will load the Script Details. Figure 2-10 shows what the values mean in the Script Details. These values are hex numbers. The first value (02h), is the number of bytes that will be written. The second byte is a data byte and contains the Device Register Address, the Device Command, and the two Most Significant bits (MSb) of the write data.
  • Page 27 Data Byte #2 are not important. The bytes are required for the SPI clock generation. Number of Bytes that will be written Data Byte #1 Data Byte #2 (Write Data “D7:D0”) (Device Register Address + Command + Data bit “D8”) FIGURE 2-11: Example Read Script. © 2010 Microchip Technology Inc. DS51892A-page 27...
  • Page 28: Mcp4361 Demo Steps

    6. Ensure that the Master SPI configuration is appropriately configured (see Figure 2-7). 7. Measure the Wiper 0 voltage on the MCP43XXEV board (see Figure 2-2) using an oscilloscope or digital multimeter. Measure voltage from the ground plane (GND) to the Wiper (P12). The voltage on the Wiper should be ~ V /2 (~2.5V).
  • Page 29 “Reset” toolbar icon. Verify that subsequent script operations do not generate errors. Write Command to Wiper 0 Register (D8 = ‘1’) Wiper 0 Data (D7:D0 = ‘FFh’) FIGURE 2-12: MCP43XX Write Wiper 0 Script File - Updating Wiper Value. © 2010 Microchip Technology Inc. DS51892A-page 29...
  • Page 30 MCP43XXEV Evaluation Board User’s Guide Number of Bytes that will be written Data Byte #1 Data Byte #2 (Write Data “D7:D0”) (Device Register Address + Command + Data bit “D8”) FIGURE 2-13: MCP43XX Read TCON1 Script. 9-bit data value (03Fh)
  • Page 31 MCP4361 Transaction Window - TCON1 Writes and Reads. Data value (03Fh) read from Wiper 0 register Data value (03Ch) read from Wiper 0 register after 3 Decrement Commands FIGURE 2-16: MCP4361 Transaction Window - Wiper 0 Decrements. © 2010 Microchip Technology Inc. DS51892A-page 31...
  • Page 32 MCP43XXEV Evaluation Board User’s Guide Data value (03Fh) read from Wiper 0 register Data value (042h) read from Wiper 0 register after 3 Increment Commands FIGURE 2-17: MCP4361 Transaction Window - Wiper 0 Increments. 2.6.1 The TSSOP20EV PCB and Supported Digital Potentiometers Table 2-4 shows the current Digital Potentiometers that are supported by the TSSOP20EV PCB.
  • Page 33: Appendix A. Schematic And Layouts

    • Board Layout – Top Components • Board – Bottom Silk, Trace and Pads SCHEMATICS AND PCB LAYOUT Board – Schematic shows the schematic of the MCP43XXEV Evaluation Board. The layer order is shown in Figure A-1. Top Layer Ground Layer...
  • Page 34: Board - Schematic

    MCP43XXEV Evaluation Board User’s Guide BOARD – SCHEMATIC © 2010 Microchip Technology Inc. DS51892A-page 34...
  • Page 35: Board - Top Trace, Silk And Pads

    Schematic and Layouts BOARD – TOP TRACE, SILK AND PADS © 2010 Microchip Technology Inc. DS51892A-page 35...
  • Page 36: Board - Bottom Trace And Pads

    MCP43XXEV Evaluation Board User’s Guide BOARD – BOTTOM TRACE AND PADS © 2010 Microchip Technology Inc. DS51892A-page 36...
  • Page 37: Board - Layer 2 Ground Plane

    Schematic and Layouts BOARD – LAYER 2 GROUND PLANE © 2010 Microchip Technology Inc. DS51892A-page 37...
  • Page 38: Board - Layer 3 Power Plane

    MCP43XXEV Evaluation Board User’s Guide BOARD – LAYER 3 POWER PLANE © 2010 Microchip Technology Inc. DS51892A-page 38...
  • Page 39: Board Layout - Top Components

    Schematic and Layouts BOARD LAYOUT – TOP COMPONENTS © 2010 Microchip Technology Inc. DS51892A-page 39...
  • Page 40: Board - Bottom Silk, Trace And Pads

    MCP43XXEV Evaluation Board User’s Guide BOARD – BOTTOM SILK, TRACE AND PADS © 2010 Microchip Technology Inc. DS51892A-page 40...
  • Page 41: Appendix B. Bill Of Materials (Bom)

    This assembly uses RoHS Compliant TSSOP-20 to DIP-20 Evaluation Board. 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. © 2010 Microchip Technology Inc. DS51892A-page 41...
  • Page 42: Worldwide Sales And Service

    Tel: 66-2-694-1351 Tel: 408-961-6444 Fax: 86-29-8833-7256 Fax: 66-2-694-1350 Fax: 408-961-6445 China - Xiamen Toronto Tel: 86-592-2388138 Mississauga, Ontario, Fax: 86-592-2388130 Canada Tel: 905-673-0699 China - Zhuhai Fax: 905-673-6509 Tel: 86-756-3210040 Fax: 86-756-3210049 07/15/10 © 2010 Microchip Technology Inc. DS51892A-page 42...
  • Page 43 Mouser Electronics Authorized Distributor Click to View Pricing, Inventory, Delivery & Lifecycle Information: Microchip MCP43XXEV...

Table of Contents