background image

 2004 Microchip Technology Inc.

DS51327B-page 11

1.4.2

Applying Power

The V

DD

 SELECT jumper (JP2) connects the power plane (V

DD

) 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 exter-
nal supply and the V

DD

 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 V

DD

 SELECT jumper selects the ICSP source. V

DD

 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 V

IN_0

. The input channels 1, 2 and 

3 are connected to V

IN_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 V

IN_0

 and V

IN_1

. .

The output pin of the MCP6S26 is connected to V

OUT_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 V

OUT_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:

There are soldering pads available across each input terminal for termina-
tion resistors (R

4

 and R

5

)

. If these resistors (e.g., 50

) are needed for your 

application, solder them across the pads.

Note:

The signals V

IN_0

, V

IN_1

, V

OUT_1

 and V

OUT_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.

Содержание MCP6S22 PGA PICtail

Страница 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...

Страница 2: ...2004 Microchip Technology Inc DS51327B MCP6S2X Evaluation Board Rev 4 User s Guide...

Страница 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...

Страница 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...

Страница 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...

Страница 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...

Страница 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...

Страница 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...

Страница 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...

Страница 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...

Страница 11: ...MCP6S2X Evaluation Board Rev 4 User s Guide DS51327B page 6 2004 Microchip Technology Inc NOTES...

Страница 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...

Страница 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...

Страница 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...

Страница 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...

Страница 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...

Страница 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...

Страница 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...

Страница 19: ...MCP6S2X Evaluation Board Rev 4 User s Guide DS51327B page 14 2004 Microchip Technology Inc NOTES...

Страница 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...

Страница 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...

Страница 22: ...2004 Microchip Technology Inc DS51327B page 17 A 3 TOP SILK SCREEN...

Страница 23: ...MCP6S2X Evaluation Board Rev 4 User s Guide DS51327B page 18 2004 Microchip Technology Inc A 4 TOP METAL LAYER...

Страница 24: ...2004 Microchip Technology Inc DS51327B page 19 A 5 GROUND PLANE LAYER...

Страница 25: ...MCP6S2X Evaluation Board Rev 4 User s Guide DS51327B page 20 2004 Microchip Technology Inc A 6 POWER PLANE LAYER...

Страница 26: ...2004 Microchip Technology Inc DS51327B page 21 A 7 BOTTOM METAL LAYER...

Отзывы: