background image

MCP6S2X Evaluation Board (Rev. 4) User’s Guide 

DS51327B-page 10

 2004 Microchip Technology Inc.

1.3.2

Application Procedure - Program Mode

1.

Place the V

DD

 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.

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.

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 configura-
tion. 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 preci-
sion operational amplifier is directly connected to the input channels through a multi-
plexer. 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 con-
nected to the input pin without a multiplexer.

FIGURE 1-2:

The six-channel MCP6S26 PGA Block Diagram. The 

single-channel MCP6S21 does not have an input multiplexer.

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.

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.

V

OUT

V

REF

V

DD

CS

SI

SO

SCK

CH1

CH0

CH3

CH2

CH5

CH4

V

SS

8

R

F

R

G

MUX

SPI™

Logic

POR

Gain

Switches

Res

is

tor Ladder (R

LA
D

)

MCP6S26

Summary of Contents for MCP6S22 PGA PICtail

Page 1: ...ss mainly focus on the distribution of electronic components Line cards we deal with include Microchip ALPS ROHM Xilinx Pulse ON Everlight and Freescale Main products comprise IC Modules Potentiometer...

Page 2: ...2004 Microchip Technology Inc DS51327B MCP6S2X Evaluation Board Rev 4 User s Guide...

Page 3: ...spective companies 2004 Microchip Technology Incorporated Printed in the U S A All Rights Reserved Printed on recycled paper Note the following details of the code protection feature on Microchip devi...

Page 4: ...ation 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 To...

Page 5: ...2004 Microchip Technology Inc 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 Referenc...

Page 6: ...ual 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...

Page 7: ...o 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...

Page 8: ...racters A dialog button Click OK A tab Click the Power tab bnnnn A binary number where n is a digit b00100 b10 Text in angle brackets A key on the keyboard Press Enter F1 Courier font Plain Courier Sa...

Page 9: ...epresentatives DEVELOPMENT SYSTEMS CUSTOMER CHANGE NOTIFICATION SERVICE Microchip s customer notification service helps keep customers current on Microchip products Subscribers will receive e mail not...

Page 10: ...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 micro...

Page 11: ...MCP6S2X Evaluation Board Rev 4 User s Guide DS51327B page 6 2004 Microchip Technology Inc NOTES...

Page 12: ...tion 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 immuni...

Page 13: ...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...

Page 14: ...ge 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 de...

Page 15: ...ions 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 prec...

Page 16: ...ow 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 MCP6S...

Page 17: ...the on board jumper connector JP1 refer to Appendix D Setup Conditions and D 5 Reference Voltage Jumper Positions for more information FIGURE 1 3 Simplified Reference Voltage Schematic The input and o...

Page 18: ...d 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 pus...

Page 19: ...MCP6S2X Evaluation Board Rev 4 User s Guide DS51327B page 14 2004 Microchip Technology Inc NOTES...

Page 20: ...nd 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 Laye...

Page 21: ...uF C10 2 2uF R8 100K R7 100K VR1 10K POT VDD C8 1 0 F C9 0 1 uF R9 100K MSB LSB R15 10K R14 10K R13 10K R11 10K R12 10K VOUT 2 VOUT 1 VIN 0 VIN 1 VDD VDD 1 2 3 4 5 6 7 8 9 9 10 OFFON OFFON OFFON OFFON...

Page 22: ...2004 Microchip Technology Inc DS51327B page 17 A 3 TOP SILK SCREEN...

Page 23: ...MCP6S2X Evaluation Board Rev 4 User s Guide DS51327B page 18 2004 Microchip Technology Inc A 4 TOP METAL LAYER...

Page 24: ...2004 Microchip Technology Inc DS51327B page 19 A 5 GROUND PLANE LAYER...

Page 25: ...MCP6S2X Evaluation Board Rev 4 User s Guide DS51327B page 20 2004 Microchip Technology Inc A 6 POWER PLANE LAYER...

Page 26: ...2004 Microchip Technology Inc DS51327B page 21 A 7 BOTTOM METAL LAYER...

Reviews: