M MCP3301 13-Bit Differential Input, Low Power A/D Converter with SPITM Serial Interface Features General Description * * * * * * * * * * * * The Microchip Technology Inc. MCP3301 13-bit A/D converter features full differential inputs and low power consumption in a small package that is ideal for battery powered systems and remote data acquisition applications. Full Differential Inputs 1 LSB max DNL 1 LSB max INL (MCP3301-B) 2 LSB max INL (MCP3301-C) Single supply operation: 2.7V to 5.5V 100 ksps sampling rate with 5V supply voltage 50 ksps sampling rate with 2.7V supply voltage 50 nA typical standby current, 1 A max 450 A max active current at 5V Industrial temp range: -40C to +85 C 8-pin MSOP, PDIP and SOIC packages MXDEVTM Evaluation kit available Applications * Remote Sensors * Battery Operated Systems * Transducer Interface Package Types MSOP, PDIP, SOIC V SS 1 2 3 4 MCP3301 VREF IN(+) IN(-) 8 VDD 7 6 5 CLK DOUT 2002 Microchip Technology Inc. Incorporating a successive approximation architecture with on-board sample and hold circuitry, this 13-bit A/ D converter is specified to have 1 LSB Differential Nonlinearity (DNL) and 1 LSB Integral Nonlinearity (INL) for B-grade devices and 2 LSB for C-grade devices. The industry-standard SPITM serial interface enables 13-bit A/D converter capability to be added to any PICmicro(R) microcontroller. The MCP3301 features a low current design that permits operation with typical standby and active currents of only 50 nA and 300 A, respectively. The device operates over a broad voltage range of 2.7V to 5.5V and is capable of conversion rates of up to 100 ksps. The reference voltage can be varied from 400 mV to 5V, yielding input-referred resolution between 98 V and 1.22 mV. The MCP3301 is available in 8-pin PDIP, 150 mil SOIC and MSOP packages. The full differential inputs of this device enable a wide variety of signals to be used in applications such as remote data acquisition, portable instrumentation and battery operated applications. CS/SHDN DS21700B-page 1 MCP3301 Functional Block Diagram VDD VREF VSS CDAC IN+ IN- Sample & Hold Circuits - Comparator 13-Bit SAR + Control Logic CS/SHDN DS21700B-page 2 CLK Shift Register DOUT 2002 Microchip Technology Inc. MCP3301 1.0 ELECTRICAL CHARACTERISTICS PIN FUNCTION TABLE Name Function Maximum Ratings* VREF Reference Voltage Input VDD ........................................................................ 7.0V IN(+) Positive Analog Input All inputs and outputs w.r.t. VSS .......-0.3V to V DD +0.3V IN(-) Negative Analog Input VSS Ground Storage temperature .......................... -65C to +150C Ambient temp. with power applied ..... -65C to +125C Maximum Junction Temperature ....................... 150C ESD protection on all pins (HBM)......................... > 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 operational listings of this specification is not implied. Exposure to maximum rating conditions for extended periods may affect device reliability. CS/SHDN Chip Select / Shutdown Input DOUT Serial Data Out CLK Serial Clock VDD +2.7V to 5.5V Power Supply ELECTRICAL SPECIFICATIONS Electrical Characteristics: Unless otherwise noted, all parameters apply at VDD = 5V, VSS = 0V, and VREF = 5V. Full differential input configuration (Figure 3-4) with fixed common mode voltage of 2.5V. All parameters apply over temperature with TAMB = -40C to +85C (Note 7). Conversion speed (fSAMPLE) is 100 ksps with fCLK = 17*fSAMPLE Parameter Symbol Min Typ Max Units Conditions fSAMPLE -- -- 100 ksps Note 8 -- -- 50 ksps VDD = VREF = 2.7V, VCM =1.35V Conversion Rate Maximum Sampling Frequency Conversion Time tCONV 13 CLK periods Acquisition Time tACQ 1.5 CLK periods 12 data bits + sign bits DC Accuracy Resolution Integral Nonlinearity INL -- -- 0.5 1 1 2 LSB MCP3301-B MCP3301-C Differential Nonlinearity DNL -- 0.5 1 LSB Monotonic with no missing codes over temperature Positive Gain Error -3 -0.75 +2 LSB Negative Gain Error -3 -0.5 +2 LSB Offset Error -3 +3 +6 LSB THD -- -91 -- dB Note 3 SINAD -- 78 -- dB Note 3 Dynamic Performance Total Harmonic Distortion Signal to Noise and Distortion Spurious Free Dynamic Range SFDR -- 92 -- dB Note 3 Common-Mode Rejection CMRR -- 79 -- dB Note 6 PSR -- 74 -- dB Note 4 Power Supply Rejection Note 1: 2: 3: 4: 5: 6: 7: 8: This specification is established by characterization and not 100% tested. See characterization graphs that relate converter performance to VREF level. VIN = 0.1V to 4.9V @ 1 kHz. VDD = 5VDC 500 mVP-P @ 1 kHz, see test circuit Figure 3-3. Maximum clock frequency specification must be met. VREF = 400 mV, VIN = 0.1V to 4.9V @ 1 kHz MSOP devices are only specified at 25C and +85C. For slow sample rates, see Section 6.2.1 for limitations on clock frequency. 2002 Microchip Technology Inc. DS21700B-page 3 MCP3301 ELECTRICAL SPECIFICATIONS (CONTINUED) Electrical Characteristics: Unless otherwise noted, all parameters apply at VDD = 5V, VSS = 0V, and VREF = 5V. Full differential input configuration (Figure 3-4) with fixed common mode voltage of 2.5V. All parameters apply over temperature with TAMB = -40C to +85C (Note 7). Conversion speed (fSAMPLE) is 100 ksps with fCLK = 17*fSAMPLE Parameter Symbol Min Typ Max Units Conditions Reference Input Voltage Range 0.4 -- VDD V Current Drain -- -- 100 0.001 150 3 A A Note 2 CS = VDD = 5V Analog Inputs Full-Scale Input Span IN(+)-IN(-) -VREF -- VREF V Absolute Input Voltage IN(+) -0.3 -- VDD + 0.3 V IN(-) -0.3 -- VDD + 0.3 V -- 0.001 1 A Leakage Current Switch Resistance RS -- 1 -- k See Figure 6-3 Sample Capacitor CSAMPLE -- 25 -- pF See Figure 6-3 High Level Input Voltage VIH 0.7 VDD -- -- V Low Level Input Voltage VIL -- -- 0.3 VDD V High Level Output Voltage VOH 4.1 -- -- V IOH = -1 mA, VDD = 4.5V Low Level Output Voltage VOL -- -- 0.4 V IOL = 1 mA, VDD = 4.5V Input Leakage Current ILI -10 -- 10 A VIN = VSS or VDD Output Leakage Current ILO -10 -- 10 A VOUT = VSS or VDD CIN, C OUT -- -- 10 pF TAMB = 25C, f = 1 MHz, Note 1 fCLK 0.085 0.085 -- -- 1.7 0.85 MHz MHz VDD = 5V, fSAMPLE = 100 ksps VDD = 2.7V, fSAMPLE = 50 ksps Clock High Time tHI 275 -- -- ns Note 5 Clock Low Time tLO 275 -- -- ns Note 5 tSUCS 100 -- -- ns CLK Fall To Output Data Valid tDO -- -- 125 200 ns ns VDD = 5V, see Figure 3-1 VDD = 2.7V, see Figure 3-1 CLK Fall To Output Enable tEN -- -- 125 200 ns ns VDD = 5V, see Figure 3-1 VDD = 2.7V, see Figure 3-1 CS Rise To Output Disable tDIS -- -- 100 ns See test circuits, Figure 3-1 (Note 1) CS Disable Time Digital Input/Output Data Coding Format Pin Capacitance Binary Two's Complement Timing Specifications Clock Frequency (Note 8) CS Fall To First Rising CLK Edge tCSH 580 -- -- ns DOUT Rise Time tR -- -- 100 ns See test circuits, Figure 3-1; Note 1 DOUT Fall Time tF -- -- 100 ns See test circuits, Figure 3-1; Note 1 Note 1: 2: 3: 4: 5: 6: 7: 8: This specification is established by characterization and not 100% tested. See characterization graphs that relate converter performance to VREF level. VIN = 0.1V to 4.9V @ 1 kHz. VDD = 5VDC 500 mVP-P @ 1 kHz, see test circuit Figure 3-3. Maximum clock frequency specification must be met. VREF = 400 mV, VIN = 0.1V to 4.9V @ 1 kHz MSOP devices are only specified at 25C and +85C. For slow sample rates, see Section 6.2.1 for limitations on clock frequency. DS21700B-page 4 2002 Microchip Technology Inc. MCP3301 ELECTRICAL SPECIFICATIONS (CONTINUED) Electrical Characteristics: Unless otherwise noted, all parameters apply at VDD = 5V, VSS = 0V, and VREF = 5V. Full differential input configuration (Figure 3-4) with fixed common mode voltage of 2.5V. All parameters apply over temperature with TAMB = -40C to +85C (Note 7). Conversion speed (fSAMPLE) is 100 ksps with fCLK = 17*fSAMPLE Parameter Symbol Min Typ Max Units Conditions Operating Voltage VDD 2.7 -- 5.5 V Operating Current IDD -- -- 300 200 450 -- A VDD , VREF = 5V, DOUT unloaded VDD, VREF = 2.7V, DOUT unloaded Standby Current IDDS -- 0.05 1 A CS = VDD = 5.0V Specified Temperature Range TA -40 -- +85 C Operating Temperature Range TA -40 -- +85 C Storage Temperature Range TA -65 -- +150 C Power Requirements Temperature Ranges Thermal Package Resistance Thermal Resistance, 8L-MSOP JA -- 206 -- C/W Thermal Resistance, 8L-PDIP JA -- 85 -- C/W Thermal Resistance, 8L-SOIC JA -- 163 -- C/W Note 1: 2: 3: 4: 5: 6: 7: 8: This specification is established by characterization and not 100% tested. See characterization graphs that relate converter performance to VREF level. VIN = 0.1V to 4.9V @ 1 kHz. VDD = 5VDC 500 mVP-P @ 1 kHz, see test circuit Figure 3-3. Maximum clock frequency specification must be met. VREF = 400 mV, VIN = 0.1V to 4.9V @ 1 kHz MSOP devices are only specified at 25C and +85C. For slow sample rates, see Section 6.2.1 for limitations on clock frequency. . tCSH CS tSUCS tHI tLO CLK tEN DOUT FIGURE 1-1: HI-Z tDO Null Bit tR Sign Bit tF tDIS LSB HI-Z Timing Parameters 2002 Microchip Technology Inc. DS21700B-page 5 MCP3301 2.0 TYPICAL PERFORMANCE CURVES 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, VDD = VREF = 5V, Full differential input configuration, VSS = 0V, fSAMPLE = 100 ksps, fCLK = 17*fSAMPLE, TA = 25C. 1.0 1 0.8 0.8 0.6 0.6 Positive INL 0.4 0.4 0.2 0.2 INL(LSB) INL(LSB) VDD=VREF =2.7V 0.0 -0.2 -0.4 Positive INL 0 -0.2 -0.4 Negative INL -0.6 -0.6 -0.8 -0.8 Negative INL -1 -1.0 0 50 100 150 0 200 10 20 FIGURE 2-1: vs. Sample Rate. 40 50 60 70 FIGURE 2-4: Integral Nonlinearity (INL) vs. Sample Rate (VDD = 2.7V). Integral Nonlinearity (INL) 2.0 2.0 VDD = 2.7V 1.5 1.5 1.0 INL (LSB) 1.0 INL (LSB) 30 Sample Rate (ksps) Sample Rate (ksps) Positive INL 0.5 0.0 -0.5 Negative INL Positive INL 0.5 0.0 -0.5 Negative INL -1.0 -1.0 -1.5 -1.5 -2.0 -2.0 0 1 FIGURE 2-2: vs. VREF. 2 VREF (V) 3 4 0 5 Integral Nonlinearity (INL) 0.5 1 1.5 2 VREF (V) 2.5 3 FIGURE 2-5: Integral Nonlinearity (INL) vs. VREF (VDD = 2.7V). 1 1 0.8 0.8 0.6 0.6 0.4 INL (LSB) INL(LSB) 0.4 0.2 0 -0.2 0.2 0 -0.2 -0.4 -0.4 -0.6 -0.6 -0.8 -0.8 -1 -4096 VDD=VREF =2.7V FSAMPLE = 50 ksps -3072 -2048 -1024 0 1024 2048 3072 4096 Code FIGURE 2-3: Integral Nonlinearity (INL) vs. Code (Representative Part). DS21700B-page 6 -1 -4096 -3072 -2048 -1024 0 1024 2048 3072 4096 Code FIGURE 2-6: Integral Nonlinearity (INL) vs. Code (Representative Part, VDD = 2.7V). 2002 Microchip Technology Inc. MCP3301 Note: Unless otherwise indicated, VDD = VREF = 5V, Full differential input configuration, VSS = 0V, fSAMPLE = 100 ksps, fCLK = 17*fSAMPLE, TA = 25C. 1.0 1.0 0.6 0.6 Positive INL Positive INL 0.4 INL (LSB) 0.4 INL(LSB) VDD=VREF =2.7V FSAMPLE = 50 ksps 0.8 0.8 0.2 0.0 -0.2 0.2 0.0 -0.2 -0.4 -0.4 -0.6 -0.6 Negative INL Negative INL -0.8 -0.8 -1.0 -1.0 -50 -25 0 25 50 75 100 125 -50 150 0 50 FIGURE 2-7: vs. Temperature. 1.0 VDD=VREF =2.7V FSAMPLE = 50 ksps 0.8 0.8 0.6 0.6 0.4 0.4 Positive INL DNL (LSB) DNL (LSB) 150 FIGURE 2-10: Integral Nonlinearity (INL) vs. Temperature (VDD = 2.7V). Integral Nonlinearity (INL) 1.0 0.2 0.0 -0.2 Negative INL -0.4 Positive INL 0.2 0.0 -0.2 Negative INL -0.4 -0.6 -0.6 -0.8 -0.8 -1.0 -1.0 0 50 100 150 0 200 10 20 30 40 50 60 70 Sample Rate (ksps) Sample Rate(ksps) FIGURE 2-11: Differential Nonlinearity (DNL) vs. Sample Rate (VDD = 2.7V). FIGURE 2-8: Differential Nonlinearity (DNL) vs. Sample Rate. 2.0 2.0 VDD=2.7V FSAMPLE = 50 ksps 1.5 1.5 1.0 DNL (LSB) 1.0 DNL (LSB) 100 Temperature (C) Temperature(C) Positive INL 0.5 0.0 -0.5 0.0 Negative DNL -0.5 -1.0 Negative INL -1.0 Positive DNL 0.5 -1.5 -1.5 -2.0 0 -2.0 0 1 2 3 4 5 VREF (V) FIGURE 2-9: (DNL) vs. VREF. Differential Nonlinearity 2002 Microchip Technology Inc. 6 0.5 1 1.5 2 2.5 3 VREF (V) FIGURE 2-12: Differential Nonlinearity (DNL) vs. VREF (VDD = 2.7V). DS21700B-page 7 MCP3301 Unless otherwise indicated, VDD = VREF = 5V, Full differential input configuration, VSS = 0V, fSAMPLE = 100 ksps, fCLK = 17*fSAMPLE, TA = 25C. 1 1 0.8 0.8 0.6 0.6 0.4 0.4 0.2 DNL (LSB) DNL(LSB) Note: 0 -0.2 -0.4 0.2 0 -0.2 -0.4 -0.6 -0.6 -0.8 -0.8 -1 -4096 -3072 -2048 -1024 0 1024 2048 3072 -1 -4096 4096 Code FIGURE 2-13: Differential Nonlinearity (DNL) vs. Code (Representative Part). -3072 -2048 -1024 0 Code 1024 2048 3072 4096 FIGURE 2-16: Differential Nonlinearity (DNL) vs. Code (Representative Part, VDD = 2.7V). 1.0 1.0 0.8 0.8 0.6 VDD=VREF =2.7V FSAMPLE = 50 ksps 0.6 0.4 Positive DNL DNL Error (LSB) DNL Error (LSB) VDD=VREF =2.7V FSAMPLE = 50 ksps 0.2 0.0 -0.2 Negative DNL -0.4 0.4 0.0 -0.2 -0.6 -0.8 -0.8 -50 0 50 100 Negative DNL -0.4 -0.6 -1.0 Positive DNL 0.2 -1.0 150 -50 -25 0 25 Temperature (C) 50 75 100 125 150 Temperature (C) FIGURE 2-14: Differential Nonlinearity (DNL) vs. Temperature. FIGURE 2-17: Differential Nonlinearity (DNL) vs. Temperature (VDD = 2.7V) 20 5 16 3 14 Offset Error (LSB) Positive Gain Error (LSB) 18 4 12 VDD=5V FSAMPLE = 100 ksps 2 V DD=5V F SAMPLE = 100 ksps 10 1 0 8 6 4 -1 VDD=2.7V FSAMPLE = 50 ksps V DD=2.7V F SAMPLE = 50 ksps 2 -2 0 0 1 FIGURE 2-15: DS21700B-page 8 2 3 VREF (V) 4 5 6 Positive Gain Error vs. VREF. 0 1 FIGURE 2-18: 2 3 VREF (V) 4 5 6 Offset Error vs. VREF. 2002 Microchip Technology Inc. MCP3301 Unless otherwise indicated, VDD = VREF = 5V, Full differential input configuration, VSS = 0V, fSAMPLE = 100 ksps, fCLK = 17*fSAMPLE, TA = 25C. Note: 0.0 3.5 VDD=VREF =5V FSAMPLE = 100 ksps -0.4 -0.6 VDD=VREF =2.7V FSAMPLE = 50 ksps -0.8 V DD=V REF=5V FSAMPLE = 100 ksps 3 Offset Error (LSB) Positive Gain Error (LSB) -0.2 -1.0 -1.2 -1.4 2.5 V DD=VREF=2.7V F SAMPLE = 50 ksps 2 1.5 1 0.5 -1.6 -1.8 -50 0 50 100 0 150 -50 0 50 Temperature (C) FIGURE 2-19: Temperature. Positive Gain Error vs. FIGURE 2-22: Temperature. VDD=VREF=5V FSAMPLE = 100 ksps 90 Offset Error vs. 80 80 70 60 SINAD (dB) 70 SNR (dB) 150 90 100 VDD=VREF=2.7V FSAMPLE = 50 ksps 50 40 30 60 VDD=VREF=2.7V F SAMPLE = 50 ksps 50 VDD=VREF =5V FSAMPLE = 100 ksps 40 30 20 20 10 10 0 0 1 10 1 100 Input Frequency (kHz) 10 100 Input Frequency (kHz) FIGURE 2-20: Signal to Noise Ratio (SNR) vs. Input Frequency. FIGURE 2-23: Signal to Noise and Distortion (SINAD) vs. Input Frequency. 0 80 -10 70 -20 60 V DD=V REF=2.7V FSAMPLE = 50 ksps -40 SINAD (dB) -30 THD (dB) 100 Temperature (C) V DD=VREF=5V F SAMPLE = 100 ksps -50 -60 -70 50 40 30 20 -80 VDD=VREF =5V FSAMPLE = 100 ksps VDD=VREF =2.7V FSAMPLE = 50 ksps 10 -90 0 -100 1 10 100 Input Frequency (kHz) FIGURE 2-21: Total Harmonic Distortion (THD) vs. Input Frequency. 2002 Microchip Technology Inc. -40 -35 -30 -25 -20 -15 -10 -5 0 Input Signal Level (dB) FIGURE 2-24: Signal to Noise and Distortion (SINAD) vs. Input Signal Level. DS21700B-page 9 MCP3301 Unless otherwise indicated, VDD = VREF = 5V, Full differential input configuration, VSS = 0V, fSAMPLE = 100 ksps, fCLK = 17*fSAMPLE, TA = 25C. Note: 13 13 VDD=VREF =5V FSAMPLE = 100 ksps 12.8 12 VDD=5V FSAMPLE = 100 ksps VDD=2.7V FSAMPLE = 50 ksps ENOB (rms) ENOB (rms) 12.6 11 10 9 12.4 12.2 VDD=VREF =2.7V FSAMPLE = 50 ksps 12 11.8 11.6 8 11.4 7 11.2 0 1 2 3 4 5 1 6 10 VREF (V) FIGURE 2-25: (ENOB) vs. VREF. Effective Number of Bits 100 FIGURE 2-28: Effective Number of Bits (ENOB) vs. Input Frequency. -30 VDD =VREF =5V FSAMPLE = 100 ksps 90 -40 70 -45 60 PSR(dB) SFDR (dB) 0.1 F Bypass Capacitor -35 80 VDD=VREF =2.7V FSAMPLE = 50 ksps 50 40 -50 -55 -60 30 -65 20 -70 10 -75 -80 0 1 10 100 1 10 FIGURE 2-26: Spurious Free Dynamic Range (SFDR) vs. Input Frequency. 5000 10000 15000 20000 25000 Frequency (Hz) FIGURE 2-27: Frequency Spectrum of 10 kHz Input (Representative Part). DS21700B-page 10 1000 10000 FIGURE 2-29: Power Supply Rejection (PSR) vs. Ripple Frequency. Amplitude (dB) 0 -10 -20 -30 -40 -50 -60 -70 -80 -90 -100 -110 -120 -130 -140 -150 0 100 Ripple Frequency (kHz) Input Frequency (kHz) Amplitude (dB) 100 Input Frequency (kHz) 0 -10 -20 -30 -40 -50 -60 -70 -80 -90 -100 -110 -120 -130 -140 -150 0 5000 10000 15000 20000 25000 Frequency (Hz) FIGURE 2-30: Frequency Spectrum of 1 kHz Input (Representative Part, VDD = 2.7V). 2002 Microchip Technology Inc. MCP3301 Note: Unless otherwise indicated, VDD = VREF = 5V, Full differential input configuration, VSS = 0V, fSAMPLE = 100 ksps, fCLK = 17*fSAMPLE, TA = 25C. 450 120 400 100 350 80 IREF (A) IDD (A) 300 250 200 60 150 40 100 20 50 0 0 2 2.5 3 3.5 4 VDD (V) 4.5 5 5.5 6 IDD vs. VDD. FIGURE 2-31: 2.5 3 4 VDD (V) 4.5 5 5.5 6 IREF vs. VDD. 100 450 90 VDD=VREF =5V 400 VDD=VREF =5V 80 70 300 60 IREF (A) 350 250 200 150 50 40 30 VDD=VREF =2.7V 100 20 50 10 0 VDD=VREF =2.7V 0 0 50 100 150 200 0 50 Sample Rate (ksps) 150 200 IREF vs. Sample Rate. FIGURE 2-35: 400 80 350 70 VDD=VREF =5V FSAMPLE = 100 ksps 300 100 Sample Rate (ksps) IDD vs. Sample Rate. FIGURE 2-32: VDD=VREF=5V F SAMPLE = 100 ksps 60 50 IREF (A) 250 IDD (A) 3.5 FIGURE 2-34: 500 IDD (A) 2 200 VDD=VREF =2.7V FSAMPLE = 50 ksps 150 40 100 20 50 10 0 VDD=VREF =2.7V FSAMPLE = 50 ksps 30 0 -50 0 50 100 150 -50 Temperature (C) FIGURE 2-33: IDD vs. Temperature. 2002 Microchip Technology Inc. 0 50 100 150 Temperature (C) FIGURE 2-36: IREF vs. Temperature. DS21700B-page 11 MCP3301 Note: Unless otherwise indicated, VDD = VREF = 5V, Full differential input configuration, VSS = 0V, fSAMPLE = 100 ksps, fCLK = 17*fSAMPLE, TA = 25C. 1 70 0.8 Negative Gain Error (LSB 80 IDDS (pA) 60 50 40 30 20 10 0.6 VDD=VREF=5V F SAMPLE = 100 ksps 0.4 0.2 0 -0.2 VDD=VREF =2.7V FSAMPLE = 50 ksps -0.4 -0.6 -0.8 0 -1 2 2.5 3 3.5 4 4.5 5 5.5 6 -50 VDD (V) FIGURE 2-40: Temperature. 100 150 Negative Gain Error vs. 80 Common Mode Rejection Ration(dB) 100 10 IDDS (nA) 50 Temperature (C) IDDS vs. VDD. FIGURE 2-37: 0 1 0.1 0.01 0.001 -50 -25 0 25 50 75 100 79 78 77 76 75 74 73 72 71 70 1 Temperature (C) IDDS vs. Temperature. FIGURE 2-38: FIGURE 2-41: vs. Frequency. 10 100 Input Frequency (kHz) 1000 Common Mode Rejection 8 Negative Gain Error (LSB) 7 6 5 VDD=5V FSAMPLE = 100 ksps 4 3 2 VDD=2.7V FSAMPLE = 50 ksps 1 0 -1 0 1 2 3 VREF (V) 4 5 6 FIGURE 2-39: Negative Gain Error vs. Reference Voltage. DS21700B-page 12 2002 Microchip Technology Inc. MCP3301 3.0 TEST CIRCUITS 1 k 1/2 MCP602 + MCP3301 1.4V 3 k DOUT Test Point 5VP-P 2.63V 5V 500 mVp-p To VDD on DUT 1 k 1 k CL = 100 pF Load circuit for TR, TF, TDO FIGURE 3-1: - 20 k FIGURE 3-3: Power Supply Sensitivity Test Circuit (PSRR). Test Point MCP3301 VDD DOUT 3 k VREF = 5V VDD/2 100 pF tDIS Waveform 2 1 F tEN Waveform IN(+) IN(-) 5VP-P Voltage Waveforms for tDIS VIH CS DOUT Waveform 1* VREF VDD MCP3301 VSS VCM = 2.5V 90% TDIS FIGURE 3-4: Full Differential Test Configuration Example. 10% D OUT Waveform 2 VREF=2.5V Waveform 2 is for an output with internal conditions such that the output is low, unless dis- Load circuit for TDIS and TEN. VDD=5V 1 F *Waveform 1 is for an output with internal conditions such that the output is high, unless disabled by the output control. FIGURE 3-2: 0.1 F 0.1 F 5V P-P tDIS Waveform 1 VSS VDD = 5V 0.1 F 0.1 F 5V P-P IN(+) VREF VDD MCP3301 IN(-) VSS VCM=2.5V FIGURE 3-5: Pseudo Differential Test Configuration Example. 2002 Microchip Technology Inc. DS21700B-page 13 MCP3301 4.0 PIN DESCRIPTIONS 4.5 Chip Select/Shutdown (CS/SHDN) VREF Reference Voltage Input IN(+) Positive Analog Input The CS/SHDN pin is used to initiate communication with the device when pulled low. This pin 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 and cannot be tied low for multiple conversions. See Figure 7-2 for serial communication protocol. IN(-) Negative Analog Input 4.6 VSS Ground CS/SHDN Chip Select / Shutdown Input DOUT Serial Data Out CLK Serial Clock VDD +2.7V to 5.5V Power Supply The descriptions of the pins are listed in Table 4-1. TABLE 4-1: PIN FUNCTION TABLE. Name 4.1 Function Voltage Reference (VREF) Serial Data Output (DOUT) 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. See Figure 7-2 for serial communication protocol. 4.7 Serial Clock (CLK) This input pin provides the reference voltage for the device, which determines the maximum range of the analog input signal and the LSB size. The SPI clock pin is used to initiate a conversion as well as to clock out each bit of the conversion as it takes place. See Section 6.2 for constraints on clock speed and Figure 7-2 for serial communication protocol. The LSB size is determined by the equation shown below. As the reference input is reduced, the LSB size is reduced accordingly. 4.8 EQUATION LSB Size = 2 x VREF 8192 VDD The voltage on this pin can range from 2.7 to 5.5V. To ensure accuracy, a 0.1 F ceramic bypass capacitor should be placed as close as possible to the pin. See Section 6.6 for more information regarding circuit layout. 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 accuracy of the ADC conversion results. 4.2 IN(+) Positive analog input. This pin has an absolute voltage range of V SS-0.3V to VDD+0.3V. The full scale input range is defined as the absolute value of (IN+) - (IN-). 4.3 IN(-) Negative analog input. This pin has an absolute voltage range of V SS-0.3V to VDD+0.3V. The full scale input range is defined as the absolute value of (IN+) - (IN-). 4.4 VSS Ground connection to internal circuitry. If an analog ground plane is available, it is recommended that this device be tied to the analog ground plane in the circuit. See Section 6.6, "Layout Considerations", for more information regarding circuit layout. DS21700B-page 14 2002 Microchip Technology Inc. MCP3301 5.0 DEFINITION OF TERMS Bipolar Operation - This applies to either a differential or single ended input configuration, where both positive and negative codes are output from the A/D converter. Full bipolar range includes all 8192 codes. For bipolar operation on a single ended input signal, the A/D converter must be configured to operate in pseudo differential mode. Unipolar Operation - This applies to either a single ended or differential input signal where only one side of the device transfer is being used. This could be either the positive or negative side, depending on which input (IN+ or IN-) is being used for the DC bias. Full unipolar operation is equivalent to a 12-bit converter. Full Differential Operation - Applying a full differential signal to both the IN(+) and IN(-) inputs is referred to as full differential operation. This configuration is described in Figure 3-4. Pseudo-Differential Operation - Applying a single ended signal to only one of the input channels with a bipolar output is referred to as pseudo differential operation. To obtain a bipolar output from a single ended input signal the inverting input of the A/D converter must be biased above VSS. This operation is described in Figure 3-5. Integral Nonlinearity - The maximum deviation from a straight line passing through the endpoints of the bipolar transfer function is defined as the maximum integral nonlinearity error. The endpoints of the transfer function are a point 1/2 LSB above the first code transition (0x1000) and 1/2 LSB below the last code transition (0x0FFF). Differential Nonlinearity - The difference between two measured adjacent code transitions and the 1 LSB ideal is defined as differential nonlinearity. Positive Gain Error - This is the deviation between the last positive code transition (0x0FFF) and the ideal voltage level of VREF-1/2 LSB, after the bipolar offset error has been adjusted out. Negative Gain Error - This is the deviation between the last negative code transition (0X1000) and the ideal voltage level of -VREF-1/2 LSB, after the bipolar offset error has been adjusted out. Offset Error - This is the deviation between the first positive code transition (0x0001) and the ideal 1/2 LSB voltage level. Acquisition Time - The acquisition time is defined as the time during which the internal sample capacitor is charging. This occurs for 1.5 clock cycles of the external CLK as defined in Figure 7-2. Conversion Time - The conversion time occurs immediately after the acquisition time. During this time, successive approximation of the input signal occurs as the 13-bit result is being calculated by the internal circuitry. This occurs for 13 clock cycles of the external CLK as defined in Figure 7-2. 2002 Microchip Technology Inc. Signal to Noise Ratio - Signal to Noise Ratio (SNR) is defined as the ratio of the signal to noise measured at the output of the converter. The signal is defined as the rms amplitude of the fundamental frequency of the input signal. The noise value is dependant on the device noise as well as the quantization error of the converter and is directly affected by the number of bits in the converter. The theoretical signal to noise ratio limit based on quantization error only for an N-bit converter is defined as: EQUATION SNR = ( 6.02N + 1.76 )dB For a 13-bit converter, the theoretical SNR limit is 80.02 dB. Total Harmonic Distortion - Total Harmonic Distortion (THD) is the ratio of the rms sum of the harmonics to the fundamental, measured at the output of the converter. For the MCP3301, it is defined using the first 9 harmonics, as shown in the following equation: EQUATION 2 2 2 2 2 V 2 + V 3 + V 4 + ..... + V 8 + V 9 THD(-dB) = -20 log -------------------------------------------------------------------------2 V1 Here V1 is the rms amplitude of the fundamental and V2 through V9 are the rms amplitudes of the second through ninth harmonics. Signal to Noise plus Distortion (SINAD) - Numerically defined, SINAD is the calculated combination of SNR and THD. This number represents the dynamic performance of the converter, including any harmonic distortion. EQUATION SINAD(dB) = 20 log 10 ( SNR 10 ) + 10 - ( THD 10 ) EffectIve Number of Bits - Effective Number of Bits (ENOB) states the relative performance of the ADC in terms of its resolution. This term is directly related to SINAD by the following equation: EQUATION SINAD - 1.76 ENOB ( N ) = ---------------------------------6.02 For SINAD performance of 78 dB, the effective number of bits is 12.66. Spurious Free Dynamic Range - Spurious Free Dynamic Range (SFDR) is the ratio of the rms value of the fundamental to the next largest component in ADC's output spectrum. This is, typically, the first harmonic, but could also be a noise peak. DS21700B-page 15 MCP3301 6.0 APPLICATIONS INFORMATION 6.2 6.1 Conversion Description The analog input of the MCP3301 is easily driven either differentially or single-ended. Any signal that is common to the two input channels will be rejected by the common mode rejection of the device. During the charging time of the sample capacitor, a small charging current will be required. For low source impedances, this input can be driven directly. For larger source impedances, a larger acquisition time will be required due to the RC time constant that includes the source impedance. For the A/D Converter to meet specification, the charge holding capacitor (CSAMPLE) must be given enough time to acquire a 13-bit accurate voltage level during the 1.5 clock cycle acquisition period. The MCP3301 A/D converter employs a conventional SAR architecture. With this architecture, the potential between the IN+ and IN- inputs are simultaneously sampled and stored with the internal sample circuits for 1.5 clock cycles (tACQ). Following this sample time, the input hold switches of the converter open and the device uses the collected charge to produce a serial 13-bit binary two's complement output code. This conversion process is driven by the external clock and must include 13 clock cycles, one for each bit. During this process, the most significant bit (MSB) is output first. This bit is the sign bit and indicates if the IN+ or INinput is at a higher potential. CDAC Hold CSAMP + - Comp 13-Bit SAR CSAMP IN- Shift Register Hold FIGURE 6-1: An analog input model is shown in Figure 6-3. This model is accurate for an analog input, regardless if it is configured as a single-ended input or the IN+ and INinput in differential mode. In this diagram, it is shown that the source impedance (RS) adds to the internal sampling switch (RSS) impedance, directly affecting the time that is required to charge the capacitor (CSAMPLE). Consequently, a larger source impedance with no additional acquisition time increases the offset, gain and integral linearity errors of the conversion. To overcome this, a slower clock speed can be used to allow for the longer charging time. Figure 6-2 shows the maximum clock speed associated with source impedances. DOUT Simplified Block Diagram. 1.8 Max Clock Frequency (MHz) IN+ Driving the Analog Input 1.6 1.4 1.2 1 0.8 0.6 0.4 0.2 0 100 1000 10000 100000 Input Resistance (ohms) FIGURE 6-2: Maximum Clock Frequency vs. Source Resistance (RSS) to maintain 1 LSB INL. DS21700B-page 16 2002 Microchip Technology Inc. MCP3301 VDD RSS VT = 0.6V CHx CPIN 7 pF VA Sampling Switch VT = 0.6V SS RS = 1 k C SAMPLE = DAC capacitance = 25 pF ILEAKAGE 1 nA VSS Legend VA Rss CHx Cpin Vt Ileakage SS Rs Csample FIGURE 6-3: 6.2.1 = = = = = = = = = signal source source impedance input channel pad input pin capacitance threshold voltage leakage current at the pin due to various junctions sampling switch sampling switch resistor sample/hold capacitance Analog Input Model. MAINTAINING MINIMUM CLOCK SPEED When the MCP3301 initiates, 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. For the MCP330X devices, the recommended minimum clock speed during the conversion cycle (tCONV) is 85 kHz. Failure to meet this criteria 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 have requirements for clock speed or duty cycle as long as all timing specifications are met. 6.3 Biasing Solutions For pseudo-differential bipolar operation, the biasing circuit shown in Figure 6-4 shows a single-ended input AC coupled to the converter. This configuration will give a digital output range of -4096 to +4095. With the 2.5V reference, the LSB size is equal to 610 V. Although the ADC is not production tested with a 2.5V reference as shown, linearity will not change more than 0.1 LSB. See Figure 2-2 and 2-9 for DNL and INL errors versus VREF at VDD = 5V. A trade-off exists between the high pass corner and the acquisition time. The value of C will need to be quite large in order to bring down the high pass corner. The value of R needs to be 1 k or less, since higher input impedances 2002 Microchip Technology Inc. require additional acquisition time. Using the values in Figure 6-4, we have a 100 Hz corner frequency. See Figure 2-12 for the relationship between input impedance and acquisition time. VDD = 5V 0.1 F 10 F C VIN 1 k IN+ IN- VOUT 1 F MCP3301 VREF VIN MCP1525 0.1 F FIGURE 6-4: Pseudo-differential biasing circuit for bipolar operation. Using an external operational amplifier on the input allows for gain and buffers the input signal from the input to the ADC, allowing for a higher source impedance. This circuit is shown in Figure 6-5. DS21700B-page 17 MCP3301 VDD = 5V 0.1 F 10 k MCP6022 1 k VIN + 1 F IN+ IN- 1 M 1 F MCP3301 VREF VOUT VIN MCP1525 0.1 F 6.4 Common Mode Input Range The common mode input range has no restriction and is equal to the absolute input voltage range: VSS -0.3V to V DD +0.3V. However, for a given VREF, the common mode voltage has a limited swing if the entire range of the A/D converter is to be used. Figure 6-7 and Figure 6-8 show the relationship between VREF and the common mode voltage. A smaller VREF allows for wider flexibility in a common mode voltage. VREF levels down to 400 mV and exhibits less than 0.1 LSB change in DNL and INL. See Figure 2-9 and Figure 2-12 for characterization graphs that illustrate this performance relationship. VDD = 5V This circuit shows that some headroom will be lost due to the amplifier output not being able to swing all the way to the rail. An example would be for an output swing of 0V to 5V. This limitation can be overcome by supplying a VREF that is slightly less than the common mode voltage. Using a 2.048V reference for the A/D converter, while biasing the input signal at 2.5V solves the problem. This circuit is shown in Figure 6-6. VDD = 5V 0.1 F 10 k 4.05V 4 2.8V 3 2 2.3V 1 0.95V 0 -1 0.25 1.0 2.5 VREF (V) FIGURE 6-7: Common Mode Range of Full Differential input signal versus VREF. VDD = 5V 1 M IN+ IN- 5 MCP3301 VREF 10 k 2.048V 1 F VOUT VIN MCP1525 0.1 F FIGURE 6-6: Circuit solution to overcome amplifier output swing limitation. DS21700B-page 18 4.05V 4 Common Mode Range (V) 1 F + 5.0 4.0 MCP606 1 k VIN Common Mode Range (V) FIGURE 6-5: Adding an amplifier allows for gain and also buffers the input from any high impedance sources. 5 2.8V 3 2 2.3V 1 0.95V 0 -1 0.25 0.5 1.25 2.0 2.5 VREF (V) FIGURE 6-8: Common Mode Range versus VREF for Pseudo Differential Input. 2002 Microchip Technology Inc. MCP3301 6.5 Buffering/Filtering the Analog Inputs Inaccurate conversion results may occur if the signal source for the A/D converter is not a low impedance source. Buffering the input will solve the impedance issue. It is also recommended that an analog filter be used to eliminate any signals that may be aliased back into the conversion results. Using an op amp to drive the analog input of the MCP3301 is illustrated in Figure 6-9. This amplifier provides a low impedance source for the converter input and low pass filter, which eliminates unwanted high frequency noise. Values shown are for a 10 Hz Butterworth Low pass filter. Low pass (anti-aliasing) filters can be designed using Microchip's interactive FilterLab(R) software. FilterLab 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 AN-699 "Anti-Aliasing Analog Filters for Data Acquisition Systems". VDD MCP1541 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 from VDD to ground should always be used with this device and should be placed as close as possible to the device pin. A bypass capacitor value of 0.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 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 VDD connections to devices in a "star" configuration can also reduce noise by eliminating current return paths and associated errors (Figure 6-10). For more information on layout tips when using the MCP3301 or other ADC devices, refer to AN-688 "Layout Tips for 12-Bit A/D Converter Applications". 10 F 4.096V Reference 0.1 F 6.6 VDD Connection 1 F CL VREF IN+ 0.1 F MCP3301 2.2 F 7.86 k VIN 14.6 k 1 F MCP601 IN- Device 4 + - Device 1 FIGURE 6-9: The MCP601 Operational Amplifier is used to implement a 2nd order antialiasing filter for the signal being converted by the MCP3301. Device 3 Device 2 FIGURE 6-10: VDD traces arranged in a `Star' configuration in order to reduce errors caused by current return paths. 2002 Microchip Technology Inc. DS21700B-page 19 MCP3301 7.0 SERIAL COMMUNICATIONS 7.1 Output Code Format TABLE 7-1: The output code format is a binary two's complement scheme with a leading sign bit that indicates the sign of the output. If the IN+ input is higher than the IN- input, the sign bit will be a zero. If the IN- input is higher, the sign bit will be a `1'. BINARY TWO'S COMPLEMENT OUTPUT CODE EXAMPLES. Sign Bit Binary Data Decimal DATA Full Scale Positive (IN+)-(IN-) = VREF-1 LSB 0 1111 1111 1111 +4095 (IN+)-(IN-) = VREF-2 LSB 0 1111 1111 1110 +4094 IN+ = (IN-) +2 LSB 0 0000 0000 0010 +2 IN+ = (IN-) +1 LSB 0 0000 0000 0001 +1 IN+ = IN- 0 0000 0000 0000 0 IN+ = (IN-) - 1 LSB 1 1111 1111 1111 -1 Analog Input Levels The diagram shown in Figure 7-1 shows the output code transfer function. In this diagram, the horizontal axis is the analog input voltage and the vertical axis is the output code of the ADC. It shows that when IN+ is equal to IN-, both the sign bit and the data word are zero. As IN+ gets larger, with respect to IN-, the sign bit is a zero and the data word gets larger. The full scale output code is reached at +4095 when the input [(IN+) - (IN-)] reaches VREF - 1 LSB. When IN- is larger than IN+, the two's complement output codes will be seen with the sign bit being a one. Some examples of analog input levels and corresponding output codes are shown in Table 7-1 IN+ = (IN-) - 2 LSB 1 1111 1111 1110 -2 (IN+)-(IN-) = VREF-2 LSB 1 0000 0000 0001 -4095 Full Scale Negative (IN+)-(IN-) = VREF-1 LSB 1 0000 0000 0000 -4096 Output Code Positive Full Scale Output = VREF -1 LSB 0 + 1111 1111 1111 (+4095) 0 + 1111 1111 1110 (+4094) 0 + 0000 0000 0011 (+3) 0 + 0000 0000 0010 (+2) 0 + 0000 0000 0001 (+1) IN+ > IN- 0 + 0000 0000 0000 (0) IN+ < IN- -VREF 1 + 1111 1111 1111 (-1) 1 + 1111 1111 1110 (-2) Analog Input Voltage IN+ - IN- VREF 1 + 1111 1111 1101 (-3) 1 + 0000 0000 0001 (-4095) Negative Full Scale Output = -VREF FIGURE 7-1: DS21700B-page 20 1 + 0000 0000 0000 (-4096) Output Code Transfer Function. 2002 Microchip Technology Inc. MCP3301 7.2 Communicating with the MCP3301 12 remaining data bits, as shown in Figure 7-2. Data is always output from the device on the falling edge of the clock. If all 13 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 7-3. 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. Communication with the device is completed using a standard SPI compatible serial interface. Initiating communication with the MCP3301 begins with the CS going low. If the device was powered up with the CS pin low, it must be brought high and back low to initiate communication. The device will begin to sample the analog input on the first rising edge of CLK after CS goes low. The sample period will end in the falling edge of the second clock, at which time the device will output a low null bit. The next 13 clocks will output the result of the conversion with the sign bit first, followed by the tSAMPLE tCSH CS Power Down tSUCS CLK DOUT tDATA ** tCONV tACQ HI-Z NULL BIT SB B11 B10 B9 B8 B7 B6 B5 B4 B3 B2 HI-Z B1 B0* NULL BIT SB B11 B10 B9 * After completing the data transfer, if further clocks are applied with CS low, the ADC will output LSB first data, followed by zeros indefinitely. See Figure 7-2 below. ** tDATA: during this time, the bias current and the comparator power down and the reference input becomes a high impedance node, leaving the CLK running to clock out the LSB-first data or zeros. FIGURE 7-2: Communication with MCP3301 (MSB first Format). tSAMPLE t CSH CS tSUCS Power Down CLK tACQ DOUT tDATA** tCONV HI-Z NULL BIT SB B11 B10 B9 B8 B7 B6 B5 B4 B3 B2 B1 B0 B1 B2 B3 B4 B5 B6 B7 B8 B9 B10 B11 SB * HI-Z * After completing the data transfer, if further clocks are applied with CS low, the ADC will output zeros indefinitely. ** tDATA: during this time, the bias current and the comparator power down and the reference input becomes a high impedance node, leaving the CLK running to clock out the LSB-first data or zeros. FIGURE 7-3: Communication with MCP3301 (LSB first Format). 2002 Microchip Technology Inc. DS21700B-page 21 MCP3301 7.3 Using the MCP3301 with Microcontroller (MCU) SPI Ports falling edge of the third clock pulse, followed by the remaining 12 data bits (MSB first). Once the first eight clocks have been sent to the device, the microcontroller's receive buffer will contain two unknown bits (for the first two clocks, the output is high impedance), followed by the null bit, the sign bit and the highest order four bits of the conversion. After the second eight clocks have been sent to the device, the MCU receive register will contain the lowest order 8 data bits. Notice that, on the falling edge of clock 16, the ADC has begun to shift out LSB first data. With most microcontroller SPI ports, it is required to clock out eight bits at a time. Using a hardware SPI port with the MCP3301 is very easy because each conversion requires 16 clocks. For example, Figure 7-4 and Figure 7-5 show how the MCP3301 can be interfaced to a microcontroller with a standard SPI port. Since the MCP3301 always clocks data out on the falling edge of clock, the MCU SPI port must be configured to match this operation. SPI Mode 0,0 (clock idles low) and SPI Mode 1,1 (clock idles high) are both compatible with the MCP3301. Figure 7-4 depicts the operation shown in SPI Mode 0,0, which requires that the CLK from the microcontroller idles in the `low' state. As shown in the diagram, the sign bit is clocked out of the ADC on the Figure 7-5 shows the same scenario in SPI Mode 1,1, which requires that the clock idles in the high state. As with mode 0,0, the ADC outputs data on the falling edge of the clock and the MCU latches data from the ADC in on the rising edge of the clock. CS MCU latches data from ADC on rising edges of SCLK 1 CLK 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 Data is clocked out of ADC on falling edges DOUT HI-Z NULL SB B11 B10 BIT B9 B7 B8 B6 B5 B4 B3 B2 B1 B0 B1 HI-Z LSB first data begins to come out ? ? 0 SB B11 B10 B9 B8 B7 Data stored into MCU receive register after transmission of first 8 bits B6 B5 B4 B3 B2 B1 B0 X = Don't Care Bits ? = Unknown Bits Data stored into MCU receive register after transmission of second 8 bits FIGURE 7-4: SPI Communication with the MCP3301 using 8-bit segments (Mode 0,0: SCLK idles low). CS MCU latches data from ADC on rising edges of SCLK 1 CLK 2 3 4 5 6 8 7 9 10 11 12 13 14 15 16 Data is clocked out of ADC on falling edges DOUT HI-Z NULL SB BIT B11 B10 B9 B8 B7 B6 B5 B4 B3 B2 B1 B0 HI-Z LSB first data begins to come out ? ? 0 SB B11 B10 B9 B8 Data stored into MCU receive register after transmission of first 8 bits B7 B6 B5 B4 B3 B2 B1 B0 Data stored into MCU receive register after transmission of second 8 bits X = Don't Care Bits ? = Unknown Bits FIGURE 7-5: SPI Communication with the MCP3301 using 8-bit segments (Mode 1,1: SCLK idles high). DS21700B-page 22 2002 Microchip Technology Inc. MCP3301 8.0 PACKAGING INFORMATION 8.1 Package Marking Information Example : 8-Lead MSOP XXXXXX 3301C YWWNNN NNN 8-Lead PDIP (300 mil) Example: XXXXXXXX XXXXXNNN YYWW 3301-B I/PNNN YYWW 8-Lead SOIC (150 mil) Example: XXXXXXXX XXXXYYWW 3301-B I/SNYYWW NNN NNN Please contact Microchip Factory for B-Grade MSOP devices * Legend: XX...X YY WW NNN Customer specific information* Year code (last 2 digits of calendar year) Week code (week of January 1 is week `01') 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. 2002 Microchip Technology Inc. DS21700B-page 23 MCP3301 8-Lead Plastic Micro Small Outline Package (MS) (MSOP) E p E1 D 2 B n 1 A2 A c A1 (F) L Units Number of Pins Pitch Dimension Limits n p Overall Height NOM MAX 8 0.65 .026 A .044 .030 Standoff A1 .002 E .184 Molded Package Width MIN 8 A2 Overall Width MAX NOM Molded Package Thickness MILLIMETERS* INCHES MIN .034 1.18 .038 0.76 .006 0.05 .193 .200 0.86 0.97 4.67 4.90 .5.08 0.15 E1 .114 .118 .122 2.90 3.00 3.10 Overall Length D .114 .118 .122 2.90 3.00 3.10 Foot Length L .016 .022 .028 0.40 0.55 0.70 Footprint (Reference) .035 .037 .039 0.90 0.95 1.00 Foot Angle F 6 0 Lead Thickness c .004 .006 .008 0.10 0.15 0.20 Lead Width B .010 .012 .016 0.25 0.30 0.40 Mold Draft Angle Top Mold Draft Angle Bottom 0 6 7 7 7 7 *Controlling Parameter Significant Characteristic Notes: Dimensions D and E1 do not include mold flash or protrusions. Mold flash or protrusions shall not exceed .010" (0.254mm) per side. Drawing No. C04-111 DS21700B-page 24 2002 Microchip Technology Inc. MCP3301 8-Lead Plastic Dual In-line (P) - 300 mil (PDIP) E1 D 2 n 1 E A2 A L c A1 B1 p eB B Units Dimension Limits n p Number of Pins Pitch Top to Seating Plane Molded Package Thickness Base to Seating Plane Shoulder to Shoulder Width Molded Package Width Overall Length Tip to Seating Plane Lead Thickness Upper Lead Width Lower Lead Width Overall Row Spacing Mold Draft Angle Top Mold Draft Angle Bottom * Controlling Parameter Significant Characteristic A A2 A1 E E1 D L c B1 B eB MIN .140 .115 .015 .300 .240 .360 .125 .008 .045 .014 .310 5 5 INCHES* NOM MAX 8 .100 .155 .130 .170 .145 .313 .250 .373 .130 .012 .058 .018 .370 10 10 .325 .260 .385 .135 .015 .070 .022 .430 15 15 MILLIMETERS NOM 8 2.54 3.56 3.94 2.92 3.30 0.38 7.62 7.94 6.10 6.35 9.14 9.46 3.18 3.30 0.20 0.29 1.14 1.46 0.36 0.46 7.87 9.40 5 10 5 10 MIN MAX 4.32 3.68 8.26 6.60 9.78 3.43 0.38 1.78 0.56 10.92 15 15 Notes: Dimensions D and E1 do not include mold flash or protrusions. Mold flash or protrusions shall not exceed .010" (0.254mm) per side. JEDEC Equivalent: MS-001 Drawing No. C04-018 2002 Microchip Technology Inc. DS21700B-page 25 MCP3301 8-Lead Plastic Small Outline (SN) - Narrow, 150 mil (SOIC) E E1 p D 2 B n 1 h 45 c A2 A L Units Dimension Limits n p Number of Pins Pitch Overall Height Molded Package Thickness Standoff Overall Width Molded Package Width Overall Length Chamfer Distance Foot Length Foot Angle Lead Thickness Lead Width Mold Draft Angle Top Mold Draft Angle Bottom * Controlling Parameter Significant Characteristic A A2 A1 E E1 D h L c B MIN .053 .052 .004 .228 .146 .189 .010 .019 0 .008 .013 0 0 A1 INCHES* NOM 8 .050 .061 .056 .007 .237 .154 .193 .015 .025 4 .009 .017 12 12 MAX .069 .061 .010 .244 .157 .197 .020 .030 8 .010 .020 15 15 MILLIMETERS NOM 8 1.27 1.35 1.55 1.32 1.42 0.10 0.18 5.79 6.02 3.71 3.91 4.80 4.90 0.25 0.38 0.48 0.62 0 4 0.20 0.23 0.33 0.42 0 12 0 12 MIN MAX 1.75 1.55 0.25 6.20 3.99 5.00 0.51 0.76 8 0.25 0.51 15 15 Notes: Dimensions D and E1 do not include mold flash or protrusions. Mold flash or protrusions shall not exceed .010" (0.254mm) per side. JEDEC Equivalent: MS-012 Drawing No. C04-057 DS21700B-page 26 2002 Microchip Technology Inc. MCP3301 ON-LINE SUPPORT Microchip provides on-line support on the Microchip World Wide Web (WWW) 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 Explorer. Files are also available for FTP download from our FTP site. Connecting to the Microchip Internet Web Site 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 any currently available upgrade kits.The Hot Line Numbers are: 1-800-755-2345 for U.S. and most of Canada, and 1-480-792-7302 for the rest of the world. 013001 The Microchip web site is available by using your favorite Internet browser to attach to: 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 2002 Microchip Technology Inc. DS21700B-page 27 MCP3301 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 (480) 792-4150. Please list the following information, and use this outline to provide us with your comments about this Data Sheet. To: Technical Publications Manager RE: Reader Response Total Pages Sent From: Name Company Address City / State / ZIP / Country Telephone: (_______) _________ - _________ FAX: (______) _________ - _________ Application (optional): Would you like a reply? Device: MCP3301 Y N Literature Number: DS21700B Questions: 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 data sheet easy to follow? If not, why? 4. What additions to the data sheet do you think would enhance the structure and subject? 5. What deletions from the data sheet 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? 8. How would you improve our software, systems, and silicon products? DS21700B-page 28 2002 Microchip Technology Inc. MCP3301 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 Package Device: MCP3301: 13-Bit Serial A/D Converter MCP3301T: 13-Bit Serial A/D Converter (Tape and Reel) Grade: B C = 1 LSB INL = 2 LSB INL Temperature Range: I = Package: MS = Plastic MSOP, 8-lead P = Plastic DIP (300 mil Body), 8-lead SN = Plastic SOIC (150 mil Body), 8-lead Examples: a) MCP3301-BI/P: 1 LSB INL, Industrial Temperature, PDIP package b) MCP3301-BI/SN: 1 LSB INL, Industrial Temperature, SOIC package c) MCP3301-CI/MS: 2 LSB INL, Industrial Temperature, MSOP package -40C to +85C 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. 2. 3. Your local Microchip sales office The Microchip Corporate Literature Center U.S. FAX: (480) 792-7277 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. 2002 Microchip Technology Inc. DS21700B-page29 MCP3301 NOTES: DS21700B-page 30 2002 Microchip Technology Inc. MCP3301 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, FilterLab, KEELOQ, microID, MPLAB, PIC, PICmicro, PICMASTER, PICSTART, PRO MATE, SEEVAL and The Embedded Control Solutions Company are registered trademarks of Microchip Technology Incorporated in the U.S.A. and other countries. dsPIC, ECONOMONITOR, FanSense, FlexROM, fuzzyLAB, In-Circuit Serial Programming, ICSP, ICEPIC, microPort, Migratable Memory, MPASM, MPLIB, MPLINK, MPSIM, MXDEV, PICC, PICDEM, PICDEM.net, rfPIC, Select Mode and Total Endurance are trademarks of Microchip Technology Incorporated in the U.S.A. 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. (c) 2002, Microchip Technology Incorporated, Printed in the U.S.A., All Rights Reserved. Printed on recycled paper. Microchip received QS-9000 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 2002. The Company's quality system processes and procedures are QS-9000 compliant for its PICmicro (R) 8-bit MCUs, KEELOQ(R) 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 9001 certified. 2002 Microchip Technology Inc. DS21700B-page 31 M WORLDWIDE SALES AND SERVICE AMERICAS ASIA/PACIFIC Corporate Office Australia 2355 West Chandler Blvd. Chandler, AZ 85224-6199 Tel: 480-792-7200 Fax: 480-792-7277 Technical Support: 480-792-7627 Web Address: http://www.microchip.com Microchip Technology Australia Pty Ltd Suite 22, 41 Rawson Street Epping 2121, NSW Australia Tel: 61-2-9868-6733 Fax: 61-2-9868-6755 Rocky Mountain China - Beijing 2355 West Chandler Blvd. Chandler, AZ 85224-6199 Tel: 480-792-7966 Fax: 480-792-4338 Microchip Technology Consulting (Shanghai) Co., Ltd., Beijing Liaison Office Unit 915 Bei Hai Wan Tai Bldg. No. 6 Chaoyangmen Beidajie Beijing, 100027, No. China Tel: 86-10-85282100 Fax: 86-10-85282104 Atlanta 500 Sugar Mill Road, Suite 200B Atlanta, GA 30350 Tel: 770-640-0034 Fax: 770-640-0307 Boston 2 Lan Drive, Suite 120 Westford, MA 01886 Tel: 978-692-3848 Fax: 978-692-3821 Chicago 333 Pierce Road, Suite 180 Itasca, IL 60143 Tel: 630-285-0071 Fax: 630-285-0075 Dallas 4570 Westgrove Drive, Suite 160 Addison, TX 75001 Tel: 972-818-7423 Fax: 972-818-2924 Detroit Tri-Atria Office Building 32255 Northwestern Highway, Suite 190 Farmington Hills, MI 48334 Tel: 248-538-2250 Fax: 248-538-2260 Kokomo 2767 S. Albright Road Kokomo, Indiana 46902 Tel: 765-864-8360 Fax: 765-864-8387 Los Angeles 18201 Von Karman, Suite 1090 Irvine, CA 92612 Tel: 949-263-1888 Fax: 949-263-1338 China - Chengdu Microchip Technology Consulting (Shanghai) Co., Ltd., Chengdu Liaison Office Rm. 2401, 24th Floor, Ming Xing Financial Tower No. 88 TIDU Street Chengdu 610016, China Tel: 86-28-86766200 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 350001, China Tel: 86-591-7503506 Fax: 86-591-7503521 China - Shanghai Microchip Technology Consulting (Shanghai) Co., Ltd. Room 701, Bldg. B Far East International Plaza No. 317 Xian Xia Road Shanghai, 200051 Tel: 86-21-6275-5700 Fax: 86-21-6275-5060 China - Shenzhen 150 Motor Parkway, Suite 202 Hauppauge, NY 11788 Tel: 631-273-5305 Fax: 631-273-5335 Microchip Technology Consulting (Shanghai) Co., Ltd., Shenzhen Liaison Office Rm. 1315, 13/F, Shenzhen Kerry Centre, Renminnan Lu Shenzhen 518001, China Tel: 86-755-2350361 Fax: 86-755-2366086 San Jose China - Hong Kong SAR Microchip Technology Inc. 2107 North First Street, Suite 590 San Jose, CA 95131 Tel: 408-436-7950 Fax: 408-436-7955 Microchip Technology Hongkong Ltd. Unit 901-6, Tower 2, Metroplaza 223 Hing Fong Road Kwai Fong, N.T., Hong Kong Tel: 852-2401-1200 Fax: 852-2401-3431 New York Toronto 6285 Northam Drive, Suite 108 Mississauga, Ontario L4V 1X5, Canada Tel: 905-673-0699 Fax: 905-673-6509 India Microchip Technology Inc. India Liaison Office Divyasree Chambers 1 Floor, Wing A (A3/A4) No. 11, O'Shaugnessey Road Bangalore, 560 025, India Tel: 91-80-2290061 Fax: 91-80-2290062 Japan Microchip Technology Japan K.K. Benex S-1 6F 3-18-20, Shinyokohama Kohoku-Ku, Yokohama-shi Kanagawa, 222-0033, 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-7200 Fax: 82-2-558-5934 Singapore Microchip Technology Singapore Pte Ltd. 200 Middle Road #07-02 Prime Centre Singapore, 188980 Tel: 65-6334-8870 Fax: 65-6334-8850 Taiwan Microchip Technology (Barbados) Inc., Taiwan Branch 11F-3, No. 207 Tung Hua North Road Taipei, 105, Taiwan Tel: 886-2-2717-7175 Fax: 886-2-2545-0139 EUROPE Denmark Microchip Technology Nordic ApS Regus Business Centre Lautrup hoj 1-3 Ballerup DK-2750 Denmark Tel: 45 4420 9895 Fax: 45 4420 9910 France Microchip Technology SARL Parc d'Activite du Moulin de Massy 43 Rue du Saule Trapu Batiment A - ler Etage 91300 Massy, France Tel: 33-1-69-53-63-20 Fax: 33-1-69-30-90-79 Germany Microchip Technology GmbH Gustav-Heinemann Ring 125 D-81739 Munich, Germany Tel: 49-89-627-144 0 Fax: 49-89-627-144-44 Italy Microchip Technology SRL Centro Direzionale Colleoni Palazzo Taurus 1 V. Le Colleoni 1 20041 Agrate Brianza Milan, Italy Tel: 39-039-65791-1 Fax: 39-039-6899883 United Kingdom Microchip Ltd. 505 Eskdale Road Winnersh Triangle Wokingham Berkshire, England RG41 5TU Tel: 44 118 921 5869 Fax: 44-118 921-5820 Austria Microchip Technology Austria GmbH Durisolstrasse 2 A-4600 Wels Austria Tel: 43-7242-2244-399 Fax: 43-7242-2244-393 05/16/02 DS21700B-page 32 2002 Microchip Technology Inc.