MCP43XXEV Evaluation Board User’s Guide © 2010 Microchip Technology Inc.
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.
MCP43XXEV EVALUATION BOARD USER’S GUIDE Table of Contents Preface ........................................................................................................................... 5 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 .......................
MCP43XXEV Evaluation Board User’s Guide NOTES: DS51892A-page 4 © 2010 Microchip Technology Inc.
MCP43XXEV EVALUATION BOARD 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.
MCP43XXEV Evaluation Board User’s Guide 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 N‘Rnnnn Text in angle brackets < > DS51892A-page 6 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 ...
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.
MCP43XXEV Evaluation Board User’s Guide DOCUMENT REVISION HISTORY Revision A (July 2010) • Initial Release of this Document. DS51892A-page 8 © 2010 Microchip Technology Inc.
MCP43XXEV EVALUATION BOARD USER’S GUIDE Chapter 1. Product Overview 1.1 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 1.2 WHAT IS THE MCP43XXEV EVALUATION BOARD? The MCP43XXEV Evaluation Board allows the system designer to quickly evaluate the operation of Microchip Technology’s MCP4361 Digital Potentiometer device.
MCP43XXEV Evaluation Board User’s Guide Connected to Ground Plane Connected to Power Plane Through-hole Test Point (Orange) Wiper 3 0Ω Through-hole Test Point (Orange) Wiper 2 0Ω 0Ω MCP4361 MCP4361-103E/ST installed in U3 (TSSOP-20 footprint) 10 kΩ 10 kΩ 0Ω Through-hole Test Point (Orange) Wiper 1 Four Blue Wire Jumpers to connect PICkit Serial interface (SPI) to device pins 0Ω Through-hole Test Point (Orange) Wiper 0 0Ω 1x6 Male Header, with 90° right angle FIGURE 1-1: MCP43XXEV Evaluation
MCP43XXEV EVALUATION BOARD USER’S GUIDE Chapter 2. Installation and Operation 2.1 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). This board is a minimum configuration for the device.
MCP43XXEV Evaluation Board User’s Guide 2.
Installation and Operation 2.3 GETTING STARTED The MCP43XXEV Evaluation Board allows quick evaluation of the MCP4361-103E/ST device. The understanding of the device characteristics (such as the resistor network) is applicable to any of the devices in the MCP43XX family. The MCP4361-103 device has a typically RAB resistance of 10 kΩ.
MCP43XXEV Evaluation Board User’s Guide P1 P2 DIP-20 (1) P9 PICkit Serial / ICSP Interface J1 NC VDD VSS SDA SCL NC NC VDD VSS SDI SCK SDO 1 P20 20 P19 19 2 P12 9 12 P11 10 11 Requires blue wire jumpering to connect the PICkit Interface to the selected device P10 R1U TSSOP-20 (1) VDD 20 2 19 9 12 10 11 VSS P1 R1D 1 C2 C1 R2U P2 R2D P19 P11 R19U P20 SSOP-20 P1 1 20 2 19 XTAL P9 P12 P2 P10 9 12 VIA1 10 11 C3 VIA2 P19 R19D C4 R20U P20 PIC Circuitry (bottom of PC
Installation and Operation MCP4361-103E/ST installed in U3 (TSSOP-20 footprint) Connected to Connected to Ground Plane Power Plane Through-hole Test Point (Orange) Wiper 3 0Ω Through-hole Test Point (Orange) Wiper 2 MCP4361 0Ω 0Ω 10 kΩ 10 kΩ 0Ω Through-hole Test Point (Orange) Wiper 1 0Ω Through-hole Test Point (Orange) Wiper 0 0Ω 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
MCP43XXEV Evaluation Board User’s Guide TABLE 2-1: INSTALLED PASSIVE COMPONENTS (2) 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 (1) U3 MCP4361-103E/ST RAB(TYP) = 10 kΩ P2, P9, P12, P19 Test Point - through-hole connector (Orange) J1 1x6 Male Header, 100 mil spacing 90° angle.
Installation and Operation TABLE 2-2: OPTIONAL PASSIVE COMPONENTS - NOT INSTALLED (2) Component Comment C1, C2 Power supply bypass capacitors (3) C3, C4 PIC Crystal capacitors R1U, R2U, R3U, R4U, R5U, R6U, R7U, R8U, R9U, R12U, R13U, R16U, R18U, R19U Pull-up resistor R1D, R2D, R3D, R4D, R5D, R6D, R8D, R9D, R10D, R11D, R12D, R14D, R15D, R16D, R17D, R19D, R20D Pull-down resistor (1) U1, U2 Alternate package footprints VDD, GND Power and Ground plane connection points Y1 Can connect to either PI
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).
Installation and Operation 2.5 CONFIGURING THE PICKIT SERIAL ANALYZER 2.5.1 Modifying the “CommScripts.txt” file Example 2-1 shows the User Scripts that need to be added to the PICkit Serial’s “CommScripts.txt “ file. The default install location of this file is: C:\Program Files\Microchip\PICkit Serial Analyzer Once these are saved in the “CommScripts.txt “ file and the Master SPI mode is selected as the communication mode, these user scripts will be available to select from.
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. If you have any questions, please refer to the PICkit Serial Analyzer documentation, available at www.Microchip.com/PICkitSerial.
Installation and Operation We need to select the PICkit Serial Analyzer GUI to be in SPI Master mode. Figure 2-5 shows how to select the proper mode. 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.
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: DS51892A-page 22 PICkit Serial Main Window at Startup. © 2010 Microchip Technology Inc.
Installation and Operation Figure 2-7 shows the Configure Communications Mode window. Ensure that your window options and settings are the same as this window, and then select the “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.
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: DS51892A-page 24 PICkit Serial - Script Builder Menu Selection. © 2010 Microchip Technology Inc.
Installation and Operation 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.
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.
Installation and Operation Double clicking on the ReadWiper0 User SPI Script will load the Script Details. Figure 2-11 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 read data. The third byte is the second data byte and contains the remaining 8 bits of the read data.
MCP43XXEV Evaluation Board User’s Guide 2.6 MCP4361 DEMO STEPS This demo assumes that you know how to configure the PICkit Serial Analyzer for Master SPI operation. See Section 2.5 “Configuring The PICkit Serial Analyzer” or the PICkit Serial Analyzer User’s Guide (DS51647) for additional information. 1. 2. 3. 4. 5. 6. 7. 8. 9. 10. 11. 12. 13. 14. 15. 16. 17. 18. 19. 20. 21. 22. DS51892A-page 28 Plug the PICkit Serial device into the PC’s USB port. Plug the MCP43XXEV board into the PICkit Serial.
Installation and Operation 23. Select the “WriteWiper0” script in the User SPI Scripts column and then click on the Execute Script button. 24. Select the “ReadWiper0” script in the User SPI Scripts column and then click on the Execute Script button. 25. Select the “DECRWiper0” script in the User SPI Scripts column and then click on the Execute Script button three times. 26. Select the “ReadWiper0” script in the User SPI Scripts column and then click on the Execute Script button.
MCP43XXEV Evaluation Board User’s Guide Number of Bytes that will be written Data Byte #1 (Device Register Address + Command + Data bit “D8”) FIGURE 2-13: 9-bit data value (03Fh) written to Wiper 0 register 9-bit data value (1FFh) written to Wiper 0 register FIGURE 2-14: DS51892A-page 30 Data Byte #2 (Write Data “D7:D0”) MCP43XX Read TCON1 Script.
Installation and Operation Data value read from TCON1 register FIGURE 2-15: Data value written to TCON1 register 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.
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.
MCP43XXEV EVALUATION BOARD USER’S GUIDE Appendix A. Schematic and Layouts A.1 INTRODUCTION This appendix contains the schematics and layouts for the MCP43XXEV Evaluation Board. Diagrams included in this appendix: • • • • • • • A.
MCP43XXEV Evaluation Board User’s Guide BOARD – SCHEMATIC M A.3 DS51892A-page 34 © 2010 Microchip Technology Inc.
Schematic and Layouts A.4 BOARD – TOP TRACE, SILK AND PADS © 2010 Microchip Technology Inc.
MCP43XXEV Evaluation Board User’s Guide A.5 BOARD – BOTTOM TRACE AND PADS DS51892A-page 36 © 2010 Microchip Technology Inc.
Schematic and Layouts A.6 BOARD – LAYER 2 GROUND PLANE © 2010 Microchip Technology Inc.
MCP43XXEV Evaluation Board User’s Guide A.7 BOARD – LAYER 3 POWER PLANE DS51892A-page 38 © 2010 Microchip Technology Inc.
Schematic and Layouts A.8 BOARD LAYOUT – TOP COMPONENTS © 2010 Microchip Technology Inc.
MCP43XXEV Evaluation Board User’s Guide A.9 BOARD – BOTTOM SILK, TRACE AND PADS DS51892A-page 40 © 2010 Microchip Technology Inc.
MCP43XXEV EVALUATION BOARD USER’S GUIDE Appendix B. Bill of Materials (BOM) TABLE B-1: Qty BILL OF MATERIALS Reference Description 1 PCB 8 4 R1U, R3D, R7D RES 0.0 OHM 1/8W 5% 0805 SMD R8D, R10U, R17U R15U, R14U R14U, R15U RES 10.0K OHM 1/8W 1% 0805 SMD U3 MCP4361 Quad SPI Digi-Pot (10K Ohm version ) P2, P9, P12, P19 TEST POINT PC MULTI PURPOSE ORG 1 J1 2 1 Note 1: 2: Note 1 Manufacturer Part Number Microchip Technology 104-00272 Inc.
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: http://support.microchip.com Web Address: www.microchip.