MCP3204/3208. 2.7V 4-Channel/8-Channel 12-Bit A/D Converters with SPI Serial Interface. Features. Description. Applications. Functional Block Diagram



Similar documents
MCP3204/ V 4-Channel/8-Channel 12-Bit A/D Converters with SPI Serial Interface. Features. Description. Applications.

AN709. System Level Design Considerations When Using I 2 C TM Serial EEPROM Devices INTRODUCTION INSURING BUS-FREE DURING POWER-UP

AN688. Layout Tips for 12-Bit A/D Converter Application GETTING A GOOD START INTRODUCTION. Microchip Technology Inc. / 2 MCP602

MCP3004/ V 4-Channel/8-Channel 10-Bit A/D Converters with SPI Serial Interface. Features. Description. Applications. Functional Block Diagram

MCP3004/ V 4-Channel/8-Channel 10-Bit A/D Converters with SPI Serial Interface. Features. Description. Applications.

TCM V To ±10V Voltage Converter. General Description. Features. Applications. Package Type. Typical Operating Circuit

PDIP, MSOP, SOIC, TSSOP

TCM809/TCM Pin Microcontroller Reset Monitors. General Description. Features. Applications. Pin Configurations. Typical Application Circuit

AN680. Passive RFID Basics INTRODUCTION DEFINITIONS. Modulation. Reader. Tag. Carrier. Microchip Technology Inc.

AN699. Anti-Aliasing, Analog Filters for Data Acquisition Systems ANALOG VERSUS DIGITAL FILTERS INTRODUCTION. Microchip Technology Inc.

MSOP, PDIP, SOIC, TSSOP

AN844. Simplified Thermocouple Interfaces and PICmicro MCUs INTRODUCTION. Linearization THERMOCOUPLE CIRCUITS. Absolute Temperature Reference.

AN831. Matching Small Loop Antennas to rfpic Devices INTRODUCTION CALCULATING THE LOOP RADIATION RESISTANCE AND LOSS RESISTANCE EQUATION 2:

M Floating Point to ASCII Conversion

How to Implement ICSP Using PIC12C5XX OTP MCUs VDD. GP3/MCLR/VPP ICSP Connector. To application circuit Isolation circuits

MCP3021. Low Power 10-Bit A/D Converter With I 2 C Interface. Description. Features. Applications. Functional Block Diagram.

ICS SPREAD SPECTRUM CLOCK SYNTHESIZER. Description. Features. Block Diagram DATASHEET

TRIPLE PLL FIELD PROG. SPREAD SPECTRUM CLOCK SYNTHESIZER. Features

ICS514 LOCO PLL CLOCK GENERATOR. Description. Features. Block Diagram DATASHEET

Voltage-to-Frequency/Frequency-to-Voltage Converter

M Floating Point to ASCII Conversion

TC652/TC653. Integrated Temperature Sensor & Brushless DC Fan Controller with FanSense Detect & Over-Temperature. Features.

How To Use A Temperature Sensor On A Microchip Computer (For Microchip)

A CAN Physical Layer Discussion

Analog-to-Digital Converters

AN713. Controller Area Network (CAN) Basics INTRODUCTION CAN PROTOCOL BASICS CAN OVERVIEW

Features. Modulation Frequency (khz) VDD. PLL Clock Synthesizer with Spread Spectrum Circuitry GND

LTC Channel Analog Multiplexer with Serial Interface U DESCRIPTIO

FLASH Memory Programming Specification TABLE 1-1: PIN DESCRIPTIONS (DURING PROGRAMMING): PIC16F72

ICS379. Quad PLL with VCXO Quick Turn Clock. Description. Features. Block Diagram

Operational Amplifier Topologies and DC Specifications

12-Bit, 4-Channel Parallel Output Sampling ANALOG-TO-DIGITAL CONVERTER

AN685. Thermistors in Single Supply Temperature Sensing Circuits INTRODUCTION THERMISTOR OVERVIEW. Current-Over-Time Mode. Voltage-Versus-Current Mode

TDA CHANNEL VOLUME CONTROLLER 1 FEATURES 2 DESCRIPTION. Figure 1. Package

DATA SHEET. TDA1543 Dual 16-bit DAC (economy version) (I 2 S input format) INTEGRATED CIRCUITS

SG2525A SG3525A REGULATING PULSE WIDTH MODULATORS

1 TO 4 CLOCK BUFFER ICS551. Description. Features. Block Diagram DATASHEET

CMOS Switched-Capacitor Voltage Converters ADM660/ADM8660

Code Hopping Decoder Using a PIC16C56

TC648. Fan Speed Controller with Auto-Shutdown and Over-Temperature Alert. Package Types. Features TC648. General Description.

NTE2053 Integrated Circuit 8 Bit MPU Compatible A/D Converter

Cold-Junction-Compensated K-Thermocoupleto-Digital Converter (0 C to C)

Precision, Unity-Gain Differential Amplifier AMP03

Technical Brief Secure Learning RKE Systems Using KEELOQ Encoders

2 TO 4 DIFFERENTIAL PCIE GEN1 CLOCK MUX ICS Features

AN562. Using Endurance Predictive Software. Using the Microchip Endurance Predictive Software INTRODUCTION TOTAL ENDURANCE PREDICTIVE SOFTWARE

High-Speed, 5 V, 0.1 F CMOS RS-232 Driver/Receivers ADM202/ADM203

SPREAD SPECTRUM CLOCK GENERATOR. Features

TL084 TL084A - TL084B

Interfacing Pressure Sensors to Microchip s Analog Peripherals V OUT- Silicon Substrate

TB3016. Using the PIC MCU CTMU for Temperature Measurement IMPLEMENTATION BASIC PRINCIPLE MEASUREMENT CIRCUIT

AN717. Building a 10-bit Bridge Sensing Circuit using the PIC16C6XX and MCP601 Operational Amplifier

TC4421/TC4422. Functional Block Diagram. TC4421 Inverting. TC4422 Non-Inverting V DD. 300 mv Output. Input 4.7V. GND Effective. Input.

AN723. Operational Amplifier AC Specifications and Applications INTRODUCTION FREQUENCY DOMAIN SPECIFICATIONS

AN679. Temperature Sensing Technologies SO MANY TEMPERATURE SENSORS INTRODUCTION. Microchip Technology Inc.

High Common-Mode Rejection. Differential Line Receiver SSM2141. Fax: 781/ FUNCTIONAL BLOCK DIAGRAM FEATURES. High Common-Mode Rejection

UA741. General-purpose single operational amplifier. Features. Applications. Description. N DIP8 (plastic package)

Description. Table 1. Device summary. Order code Temperature range Package Packaging Marking

4-bit binary full adder with fast carry CIN + (A1 + B1) + 2(A2 + B2) + 4(A3 + B3) + 8(A4 + B4) = = S1 + 2S2 + 4S3 + 8S4 + 16COUT

Advanced Monolithic Systems

+5 V Powered RS-232/RS-422 Transceiver AD7306

MC Low noise quad operational amplifier. Features. Description

TB056. Demonstrating the Set_Report Request With a PS/2 to USB Keyboard Translator Example INTRODUCTION. The Set_Report Request.

Supertex inc. HV Channel High Voltage Amplifier Array HV256. Features. General Description. Applications. Typical Application Circuit

4 OUTPUT PCIE GEN1/2 SYNTHESIZER IDT5V41186

TS555. Low-power single CMOS timer. Description. Features. The TS555 is a single CMOS timer with very low consumption:

CLASS-D VERTICAL DEFLECTION AMPLIFIER FOR TV AND MONITOR APPLICATION OUT CFLY + CFLY - BOOT VREG FEEDCAP FREQ. July /8

Driving Power MOSFETs in High-Current, Switch Mode Regulators V GS(TH) In equation form: and. I G = Q G /t (transition) where: For example:

TB026. Calculating Program Memory Checksums Using a PIC16F87X ACCESSING MEMORY INTRODUCTION. PIC16C7X vs. PIC16F87X. Microchip Technology Inc.

TB040. Fast Integer Square Root THE ALGORITHM INTRODUCTION SQUARE ROOT FLOW CHART

X9C102/103/104/503. Terminal Voltages ±5V, 100 Taps. Digitally-Controlled (XDCP) Potentiometer

LDS WLED Matrix Driver with Boost Converter FEATURES APPLICATION DESCRIPTION TYPICAL APPLICATION CIRCUIT

AP331A XX G - 7. Lead Free G : Green. Packaging (Note 2)

HCC/HCF4032B HCC/HCF4038B

FEATURES DESCRIPTIO APPLICATIO S. LTC1451 LTC1452/LTC Bit Rail-to-Rail Micropower DACs in SO-8 TYPICAL APPLICATIO

Features. V PP IN V CC3 IN V CC5 IN (opt) EN0 EN1 MIC2562

PIC16F877A. FLASH Memory Programming Specification 1.0 PROGRAMMING THE PIC16F87XA

DS1621 Digital Thermometer and Thermostat

HCF4001B QUAD 2-INPUT NOR GATE

