link to page 17 MCP4901/4911/49218/10/12-Bit Voltage Output Digital-to-Analog Converterwith SPI InterfaceFeaturesDescription • MCP4901: 8-Bit Voltage Output DAC The MCP4901/4911/4921 devices are single channel • MCP4911: 10-Bit Voltage Output DAC 8-bit, 10-bit and 12-bit buffered voltage output • MCP4921: 12-Bit Voltage Output DAC Digital-to-Analog Converters (DACs), respectively. The devices operate from a single 2.7V to 5.5V supply with • Rail-to-Rail Output an SPI compatible Serial Peripheral Interface. The user • SPI Interface with 20 MHz Clock Support can configure the full-scale range of the device to be • Simultaneous Latching of the DAC Output VREF or 2*VREF by setting the gain selection option bit with LDAC Pin (gain of 1 of 2). • Fast Settling Time of 4.5 µs The user can shut down the device by setting the Con- • Selectable Unity or 2x Gain Output figuration Register bit. In Shutdown mode, most of the • External Voltage Reference Input internal circuits are turned off for power savings, and • External Multiplier Mode the output amplifier is configured to present a known high resistance output load (500 ktypical. • 2.7V to 5.5V Single-Supply Operation • Extended Temperature Range: -40°C to +125°C The devices include double-buffered registers, allowing synchronous updates of the DAC output using Applications the LDAC pin. These devices also incorporate a Power-on Reset (POR) circuit to ensure reliable power- • Set Point or Offset Trimming up. • Precision Selectable Voltage Reference The devices utilize a resistive string architecture, with • Motor Control Feedback Loop its inherent advantages of low Differential Non-Linear- • Digitally-Controlled Multiplier/Divider ity (DNL) error and fast settling time. These devices are specified over the extended temperature range • Calibration of Optical Communication Devices (+125°C). Related Products The devices provide high accuracy and low noise performance for consumer and industrial applications where calibration or compensation of signals (such as VoltageDACNo. of temperature, pressure and humidity) are required. P/NReferenceResolutionChannels(VREF) The MCP4901/4911/4921 devices are available in the PDIP, SOIC, MSOP and DFN packages. MCP4801 8 1 MCP4811 10 1 Internal Package Types MCP4821 12 1 (2.048V) MCP4802 8 2 8-Pin PDIP, SOIC, MSOPDFN-8 (2x3)* MCP4812 10 2 MCP4822 12 2 VDD 1 8 V V OUT DD 1 8 VOUT 1MCP490181 CS 2 7 VSS CS 2 7 V EP SS MCP4911101 SCK 3 P49x 6 V 9 REF SCK 3 6 VREF External CMCP4921121 SDI 4 M 5 LDAC SDI 4 5 LDAC MCP4902 8 2 MCP4912 10 2 MCP4901 : 8-bit single DAC MCP4911 : 10-bit single DAC MCP4922 12 2 MCP4921 : 12-bit single DAC Note: The products listed here have similar AC/DC * Includes Exposed Thermal Pad (EP); see Table 3-1. performances. 2010 Microchip Technology Inc. DS22248A-page 1 Document Outline 1.0 Electrical Characteristics FIGURE 1-1: SPI Input Timing Data. 2.0 Typical Performance Curves FIGURE 2-1: DNL vs. Code (MCP4921). FIGURE 2-2: DNL vs. Code and Temperature (MCP4921). FIGURE 2-3: DNL vs. Code and VREF, Gain=1 (MCP4921). FIGURE 2-4: Absolute DNL vs. Temperature (MCP4921). FIGURE 2-5: Absolute DNL vs. Voltage Reference (MCP4921). FIGURE 2-6: INL vs. Code and Temperature (MCP4921). FIGURE 2-7: Absolute INL vs. Temperature (MCP4921). FIGURE 2-8: Absolute INL vs. VREF (MCP4921). FIGURE 2-9: INL vs. Code and VREF (MCP4921). FIGURE 2-10: INL vs. Code (MCP4921). FIGURE 2-11: DNL vs. Code and Temperature (MCP4911). FIGURE 2-12: INL vs. Code and Temperature (MCP4911). FIGURE 2-13: DNL vs. Code and Temperature (MCP4901). FIGURE 2-14: INL vs. Code and Temperature (MCP4901). FIGURE 2-15: IDD vs. Temperature and VDD. FIGURE 2-16: IDD Histogram (VDD = 2.7V). FIGURE 2-17: IDD Histogram (VDD = 5.0V). FIGURE 2-18: Shutdown Current vs. Temperature and VDD. FIGURE 2-19: Offset Error vs.Temperature and VDD. FIGURE 2-20: Gain Error vs. Temperature and VDD. FIGURE 2-21: VIN High Threshold vs. Temperature and VDD. FIGURE 2-22: VIN Low Threshold vs. Temperature and VDD. FIGURE 2-23: Input Hysteresis vs. Temperature and VDD. FIGURE 2-24: VREF Input Impedance vs. Temperature and VDD. FIGURE 2-25: VOUT High Limit vs. Temperature and VDD. FIGURE 2-26: VOUT Low Limit vs. Temperature and VDD. FIGURE 2-27: IOUT High Short vs. Temperature and VDD. FIGURE 2-28: IOUT vs. VOUT. Gain = 1. FIGURE 2-29: VOUT Rise Time FIGURE 2-30: VOUT Fall Time. FIGURE 2-31: VOUT Rise Time FIGURE 2-32: VOUT Rise Time FIGURE 2-33: VOUT Rise Time Exit Shutdown. FIGURE 2-34: PSRR vs. Frequency. FIGURE 2-35: Multiplier Mode Bandwidth. FIGURE 2-36: -3 db Bandwidth vs. Worst Codes. FIGURE 2-37: Phase Shift. 3.0 Pin Descriptions TABLE 3-1: Pin Function Table 3.1 Supply Voltage Pins (VDD, VSS) 3.2 Chip Select (CS) 3.3 Serial Clock Input (SCK) 3.4 Serial Data Input (SDI) 3.5 Latch DAC Input (LDAC) 3.6 Analog Output (VOUT) 3.7 Voltage Reference Input (VREF) 3.8 Exposed Thermal Pad (EP) 4.0 General Overview TABLE 4-1: LSb of each device 4.1 DC Accuracy FIGURE 4-1: Example for INL Error. FIGURE 4-2: Example for DNL Accuracy. 4.2 Circuit Descriptions FIGURE 4-3: Typical Transient Response. FIGURE 4-4: Output Stage for Shutdown Mode. 5.0 Serial Interface 5.1 Overview 5.2 Write Command FIGURE 5-1: Write Command for MCP4921 (12-bit DAC). FIGURE 5-2: Write Command for MCP4911 (10-bit DAC). Note: X are don’t care bits. FIGURE 5-3: Write Command for MCP4901(8-bit DAC). Note: X are don’t care bits. 6.0 Typical Applications 6.1 Digital Interface 6.2 Power Supply Considerations FIGURE 6-1: Typical Connection Diagram. 6.3 Layout Considerations 6.4 Single-Supply Operation 6.5 Bipolar Operation 6.6 Selectable Gain and Offset Bipolar Voltage Output Using DAC Devices 6.7 Designing a Double-Precision DAC 6.8 Building Programmable Current Source 6.9 Using Multiplier Mode 7.0 Development support 7.1 Evaluation & Demonstration Boards 8.0 Packaging Information 8.1 Package Marking Information Corporate Office Atlanta Boston Chicago Cleveland Fax: 216-447-0643 Dallas Detroit Kokomo Toronto Fax: 852-2401-3431 Australia - Sydney China - Beijing China - Shanghai India - Bangalore Korea - Daegu Korea - Seoul Singapore Taiwan - Taipei Fax: 43-7242-2244-393 Denmark - Copenhagen France - Paris Germany - Munich Italy - Milan Spain - Madrid UK - Wokingham Worldwide Sales and Service