MCP6S2X Evaluation Board (Rev. 4) User’s Guide 2004 Microchip Technology Inc. DS51327B Note the following details of the code protection feature on Microchip devices: • Microchip products meet the specification contained in their particular Microchip Data Sheet. • Microchip believes that its family of products is one of the most secure families of its kind on the market today, when used in the intended manner and under normal conditions. • There are dishonest and possibly illegal methods used to breach the code protection feature. All of these methods, to our knowledge, require using the Microchip products in a manner outside the operating specifications contained in Microchip’s Data Sheets. Most likely, the person doing so is engaged in theft of intellectual property. • Microchip is willing to work with the customer who is concerned about the integrity of their code. • Neither Microchip nor any other semiconductor manufacturer can guarantee the security of their code. Code protection does not mean that we are guaranteeing the product as “unbreakable.” Code protection is constantly evolving. We at Microchip are committed to continuously improving the code protection features of our products. Attempts to break Microchip’s code protection feature may be a violation of the Digital Millennium Copyright Act. If such acts allow unauthorized access to your software or other copyrighted work, you may have a right to sue for relief under that Act. Information contained in this publication regarding device applications and the like is intended through suggestion only and may be superseded by updates. It is your responsibility to ensure that your application meets with your specifications. No representation or warranty is given and no liability is assumed by Microchip Technology Incorporated with respect to the accuracy or use of such information, or infringement of patents or other intellectual property rights arising from such use or otherwise. Use of Microchip’s products as critical components in life support systems is not authorized except with express written approval by Microchip. No licenses are conveyed, implicitly or otherwise, under any intellectual property rights. Trademarks The Microchip name and logo, the Microchip logo, Accuron, dsPIC, KEELOQ, microID, MPLAB, PIC, PICmicro, PICSTART, PRO MATE, PowerSmart, rfPIC, and SmartShunt are registered trademarks of Microchip Technology Incorporated in the U.S.A. and other countries. AmpLab, FilterLab, MXDEV, MXLAB, PICMASTER, SEEVAL, SmartSensor and The Embedded Control Solutions Company are registered trademarks of Microchip Technology Incorporated in the U.S.A. Analog-for-the-Digital Age, Application Maestro, dsPICDEM, dsPICDEM.net, dsPICworks, ECAN, ECONOMONITOR, FanSense, FlexROM, fuzzyLAB, In-Circuit Serial Programming, ICSP, ICEPIC, Migratable Memory, MPASM, MPLIB, MPLINK, MPSIM, PICkit, PICDEM, PICDEM.net, PICLAB, PICtail, PowerCal, PowerInfo, PowerMate, PowerTool, rfLAB, rfPICDEM, Select Mode, Smart Serial, SmartTel and Total Endurance 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. © 2004, Microchip Technology Incorporated, Printed in the U.S.A., All Rights Reserved. Printed on recycled paper. Microchip received ISO/TS-16949:2002 quality system certification for its worldwide headquarters, design and wafer fabrication facilities in Chandler and Tempe, Arizona and Mountain View, California in October 2003. The Company’s quality system processes and procedures are for its PICmicro® 8-bit MCUs, 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. DS51327B-page ii 2004 Microchip Technology Inc. MCP6S2X Evaluation Board (Rev.4) User’s Guide Table of Contents Preface ........................................................................................................1 Introduction................................................................................................ 1 About This Guide....................................................................................... 2 Recommended Reading............................................................................ 4 The Microchip Internet Web Site ............................................................... 4 Customer Support ..................................................................................... 5 Chapter 1. MCP6S2X Evaluation Board (Rev. 4)....................................7 1.1 Introduction ..................................................................................... 7 1.2 Evaluation Board Description ......................................................... 8 1.3 How it is used ................................................................................. 9 1.4 How it works ................................................................................. 10 Appendix A. Schematic and Board Layouts ....................................... 15 A.1 Introduction ................................................................................... 12 A.2 Schematic ................................................................................... 16 A.3 Top Silk Screen ........................................................................... 17 A.4 Top Metal Layer .......................................................................... 18 A.5 Ground Plane Layer .................................................................... 19 A.6 Power Plane Layer ...................................................................... 20 A.7 Bottom Metal Layer ..................................................................... 21 A.8 Bottom Silk Screen Layer (Top View) ......................................... 22 Appendix B. Bill of Materials (BOM) .................................................... 23 B.1 Introduction ................................................................................... 23 Appendix C. Evaluation Board Firmware ............................................ 25 2004 Microchip Technology Inc. DS51327A-page iii MCP6S2X Evaluation Board (Rev.4) User’s Guide Appendix D. Setup Conditions............................................................. 29 D.1 DIP Switch Configurations (Stand-Alone Mode) ...........................29 D.2 Momentary Push Button Switch ....................................................30 D.3 SMA Connectors ...........................................................................30 D.4 Test Points ....................................................................................31 D.5 Reference Voltage Jumper positions ............................................31 Worldwide Sales and Service ................................................................. 32 DS51327A-page iv 2004 Microchip Technology Inc. MCP6S2X Evaluation Board (Rev. 4) 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 MCP6S2X Evaluation Board (Rev. 4). Items discussed in this chapter include: • • • • • • • About This Guide Warranty Registration Recommended Reading Troubleshooting The Microchip Web Site Development Systems Customer Change Notification Service Customer Support 2004 Microchip Technology Inc. DS51327B-page 1 MCP6S2X Evaluation Board (Rev. 4) User’s Guide ABOUT THIS GUIDE Document Layout This document describes how to use MCP6S2X Evaluation Board (Rev. 4) as a development tool to emulate and debug firmware on a target board. The manual layout is as follows: • Chapter 1: MCP6S2X Evaluation Board (Rev. 4) - this section describes how to use the various features of the MCP6S2X Evaluation Board (Rev. 4). • Appendix A: Schematic – shows the schematic and printed circuit board (PCB) layout diagrams for the MCP6S2X Evaluation Board (Rev. 4). • Appendix B: Bill of Materials (BOM) – shows the parts used to build the MCP6S2X Evaluation Board (Rev. 4). • Appendix C: Evaluation Board Firmware – shows the firmware for the PIC16C505 source code used on the MCP6S2X Evaluation Board (Rev. 4). • Appendix D: Setup Conditions – shows configuration tables for the DIP switch settings and connections used for the MCP6S2X Evaluation Board (Rev. 4). DS51327B-page 2 2004 Microchip Technology Inc. Preface Conventions Used in this Guide This manual uses the following documentation conventions: DOCUMENTATION CONVENTIONS Description Arial font: Italic characters Initial caps Quotes Underlined, italic text with right angle bracket Bold characters ‘bnnnn Text in angle brackets < > Courier font: Plain Courier Italic Courier 0xnnnn Square brackets [ ] Curly brackets and pipe character: { | } Ellipses... 2004 Microchip Technology Inc. Represents Examples Referenced books Emphasized text A window A dialog A menu selection A field name in a window or dialog A menu path MPLAB IDE User’s Guide ...is the only compiler... the Output window the Settings dialog select Enable Programmer “Save project before build” A dialog button A tab A binary number where n is a digit A key on the keyboard Click OK Click the Power tab ‘b00100, ‘b10 File>Save Press <Enter>, <F1> Sample source code Filenames File paths Keywords Command-line options Bit values A variable argument #define START autoexec.bat c:\mcc18\h _asm, _endasm, static -Opa+, -Opa0, 1 file.o, where file can be any valid filename A hexadecimal number where 0xFFFF, 0x007A n is a hexadecimal digit Optional arguments mcc18 [options] file [options] Choice of mutually exclusive errorlevel {0|1} arguments; an OR selection Replaces repeated text var_name [, var_name...] Represents code supplied by void main (void) user { ... } DS51327B-page 3 MCP6S2X Evaluation Board (Rev. 4) User’s Guide RECOMMENDED READING This user's guide describes how to use MCP6S2X Evaluation Board (Rev. 4). Other useful documents are listed below. The following Microchip documents are available and recommended as supplemental reference resources. MCP6S2X PGA Data Sheet (DS21117) This data sheet provides detailed information regarding the MCP6S21/2/6/8 family of PGAs. THE MICROCHIP WEB SITE Microchip provides online support via our WWW 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 (FAQ), 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 DEVELOPMENT SYSTEMS CUSTOMER CHANGE NOTIFICATION SERVICE Microchip’s customer notification service helps keep customers current on Microchip products. Subscribers will receive e-mail notification whenever there are changes, updates, revisions or errata related to a specified product family or development tool of interest. To register, access the Microchip web site at www.microchip.com, click on Customer Change Notification and follow the registration instructions. The Development Systems product group categories are: • Compilers – The latest information on Microchip C compilers and other language tools. These include the MPLAB C17, MPLAB C18 and MPLAB C30 C compilers; MPASM™ and MPLAB ASM30 assemblers; MPLINK™ and MPLAB LINK30 object linkers; and MPLIB™ and MPLAB LIB30 object librarians. • Emulators – The latest information on Microchip in-circuit emulators.This includes the MPLAB ICE 2000 and MPLAB ICE 4000. • In-Circuit Debuggers – The latest information on the Microchip in-circuit debugger, MPLAB ICD 2. • MPLAB IDE – The latest information on Microchip MPLAB IDE, the Windows® Integrated Development Environment for development systems tools. This list is focused on the MPLAB IDE, MPLAB SIM and MPLAB SIM30 simulators, MPLAB IDE Project Manager and general editing and debugging features. • Programmers – The latest information on Microchip programmers. These include the MPLAB PM3 and PRO MATE® II device programmers and the PICSTART® Plus development programmer. DS51327B-page 4 2004 Microchip Technology Inc. Preface CUSTOMER SUPPORT Users of Microchip products can receive assistance through several channels: • • • • • Distributor or Representative Local Sales Office Field Application Engineer (FAE) Technical Support Development Systems Information Line Customers should contact their distributor, representative or field application engineer (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 In addition, there is a Development Systems Information Line which lists the latest versions of Microchip's development systems software products. This line also provides information on how customers can receive currently available upgrade kits. The Development Systems Information Line numbers are: 1-800-755-2345 – United States and most of Canada 1-480-792-7302 – Other International Locations 2004 Microchip Technology Inc. DS51327B-page 5 MCP6S2X Evaluation Board (Rev. 4) User’s Guide NOTES: DS51327B-page 6 2004 Microchip Technology Inc. MCP6S2X Evaluation Board (Rev. 4) User’s Guide Chapter 1. MCP6S2X Evaluation Board (Rev. 4) 1.1 INTRODUCTION The MCP6S21/2/6/8 family of Programmable Gain Amplifiers (PGA) is available with one, two, six or eight signal input channels, respectively. The user can digitally select a specific input channel and set the gain. This family of PGAs can be evaluated using the MCP6S2X Evaluation Board (Rev. 4). The evaluation board schematic is shown in Figure 1-1. This board uses the MCP6S21 and MCP6S26 to allow the user to connect two signal sources to evaluate the PGAs. The 10 kΩ pull-up resistors provide noise immunity for the PGA digital input pins. VDD Connector ICSP™ VDD Select JP2 VPP VDD GND PGD PGC LVP VDD GND J1 VDD J6 VDD MCP6S21 VDD 10 kΩ 470Ω VOUT_2 VOUT SCK SI CH0 VREF CS READ Switch 0.1 µF MCLR Switch VDD MCP6S26 VDD 20 kΩ PIC16F676 VDD VOUT_1 VOUT VIN_0 CH0 CH1 CH2 SCK SO CH3 SI CH4 CH5 CS VREF VIN_1 2.5V ADJ. VREF DIP Switch RA3 RA0 RA1 RC5 RC3 RC4 RA5 RA2 RC0 RC1 RC2 10 kΩ VREF JP1 FIGURE 1-1: MCP6S2X Evaluation Board (Rev. 4) simplified schematic. 2004 Microchip Technology Inc. DS51327B-page 7 MCP6S2X Evaluation Board (Rev. 4) User’s Guide 1.2 EVALUATION BOARD DESCRIPTION The single-channel MCP6S21 and six-channel MCP6S26 have been selected for this evaluation board. The PIC16F676 microcontroller is used to program the PGAs according to the user inputs. User inputs are selected using the on-board DIP switch settings that are configured according to the table printed on the evaluation board. This allows the user to program the channel, gain and shutdown of each PGA. Either PGA or both PGAs can be shut down. The six channels of the MCP6S26 and the PGA gains of 1, 2, 4, 5, 8, 10, 16 and 32 V/V can be configured. Refer to Appendix D.”Setup Conditions”, for additional information. When the momentary READ push button switch is pressed, the microcontroller reads the DIP switch configuration through the I/O ports. The controller determines the proper command and data bytes to be transmitted to the PGAs and the transmits a 16 or 32-bit word through the Serial Peripheral Interface (SPI™) port. When the momentary MCLR push button switch is pressed, the microcontroller Master Clear is activated. This resets the microcontroller to a known initial state. The ICSP connector provides the capability of programming the PIC16F676 from a PC. This requires additional hardware, such as MPLAB® ICD 2. The two PGAs are cascaded, while the signal output of the MCP6S26 is directly connected to the analog input of the MCP6S21. This configuration outputs a maximum signal gain of 1024 V/V. The digital lines of the PGA are daisy chained. The MCP6S26 has a Serial-Out (SO) line that can be used to serially program another device. Therefore, the SO line is connected to the Serial-In (SI) line of the MCP6S21. If the MCP6S26 is removed from the socket, the MCP6S21 cannot be programmed. The MCP6S2X family of PGAs has a reference voltage input pin to offset the output signal. There are three reference voltage options on the board: 2.5V, adjustable reference voltage (0V to 5V) and ground. These options can be selected using the on-board jumper (JP1). A prototype area is available for user circuit interface. The inputs, outputs and reference voltage traces of the PGAs conveniently pass near the prototype area for ease of connection. Test point connectors are available to interface with external circuits. The signals VIN_0, VIN_1, VOUT_1 and VOUT_2 can use SMA connectors that slide horizontally onto the board. 50Ω termination resistors can be added to VIN_O and VIN_1. Refer to Appendix A.”Schematic and Board Layouts” and Appendix D.”Setup Conditions”, for additional information. DS51327B-page 8 2004 Microchip Technology Inc. 1.3 HOW IT IS USED 1.3.1 Application Procedure - Stand-Alone Mode 1. Apply a 2.5V to 5.5V supply voltage to the VDD and ground (GND) terminals of J1. Place the VDD SELECT jumper (JP2) at the bottom (nearest J1). Note: If jumper JP2 is incorrectly placed, there may be a conflict between power supplies. For additional information on powering-up the MCP6S2X Evaluation Board (Rev. 4), refer to Section 1.4.2 “Applying Power”. During power-up, the MCP6S2X PGA's default settings are Channel 0 (CH0) and gain = 1 V/V. Note: Do NOT use the ICSP connector while in this mode (disconnect the cable). The results may be unpredictable and damage might occur due to conflicting voltage sources. 2. Connect a voltage-measuring device (such as an oscilloscope) to VOUT_1 for the MCP6S26 and/or VOUT_2 for the MCP6S21. 3. Select the desired reference voltage using JP1. If the adjustable reference voltage is selected, adjust this voltage using the potentiometer (ADJ_VREF). A test point is available to measure the reference voltage. Refer to Section 1.4.5 “Reference Voltage” for additional information. Note: There are soldering pads available across each input terminal for termination resistors (R4 and R5). If these resistors (e.g., 50Ω) are needed for your application, solder them across the pads. 4. Apply the input signal source at VIN_0 and/or VIN_1. VIN_0 is connected to Channel 0 and VIN_1 is connected to Channel 1 of the MCP6S26 (refer to Section 1.4.4 “Analog Interface”). Make sure that the input signal range is at the proper level to avoid railing the amplifier output when the signal is gained. Refer to Section 1.4.5 “Reference Voltage” for additional information. 5. Refer to the Table 1-1 and select the desired gain, channel or shutdown using the on-board DIP switch. Press and release the READ push button switch to program the PGA and notice the change in the output voltage. Refer to Section 1.4.6 “Programming The PGA” for further explanation. TABLE 1-1: 2004 Microchip Technology Inc. DIP SWITCH CONFIGURATION TABLE Register MCP6S26 MSB → LSB MCP6S21 MSB → LSB Gain 1 Gain 2 Gain 4 Gain 5 Gain 8 Gain 10 Gain 16 Gain 32 Channel 0 Channel 1 Channel 2 Channel 3 Channel 4 Channel 5 SHDN SHDN SHDN 00000 00001 00010 00011 00100 00101 00110 00111 10000 10001 10010 10011 10100 10101 11000 — 11010 01000 01001 01010 01011 01100 01101 01110 01111 — — — — — — — 11001 11010 DS51327B-page 9 MCP6S2X Evaluation Board (Rev. 4) User’s Guide 1.3.2 Application Procedure - Program Mode 1. Place the VDD SELECT jumper (JP2) at the top (away from J1). The MPLAB ICD 2 will provide 5V to the PGAs and to the microcontroller. Disconnect any external power supply from J1. Note: The ICSP™ connector can only be used to program the PIC16F676. In order to debug the firmware, use the MPLAB ICD 2 header. Refer to the MPLAB ICD 2 Header Installation Information (DS51292) for more information. 2. Configure the MPLAB ICD 2 to provide power to the evaluation board through the ICSP connector. This is accomplished by changing the MPLAB ICD 2 configuration in MPLAB IDE. The MPLAB ICD 2 needs to be powered by an external power source. 3. Connect the MPLAB ICD 2 to the ICSP connector and update the PIC16F676 firmware from a PC using MPLAB ICD 2. Note: Do not change either of the manual push button switches (MCLR and READ) while debugging the firmware. The results of this action would be unpredictable, and may cause damage due to conflicting voltage sources. 4. Follow steps 3 thru 5 in 1.3.1 “Application Procedure - Stand-Alone Mode”. 1.4 HOW IT WORKS 1.4.1 PGA Functions The PGA has an internal precision operational amplifier in a non-inverting configuration. The gain of this operational amplifier is set using resistive ladders in the feedback loop. The resistor ratio is set using analog switches that are configured according to the instructions stored in the memory registers. The MCP6S21/2/6/8 family of PGAs provide various input channel options: one, two, six or eight channel inputs, respectively. The non-inverting input of the internal precision operational amplifier is directly connected to the input channels through a multiplexer. The multiplexer is also configured according to the command stored in the memory registers. Figure 1-2 shows a block diagram of the MCP6S26 with six input channels. For the single-channel MCP6S21, the non-inverting input is directly connected to the input pin without a multiplexer. VDD VOUT MUX RF Gain Switches CS SI SO SCK 8 RG SPI™ Logic Resistor Ladder (RLAD) CH0 CH1 CH2 CH3 CH4 CH5 MCP6S26 POR VSS VREF FIGURE 1-2: The six-channel MCP6S26 PGA Block Diagram. The single-channel MCP6S21 does not have an input multiplexer. DS51327B-page 10 2004 Microchip Technology Inc. 1.4.2 Applying Power The VDD SELECT jumper (JP2) connects the power plane (VDD) to either an external power supply (through J1) or to MPLAB ICD 2 (via the ICSP connector (J6)). It selects between two modes of operation: 1. Stand-Alone Mode - The MCP6S2X Evaluation Board (Rev. 4) is configured using the on-board switches. Power is brought in to connector J1 from an external supply and the VDD SELECT jumper selects J1. The external supply can be between 2.5V and 5.5V. When the PIC16F676 is in a valid operating voltage, the device will run the program stored in the device’s program memory (the firmware). 2. Program Mode - The MCP6S2X Evaluation Board (Rev. 4) is connected to the MPLAB ICD 2, which is connected to a PC. Power is brought in via the ICSP connector and the VDD SELECT jumper selects the ICSP source. VDD is 5.0V. The PIC16F676 firmware is reprogrammed by MPLAB IDE (application on PC). 1.4.3 Digital Interface The memory registers are programmed using the SPI™ interface from a PIC16F676 microcontroller. The digital interface uses a standard 3-wire SPI protocol with Chip Select (CS), Serial Clock (SCK) and Serial In (SI) lines. These lines are directly connected to the MCP6S26 and have pull-up resistors. These pull-up resistors provide noise immunity for the PGA from the PICmicro® microcontroller’s I/O pins. The two PGAs are daisy chained with the SO pin from the MCP6S26 and connected to the SI pin of the MCP6S21. The SCK and CS lines are also connected to the MCP6S21. In order to program the MCP6S21 through the daisy chain, the microcontroller pulls CS low and sends the 32-bit word through the SPI line. The first 16-bit word contains the command and data bytes for the MCP6S21, while the next 16-bit word contains the command and data bytes for the MCP6S26. The second 16-bit word can be zeros or a NOP command. At the end of the 32nd clock cycle, the first 16-bit word is pushed out of the MCP6S26 (through the SO line) and into the MCP6S21 (through the SI line). When CS toggles high, the bytes are latched in the registers. Instructions in the registers are then executed. 1.4.4 Analog Interface The input channel 0 of the MCP6S26 is connected to VIN_0. The input channels 1, 2 and 3 are connected to VIN_1. Input channel 4 is connected to ground and input channel 5 is connected to the reference voltage. The user can connect two signal sources to channel 0 and channel 1 at VIN_0 and VIN_1. . Note: There are soldering pads available across each input terminal for termination resistors (R4 and R5). If these resistors (e.g., 50Ω) are needed for your application, solder them across the pads. The output pin of the MCP6S26 is connected to VOUT_1. This pin is also connected to Channel 0 of the MCP6S21. The MCP6S21 can be used to gain the signal from the MCP6S26 by gains of 1, 2, 4, 5, 8, 10, 16 and 32 V/V. If both PGAs are configured for a gain of 32 V/V, the total signal gain is 1024 V/V. This illustrates the fact that the user can cascade several PGAs to get higher gains. The output pin of the MCP6S21 is connected to VOUT_2. The outputs of both PGAs are loaded with 10 kΩ resistors and 56 pF capacitors in parallel. These loads can be changed by the user. Note: 2004 Microchip Technology Inc. The signals VIN_0, VIN_1, VOUT_1 and VOUT_2 can be setup for test points (surface-mount on top) or for SMA connectors (slide onto board horizontally). Refer to Appendix D, D.3 “SMA Connectors” for more information. DS51327B-page 11 MCP6S2X Evaluation Board (Rev. 4) User’s Guide 1.4.5 Reference Voltage The MCP6S2X Evaluation Board (Rev. 4) has three reference-voltage settings, as shown in Figure 1-3. The MCP1525, a precision reference voltage device, is used to provide a 2.5V reference. The minimum supply voltage for this device is 2.7V. Therefore, this device will not operate when the evaluation board supply voltage (VDD) is below 2.7V. An adjustable reference voltage (0V to 5V) is also available using a mechanical potentiometer. Since the reference voltage input of the PGA requires a low-impedance source, these reference voltages are buffered using the MCP6022, a 10 MHz operational amplifier. The PGA reference voltage input can also be connected to ground. All of these options can be selected using the on-board jumper connector JP1 (refer to Appendix D.”Setup Conditions” and D.5 “Reference Voltage Jumper Positions” for more information). VDD 1/2 MCP6022 VDD + - MCP1525 JP1 VDD VREF 1/2 MCP6022 VDD 10 kΩ Pot. FIGURE 1-3: + - Simplified Reference Voltage Schematic. The input and output of this PGA can swing rail-to-rail (VDD and GND supply voltages). However, in order to keep linearity, the output voltage should not exceed the Maximum Output Voltage Swing, referred to in the electrical specifications of the MCP6S21/2/6/8 Data Sheet (DS21117). The reference voltage must be adjusted so that the maximum output would not exceed the specified limit. The PGA output voltage, with respect to the input and reference voltages, can be determined using the following equation: EQUATION 1-1: V OUT_1 = G MCP6S26 ( VIN_X – V REF ) + VREF VOUT_2 = G MCP6S26 × G MCP6S21 ( V IN_X – VREF ) + VREF Where: DS51327B-page 12 GMCP6S26 = gain of 1, 2, 4, 5, 8, 10, 16 or 32 V/V GMCP6S21 = gain of 1, 2, 4, 5, 8, 10, 16 or 32 V/V VIN_X = signal at the MCP6S26’s selected channel VREF = Reference Voltage at VREF pin. 2004 Microchip Technology Inc. 1.4.6 Programming The PGA The DIP switch lines are connected to the five microcontroller I/O lines (RA5, RA2, RC0, RC1 and RC2) with pull-down resistors (Refer to Figure 1-1 and Appendix A. “Schematic and Board Layouts”). The extreme top switch is the Most Significant Bit (MSB) and the extreme bottom switch is the Least Significant Bit (LSB). Pushing the switches right corresponds to the ‘1’, as shown on Table 1-1. Once the DIP switch is configured to the desired setting, the READ push-button switch must be pressed and released. When the button is released, the microcontroller reads the DIP switch settings and transmits the corresponding command and data bytes to the PGAs. The microcontroller remains in a loop to continuously monitor the READ push button switch. Refer to Table 1-1 for the settings. 2004 Microchip Technology Inc. DS51327B-page 13 MCP6S2X Evaluation Board (Rev. 4) User’s Guide NOTES: DS51327B-page 14 2004 Microchip Technology Inc. MCP6S2X Evaluation Board (Rev. 4) User’s Guide Appendix A. Schematic and Board Layouts A.1 INTRODUCTION This appendix contains the schematic and printed circuit board (PCB) layout diagrams for the MCP6S2X Evaluation Board (Rev. 4). A.1.1 Highlights The MCP6S2X Evaluation Board (Rev. 4) is constructed using a four-layer PCB. The top and bottom layers are for components and traces. The second layer is the ground plane and the third layer is (VDD) the power plane. Diagrams included in this appendix include: • • • • • • • Schematic Top Silk Screen Layer Top Metal Layer Ground Plane Layer Power Plane Layer Bottom Metal Layer Bottom Silk Screen Layer Note: 2004 Microchip Technology Inc. The bottom metal layer (A.7) is missing a connection between pin 8 of the PIC16F676 (U2 in A.2) and pin 6 of the DIP switch (DSW1 in A.2) and with the pull-down resistor (R11). These traces have been corrected prior to shipping by making a solder bridge between these pins. DS51327B-page 15 A B C D C9 0.1 uF 1 VDD 1 Vi n C7 0.1uF VDD 100K C8 1.0 µF R9 C4 0.1uF 3 Bypass Cap Vout U3 MCP1525 Proto Area PROTOAREA SMA 6X6 PROTOAREA1 PROTOAREA2 PROTOAREA3 PROTOAREA4 VDD Breadboard Area Vss TP14 10K POT VR1 4 3 2 1 49.9 R5 49.9 R4 100K R7 C6 0.1uF VIN 1 TP17 VIN 0 TP16 VOUT 1 TP15 VOUT 2 2 Vdd +INB - INB out B 100K C10 2.2uF R8 MCP6022 Vss +INA -INA out A U4 2 8 5 6 7 56pF 56pF C11 2.2uF VDD C12 0.1uF JP1 2.5V Adj _Vr ef Gnd 10K R2 C2 10K R1 C1 TP20 VREF Vss 7 6 5 4 3 2 1 3 CH5 CH4 CH3 CH2 CH1 CH0 Vout U5 Vref Vss CS SI SO SCK Vdd C13 0.1uF CS SI SCK Vdd 8 9 10 11 12 13 14 VDD 5 6 7 TP6 TP18 SI_2 TP12 CS TP11 SCK TP19 SI_1 TP5 TP7 Extra Test Points VDD C14 0.1uF VDD FB1 8 MCP6S26 VDD Vref CH0 Vout U1 C3 J1 10µF/16V GND MCP6S21 4 3 2 1 3 10K R16 10K R17 VDD 4 10K R18 VDD SELECT 4 VDD C18 0.1uF 1 3 470 R20 R6 20K 2 4 7 6 5 4 3 2 1 U2 Vss 1 3 SW1 8 9 10 11 12 13 5 Date: File: B Size Title 16F676 RC2 RC1 RC0 RA2 RA1 14 10k R19 VDD 4 1 R15 R14 R13 R12 R11 10K 10K 10K 10K 10K 0 DSW1 6 0.1uF C16 103-00018R4 Revision A 6 14-Jul-2004 Sheet of C:\Protel Projects\Kumen Work\MCP6S2X Drawn Demo Bd\MCP682X By: Demo Db.ddb Number MCP6S2X Demo Bd. 2 4 R10 10K VDD READ RA0 PIC16F676 RC3 RC4 RC5 RA3 RA4 RA5 VDD C5 0.1uF MICROCHIP LOGO MCLR SW2 R3 10K 5 J6 ICSP CONNECTOR VPP VDD GND PGD PGC LV P 1 2 3 4 5 6 JP2 OFFON 2 9 MSB 1 OFFON 10 2 OFFON 9 3 OFFON 8 LSB 5 DS51327B-page 16 OFFON 7 A B C D A.2 6 1 MCP6S2X Evaluation Board (Rev. 4) User’s Guide SCHEMATIC 2004 Microchip Technology Inc. A.3 TOP SILK SCREEN 2004 Microchip Technology Inc. DS51327B-page 17 MCP6S2X Evaluation Board (Rev. 4) User’s Guide A.4 TOP METAL LAYER DS51327B-page 18 2004 Microchip Technology Inc. A.5 GROUND PLANE LAYER 2004 Microchip Technology Inc. DS51327B-page 19 MCP6S2X Evaluation Board (Rev. 4) User’s Guide A.6 POWER PLANE LAYER DS51327B-page 20 2004 Microchip Technology Inc. A.7 BOTTOM METAL LAYER 2004 Microchip Technology Inc. DS51327B-page 21 MCP6S2X Evaluation Board (Rev. 4) User’s Guide A.8 BOTTOM SILK SCREEN LAYER (TOP VIEW) DS51327B-page 22 2004 Microchip Technology Inc. MCP6S2X Evaluation Board (Rev. 4) User’s Guide Appendix B. Bill of Materials (BOM) B.1 INTRODUCTION TABLE B-1: BILL OF MATERIALS Reference Designator Qty Description Manufacturer Manufacturer Part Number C1,C2 2 Capacitor, 56 pF, 0805 Digi-Key PCC560CGCT C3 1 Capacitor, 10 µF/16V, SMT Jameco 192997 C4-C7,C9,C12-C14,C16, C18 10 Capacitor, 0.1 µF, 0805 Digi-Key PCC1828CT-ND C8 1 Capacitor, 1.0 µF, 0805 Digi-Key PCC1849CT-ND C10,C11 2 Capacitor, 2.2 µF, 0805 Digi-Key PCC1851CT-ND C15, C17 Note 4 — — DSW1 1 DIP Switch, DIP10 Digi-Key CKN1289-ND FB1 1 Ferrite Chip, 0805 Digi-Key 240-1018-1-ND J1 1 2-pin Terminal Block, Connector Digi-Key ED1623-ND J2-J5 (Note 1) 0 SMA Board Connectors, Female Newark SPC10611 J6 1 ICSP™ Connector, 6x6 Jack, R/A Digi-Key A9049-ND JP1 1 Jumper, 3x2 Jameco 115035 JP2 1 Jumper, 1x3 Jameco 109575 2 Shorting block for JP1, JP2 Jameco 152670 R1-R3,R10-R19 13 Resistor, 10 kΩ, 0805 Digi-Key P10.0KCCT-ND R4,R5 (Note 2) 2 Resistor, 49.9 Ω, 0805 Digi-Key P49.9CCT-ND R6 1 Resistor, 20 kΩ, 0805 Digi-Key P20.0KCCT-ND R7-R9 3 Resistor, 100 kΩ, 0805 Digi-Key P100KCCT-ND R20 1 Resistor, 470 Ω, 0805 Digi-Key P475CCT-ND SW1,SW2 2 Momentary push button switch Digi-Key SW400-ND TP5-TP7, TP11, TP12, TP18-TP20 8 Testpoint, SMT Digi-Key 5016K-ND TP14-TP17 (Note 3) 4 Testpoint, SMT Digi-Key 5016K-ND TP1-TP4, TP8-TP10, TP13 Note 4 — — U1 1 MCP6S21, PDIP-8 Microchip Technology Inc. MCP6S21 U2 1 PIC16F676, PDIP-14 Microchip Technology Inc. PIC16F676 U3 1 MCP1525, SOT23-3 Microchip Technology Inc. MCP1525 U4 1 MCP6022, SOIC-8 Microchip Technology Inc. MC6022 U5 1 MCP6S26, PDIP-14 Microchip Technology Inc. MCP6S26 VR1 Note 1: 2: 3: 4: 1 10 kΩ Potentiometer Digi-Key 3296W-103-ND 1 8-pin DIP socket (for U1) Jameco 51625 2 14-pin DIP socket (for U2, U5) Jameco 37196 Optional; supplied by customer (use J2-J5 or TP14-TP17). Optional; in kit of parts. Optional; in kit of parts (use J2-J5 or TP14-TP17). These capacitors and test points do not exist on the board; they are gaps in the numbering sequence. 2004 Microchip Technology Inc. DS51327B-page 23 MCP6S2X Evaluation Board (Rev. 4) User’s Guide NOTES: DS51327B-page 24 2004 Microchip Technology Inc. MCP6S2X Evaluation Board (Rev. 4) User’s Guide Appendix C. Evaluation Board Firmware Software License Agreement This software is supplied herewith by Microchip Technology Incorporated (the “Company”) is supplied to you, the Company’s customer, for use solely and exclusively on Microchip’s products manufactured by the Company. This software is owned by the Company and/or its supplier, and is protected under applicable copyright laws. All rights are reserved. Any use in violation of the foregoing restrictions may subject the user to criminal sanctions under applicable laws, as well as to civil liability for the breach of the terms and conditions of this license. THE SOFTWARE IS PROVIDED IN AN “AS IS” CONDITION. NO WARRANTIES, WHETHER EXPRESS, IMPLIED OR STATUTORY, INCLUDING, BUT NOT LIMITED TO, IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PUPORSE APPLY TO THIS SOFTWARE. THE COMPANY SHALL NOT, IN ANY CIRCUMSTANCES, BE LIABLE FOR SPECIAL, INCIDENTAL OR CONSEQUENTIAL DAMAGES, FOR ANY REASON WHATSOEVER. ;-------------------------------------------------------------------------; This firmware is developed for the MCP6S2X PGA demo board. ; ; The firmware reads the user interface dip and push-button switch ; settings and programs the PGA accordingly. ; ; ; File name: pga_demo.asm ; Date: 08/09/04 ; File Version: 1.00 ; ; Programmer: MPLAB ICE 2 ; File Required: PIC16F676.inc ; ; Demo Board: ; Name: MCP6S2X Eval. Bd. ; Number: 102-00018R4 ; Rev.: R4 ; PGAs: MCP6S21 (or MCP6S91), MCP6S26 ; ; Author: Ezana Haile ; Company: Microchip Technology, Inc. ; ;-------------------------------------------------------------------------ERRORLEVEL -302 ERRORLEVEL -305 #INCLUDE <P16F676.INC> __CONFIG _CPD_OFF _MCLRE_ON & _WDT_OFF & _INTRC_OSC_NOCLKOUT & _PWRTE_OFF & _BODEN_OFF & ; definitions #DEFINE #DEFINE #DEFINE #DEFINE #DEFINE #DEFINE #DEFINE #DEFINE #DEFINE #DEFINE #DEFINE #DEFINE 2004 Microchip Technology Inc. CS SCK DO PUSH SW1 SW2 SW3 SW4 SW5 PRG_GAIN PRG_CHANNEL PGA_SHDN PORTC, 4 PORTC, 5 PORTC, 3 PORTA, 0 PORTC, 2 PORTC, 1 PORTC, 0 PORTA, 2 PORTA, 5 B’01000000’ B’01000001’ B’00100000’ ; ; ; ; ; ; ; ; ; ; ; ; CHIP SELECT CLOCK DATA OUT READ PUSH BUTTON SWITCH 1 SWITCH 2 SWITCH 3 SWITCH 4 SWITCH 5 PROGRAM GAIN PROGRAM CHANNEL SHUTDOWN PGA DS51327B-page 25 MCP6S2X Evaluation Board (Rev. 4) User’s Guide ; reserve memory byte CBLOCK 0X20 COUNTER, BUFFER ENDC ;============================================================ ;========== PROGRAM ============================= ;============================================================ PGA_DEMO ORG GOTO 0X00 START START ORG 0X05 BCF MOVLW MOVWF BSF CLRF CLRF MOVLW MOVWF MOVLW MOVWF BCF ; CODE NAME STATUS, RP0 H’07’ CMCON STATUS, RP0 ANSEL WPUA H’3F’ TRISA H’07’ TRISC STATUS, RP0 ; BANK 0 PUSH READ PUSH RDING ; CHECK TO SEE IF THE READ BUTTON IS PRESSED BSF BCF BCF CLRF CS DO SCK BUFFER ; ; ; ; BTFSC GOTO SW5 CHANNEL_SHDN READ BTFSC GOTO RDING BTFSS GOTO ; DIGITAL I/O ; BANK 1 ; DIGITAL I/O ; ; ; ; SET PORT A AS INPUT SET RC<5,4,3> OUTPUT AND RC<2,1,0> INPUT SET PORT C AS INPUT BANK 0 ; WAIT UNTIL THE BUTTON IS RELEASED ; LOOP UNSELECT THE DEVICES KEEP THE DATAOUT (DO) LOW SET CLOCK CLEAR BUFFER ; DETERMINE IF IT’S FOR CHANNEL OR ; SHUTDOWN OTHERWISE PROGRAM GAIN ; PROGRAM THE GAIN OF PGA 1 (MCP6S26) OR PGA 2 (MCP6S21) BTFSC GOTO SW4 PGA_2_GAIN ; DETERMINE THE DEVICE PGA_1_GAIN BCF MOVLW MOVWF CALL CALL CALL BSF GOTO CS PRG_GAIN BUFFER BITBANG READ_SWITCH BITBANG CS READ ; SELECT PGA ; PROGRAM GAIN CONFIGURATION PGA_2_GAIN BCF MOVLW MOVWF CALL CALL CALL CLRF CALL CALL BSF GOTO CS PRG_GAIN BUFFER BITBANG READ_SWITCH BITBANG BUFFER BITBANG BITBANG CS READ ; SELECT PGA ; PROGRAM GAIN CONFIGURATION ; ; ; ; ; ; ; ; ; ; ; SEND IT THROUGH SPI READ SWITCH SETTINGS SEND IT THROUGH SPI AND PROGRAM PGA UNSELECT THE DEVICES SEND IT THROUGH SPI AND PROGRAM PGA READ SWITCH SETTINGS SEND IT THROUGH SPI SEND ZEROS TO PUSH OUT THE DATA TO PGA 2 SEND 8 DUMMY BITS SEND 8 DUMMY BITS UNSELECT THE DEVICES ; PROGRAM THE CHANNEL OR SHUTDOWN PGA 1 (MCP6S26) OR PGA 2 (MCP6S21) CHANNEL_SHDN BTFSC GOTO SW4 SHDN ; GOTO SHUTDOWN CHANNEL BCF MOVLW MOVWF CALL CALL CALL DS51327B-page 26 CS PRG_CHANNEL BUFFER BITBANG READ_SWITCH BITBANG ; SELECT PGA ; PROGRAM CHANNEL CONFIGURATION ; SEND IT THROUGH SPI ; READ SWITCH SETTINGS ; SEND IT THROUGH SPI AND PROGRAM PGA 2004 Microchip Technology Inc. BSF GOTO CS READ ; UNSELECT THE DEVICES BTFSC GOTO SW3 READ ; IF THE 3RD SWITCH IS HIGH THEN DON’T SHUTDOWN BTFSC GOTO BTFSC GOTO SW2 SHDN_BOTH SW1 SHDN_PGA_2 ; DETERMINE WHICH DEVICE ; SHUTDOWN BOTH PGAS SHDN SHDN_PGA_1 BCF MOVLW MOVWF CALL CALL BSF GOTO CS PGA_SHDN BUFFER BITBANG BITBANG CS READ SHDN_PGA_2 BCF MOVLW MOVWF CALL CALL CLRF CALL CALL BSF GOTO CS PGA_SHDN BUFFER BITBANG BITBANG BUFFER BITBANG BITBANG CS READ SHDN_BOTH BCF MOVLW MOVWF CALL CALL CALL CALL BSF GOTO CS PGA_SHDN BUFFER BITBANG BITBANG BITBANG BITBANG CS READ ; IF THE 1RD SWITCH IS HIGH THEN DON’T SHUTDOWN ; SHUTDOWN THE FIRST PGA ; SELECT PGA ; PROGRAM SHUTDOWN CONFIGURATION ; SEND IT THROUGH SPI AND PROGRAM PGA ; SEND 8 DUMMY BITS ; UNSELECT THE DEVICES ; SHUTDOWN THE SECOND PGA ; SELECT PGA ; PROGRAM SHUTDOWN CONFIGURATION ; SEND IT THROUGH SPI AND PROGRAM PGA ; SEND 8 DUMMY BITS ; SEND 8 DUMMY BITS ; SEND 8 DUMMY BITS ; UNSELECT THE DEVICES ; SHUTDOWN BOTH PGAs ; SELECT PGA ; PROGRAM SHUTDOWN CONFIGURATION ; ; ; ; ; SEND IT THRU SEND 8 DUMMY SEND IT THRU SEND 8 DUMMY UNSELECT THE SPI AND SHUTDOWN PGA BITS SPI AND SHUTDOWN PGA BITS DEVICES ;-------------------------------------------------------------------------;--- READ THE SWITCH SETTINGS ;-------------------------------------------------------------------------READ_SWITCH CLRF BTFSC BSF BTFSC BSF BTFSC BSF RETURN BUFFER SW3 BUFFER, 2 SW2 BUFFER, 1 SW1 BUFFER, 0 ; PROGRAM BUFFER FROM SWITCHES ; CHECK THE 3RD SWITCH ; CHECK THE 2RD SWITCH ; CHECK THE 1RD SWITCH ;-------------------------------------------------------------------------;---- BIT BANG SPI COMMUNICATION ;-------------------------------------------------------------------------BITBANG CLRC MOVLW H’08’ MOVWF COUNTER ; SET THE BIT BANG COUNTER SEND BTFSC BUFFER, 7 ; SEE THE LAST BIT OF THE BUFFER BSF DO ; THE SWITCH IS SET, THEN SET THE BUFFER HIGH BSF SCK ; SET CLOCK BCF SCK ; CLEAR CLOCK BCF DO ; CLEAR THE DATA RLF BUFFER,F ; ROLL THE BITS DECFSZ COUNTER, F ; CHECK END OF COUNTER GOTO SEND ; LOOP RETURN ;-------------------------------------------------------------------------END 2004 Microchip Technology Inc. DS51327B-page 27 MCP6S2X Evaluation Board (Rev. 4) User’s Guide NOTES: DS51327B-page 28 2004 Microchip Technology Inc. MCP6S2X Evaluation Board (Rev. 4) User’s Guide Appendix D. Setup Conditions D.1 DIP SWITCH CONFIGURATIONS (STAND-ALONE MODE) TABLE D-1: TABLE D-2: TABLE D-3: 2004 Microchip Technology Inc. DIP SWITCH CONFIGURATION FOR MCP6S21 ONLY Register MCP6S21 MSB → LSB Gain 1 Gain 2 Gain 4 Gain 5 Gain 8 Gain 10 Gain 16 Gain 32 SHDN (Shutdown) 01000 01001 01010 01011 01100 01101 01110 01111 11001 DIP SWITCH CONFIGURATION FOR MCP6S26 ONLY Register MCP6S26 MSB → LSB Gain 1 Gain 2 Gain 4 Gain 5 Gain 8 Gain 10 Gain 16 Gain 32 Channel 0 Channel 1 Channel 2 Channel 3 Channel 4 Channel 5 SHDN (Shutdown) 00000 00001 00010 00011 00100 00101 00110 00111 10000 10001 10010 10011 10100 10101 11000 DIP SWITCH CONFIGURATION FOR MCP6S21 AND MCP6S26 Register MCP6S21/MCP6S26 MSB → LSB SHDN (Shutdown) 11010 DS51327B-page 29 MCP6S2X Evaluation Board (Rev. 4) User’s Guide D.2 MOMENTARY PUSH BUTTON SWITCH D.2.1 Read Function To change the PGA settings: 1. Stand-alone Mode - Configure the DIP Switch according to the tables in Appendix D.1. Press and release the READ switch; the microcontroller immediately updates the PGA's configuration. 2. Program Mode - The change in PGA configuration needs to be provided in customer-supplied firmware. D.2.2 Master Clear Function To re-initialize the microcontroller: 1. Stand-alone Mode - Press and release the MCLR switch. 2. Program Mode - Do not use the MCLR switch. Disconnect from MPLAB ICD 2 and reconnect. D.3 SMA CONNECTORS The illustration below shows how the SMA connectors are slid onto the board at test points VIN_0, VIN_1, VOUT_1, and VOUT_2. The round center conductor goes over the test pad and two of the square lugs go underneath the board on the unmasked ground fill (bottom metal). Solder the lugs and center conductor to the board. SMA Connector and Board (side view) square lugs (ground) round center conductor top of board Board square lugs (ground) FIGURE D-1: DS51327B-page 30 SMA Connectors. 2004 Microchip Technology Inc. D.4 TEST POINTS TABLE D-4: D.5 TEST POINT CONNECTORS Name Reference Designator VIN_0 TP16 Input Voltage to Channel 0 (MCP6S26) Description VIN_1 TP17 Input Voltage to Channel 1 (MCP6S26) VOUT_1 TP15 Output Voltage from MCP6S26 (Input Voltage to MCP6S21) VOUT_2 TP14 Output Voltage from MCP6S21 VREF TP20 Reference Voltage (for MCP6S26 and MCP6S21) VDD TP6 Positive Supply Voltage GND TP5, TP7 CS TP12 Ground (Negative Supply Voltage) SPI™ Chip Select SCK TP11 SPI Serial Clock SI_1 TP19 SPI Serial Data In (MCP6S26) SI_2 TP18 SPI Serial Data In (MCP6S21); SPI Serial Data Out (MCP6S26) REFERENCE VOLTAGE JUMPER POSITIONS TABLE D-5: JUMPER POSITIONS Jumper Position JP1 Top Middle Bottom Top 2.5V Adjustable Reference Voltage Ground VDD supplied by ICSP™ Connector J6 Bottom VDD supplied by Terminal Block J1 JP2 2004 Microchip Technology Inc. Function DS51327B-page 31 WORLDWIDE SALES AND SERVICE AMERICAS ASIA/PACIFIC ASIA/PACIFIC EUROPE Corporate Office 2355 West Chandler Blvd. Chandler, AZ 85224-6199 Tel: 480-792-7200 Fax: 480-792-7277 Technical Support: 480-792-7627 Web Address: www.microchip.com Australia - Sydney Tel: 61-2-9868-6733 Fax: 61-2-9868-6755 India - Bangalore Tel: 91-80-2229-0061 Fax: 91-80-2229-0062 China - Beijing Tel: 86-10-8528-2100 Fax: 86-10-8528-2104 India - New Delhi Tel: 91-11-5160-8632 Fax: 91-11-5160-8632 Austria - Weis Tel: 43-7242-2244-399 Fax: 43-7242-2244-393 Denmark - Ballerup Tel: 45-4420-9895 Fax: 45-4420-9910 China - Chengdu Tel: 86-28-8676-6200 Fax: 86-28-8676-6599 Japan - Kanagawa Tel: 81-45-471- 6166 Fax: 81-45-471-6122 France - Massy Tel: 33-1-69-53-63-20 Fax: 33-1-69-30-90-79 China - Fuzhou Tel: 86-591-750-3506 Fax: 86-591-750-3521 Korea - Seoul Tel: 82-2-554-7200 Fax: 82-2-558-5932 or 82-2-558-5934 Germany - Ismaning Tel: 49-89-627-144-0 Fax: 49-89-627-144-44 Atlanta Alpharetta, GA Tel: 770-640-0034 Fax: 770-640-0307 Boston Westford, MA Tel: 978-692-3848 Fax: 978-692-3821 Chicago Itasca, IL Tel: 630-285-0071 Fax: 630-285-0075 Dallas Addison, TX Tel: 972-818-7423 Fax: 972-818-2924 Detroit Farmington Hills, MI Tel: 248-538-2250 Fax: 248-538-2260 China - Hong Kong SAR Tel: 852-2401-1200 Fax: 852-2401-3431 China - Shanghai Tel: 86-21-6275-5700 Fax: 86-21-6275-5060 China - Shenzhen Tel: 86-755-8290-1380 Fax: 86-755-8295-1393 China - Shunde Tel: 86-757-2839-5507 Fax: 86-757-2839-5571 China - Qingdao Tel: 86-532-502-7355 Fax: 86-532-502-7205 Singapore Tel: 65-6334-8870 Fax: 65-6334-8850 Taiwan - Kaohsiung Tel: 886-7-536-4816 Fax: 886-7-536-4817 Taiwan - Taipei Tel: 886-2-2500-6610 Fax: 886-2-2508-0102 Italy - Milan Tel: 39-0331-742611 Fax: 39-0331-466781 Netherlands - Drunen Tel: 31-416-690399 Fax: 31-416-690340 England - Berkshire Tel: 44-118-921-5869 Fax: 44-118-921-5820 Taiwan - Hsinchu Tel: 886-3-572-9526 Fax: 886-3-572-6459 Kokomo Kokomo, IN Tel: 765-864-8360 Fax: 765-864-8387 Los Angeles Mission Viejo, CA Tel: 949-462-9523 Fax: 949-462-9608 San Jose Mountain View, CA Tel: 650-215-1444 Fax: 650-961-0286 Toronto Mississauga, Ontario, Canada Tel: 905-673-0699 Fax: 905-673-6509 08/24/04 DS51327B-page 32 2004 Microchip Technology Inc.