TDA2822 DUAL POWER AMPLIFIER SUPPLY VOLTAGE DOWN TO 3 V LOW CROSSOVER DISTORSION LOW QUIESCENT CURRENT BRIDGE OR STEREO CONFIGURATION

ICS SYSTEM PERIPHERAL CLOCK SOURCE. Description. Features. Block Diagram DATASHEET

MC10SX1190. Fibre Channel Coaxial Cable Driver and Loop Resiliency Circuit

AVR127: Understanding ADC Parameters. Introduction. Features. Atmel 8-bit and 32-bit Microcontrollers APPLICATION NOTE

MCP3021. Low Power 10-Bit A/D Converter With I 2 C Interface. Description. Features. Applications. Functional Block Diagram.

Variable Resolution, 10-Bit to 16-Bit R/D Converter with Reference Oscillator AD2S1210-EP

Features INSTRUCTION DECODER CONTROL LOGIC AND CLOCK GENERATORS COMPARATOR AND WRITE ENABLE EEPROM ARRAY READ/WRITE AMPS 16

HT1632C 32 8 &24 16 LED Driver

HCF4010B HEX BUFFER/CONVERTER (NON INVERTING)

1 pc Charge Injection, 100 pa Leakage CMOS 5 V/5 V/3 V 4-Channel Multiplexer ADG604

Features. Instruction. Decoder Control Logic, And Clock Generators. Address Compare amd Write Enable. Protect Register V PP.

Rail-to-Rail, High Output Current Amplifier AD8397

HI-200, HI-201. Features. Dual/Quad SPST, CMOS Analog Switches. Applications. Ordering Information. Functional Diagram FN3121.9

ICL V Powered, Dual RS-232 Transmitter/Receiver. Description. Features. Ordering Information. Applications. Functional Diagram.

AN687. Precision Temperature-Sensing With RTD Circuits RTD OVERVIEW INTRODUCTION EQUATION 1:

R EXT THERMISTOR. Maxim Integrated Products 1

High Speed, Low Power Dual Op Amp AD827

256K (32K x 8) Battery-Voltage Parallel EEPROMs AT28BV256

Transcription:

M MCP324/328 2.7V 4-Channel/8-Channel 12-Bit A/D Converters with SPI Serial Interface Features 12-bit resolution ± 1 LSB max DNL ± 1 LSB max INL (MCP324/328-B) ± 2 LSB max INL (MCP324/328-C) 4 (MCP324) or 8 (MCP328) input channels Analog inputs programmable as single-ended or pseudo-differential pairs On-chip sample and hold SPI serial interface (modes, and 1,1) Single supply operation: 2.7V - 5.5V 1 ksps max. sampling rate at V DD = 5V 5 ksps max. sampling rate at V DD = 2.7V Low power CMOS technology: - 5 na typical standby current, 2 µa max. - 4 µa max. active current at 5V Industrial temp range: -4 C to +85 C Available in PDIP, SOIC and TSSOP packages Applications Sensor Interface Process Control Data Acquisition Battery Operated Systems Package Types PDIP, SOIC, TSSOP CH CH1 CH2 CH3 NC NC DGND 1 2 3 4 5 6 7 MCP324 14 13 12 11 1 9 8 V DD V REF AGND CLK D IN CS/SHDN Description The Microchip Technology Inc. MCP324/328 devices are successive approximation 12-bit Analogto-Digital (A/D) Converters with on-board sample and hold circuitry. The MCP324 is programmable to provide two pseudo-differential input pairs or four singleended inputs. The MCP328 is programmable to provide four pseudo-differential input pairs or eight singleended inputs. Differential Nonlinearity (DNL) is specified at ±1 LSB, while Integral Nonlinearity (INL) is offered in ±1 LSB (MCP324/328-B) and ±2 LSB (MCP324/328-C) versions. Communication with the devices is accomplished using a simple serial interface compatible with the SPI protocol. The devices are capable of conversion rates of up to 1 ksps. The MCP324/328 devices operate over a broad voltage range (2.7V - 5.5V). Low current design permits operation with typical standby and active currents of only 5 na and 32 µa, respectively. The MCP324 is offered in 14-pin PDIP, 15 mil SOIC and TSSOP packages. The MCP328 is offered in 16-pin PDIP and SOIC packages. Functional Block Diagram CH CH1 CH7* Input Channel Mux Sample and Hold V REF DAC Comparator Control Logic V DD 12-Bit SAR Shift Register V SS PDIP, SOIC CS/SHDN D IN CLK CH CH1 CH2 CH3 CH4 CH5 CH6 CH7 1 2 3 4 5 6 7 8 MCP328 16 15 14 13 12 11 1 9 V DD V REF AGND CLK D IN CS/SHDN DGND * Note: Channels 5-7 available on MCP328 Only 22 Microchip Technology Inc. DS21298C-page 1

1. ELECTRICAL CHARACTERISTICS Absolute Maximum Ratings* V DD...7.V All inputs and outputs w.r.t. V SS... -.6V to V DD +.6V Storage temperature...-65 C to +15 C Ambient temp. with power applied...-65 C to +125 C Soldering temperature of leads (1 seconds)...+3 C ESD protection on all pins...> 4 kv *Notice: Stresses above those listed under "Maximum Ratings" may cause permanent damage to the device. This is a stress rating only and functional operation of the device at those or any other conditions above those indicated in the operation listings of this specification is not implied. Exposure to maximum rating conditions for extended periods may affect device reliability. ELECTRICAL SPECIFICATIONS PIN FUNCTION TABLE Name Function V DD +2.7V to 5.5V Power Supply DGND Digital Ground AGND Analog Ground CH-CH7 Analog Inputs CLK Serial Clock D IN Serial Data In Serial Data Out CS/SHDN Chip Select/Shutdown Input V REF Reference Voltage Input Electrical Characteristics: Unless otherwise noted, all parameters apply at V DD = 5V, V SS = V, V REF = 5V, T AMB = -4 C to +85 C,f SAMPLE = 1 ksps and f CLK = 2*f SAMPLE Parameters Sym Min Typ Max Units Conditions Conversion Rate Conversion Time t CONV 12 clock cycles Analog Input Sample Time t SAMPLE 1.5 clock cycles Throughput Rate f SAMPLE DC Accuracy 1 5 ksps ksps Resolution 12 bits Integral Nonlinearity INL ±.75 ±1 LSB ±1. ±2 V DD = V REF = 5V V DD = V REF = 2.7V MCP324/328-B MCP324/328-C Differential Nonlinearity DNL ±.5 ±1 LSB No missing codes over-temperature Offset Error ±1.25 ±3 LSB Gain Error ±1.25 ±5 LSB Dynamic Performance Total Harmonic Distortion -82 db V IN =.1V to 4.9V@1 khz Signal to Noise and Distortion 72 db V IN =.1V to 4.9V@1 khz (SINAD) Spurious Free Dynamic 86 db V IN =.1V to 4.9V@1 khz Range Reference Input Voltage Range.25 V DD V Note 2 Current Drain 1.1 15 3. µa µa CS = V DD = 5V Note 1: This parameter is established by characterization and not 1% tested. 2: See graphs that relate linearity performance to V REF levels. 3: Because the sample cap will eventually lose charge, effective clock rates below 1 khz can affect linearity performance, particularly at elevated temperatures. See Section 6.2, Maintaining Minimum Clock Speed, for more information. DS21298C-page 2 22 Microchip Technology Inc.

ELECTRICAL SPECIFICATIONS (CONTINUED) Electrical Characteristics: Unless otherwise noted, all parameters apply at V DD = 5V, V SS = V, V REF = 5V, T AMB = -4 C to +85 C,f SAMPLE = 1 ksps and f CLK = 2*f SAMPLE Parameters Sym Min Typ Max Units Conditions Analog Inputs Input Voltage Range for CH- V SS V REF V CH7 in Single-Ended Mode Input Voltage Range for IN+ in IN- V REF +INpseudo-differential Mode Input Voltage Range for IN- in V SS -1 V SS +1 mv pseudo-differential Mode Leakage Current.1 ±1 µa Switch Resistance 1 Ω See Figure 4-1 Sample Capacitor 2 pf See Figure 4-1 Digital Input/Output Data Coding Format Straight Binary High Level Input Voltage V IH.7 V DD V Low Level Input Voltage V IL.3 V DD V High Level Output Voltage V OH 4.1 V I OH = -1 ma, V DD = 4.5V Low Level Output Voltage V OL.4 V I OL = 1 ma, V DD = 4.5V Input Leakage Current I LI -1 1 µa V IN = V SS or V DD Output Leakage Current I LO -1 1 µa V OUT = V SS or V DD Pin Capacitance (All Inputs/Outputs) C IN,C OUT 1 pf V DD = 5.V (Note 1) T AMB = 25 C, f = 1 MHz Timing Parameters Clock Frequency f CLK 2. 1. MHz MHz V DD = 5V (Note 3) V DD = 2.7V (Note 3) Clock High Time t HI 25 ns Clock Low Time t LO 25 ns CS Fall To First Rising CLK t SUCS 1 ns Edge Data Input Setup Time t SU 5 ns Data Input Hold Time t HD 5 ns CLK Fall To Output Data Valid t DO 2 ns See Figures 1-2 and 1-3 CLK Fall To Output Enable t EN 2 ns See Figures 1-2 and 1-3 CS Rise To Output Disable t DIS 1 ns See Figures 1-2 and 1-3 CS Disable Time t CSH 5 ns Rise Time t R 1 ns See Figures 1-2 and 1-3 (Note 1) Fall Time t F 1 ns See Figures 1-2 and 1-3 (Note 1) Power Requirements Operating Voltage V DD 2.7 5.5 V Operating Current I DD 32 225 4 µa V DD =V REF = 5V, unloaded V DD =V REF = 2.7V, unloaded Standby Current I DDS.5 2. µa CS = V DD = 5.V Note 1: This parameter is established by characterization and not 1% tested. 2: See graphs that relate linearity performance to V REF levels. 3: Because the sample cap will eventually lose charge, effective clock rates below 1 khz can affect linearity performance, particularly at elevated temperatures. See Section 6.2, Maintaining Minimum Clock Speed, for more information. 22 Microchip Technology Inc. DS21298C-page 3

ELECTRICAL SPECIFICATIONS (CONTINUED) Electrical Characteristics: Unless otherwise noted, all parameters apply at V DD = 5V, V SS = V, V REF = 5V, T AMB = -4 C to +85 C,f SAMPLE = 1 ksps and f CLK = 2*f SAMPLE Parameters Sym Min Typ Max Units Conditions Temperature Ranges Specified Temperature Range T A -4 +85 C Operating Temperature T A -4 +85 C Range Storage Temperature Range T A -65 +15 C Thermal Package Resistance Thermal Resistance, θ JA 7 C/W 14L-PDIP Thermal Resistance, θ JA 18 C/W 14L-SOIC Thermal Resistance, θ JA 1 C/W 14L-TSSOP Thermal Resistance, θ JA 7 C/W 16L-PDIP Thermal Resistance, 16L-SOIC θ JA 9 C/W Note 1: This parameter is established by characterization and not 1% tested. 2: See graphs that relate linearity performance to V REF levels. 3: Because the sample cap will eventually lose charge, effective clock rates below 1 khz can affect linearity performance, particularly at elevated temperatures. See Section 6.2, Maintaining Minimum Clock Speed, for more information. t CSH CS t SUCS t HI t LO CLK t SU t HD D IN MSB IN t DO t R t F t DIS t EN Null Bit MSB OUT LSB FIGURE 1-1: Serial Interface Timing. DS21298C-page 4 22 Microchip Technology Inc.

1.4V Test Point 3kΩ Test Point 3kΩ V DD V DD /2 t DIS Waveform 2 t EN Waveform C L = 1 pf 1 pf t DIS Waveform 1 V SS Voltage Waveforms for t R, t F Voltage Waveforms for t EN V OH V OL CS t R t F CLK 1 2 3 4 Voltage Waveforms for t DO B11 CLK t EN t DO FIGURE 1-2: Load Circuit for t R, t F, t DO. Voltage Waveforms for t DIS V CS IH Waveform 1* T DIS 9% Waveform 2 1% * Waveform 1 is for an output with internal conditions such that the output is high, unless disabled by the output control. Waveform 2 is for an output with internal conditions such that the output is low, unless disabled by the output control. FIGURE 1-3: Load circuit for t DIS and t EN. 22 Microchip Technology Inc. DS21298C-page 5

2. TYPICAL PERFORMANCE CHARACTERISTICS Note: The graphs and tables provided following this note are a statistical summary based on a limited number of samples and are provided for informational purposes only. The performance characteristics listed herein are not tested or guaranteed. In some graphs or tables, the data presented may be outside the specified operating range (e.g., outside specified power supply range) and therefore outside the warranted range. Note: Unless otherwise indicated, V DD = V REF = 5V, V SS = V, f SAMPLE = 1 ksps, f CLK = 2* f SAMPLE,T A = 25 C. INL (LSB) 1..8 Positive INL.6.4.2. -.2 -.4 Negative INL -.6 -.8-1. 25 5 75 1 125 15 Sample Rate (ksps) INL (LSB) 2. 1.5 1..5. V DD = V REF = 2.7 V Positive INL -.5 Negative INL -1. -1.5-2. 1 2 3 4 5 6 7 8 Sample Rate (ksps) FIGURE 2-1: vs. Sample Rate. Integral Nonlinearity (INL) FIGURE 2-4: Integral Nonlinearity (INL) vs. Sample Rate (V DD = 2.7V). INL (LSB) 2.5 2. 1.5 1..5. -.5-1. -1.5-2. Positive INL Negative INL 1 2 3 4 5 VREF (V) INL (LSB) 2. 1.5 1..5. -.5-1. -1.5-2. Positive INL Negative INL..5 1. 1.5 2. 2.5 3. VREF (V) FIGURE 2-2: vs. V REF. Integral Nonlinearity (INL) FIGURE 2-5: Integral Nonlinearity (INL) vs. V REF (V DD = 2.7V). INL (LSB) 1..8.6.4.2. -.2 -.4 -.6 -.8-1. 512 124 1536 248 256 372 3584 496 Digital Code FIGURE 2-3: Integral Nonlinearity (INL) vs. Code (Representative Part). INL (LSB) 1..8.6.4.2. -.2 -.4 -.6 -.8-1. FSAMPLE = 5 ksps 512 124 1536 248 256 372 3584 496 Digital Code FIGURE 2-6: Integral Nonlinearity (INL) vs. Code (Representative Part, V DD = 2.7V). DS21298C-page 6 22 Microchip Technology Inc.

Note: Unless otherwise indicated, V DD = V REF = 5 V, V SS = V, f SAMPLE = 1 ksps, f CLK = 2* f SAMPLE,T A = 25 C. INL (LSB) 1..8.6.4.2. -.2 -.4 -.6 -.8-1. Positive INL Negative INL -5-25 25 5 75 1 Temperature ( C) INL (LSB) 1..8.6.4.2. -.2 -.4 -.6 -.8 F SAMPLE = 5 ksps Positive INL Negative INL -1. -5-25 25 5 75 1 Temperature ( C) FIGURE 2-7: vs. Temperature. Integral Nonlinearity (INL) FIGURE 2-1: Integral Nonlinearity (INL) vs. Temperature (V DD = 2.7V). DNL (LSB) 1..8.6.4.2 Positive DNL. -.2 -.4 -.6 Negative DNL -.8-1. 25 5 75 1 125 15 Sample Rate (ksps) FIGURE 2-8: Differential Nonlinearity (DNL) vs. Sample Rate. DNL (LSB) 2. 1.5 1..5. Positive DNL -.5 Negative DNL -1. -1.5-2. 1 2 3 4 5 6 7 8 Sample Rate (ksps) FIGURE 2-11: Differential Nonlinearity (DNL) vs. Sample Rate (V DD = 2.7V). 3. 2. 3. 2. FSAMPLE = 5 ksps DNL (LSB) 1.. -1. Positive DNL Negative DNL DNL (LSB) 1.. -1. Positive DNL Negative DNL -2. -2. -3. 1 2 3 4 5 VREF (V) -3...5 1. 1.5 2. 2.5 3. VREF (V) FIGURE 2-9: (DNL) vs. V REF. Differential Nonlinearity FIGURE 2-12: Differential Nonlinearity (DNL) vs. V REF (V DD = 2.7V). 22 Microchip Technology Inc. DS21298C-page 7

Note: Unless otherwise indicated, V DD = V REF = 5V, V SS = V, f SAMPLE = 1 ksps, f CLK = 2* f SAMPLE,T A = 25 C. DNL (LSB) 1..8.6.4.2. -.2 -.4 -.6 -.8-1. 512 124 1536 248 256 372 3584 496 Digital Code FIGURE 2-13: Differential Nonlinearity (DNL) vs. Code (Representative Part). DNL (LSB) 1..8.6.4.2. -.2 -.4 -.6 -.8 FSAMPLE = 5 ksps -1. 512 124 1536 248 256 372 3584 496 Digital Code FIGURE 2-16: Differential Nonlinearity (DNL) vs. Code (Representative Part, V DD = 2.7V). DNL (LSB) 1..8.6.4.2. -.2 -.4 -.6 -.8-1. Positive DNL Negative DNL -5-25 25 5 75 1 Temperature ( C) FIGURE 2-14: Differential Nonlinearity (DNL) vs. Temperature. DNL (LSB) 1..8.6.4.2. -.2 -.4 -.6 -.8-1. F SAMPLE = 5 ksps Positive DNL Negative DNL -5-25 25 5 75 1 Temperature ( C) FIGURE 2-17: Differential Nonlinearity (DNL) vs. Temperature (V DD = 2.7V). Gain Error (LSB) 4 3 2 1-1 -2-3 -4 VDD = VREF = 5 V FSAMPLE = 1 ksps FSAMPLE = 5 ksps 1 2 3 4 5 V REF (V) FIGURE 2-15: Gain Error vs. V REF. Offset Error (LSB) 2 18 16 14 12 1 8 6 4 2 VDD = VREF = 5V FSAMPLE = 1 ksps V DD = V REF = 2.7V FSAMPLE = 5 ksps 1 2 3 4 5 V REF (V) FIGURE 2-18: Offset Error vs. V REF. DS21298C-page 8 22 Microchip Technology Inc.

Note: Unless otherwise indicated, V DD = V REF = 5V, V SS = V, f SAMPLE = 1 ksps, f CLK = 2* f SAMPLE,T A = 25 C. Gain Error (LSB).2. -.2 -.4 -.6 -.8-1. -1.2-1.4-1.6-1.8 FSAMPLE = 5 ksps VDD = VREF = 5 V FSAMPLE = 1 ksps -5-25 25 5 75 1 Temperature ( C) Offset Error (LSB) 2. 1.8 1.6 1.4 1.2 1..8.6.4.2. VDD = VREF = 5 V FSAMPLE = 1 ksps FSAMPLE = 5 ksps -5-25 25 5 75 1 Temperature ( C) FIGURE 2-19: Gain Error vs. Temperature. FIGURE 2-22: Temperature. Offset Error vs. SNR (db) 1 9 8 7 6 5 4 3 2 1 VDD = VREF = 2.7V FSAMPLE = 5 ksps VDD = VREF = 5 V FSAMPLE = 1 ksps 1 1 1 Input Frequency (khz) SFDR (db) 1 9 8 7 6 5 4 3 2 1 F SAMPLE = 5 ksps VDD = VREF = 5 V FSAMPLE = 1 ksps 1 1 1 Input Frequency (khz) FIGURE 2-2: Input Frequency. Signal to Noise (SNR) vs. FIGURE 2-23: Signal to Noise and Distortion (SINAD) vs. Input Frequency. THD (db) -1-2 -3-4 -5-6 -7-8 -9-1 VDD = VREF = 2.7V FSAMPLE = 5 ksps V DD = V REF = 5V FSAMPLE = 1 ksps 1 1 1 Input Frequency (khz) FIGURE 2-21: Total Harmonic Distortion (THD) vs. Input Frequency. SINAD (db) 8 7 6 5 4 3 2 1 VDD = VREF = 5 V FSAMPLE = 1 ksps FSAMPLE = 5 ksps -4-35 -3-25 -2-15 -1-5 Input Signal Level (db) FIGURE 2-24: Signal to Noise and Distortion (SINAD) vs. Input Signal Level. 22 Microchip Technology Inc. DS21298C-page 9

Note: Unless otherwise indicated, V DD = V REF = 5V, V SS = V, f SAMPLE = 1 ksps, f CLK = 2* f SAMPLE,T A = 25 C. ENOB (rms) 12. 11.75 11.5 11.25 11. 1.75 1.5 1.25 1. 9.75 9.5 9.25 9. F SAMPLE = 5 ksps V DD = V REF = 5 V F SAMPLE =1 ksps..5 1. 1.5 2. 2.5 3. 3.5 4. 4.5 5. V REF (V) ENOB (rms) 12. 11.5 11. 1.5 1. 9.5 9. 8.5 8. FSAMPLE = 5 ksps VDD = VREF = 5 V FSAMPLE = 1 ksps 1 1 1 Input Frequency (khz) FIGURE 2-25: (ENOB) vs. V REF. Effective Number of Bits FIGURE 2-28: Effective Number of Bits (ENOB) vs. Input Frequency. SFDR (db) 1 9 8 7 6 5 4 3 2 1 FSAMPLE = 5 ksps VDD = VREF = 5 V FSAMPLE = 1 ksps 1 1 1 Input Frequency (khz) FIGURE 2-26: Spurious Free Dynamic Range (SFDR) vs. Input Frequency. Power Supply Rejection (db) -1-2 -3-4 -5-6 -7-8 1 1 1 1 1 Ripple Frequency (khz) FIGURE 2-29: Power Supply Rejection (PSR) vs. Ripple Frequency. Amplitude (db) -1-2 -3-4 -5-6 -7-8 -9-1 -11-12 -13 VDD = VREF = 5 V FSAMPLE = 1 ksps F INPUT = 9.985 khz 496 points 1 2 3 4 5 Frequency (Hz) FIGURE 2-27: Frequency Spectrum of 1 khz input (Representative Part). Amplitude (db) -1-2 -3-4 -5-6 -7-8 -9-1 -11-12 -13 FSAMPLE = 5 ksps F INPUT = 998.76 Hz 496 points 5 1 15 2 25 Frequency (Hz) FIGURE 2-3: Frequency Spectrum of 1 khz input (Representative Part, V DD = 2.7V). DS21298C-page 1 22 Microchip Technology Inc.

Note: Unless otherwise indicated, V DD = V REF = 5V, V SS = V, f SAMPLE = 1 ksps, f CLK = 2* f SAMPLE,T A = 25 C. I DD (µa) 5 45 4 35 3 25 2 15 1 5 VREF = VDD All points at F CLK = 2 MHz, except at VREF = VDD = 2.5 V, FCLK = 1 MHz 2. 2.5 3. 3.5 4. 4.5 5. 5.5 6. V DD (V) FIGURE 2-31: I DD vs. V DD. I REF (µa) 1 9 8 7 6 5 4 3 2 1 VREF = VDD All points at FCLK = 2 MHz except at VREF = VDD = 2.5 V, FCLK = 1 MHz 2. 2.5 3. 3.5 4. 4.5 5. 5.5 6. V DD (V) FIGURE 2-34: I REF vs. V DD. I DD (µa) 4 35 3 25 2 15 1 5 VDD = VREF = 5 V 1 1 1 1 Clock Frequency (khz) I REF (µa) 1 9 VDD = VREF = 5 V 8 7 6 5 4 3 2 1 1 1 1 1 Clock Frequency (khz) FIGURE 2-32: I DD vs. Clock Frequency. FIGURE 2-35: I REF vs. Clock Frequency. I DD (µa) 4 35 3 25 2 15 1 5 VDD = VREF = 5 V FCLK = 2 MHz FCLK = 1 MHz -5-25 25 5 75 1 Temperature ( C) I REF (µa) 1 9 8 7 6 5 4 3 2 1 FCLK = 1 MHz VDD = VREF = 5 V FCLK = 2 MHz -5-25 25 5 75 1 Temperature ( C) FIGURE 2-33: I DD vs. Temperature. FIGURE 2-36: I REF vs. Temperature. 22 Microchip Technology Inc. DS21298C-page 11

Note: Unless otherwise indicated, V DD = V REF = 5V, V SS = V, f SAMPLE = 1 ksps, f CLK = 2* f SAMPLE,T A = 25 C. I DDS (pa) 8 7 VREF = CS = VDD 6 5 4 3 2 1 2. 2.5 3. 3.5 4. 4.5 5. 5.5 6. V DD (V) FIGURE 2-37: I DDS vs. V DD. Analog Input Leakage (na) 2. 1.8 1.6 1.4 1.2 VDD = VREF = 5 V 1. FCLK = 2 MHz.8.6.4.2. -5-25 25 5 75 1 Temperature ( C) FIGURE 2-39: Analog Input Leakage Current vs. Temperature. 1. VDD = VREF = CS = 5 V 1. I DDS (na) 1..1.1-5 -25 25 5 75 1 Temperature ( C) FIGURE 2-38: I DDS vs. Temperature. DS21298C-page 12 22 Microchip Technology Inc.

3. PIN DESCRIPTIONS The descriptions of the pins are listed in Table 3-1. TABLE 3-1: Name V DD DGND AGND CH-CH7 CLK D IN CS/SHDN V REF 3.1 DGND PIN FUNCTION TABLE Function Digital ground connection to internal digital circuitry. 3.2 AGND Analog ground connection to internal analog circuitry. 3.3 CH - CH7 +2.7V to 5.5V Power Supply Digital Ground Analog Ground Analog Inputs Serial Clock Serial Data In Serial Data Out Chip Select/Shutdown Input Reference Voltage Input Analog inputs for channels - 7 for the multiplexed inputs. Each pair of channels can be programmed to be used as two independent channels in single-ended mode or as a single pseudo-differential input, where one channel is IN+ and one channel is IN. See Section 4.1, Analog Inputs, and Section 5., Serial Communications, for information on programming the channel configuration. 3.4 Serial Clock (CLK) The SPI clock pin is used to initiate a conversion and clock out each bit of the conversion as it takes place. See Section 6.2, Maintaining Minimum Clock Speed, for constraints on clock speed. 3.5 Serial Data Input (D IN ) The SPI port serial data input pin is used to load channel configuration data into the device. 3.6 Serial Data Output ( ) The SPI serial data output pin is used to shift out the results of the A/D conversion. Data will always change on the falling edge of each clock as the conversion takes place. 3.7 Chip Select/Shutdown (CS/SHDN) The CS/SHDN pin is used to initiate communication with the device when pulled low and will end a conversion and put the device in low power standby when pulled high. The CS/SHDN pin must be pulled high between conversions. 4. DEVICE OPERATION The MCP324/328 A/D converters employ a conventional SAR architecture. With this architecture, a sample is acquired on an internal sample/hold capacitor for 1.5 clock cycles starting on the fourth rising edge of the serial clock after the start bit has been received. Following this sample time, the device uses the collected charge on the internal sample/hold capacitor to produce a serial 12-bit digital output code. Conversion rates of 1 ksps are possible on the MCP324/328. See Section 6.2, Maintaining Minimum Clock Speed, for information on minimum clock rates. Communication with the device is accomplished using a 4-wire SPIcompatible interface. 4.1 Analog Inputs The MCP324/328 devices offer the choice of using the analog input channels configured as single-ended inputs or pseudo-differential pairs. The MCP324 can be configured to provide two pseudo-differential input pairs or four single-ended inputs, while the MCP328 can be configured to provide four pseudo-differential input pairs or eight single-ended inputs. Configuration is done as part of the serial command before each conversion begins. When used in the pseudo-differential mode, each channel pair (i.e., CH and CH1, CH2 and CH3 etc.) is programmed to be the IN+ and IN- inputs as part of the command string transmitted to the device. The IN+ input can range from IN- to (V REF + IN- ). The IN- input is limited to ±1 mv from the V SS rail. The IN- input can be used to cancel small signal common-mode noise which is present on both the IN+ and IN- inputs. When operating in the pseudo-differential mode, if the voltage level of IN+ is equal to or less than IN-, the resultant code will be h. If the voltage at IN+ is equal to or greater than {[V REF + (IN-)] - 1 LSB}, then the output code will be FFFh. If the voltage level at INis more than 1 LSB below V SS, the voltage level at the IN+ input will have to go below V SS to see the h output code. Conversely, if IN- is more than 1 LSB above V SS, then the FFFh code will not be seen unless the IN+ input level goes above V REF level. For the A/D converter to meet specification, the charge holding capacitor (C SAMPLE ) must be given enough time to acquire a 12-bit accurate voltage level during the 1.5 clock cycle sampling period. The analog input model is shown in Figure 4-1. 22 Microchip Technology Inc. DS21298C-page 13

This diagram illustrates that the source impedance (R S ) adds to the internal sampling switch (R SS ) impedance, directly effecting the time that is required to charge the capacitor (Csample). Consequently, larger source impedances increase the offset, gain and integral linearity errors of the conversion (see Figure 4-2). 4.2 Reference Input For each device in the family, the reference input (V REF ) determines the analog input voltage range. As the reference input is reduced, the LSB size is reduced accordingly. The theoretical digital output code produced by the A/D converter is a function of the analog input signal and the reference input, as shown below. EQUATION Digital Output Code V IN = analog input voltage V REF = reference voltage 496 V IN = -------------------------- V REF When using an external voltage reference device, the system designer should always refer to the manufacturer s recommendations for circuit layout. Any instability in the operation of the reference device will have a direct effect on the operation of the A/D converter. R SS CHx V DD V T =.6V Sampling Switch SS R S = 1 kω VA C PIN 7pF V T =.6V I LEAKAGE ±1 na C SAMPLE = DAC capacitance = 2 pf V SS Legend VA = Signal Source I leakage = Leakage Current At The Pin Due To Various Junctions R ss = Source Impedance SS = Sampling switch CHx = Input Channel Pad R s = Sampling switch resistor C pin = Input Pin Capacitance C sample = Sample/hold capacitance V t = Threshold Voltage FIGURE 4-1: Analog Input Model. Clock Frequency (MHz) 2.5 2. 1.5 1..5 VDD = 5 V VDD = 2.7 V. 1 1 1 Input Resistance (Ohms) FIGURE 4-2: Maximum Clock Frequency vs. Input resistance (R S ) to maintain less than a.1 LSB deviation in INL from nominal conditions. DS21298C-page 14 22 Microchip Technology Inc.

5. SERIAL COMMUNICATIONS Communication with the MCP324/328 devices is accomplished using a standard SPI-compatible serial interface. Initiating communication with either device is done by bringing the CS line low (see Figure 5-1). If the device was powered up with the CS pin low, it must be brought high and back low to initiate communication. The first clock received with CS low and D IN high will constitute a start bit. The SGL/DIFF bit follows the start bit and will determine if the conversion will be done using single-ended or differential input mode. The next three bits (D, D1 and D2) are used to select the input channel configuration. Table 5-1 and Table 5-2 show the configuration bits for the MCP324 and MCP328, respectively. The device will begin to sample the analog input on the fourth rising edge of the clock after the start bit has been received. The sample period will end on the falling edge of the fifth clock following the start bit. Once the D bit is input, one more clock is required to complete the sample and hold period (D IN is a don t care for this clock). On the falling edge of the next clock, the device will output a low null bit. The next 12 clocks will output the result of the conversion with MSB first, as shown in Figure 5-1. Data is always output from the device on the falling edge of the clock. If all 12 data bits have been transmitted and the device continues to receive clocks while the CS is held low, the device will output the conversion result LSB first, as shown in Figure 5-2. If more clocks are provided to the device while CS is still low (after the LSB first data has been transmitted), the device will clock out zeros indefinitely. If necessary, it is possible to bring CS low and clock in leading zeros on the D IN line before the start bit. This is often done when dealing with microcontroller-based SPI ports that must send 8 bits at a time. Refer to Section 6.1 for more details on using the MCP324/ 328 devices with hardware SPI ports. TABLE 5-1: Single/ Diff Control Bit Selections TABLE 5-2: D2* D1 D CONFIGURATION BITS FOR THE MCP324 Input Configuration Channel Selection 1 X single-ended CH 1 X 1 single-ended CH1 1 X 1 single-ended CH2 1 X 1 1 single-ended CH3 X differential CH = IN+ CH1 = IN- X 1 differential CH = IN- CH1 = IN+ X 1 differential CH2 = IN+ CH3 = IN- X 1 1 differential CH2 = IN- CH3 = IN+ * D2 is a don t care for MCP324 Single /Diff Control Bit Selections D2 D1 D CONFIGURATION BITS FOR THE MCP328 Input Configuration Channel Selection 1 single-ended CH 1 1 single-ended CH1 1 1 single-ended CH2 1 1 1 single-ended CH3 1 1 single-ended CH4 1 1 1 single-ended CH5 1 1 1 single-ended CH6 1 1 1 1 single-ended CH7 differential CH = IN+ CH1 = IN- 1 differential CH = IN- CH1 = IN+ 1 differential CH2 = IN+ CH3 = IN- 1 1 differential CH2 = IN- CH3 = IN+ 1 differential CH4 = IN+ CH5 = IN- 1 1 differential CH4 = IN- CH5 = IN+ 1 1 differential CH6 = IN+ CH7 = IN- 1 1 1 differential CH6 = IN- CH7 = IN+ 22 Microchip Technology Inc. DS21298C-page 15

t CYC t CYC CS tcsh t SUCS CLK D IN SGL/ Start DIFF D2 D1 D Don t Care Start SGL/ DIFF D2 HI-Z Null Bit B11 B1 B9 B8 B7 B6 B5 B4 B3 B2 B1 B* HI-Z t CONV t SAMPLE t DATA ** * After completing the data transfer, if further clocks are applied with CS low, the A/D converter will output LSB first data, followed by zeros indefinitely (see Figure 5-2 below). ** t DATA : during this time, the bias current and the comparator power down while the reference input becomes a high impedance node, leaving the CLK running to clock out the LSB-first data or zeros. FIGURE 5-1: Communication with the MCP324 or MCP328. t CYC CS t CSH CLK t SUCS Power Down D IN Start D2 D1 D SGL/ DIFF HI-Z Null * HI-Z B11B1 Bit B9 B8 B7 B6 B5 B4 B3 B2 B1 B B1 B2 B3 B4 B5 B6 B7 B8 B9 B1B11 (MSB) t SAMPLE Don t Care t CONV t DATA ** * After completing the data transfer, if further clocks are applied with CS low, the A/D converter will output zeros indefinitely. ** t DATA : During this time, the bias circuit and the comparator power down while the reference input becomes a high impedance node, leaving the CLK running to clock out LSB first data or zeroes. FIGURE 5-2: Communication with MCP324 or MCP328 in LSB First Format. DS21298C-page 16 22 Microchip Technology Inc.

6. APPLICATIONS INFORMATION 6.1 Using the MCP324/328 with Microcontroller (MCU) SPI Ports With most microcontroller SPI ports, it is required to send groups of eight bits. It is also required that the microcontroller SPI port be configured to clock out data on the falling edge of clock and latch data in on the rising edge. Because communication with the MCP324/ 328 devices may not need multiples of eight clocks, it will be necessary to provide more clocks than are required. This is usually done by sending leading zeros before the start bit. As an example, Figure 6-1 and Figure 6-2 illustrate how the MCP324/328 can be interfaced to a MCU with a hardware SPI port. Figure 6-1 depicts the operation shown in SPI Mode,, which requires that the SCLK from the MCU idles in the low state, while Figure 6-2 shows the similar case of SPI Mode 1,1, where the clock idles in the high state. As is shown in Figure 6-1, the first byte transmitted to the A/D converter contains five leading zeros before the start bit. Arranging the leading zeros this way allows the output 12 bits to fall in positions easily manipulated by the MCU. The MSB is clocked out of the A/D converter on the falling edge of clock number 12. Once the second eight clocks have been sent to the device, the MCU s receive buffer will contain three unknown bits (the output is at high impedance for the first two clocks), the null bit and the highest order four bits of the conversion. Once the third byte has been sent to the device, the receive register will contain the lowest order eight bits of the conversion results. Employing this method ensures simpler manipulation of the converted data. Figure 6-2 shows the same thing in SPI Mode 1,1, which requires that the clock idles in the high state. As with mode,, the A/D converter outputs data on the falling edge of the clock and the MCU latches data from the A/D converter in on the rising edge of the clock. 22 Microchip Technology Inc. DS21298C-page 17

CS MCU latches data from A/D converter on rising edges of SCLK SCLK D IN 1 2 3 4 5 6 7 8 9 1 11 12 13 14 15 16 Data is clocked out of A/D converter on falling edges SGL/ StartDIFF D2 D1 DO 17 18 19 2 21 22 23 24 Don t Care HI-Z NULL BIT B11 B1 B9 B8 B7 B6 B5 B4 B3 B2 B1 B MCU Transmitted Data (Aligned with falling edge of clock) MCU Received Data (Aligned with rising edge of clock) Start Bit SGL/ 1 DIFF D2 D1 DO X X X X X X X X X X X X X X??????????? (Null) B11 B1 B9 B8 B7 B6 B5 B4 B3 B2 B1 B X = Don t Care Bits Data stored into MCU receive register after transmission of first 8 bits Data stored into MCU receive register after transmission of second 8 bits Data stored into MCU receive register after transmission of last 8 bits FIGURE 6-1: SPI Communication using 8-bit segments (Mode,: SCLK idles low). CS SCLK D IN MCU latches data from A/D converter on rising edges of SCLK 1 2 3 4 5 6 7 8 9 1 11 12 13 14 15 16 Data is clocked out of A/D converter on falling edges SGL/ Start DIFF D2 D1 DO 17 18 19 2 21 22 23 24 Don t Care MCU Transmitted Data (Aligned with falling edge of clock) MCU Received Data (Aligned with rising edge of clock) HI-Z NULL BIT Start Bit 1 SGL/ DIFF D2 D1 DO X X X X X X??????????? (Null) B11 B1 B9 B8 B11 B1 B9 B8 B7 B6 B5 B4 B3 B2 B1 B X X X X X X X X B7 B6 B5 B4 B3 B2 B1 B X = Don t Care Bits Data stored into MCU receive register after transmission of first 8 bits Data stored into MCU receive register after transmission of second 8 bits Data stored into MCU receive register after transmission of last 8 bits FIGURE 6-2: SPI Communication using 8-bit segments (Mode 1,1: SCLK idles high). DS21298C-page 18 22 Microchip Technology Inc.

6.2 Maintaining Minimum Clock Speed When the MCP324/328 initiates the sample period, charge is stored on the sample capacitor. When the sample period is complete, the device converts one bit for each clock that is received. It is important for the user to note that a slow clock rate will allow charge to bleed off the sample capacitor while the conversion is taking place. At 85 C (worst case condition), the part will maintain proper charge on the sample capacitor for at least 1.2 ms after the sample period has ended. This means that the time between the end of the sample period and the time that all 12 data bits have been clocked out must not exceed 1.2 ms (effective clock frequency of 1 khz). Failure to meet this criterion may introduce linearity errors into the conversion outside the rated specifications. It should be noted that during the entire conversion cycle, the A/D converter does not require a constant clock speed or duty cycle, as long as all timing specifications are met. 6.3 Buffering/Filtering the Analog Inputs If the signal source for the A/D converter is not a low impedance source, it will have to be buffered or inaccurate conversion results may occur (see Figure 4-2). It is also recommended that a filter be used to eliminate any signals that may be aliased back into the conversion results, as is illustrated in Figure 6-3, where an op amp is used to drive the analog input of the MCP324/328. This amplifier provides a low impedance source for the converter input, and a low pass filter, which eliminates unwanted high frequency noise. Low pass (anti-aliasing) filters can be designed using Microchip s free interactive FilterLab software. Filter- Lab will calculate capacitor and resistor values, as well as determine the number of poles that are required for the application. For more information on filtering signals, see AN699, Anti-Aliasing Analog Filters for Data Acquisition Systems. V DD 4.96V Reference 1 µf.1 µf MCP1541 1µF 1µF IN+ V REF MCP324 V IN R 1 C 1 MCP61 + IN- R 2 - C 2 R 3 R 4 FIGURE 6-3: The MCP61 Operational Amplifier is used to implement a second order anti-aliasing filter for the signal being converted by the MCP324. 22 Microchip Technology Inc. DS21298C-page 19

6.4 Layout Considerations When laying out a printed circuit board for use with analog components, care should be taken to reduce noise wherever possible. A bypass capacitor should always be used with this device, placed as close as possible to the device pin. A bypass capacitor value of 1 µf is recommended. Digital and analog traces should be separated as much as possible on the board, with no traces running underneath the device or the bypass capacitor. Extra precautions should be taken to keep traces with high frequency signals (such as clock lines) as far as possible from analog traces. Use of an analog ground plane is recommended in order to keep the ground potential the same for all devices on the board. Providing V DD connections to devices in a star configuration can also reduce noise by eliminating return current paths and associated errors (see Figure 6-4). For more information on layout tips when using A/D converters, refer to AN688, Layout Tips for 12-Bit A/D converter Applications. 6.5 Utilizing the Digital and Analog Ground Pins The MCP324/328 devices provide both digital and analog ground connections to provide another means of noise reduction. As shown in Figure 6-5, the analog and digital circuitry is separated internal to the device. This reduces noise from the digital portion of the device being coupled into the analog portion of the device. The two grounds are connected internally through the substrate, which has a resistance of 5-1Ω. If no ground plane is utilized, then both grounds must be connected to V SS on the board. If a ground plane is available, both digital and analog ground pins should be connected to the analog ground plane. If both an analog and a digital ground plane are available, both the digital and the analog ground pins should be connected to the analog ground plane. Following these steps will reduce the amount of digital noise from the rest of the board being coupled into the A/D converter. V DD Device 1 V DD Connection Device 4 Digital Side -SPI Interface -Shift Register -Control Logic MCP324/8 Substrate 5-1Ω Analog Side -Sample Cap -Capacitor Array -Comparator DGND AGND.1 µf Device 3 Device 2 FIGURE 6-4: V DD traces arranged in a Star configuration in order to reduce errors caused by current return paths. Analog Ground Plane FIGURE 6-5: Separation of Analog and Digital Ground Pins. DS21298C-page 2 22 Microchip Technology Inc.

7. PACKAGING INFORMATION 7.1 Package Marking Information 14-Lead PDIP (3 mil) Example: XXXXXXXXXXXXXX XXXXXXXXXXXXXX YYWWNNN MCP324-B I/P YYWWNNN 14-Lead SOIC (15 mil) Example: XXXXXXXXXXX XXXXXXXXXXX YYWWNNN MCP324-B XXXXXXXXXXX YYWWNNN 14-Lead TSSOP (4.4mm) * Example: XXXXXXXX YYWW NNN 324-C IYWW NNN * Please contact Microchip Factory for B-Grade TSSOP devices Legend: XX...X Customer specific information* YY Year code (last 2 digits of calendar year) WW Week code (week of January 1 is week 1 ) NNN Alphanumeric traceability code Note: In the event the full Microchip part number cannot be marked on one line, it will be carried over to the next line thus limiting the number of available characters for customer specific information. * Standard marking consists of Microchip part number, year code, week code, traceability code (facility code, mask rev#, and assembly code). For marking beyond this, certain price adders apply. Please check with your Microchip Sales Office. 22 Microchip Technology Inc. DS21298C-page 21

Package Marking Information (Continued) 16-Lead PDIP (3 mil) (MCP334) Example: XXXXXXXXXXXXXX XXXXXXXXXXXXXX YYWWNNN MCP328-B I/P YYWWNNN 16-Lead SOIC (15 mil) (MCP334) Example: XXXXXXXXXXXXX XXXXXXXXXXXXX YYWWNNN MCP328-B XXXXXXXXXX IYWWNNN DS21298C-page 22 22 Microchip Technology Inc.

14-Lead Plastic Dual In-line (P) 3 mil (PDIP) E1 D 2 n 1 α E A A2 c L β eb A1 B B1 p Units INCHES* MILLIMETERS Dimension Limits MIN NOM MAX MIN NOM MAX Number of Pins n 14 14 Pitch p.1 2.54 Top to Seating Plane A.14.155.17 3.56 3.94 4.32 Molded Package Thickness A2.115.13.145 2.92 3.3 3.68 Base to Seating Plane A1.15.38 Shoulder to Shoulder Width E.3.313.325 7.62 7.94 8.26 Molded Package Width E1.24.25.26 6.1 6.35 6.6 Overall Length D.74.75.76 18.8 19.5 19.3 Tip to Seating Plane L.125.13.135 3.18 3.3 3.43 Lead Thickness c.8.12.15.2.29.38 Upper Lead Width B1.45.58.7 1.14 1.46 1.78 Lower Lead Width B.14.18.22.36.46.56 Overall Row Spacing eb.31.37.43 7.87 9.4 1.92 Mold Draft Angle Top α 5 1 15 5 1 15 Mold Draft Angle Bottom * Controlling Parameter Significant Characteristic β 5 1 15 5 1 15 Notes: Dimensions D and E1 do not include mold flash or protrusions. Mold flash or protrusions shall not exceed.1 (.254mm) per side. JEDEC Equivalent: MS-1 Drawing No. C4-5 22 Microchip Technology Inc. DS21298C-page 23

14-Lead Plastic Small Outline (SL) Narrow, 15 mil (SOIC) E E1 p D 2 B n 1 45 h α c A A2 β L φ A1 Units INCHES* MILLIMETERS Dimension Limits MIN NOM MAX MIN NOM MAX Number of Pins n 14 14 Pitch p.5 1.27 Overall Height A.53.61.69 1.35 1.55 1.75 Molded Package Thickness A2.52.56.61 1.32 1.42 1.55 Standoff A1.4.7.1.1.18.25 Overall Width E.228.236.244 5.79 5.99 6.2 Molded Package Width E1.15.154.157 3.81 3.9 3.99 Overall Length D.337.342.347 8.56 8.69 8.81 Chamfer Distance h.1.15.2.25.38.51 Foot Length L.16.33.5.41.84 1.27 Foot Angle φ 4 8 4 8 Lead Thickness c.8.9.1.2.23.25 Lead Width B.14.17.2.36.42.51 Mold Draft Angle Top α 12 15 12 15 Mold Draft Angle Bottom β 12 15 12 15 * Controlling Parameter Significant Characteristic Notes: Dimensions D and E1 do not include mold flash or protrusions. Mold flash or protrusions shall not exceed.1 (.254mm) per side. JEDEC Equivalent: MS-12 Drawing No. C4-65 DS21298C-page 24 22 Microchip Technology Inc.

14-Lead Plastic Thin Shrink Small Outline (ST) 4.4 mm (TSSOP) p E E1 D B n 2 1 A α c φ β L A1 A2 Units Dimension Limits Number of Pins n Pitch p Overall Height A Molded Package Thickness A2 Standoff A1 Overall Width E Molded Package Width E1 Molded Package Length D Foot Length L Foot Angle φ Lead Thickness c Lead Width B1 Mold Draft Angle Top α Mold Draft Angle Bottom β * Controlling Parameter Significant Characteristic MIN.33.2.246.169.193.2.4.7 INCHES NOM 14.26.35.4.251.173.197.24 4.6.1 5 5 MAX.43.37.6.256.177.21.28 8.8.12 1 1 MIN.85.5 6.25 4.3 4.9.5.9.19 MILLIMETERS* NOM 14.65 Notes: Dimensions D and E1 do not include mold flash or protrusions. Mold flash or protrusions shall not exceed.5 (.127mm) per side. JEDEC Equivalent: MO-153 Drawing No. C4-87.9.1 6.38 4.4 5..6 4.15.25 5 5 MAX 1.1.95.15 6.5 4.5 5.1.7 8.2.3 1 1 22 Microchip Technology Inc. DS21298C-page 25

16-Lead Plastic Dual In-line (P) 3 mil (PDIP) E1 D n 2 1 α E A A2 c L β A1 B1 eb B p Units Dimension Limits Number of Pins n Pitch p Top to Seating Plane A Molded Package Thickness A2 Base to Seating Plane A1 Shoulder to Shoulder Width E Molded Package Width E1 Overall Length D Tip to Seating Plane L Lead Thickness c Upper Lead Width B1 Lower Lead Width B Overall Row Spacing eb Mold Draft Angle Top α Mold Draft Angle Bottom β * Controlling Parameter Significant Characteristic MIN.14.115.15.3.24.74.125.8.45.14.31 5 5 INCHES* NOM 16.1.155.13.313.25.75.13.12.58.18.37 1 1 MAX.17.145.325.26.76.135.15.7.22.43 15 15 MILLIMETERS MIN NOM 16 2.54 3.56 3.94 2.92 3.3.38 7.62 7.94 6.1 6.35 18.8 19.5 3.18 3.3.2.29 1.14 1.46.36.46 7.87 9.4 5 1 5 1 Notes: Dimensions D and E1 do not include mold flash or protrusions. Mold flash or protrusions shall not exceed.1 (.254mm) per side. JEDEC Equivalent: MS-1 Drawing No. C4-17 MAX 4.32 3.68 8.26 6.6 19.3 3.43.38 1.78.56 1.92 15 15 DS21298C-page 26 22 Microchip Technology Inc.

16-Lead Plastic Small Outline (SL) Narrow 15 mil (SOIC) E E1 p D 2 B n 1 α 45 h c A A2 β φ L A1 Units INCHES* MILLIMETERS Dimension Limits MIN NOM MAX MIN NOM MAX Number of Pins n 16 16 Pitch p.5 1.27 Overall Height A.53.61.69 1.35 1.55 1.75 Molded Package Thickness A2.52.57.61 1.32 1.44 1.55 Standoff A1.4.7.1.1.18.25 Overall Width E.228.237.244 5.79 6.2 6.2 Molded Package Width E1.15.154.157 3.81 3.9 3.99 Overall Length D.386.39.394 9.8 9.91 1.1 Chamfer Distance h.1.15.2.25.38.51 Foot Length L.16.33.5.41.84 1.27 Foot Angle φ 4 8 4 8 Lead Thickness c.8.9.1.2.23.25 Lead Width B.13.17.2.33.42.51 Mold Draft Angle Top α 12 15 12 15 Mold Draft Angle Bottom β 12 15 12 15 * Controlling Parameter Significant Characteristic Notes: Dimensions D and E1 do not include mold flash or protrusions. Mold flash or protrusions shall not exceed.1 (.254mm) per side. JEDEC Equivalent: MS-12 Drawing No. C4-18 22 Microchip Technology Inc. DS21298C-page 27

NOTES: DS21298C-page 28 22 Microchip Technology Inc.

ON-LINE SUPPORT Microchip provides on-line support on the Microchip World Wide Web site. The web site is used by Microchip as a means to make files and information easily available to customers. To view the site, the user must have access to the Internet and a web browser, such as Netscape or Microsoft Internet Explorer. Files are also available for FTP download from our FTP site. Connecting to the Microchip Internet Web Site The Microchip web site is available at the following URL: www.microchip.com The file transfer site is available by using an FTP service to connect to: ftp://ftp.microchip.com The web site and file transfer site provide a variety of services. Users may download files for the latest Development Tools, Data Sheets, Application Notes, User's Guides, Articles and Sample Programs. A variety of Microchip specific business information is also available, including listings of Microchip sales offices, distributors and factory representatives. Other data available for consideration is: Latest Microchip Press Releases Technical Support Section with Frequently Asked Questions Design Tips Device Errata Job Postings Microchip Consultant Program Member Listing Links to other useful web sites related to Microchip Products Conferences for products, Development Systems, technical information and more Listing of seminars and events SYSTEMS INFORMATION AND UPGRADE HOT LINE The Systems Information and Upgrade Line provides system users a listing of the latest versions of all of Microchip's development systems software products. Plus, this line provides information on how customers can receive the most current upgrade kits.the Hot Line Numbers are: 1-8-755-2345 for U.S. and most of Canada, and 1-48-792-732 for the rest of the world. 922 22 Microchip Technology Inc. DS21298C-page29

READER RESPONSE It is our intention to provide you with the best documentation possible to ensure successful use of your Microchip product. If you wish to provide your comments on organization, clarity, subject matter, and ways in which our documentation can better serve you, please FAX your comments to the Technical Publications Manager at (48) 792-415. Please list the following information, and use this outline to provide us with your comments about this document. To: RE: Technical Publications Manager Reader Response Total Pages Sent From: Name Company Address City / State / ZIP / Country Telephone: ( ) - Application (optional): Would you like a reply? Y N FAX: ( ) - Device: MCP324/328 Questions: Literature Number: DS21298C 1. What are the best features of this document? 2. How does this document meet your hardware and software development needs? 3. Do you find the organization of this document easy to follow? If not, why? 4. What additions to the document do you think would enhance the structure and subject? 5. What deletions from the document could be made without affecting the overall usefulness? 6. Is there any incorrect or misleading information (what and where)? 7. How would you improve this document? DS21298C-page3 22 Microchip Technology Inc.

MCP324/8 PRODUCT IDENTIFICATION SYSTEM To order or obtain information, e.g., on pricing or delivery, refer to the factory or the listed sales office. PART NO. X X /XX Device Grade Temperature Range Device: MCP324: 4-Channel 12-Bit Serial A/D Converter MCP324T: 4-Channel 12-Bit Serial A/D Converter (Tape and Reel) MCP328: 8-Channel 12-Bit Serial A/D Converter MCP328T: 8-Channel 12-Bit Serial A/D Converter (Tape and Reel) Grade: B = ±1 LSB INL C = ±2 LSB INL Temperature Range: I = -4 C to +85 C Package Examples: a) MCP324-BI/P: ±1 LSB INL, Industrial Temperature, PDIP package. b) MCP324-BI/SL: ±1 LSB INL, Industrial Temperature, SOIC package. c) MCP324-CI/ST: ±2 LSB INL, Industrial Temperature, TSSOP package. a) MCP328-BI/P: ±1 LSB INL, Industrial Temperature, PDIP package. b) MCP328-BI/SL: ±1 LSB INL, Industrial Temperature, SOIC package. c) MCP328-CI/ST: ±2 LSB INL, Industrial Temperature, TSSOP package. Package: P = Plastic DIP (3 mil Body), 14-lead, 16-lead SL = Plastic SOIC (15 mil Body), 14-lead, 16-lead ST = Plastic TSSOP (4.4mm), 14-lead Sales and Support Data Sheets Products supported by a preliminary Data Sheet may have an errata sheet describing minor operational differences and recommended workarounds. To determine if an errata sheet exists for a particular device, please contact one of the following: 1. Your local Microchip sales office 2. The Microchip Corporate Literature Center U.S. FAX: (48) 792-7277 3. The Microchip Worldwide Site (www.microchip.com) Please specify which device, revision of silicon and Data Sheet (include Literature #) you are using. New Customer Notification System Register on our web site (www.microchip.com/cn) to receive the most current information on our products. 22 Microchip Technology Inc. DS21298C-page31

MCP324/8 NOTES: DS21298C-page 32 22 Microchip Technology Inc.

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, KEELOQ, MPLAB, PIC, PICmicro, PICSTART and PRO MATE are registered trademarks of Microchip Technology Incorporated in the U.S.A. and other countries. FilterLab, microid, MXDEV, MXLAB, PICMASTER, SEEVAL and The Embedded Control Solutions Company are registered trademarks of Microchip Technology Incorporated in the U.S.A. dspic, dspicdem.net, ECONOMONITOR, FanSense, FlexROM, fuzzylab, In-Circuit Serial Programming, ICSP, ICEPIC, microport, Migratable Memory, MPASM, MPLIB, MPLINK, MPSIM, PICC, PICDEM, PICDEM.net, rfpic, Select Mode and Total Endurance are trademarks of Microchip Technology Incorporated in the U.S.A. and other countries. Serialized Quick Turn Programming (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. 22, Microchip Technology Incorporated, Printed in the U.S.A., All Rights Reserved. Printed on recycled paper. Microchip received QS-9 quality system certification for its worldwide headquarters, design and wafer fabrication facilities in Chandler and Tempe, Arizona in July 1999 and Mountain View, California in March 22. The Company s quality system processes and procedures are QS-9 compliant for its PICmicro 8-bit MCUs, KEELOQ code hopping devices, Serial EEPROMs, microperipherals, non-volatile memory and analog products. In addition, Microchip s quality system for the design and manufacture of development systems is ISO 91 certified. 22 Microchip Technology Inc. DS21298C - page 33

M WORLDWIDE SALES AND SERVICE AMERICAS Corporate Office 2355 West Chandler Blvd. Chandler, AZ 85224-6199 Tel: 48-792-72 Fax: 48-792-7277 Technical Support: 48-792-7627 Web Address: http://www.microchip.com Rocky Mountain 2355 West Chandler Blvd. Chandler, AZ 85224-6199 Tel: 48-792-7966 Fax: 48-792-4338 Atlanta 5 Sugar Mill Road, Suite 2B Atlanta, GA 335 Tel: 77-64-34 Fax: 77-64-37 Boston 2 Lan Drive, Suite 12 Westford, MA 1886 Tel: 978-692-3848 Fax: 978-692-3821 Chicago 333 Pierce Road, Suite 18 Itasca, IL 6143 Tel: 63-285-71 Fax: 63-285-75 Dallas 457 Westgrove Drive, Suite 16 Addison, TX 751 Tel: 972-818-7423 Fax: 972-818-2924 Detroit Tri-Atria Office Building 32255 Northwestern Highway, Suite 19 Farmington Hills, MI 48334 Tel: 248-538-225 Fax: 248-538-226 Kokomo 2767 S. Albright Road Kokomo, Indiana 4692 Tel: 765-864-836 Fax: 765-864-8387 Los Angeles 1821 Von Karman, Suite 19 Irvine, CA 92612 Tel: 949-263-1888 Fax: 949-263-1338 New York 15 Motor Parkway, Suite 22 Hauppauge, NY 11788 Tel: 631-273-535 Fax: 631-273-5335 San Jose Microchip Technology Inc. 217 North First Street, Suite 59 San Jose, CA 95131 Tel: 48-436-795 Fax: 48-436-7955 Toronto 6285 Northam Drive, Suite 18 Mississauga, Ontario L4V 1X5, Canada Tel: 95-673-699 Fax: 95-673-659 ASIA/PACIFIC Australia Microchip Technology Australia Pty Ltd Suite 22, 41 Rawson Street Epping 2121, NSW Australia Tel: 61-2-9868-6733 Fax: 61-2-9868-6755 China - Beijing Microchip Technology Consulting (Shanghai) Co., Ltd., Beijing Liaison Office Unit 915 Bei Hai Wan Tai Bldg. No. 6 Chaoyangmen Beidajie Beijing, 127, No. China Tel: 86-1-852821 Fax: 86-1-8528214 China - Chengdu Microchip Technology Consulting (Shanghai) Co., Ltd., Chengdu Liaison Office Rm. 241, 24th Floor, Ming Xing Financial Tower No. 88 TIDU Street Chengdu 6116, China Tel: 86-28-867662 Fax: 86-28-86766599 China - Fuzhou Microchip Technology Consulting (Shanghai) Co., Ltd., Fuzhou Liaison Office Unit 28F, World Trade Plaza No. 71 Wusi Road Fuzhou 351, China Tel: 86-591-75356 Fax: 86-591-753521 China - Shanghai Microchip Technology Consulting (Shanghai) Co., Ltd. Room 71, Bldg. B Far East International Plaza No. 317 Xian Xia Road Shanghai, 251 Tel: 86-21-6275-57 Fax: 86-21-6275-56 China - Shenzhen Microchip Technology Consulting (Shanghai) Co., Ltd., Shenzhen Liaison Office Rm. 1315, 13/F, Shenzhen Kerry Centre, Renminnan Lu Shenzhen 5181, China Tel: 86-755-235361 Fax: 86-755-236686 China - Hong Kong SAR Microchip Technology Hongkong Ltd. Unit 91-6, Tower 2, Metroplaza 223 Hing Fong Road Kwai Fong, N.T., Hong Kong Tel: 852-241-12 Fax: 852-241-3431 India Microchip Technology Inc. India Liaison Office Divyasree Chambers 1 Floor, Wing A (A3/A4) No. 11, O Shaugnessey Road Bangalore, 56 25, India Tel: 91-8-22961 Fax: 91-8-22962 Japan Microchip Technology Japan K.K. Benex S-1 6F 3-18-2, Shinyokohama Kohoku-Ku, Yokohama-shi Kanagawa, 222-33, Japan Tel: 81-45-471-6166 Fax: 81-45-471-6122 Korea Microchip Technology Korea 168-1, Youngbo Bldg. 3 Floor Samsung-Dong, Kangnam-Ku Seoul, Korea 135-882 Tel: 82-2-554-72 Fax: 82-2-558-5934 Singapore Microchip Technology Singapore Pte Ltd. 2 Middle Road #7-2 Prime Centre Singapore, 18898 Tel: 65-6334-887 Fax: 65-6334-885 Taiwan Microchip Technology (Barbados) Inc., Taiwan Branch 11F-3, No. 27 Tung Hua North Road Taipei, 15, Taiwan Tel: 886-2-2717-7175 Fax: 886-2-2545-139 EUROPE Austria Microchip Technology Austria GmbH Durisolstrasse 2 A-46 Wels Austria Tel: 43-7242-2244-399 Fax: 43-7242-2244-393 Denmark Microchip Technology Nordic ApS Regus Business Centre Lautrup hoj 1-3 Ballerup DK-275 Denmark Tel: 45 442 9895 Fax: 45 442 991 France Microchip Technology SARL Parc d Activite du Moulin de Massy 43 Rue du Saule Trapu Batiment A - ler Etage 913 Massy, France Tel: 33-1-69-53-63-2 Fax: 33-1-69-3-9-79 Germany Microchip Technology GmbH Steinheilstrasse 1 D-85737 Ismaning, Germany Tel: 49-89-627-144 Fax: 49-89-627-144-44 Italy Microchip Technology SRL Centro Direzionale Colleoni Palazzo Taurus 1 V. Le Colleoni 1 241 Agrate Brianza Milan, Italy Tel: 39-39-65791-1 Fax: 39-39-6899883 United Kingdom Microchip Ltd. 55 Eskdale Road Winnersh Triangle Wokingham Berkshire, England RG41 5TU Tel: 44 118 921 5869 Fax: 44-118 921-582 8/1/2 DS21298C-page 34 22 Microchip Technology Inc.