CS5101A CS5102A 16-Bit, 100 kHz / 20 kHz A/D Converters Features Description l Monolithic CMOS A/D Converters The CS5101A and CS5102A are 16-bit monolithic CMOS analog-to-digital converters capable of 100 kHz (5101A) and 20 kHz (5102A) throughput. The CS5102A's low power consumption of 44 mW, coupled with a power down mode, makes it particularly suitable for battery powered operation. - Inherent Sampling Architecture - 2-Channel Input Multiplexer - Flexible Serial Output Port l Ultra-Low Distortion - S/(N+D): 92 dB - THD: 0.001% l Conversion On-chip self-calibration circuitry achieves nonlinearity of 0.001% of FS and guarantees 16-bit no missing codes over the entire specified temperature range. Superior linearity also leads to 92 dB S/(N+D) with harmonics below -100 dB. Offset and full-scale errors are minimized during the calibration cycle, eliminating the need for external trimming. Time - CS5101A: 8 s - CS5102A: 40 s l Linearity Error: 0.001% FS - Guaranteed No Missing Codes l Self-Calibration The CS5101A and CS5102A each consist of a 2-channel input multiplexer, DAC, conversion and calibration microcontroller, clock generator, comparator, and serial communications port. The inherent sampling architecture of the device eliminates the need for an external track and hold amplifier. Maintains Accuracy - Over Time and Temperature l Low Power Consumption - CS5101A: 320 mW - CS5102A: 44 mW - Power-down Mode: <1 mW l Evaluation The converters' 16-bit data is output in serial form with either binary or 2's complement coding. Three output timing modes are available for easy interfacing to microcontrollers and shift registers. Unipolar and bipolar input ranges are digitally selectable. Board Available ORDERING INFORMATION See page 36. I HOLD SLEEPRST STBY CODE BP/UP CRS/FIN TRK1 TRK2 SSH/SDLSDATA 12 CLKIN XOUT REFBUF VREF AIN1 AIN2 CH1/2 AGND 3 4 28 2 5 16 17 10 8 9 11 15 14 Clock Generator Control SCLK 21 20 19 24 13 22 Calibration SRAM + Microcontroller 26 16-Bit Charge Redistribution DAC + + 25 VA+ Cirrus Logic, Inc. Crystal Semiconductor Products Division P.O. Box 17847, Austin, Texas 78760 (512) 445 7222 FAX: (512) 445 7581 http://www.crystal.com 23 VA- 6 DGND 27 + Comparator 1 7 VD- VD+ Copyright Cirrus Logic, Inc. 1997 (All Rights Reserved) 18 TEST SCKMOD OUTMOD MAR `95 DS45F2 1 CS5101A ANALOG CHARACTERISTICS (TA = TMIN to TMAX; VA+, VD+ = 5V; VA-, VD- = -5V; VREF = 4.5V; Full-Scale Input Sinewave, 1 kHz; CLKIN = 4 MHz for -16, 8 MHz for -8; f s = 50 kHz for -16, 100 kHz for -8; Bipolar Mode; FRN Mode; AIN1 and AIN2 tied together, each channel tested separately; Analog Source Impedance = 50 with 1000 pF to AGND unless otherwise specified) CS5101A-J,K Parameter* Min Typ Max Specified Temperature Range 0 to +70 Accuracy Linearity Error -J,A,S (Note 1) 0.002 0.003 -K,B,T 0.001 0.002 Drift (Note 2) 1/4 Differential Linearity (Notes 3, 4) 16 Full Scale Error -J,A,S (Note 1) 1 4 -K,B,T 1 3 Drift (Note 2) 1 Unipolar Offset -J,A,S (Note 1) 2 5 -K,B,T 2 4 Drift (Note 2) 1 Bipolar Offset -J,A,S (Note 1) 2 5 -K,B,T 2 3 Drift (Note 2) 1 Bipolar Negative Full-Scale Error -J,A,S (Note 1) 4 1 -K,B,T 1 3 Drift (Note 2) 1 Dynamic Performance (Bipolar Mode) Peak Harmonic or Spurious Noise (Note 1) 96 100 1 kHz Input -J,A,S 98 102 -K,B,T 85 88 12 kHz Input -J,A,S 85 91 -K,B,T Total Harmonic Distortion -J,A,S 0.002 -K,B,T 0.001 Signal-to-Noise Ratio (Note 1) 0dB Input -J,A,S 87 90 -K,B,T 90 92 30 -60 dB Input -J,A,S 32 -K,B,T Noise (Note 5) Unipolar Mode 35 Bipolar Mode 70 - CS5101A-A,B Min Typ Max -40 to +85 16 - 0.002 0.003 0.001 0.002 1/4 1 4 1 3 1 2 5 2 4 1 2 5 2 3 2 CS5101A-S,T Min Typ Max -55 to +125 16 - Units C 0.002 0.004 %FS 0.001 0.003 %FS 1/2 LSB Bits LSB 2 5 LSB 2 4 LSB 2 LSB 2 5 LSB 2 4 LSB 2 LSB 2 5 LSB 2 3 LSB 2 - 1 1 1 4 3 - - 1 1 2 5 3 - LSB LSB LSB 96 98 85 85 - 100 102 88 91 0.002 0.001 - 94 98 83 85 - 100 102 88 91 0.002 0.001 - dB dB dB dB % % 87 90 - 90 92 30 32 - 87 90 - 90 92 30 32 - dB dB dB dB - 35 70 - - 35 70 - Vrms Vrms Notes: 1. Applies after calibration at any temperature within the specified temperature range. At temp 2. Total drift over specified temperature range after calibration at power-up at 25 C. 3. Minimum resolution for which no missing codes is guaranteed over the specified temperature range. 4. Clock speeds of less than 1.0 MHz, at temperatures >100C will degrade DNL performance. 5. Wideband noise aliased into the baseband. Referred to the input. *Refer to Parameter Definitions (immediately following the pin descriptions at the end of this data sheet). Specifications are subject to change without notice. 2 DS45F2 CS5101A ANALOG CHARACTERISTICS (continued) CS5101A -J,K CS5101A -A,B CS5101A -S,T Parameter* Symbol Min Typ Max Min Typ Max Min Typ Max Units Specified Temperature Range 0 to +70 40 to +85 55 to +125 C Analog Input Aperture Time 25 25 25 ns Aperture Jitter 100 100 100 ps Input Capacitance (Note 6) Unipolar Mode 320 425 320 425 320 425 pF Bipolar Mode 200 265 200 265 200 265 pF Conversion & Throughput Conversion Time (Note 7) - 8.12 - 8.12 - 8.12 -8 tc s 16.25 16.25 - 16.25 s -16 tc Acquisition Time (Note 8) -8 ta - 1.88 - 1.88 - 2.88 s -16 2.6 3.75 2.6 3.75 2.6 3.75 ta s Throughput (Note 9) 100 100 100 kHz -8 ftp ftp 50 50 50 kHz -16 Power Supplies Power Supply Current (Note 10) Positive Analog IA+ 21 28 21 28 21 28 mA IA-21 -28 -21 -28 -21 -28 mA Negative Analog ID+ 11 15 11 15 11 15 mA (SLEEP High) Positive Digital ID-11 -15 -11 -15 -11 -15 mA Negative Digital Power Consumption (Notes 10, 11) 320 430 320 430 320 430 mW (SLEEP High) Pdo Pds 1 1 1 mW (SLEEP Low) Power Supply Rejection: (Note 12) Positive Supplies PSR 84 84 84 dB Negative Supplies PSR 84 84 84 dB Notes: 6. Applies only in the track mode. When converting or calibrating, input capacitance will not exceed 30 pF. 7. Conversion time scales directly to the master clock speed. The times shown are for synchronous, internal loopback (FRN mode) with 8.0 MHz CLKIN. In PDT, RBT, and SSC modes, asynchronous delay between the falling edge of HOLD and the start of conversion may add to the apparent conversion time. This delay will not exceed 1.5 master clock cycles + 10 ns. In PDT, RBT, and SSC modes, CLKIN can be increased as long as the HOLD sample rate is 100 kHz max. 8. The CS5101A requires 6 clock cycles of coarse charge, followed by a minimum of 1.125 s of fine charge. FRN mode allows 9 clock cycles for fine charge which provides for the minimum 1.125 s with an 8 MHz clock, however; in PDT, RBT, or SSC modes, at clock frequencies of 8 MHz or less, fine charge may be less than 9 clock cycles. This reflects the typ. specification (6 clock cycles + 1.125 s). 9. Throughput is the sum of the acquisition and conversion times. It will vary in accordance with conditions affecting acquisition and conversion times, as described above. 10. All outputs unloaded. All inputs at VD+ or DGND. 11. Power consumption in the sleep mode applies with no master clock applied (CLKIN held high or low). 12. With 300 mV p-p, 1 kHz ripple applied to each supply separately in the bipolar mode. Rejection improves by 6 dB in the unipolar mode to 90 dB. Figure 23 shows a plot of typical power supply rejection versus frequency. DS45F2 3 CS5101A SWITCHING CHARACTERISTICS (TA = TMIN to TMAX; VA+, VD+ = 5V 10%; VA-, VD- = -5V 10%; Inputs: Logic 0 = 0V, Logic 1 = VD+; CL = 50 pF) Parameter Symbol Min Typ Max Units tclk tclk 108 250 - 10,000 10,000 ns ns CLKIN Low Time tclkl 37.5 - - ns CLKIN High Time tclkh 37.5 - - ns (Note 13) -8 -16 fxtal fxtal 2.0 2.0 - 9.216 4.0 MHz MHz (Note 14) - - 2 - ms RST Pulse Width trst 150 - - ns RST to STBY Falling tdrrs - 100 - ns RST Rising to STBY Rising tcal - 11,528,160 - tclk CLKIN Period Crystal Frequency SLEEP Rising to Oscillator Stable (Note 4) -8 -16 CH1/2 Edge to TRK1, TRK2 Rising (Note 15) tdrsh1 - 80 - ns CH1/2 Edge to TRK1, TRK2 Falling (Note 15) tdfsh4 - - 68tclk+260 ns HOLD to SSH Falling (Note 16) tdfsh2 - 60 HOLD to TRK1, TRK2, Falling (Note 16) tdfsh1 66tclk - 68tclk+260 ns HOLD to TRK1, TRK2, SSH Rising (Note 16) tdrsh - 120 - ns HOLD Pulse Width (Note 17) thold 1tclk+20 - 63tclk ns HOLD to CH1/2 Edge (Note 16) tdhlri 15 - 64tclk ns HOLD Falling to CLKIN Falling (Note 17) thcf 95 - 1tclk+10 ns ns Notes: 13. External loading capacitors are required to allow the crystal to oscillate. Maximum crystal frequency is 8.0 MHz in FRN mode (100 kHz sample rate). 14. With a 8 MHz crystal, two 10 pF loading capacitors and a 10 M parallel resistor (see Figure 8). 15. These times are for FRN mode. 16. SSH only works correctly if HOLD falling edge is within +15 to +30 ns of CH1/2 edge or if CH1/2 edge occurs after HOLD rises to 64 tclk after HOLD has fallen. These times are for PDT and RBT modes. 17. When HOLD goes low, the analog sample is captured immediately. To start conversion, HOLD must be latched by a falling edge of CLKIN. Conversion will begin on the next rising edge of CLKIN after HOLD is latched. If HOLD is operated synchronous to CLKIN, the HOLD pulse width may be as narrow as 150 ns for all CLKIN frequencies if CLKIN falls 95 ns after HOLD falls. This ensures that the HOLD pulse will meet the minimum specification for thcf. 4 DS45F2 CS5102A ANALOG CHARACTERISTICS (TA = TMIN to TMAX; VA+, VD+ = 5V; VA-, VD- = -5V; VREF = 4.5V; Full-Scale Input Sinewave, 200 Hz; CLKIN = 1.6 MHz; f s = 20 kHz; Bipolar Mode; FRN Mode; AIN1 and AIN2 tied together, each channel tested separately; Analog Source Impedance = 50 with 1000pF to AGND unless otherwise specified) CS5102A-J,K Parameter* Min Specified Temperature Range Typ Max CS5102A-A,B Min 0 to +70 Typ Max CS5102A-S,T Min -40 to +85 Typ Max Units C -55 to +125 Accuracy Linearity Error -J,A,S -K,B,T Drift Differential Linearity Full Scale Error Unipolar Offset Bipolar Offset Bipolar Negative Full-Scale Error (Note 2) (Notes 3, 18) -J,A,S -K,B,T Drift -J,A,S -K,B,T Drift (Note 1) (Note 2) (Note 1) (Note 2) -J,A,S -K,B,T Drift (Note 1) -J,A,S -K,B,T Drift (Note 1) Dynamic Performance Peak Harmonic or Spurious Noise (Note 1) (Note 2) (Note 2) 0.002 0.003 0.001 0.0015 1/4 - 0.002 0.003 0.001 0.0015 1/4 - 0.002 0.004 %FS 0.001 0.002 %FS 1/2 LSB 16 - - 16 - - 16 - - Bits - 2 2 1 4 3 - - 2 2 1 4 3 - - 2 2 2 5 3 - LSB LSB LSB - 1 1 1 4 3 - - 1 1 1 4 3 - - 1 1 2 5 3 - LSB LSB LSB - 1 1 1 4 3 - - 1 1 2 4 3 - - 1 1 2 5 3 - LSB LSB LSB - 2 2 1 4 3 - - 2 2 2 4 3 - - 2 2 2 5 3 - LSB LSB LSB 96 98 100 102 - 96 98 100 102 - 94 98 100 102 - dB dB - 0.002 0.001 - - 0.002 0.001 - - 0.002 0.001 - % % 87 90 - 90 92 30 32 - 87 90 - 90 92 30 32 - 87 90 - 90 92 30 32 - dB dB dB dB - 35 70 - - 35 70 - - 35 70 - Vrms Vrms (Bipolar Mode) -J,A,S -K,B,T (Note 1) Total Harmonic Distortion -J,A,S -K,B,T Signal-to-Noise Ratio 0dB Input -J,A,S -K,B,T -60 dB Input -J,A,S -K,B,T Noise - (Note 1) (Note 5) Unipolar Mode Bipolar Mode Note: 18. Clock speeds of less than 1.6 MHz, at temperatures >100C will degrade DNL performance. *Refer to Parameter Definitions (immediately following the pin descriptions at the end of this data sheet). Specifications are subject to change without notice. DS45F2 5 CS5102A ANALOG CHARACTERISTICS (continued) CS5102A -J,K Parameter* CS5102A -A,B CS5102A -S,T Symbol Min Typ Max Min Typ Max Min Typ Max Units Specified Temperature Range - 0 to +70 40 to +85 -55 to +125 C Analog Input Aperture Time - - 30 - - 30 - - 30 - ns Aperture Jitter - - 100 - - 100 - - 100 - ps - - 320 200 425 265 - 320 200 425 265 - 320 200 425 265 pF pF Input Capacitance (Note 6) Unipolar Mode Bipolar Mode Conversion & Throughput Conversion Time (Note 19) tc - - 40.625 - - 40.625 - - 40.625 s Acquisition Time (Note 20) ta - - 9.375 - - 9.375 - - 9.375 s Throughput (Note 21) ftp 20 - - 20 - - 20 - - kHz Power Supply Current (Note 22) Positive Analog Negative Analog (SLEEP High) Positive Digital Negative Digital IA+ IAID+ ID- - 2.4 -2.4 2.5 -1.5 3.5 -3.5 3.5 -2.5 - 2.4 -2.4 2.5 -1.5 3.5 -3.5 3.5 -2.5 - 2.4 -2.4 2.5 -1.5 3.5 -3.5 3.5 -2.5 mA mA mA mA (Notes 11, 22) (SLEEP High) (SLEEP Low) Pdo Pds - 44 1 65 - - 44 1 65 - - 44 1 65 - mW mW Power Supply Rejection: (Note 23) Positive Supplies Negative Supplies PSR PSR - 84 84 - - 84 84 - - 84 84 - dB dB Power Supplies Power Consumption Notes: 19. Conversion time scales directly to the master clock speed. The times shown are for synchronous, internal loopback (FRN mode). In PDT, RBT, and SSC modes, asynchronous delay between the falling edge of HOLD and the start of conversion may add to the apparent conversion time. This delay will not exceed 1 master clock cycle + 140 ns. 20. The CS5102A requires 6 clock cycles of coarse charge, followed by a minimum of 5.625 s of fine charge. FRN mode allows 9 clock cycles for fine charge which provides for the minimum 5.625 s with an 1.6 MHz clock, however; in PDT, RBT, or SSC modes, at clock frequencies less than 1.6 MHz, fine charge may be less than 9 clock cycles. 21. Throughput is the sum of the acquisition and conversion times. It will vary in accordance with conditions affecting acquisition and conversion times, as described above. 22. All outputs unloaded. All inputs at VD+ or DGND. See table below for power dissipation vs. clock frequency. 23. With 300 mV p-p, 1 kHz ripple applied to each supply separately in the bipolar mode. Rejection improves by 6 dB in the unipolar mode to 90 dB. Figure 23 shows a plot of typical power supply rejection versus frequency. Typ. Power (mW) CLKIN (MHz) 34 0.8 37 1.0 39 1.2 41 1.4 44 1.6 6 DS45F2 CS5102A SWITCHING CHARACTERISTICS (TA = TMIN to TMAX; VA+, VD+ = 5V 10%; VA-, VD- = -5V 10%; Inputs: Logic 0 = 0V, Logic 1 = VD+; CL = 50 pF) Parameter Symbol Min Typ Max Units tclk 0.5 - 10 s CLKIN Low Time tclkl 200 - - ns CLKIN High Time tclkh 200 - - ns fxtal 0.9 1.6 2.0 MHz - - 20 - ms RST Pulse Width trst 150 - - ns RST to STBY Falling tdrrs - 100 - ns RST Rising to STBY Rising tcal - 2,882,040 - tclk CLKIN Period Crystal Frequency SLEEP Rising to Oscillator Stable (Note 18,24) (Note 24, 25) (Note 26) CH1/2 Edge to TRK1, TRK2 Rising (Note 27) tdrsh1 - 80 - ns CH1/2 Edge to TRK1, TRK2 Falling (Note 27) tdfsh4 - - 68tclk+260 ns HOLD to SSH Falling (Note 28) tdfsh2 - 60 HOLD to TRK1, TRK2, Falling (Note 28) tdfsh1 66tclk - 68tclk+260 ns HOLD to TRK1, TRK2, SSH Rising (Note 28) tdrsh - 120 - ns HOLD Pulse Width (Note 29) thold 1tclk+20 - 63tclk ns HOLD to CH1/2 Edge (Note 28) tdhlri 15 - 64tclk ns HOLD Falling to CLKIN Falling (Note 29) thcf 55 - 1tclk+10 ns ns Note: 24. Minimum CLKIN period is 0.625 s in FRN mode (20 kHz sample rate). At temperatures >+85 C, and with clock frequencies <1.6 MHz, analog performance may be degraded. 25. External loading capacitors are required to allow the crystal to oscillate. Maximum crystal frequency is 1.6 MHz in FRN mode (20 kHz sample rate). 26. With a 2.0 MHz crystal, two 33 pF loading capacitors and a 10 M parallel resistor (see Figure 8). 27. These times are for FRN mode. 28. SSH only works correctly if HOLD falling edge is within +15 to +30 ns of CH1/2 edge or if CH1/2 edge occurs after HOLD rises to 64 tclk after HOLD has fallen. These times are for PDT and RBT modes. 29. When HOLD goes low, the analog sample is captured immediately. To start conversion, HOLD must be latched by a falling edge of CLKIN. Conversion will begin on the next rising edge of CLKIN after HOLD is latched. If HOLD is operated synchronous to CLKIN, the HOLD pulse width may be as narrow as 150 ns for all CLKIN frequencies if CLKIN falls 55 ns after HOLD falls. This ensures that the HOLD pulse will meet the minimum specification for thcf. DS45F2 7 CS5101A CS5102A trst RST tcal STBY tdrrs Reset and Calibration Timing HOLD CH1/2 SSH/SDL tdfsh2 tdrsh1 TRK1,TRK2 TRK1,TRK2 tdfsh4 SSH,TRK1,TRK2 TRK1,TRK2 a. FRN Mode tdrsh tdfsh1 b. PDT, RBT Mode Control Output Timing thcf CH1/2 tdhlri CLKIN HOLD HOLD thold Channel Selection Timing 8 Start Conversion Timing DS45F2 CS5101A CS5102A SWITCHING CHARACTERISTICS (Continued) Parameter Symbol Min Typ Max Units SCLK Input Pulse Period tsclk 200 - - ns SCLK Input Pulse Width Low tsclkl 50 - - ns SCLK Input Pulse Width High tsclkh 50 - - ns SCLK Input Falling to SDATA Valid tdss - 100 150 ns PDT Mode tdhs - 140 230 ns (Note 30) tdts - 65 125 ns SCLK Output Pulse Width Low tslkl - 2tclk - tclk SCLK Output Pulse Width High tslkh - 2tclk - tclk SDATA Valid Before Rising SCLK tss 2tclk-100 - - ns SDATA Valid After Rising SCLK tsh 2tclk-100 - - ns SDL Falling to 1st Rising SCLK trsclk - 2tclk - ns CS5101A CS5102A trsdl trsdl - 2tclk 2tclk 2tclk+165 2tclk+200 ns ns CS5101A CS5102A thfs thfs 6tclk 6tclk - 8tclk+165 8tclk+200 ns ns tchfs - 7tclk - tclk PDT and RBT Modes HOLD Falling to SDATA Valid TRK1, TRK2 Falling to SDATA Valid FRN and SSC Modes Last Rising SCLK to SDL Rising HOLD Falling to 1st Falling SCLK CH1/2 Edge to 1st Falling SCLK Note: 30. Only valid for TRK1, TRK2 falling when SCLK is low. If SCLK is high when TRK1, TRK2 falls, then SDATA is valid tdss time after the next falling SCLK. DIGITAL CHARACTERISTICS (TA = Tmin to Tmax; VD- = 5V 10%) Parameter VA+, VD+ = 5V 10%; VA-, Symbol Min Typ Max Units VMR 2.0 - - V High-Level Input Voltage VIH 2.0 - - V Low-Level Input Voltage VIL - - 0.8 V Calibration Memory Retention Power Supply Voltage VA+ and VD+ (Note 31) High-Level Output Voltage (Note 32) VOH (VD+)-1.0 - - V Low-Level Output Voltage IOUT = 1.6 mA VOL - - 0.4 V Iin - - 10 A Cout - 9 - pF Input Leakage Current Digital Output Pin Capacitance Notes: 31. VA- and VD- can be any value from zero to -5V for memory retention. Neither VA- or VD- should be allowed to go positive. AIN1, AIN2 or VREF must not be greater than VA+ or VD+. This parameter is guaranteed by characterization. 32. IOUT = -100 A. This specification guarantees TTL compatibility (VOH = 2.4V @ Iout = -40 A). DS45F2 9 CS5101A CS5102A HOLD t hfs t chfs CH1/2 SSH/SDL t rsclk t sclkl t sclkh t slkl t slkh t rsdl tdss SCLK SCLK t dss t sclk tss SDATA SDATA a. SCLK input (RBT and PDT mode) tsh MSB LSB b. SCLK output (SSC and FRN modes) Serial Data Timing HOLD TRK1, TRK2 tdhs SDATA MSB SDATA SCLK SCLK a. Pipelined Data Transmission (PDT) tdts MSB MSB-1 t dss b. Register Burst Transmission (RBT) Mode Data Transmission Timing 10 DS45F2 CS5101A CS5102A RECOMMENDED OPERATING CONDITIONS Parameter DC Power Supplies: Positive Digital Negative Digital Positive Analog Negative Analog Analog Reference Voltage Analog Input Voltage: (AGND, DGND = 0V, see Note 33) Symbol Min Typ Max Units VD+ VDVA+ VA- 4.5 -4.5 4.5 -4.5 5.0 -5.0 5.0 -5.0 VA+ -5.5 5.5 -5.5 V V V V VREF 2.5 4.5 (VA+)-0.5 V VAIN VAIN AGND -VREF - VREF VREF V V (Note 34) Unipolar Bipolar Notes: 33. All voltages with respect to ground. 34. The CS5101A and CS5102A can accept input voltages up to the analog supplies (VA+ and VA-). They will produce an output of all 1's for inputs above VREF and all 0's for inputs below AGND in unipolar mode and -VREF in bipolar mode, with binary coding (CODE = low). ABSOLUTE MAXIMUM RATINGS* (AGND, DGND = 0V, all voltages with respect to ground) Parameter Symbol Min Typ Max Units (Note 35) VD+ VDVA+ VA- -0.3 0.3 -0.3 0.3 - 6.0 -6.0 6.0 -6.0 V V V V (Note 36) Iin - - 10 mA VINA (VA-)-0.3 - (VA+)+0.3 V VIND -0.3 - (VA+)+0.3 V Ambient Operating Temperature TA -55 - 125 C Storage Temperature Tstg -65 - 150 C Ambient Operating Temperature TA -55 - 125 C Storage Temperature Tstg -65 - 150 C DC Power Supplies: Positive Digital Negative Digital Positive Analog Negative Analog Input Current, Any Pin Except Supplies Analog Input Voltage (AIN and VREF pins) Digital Input Voltage Notes: 35. In addition, VD+ must not be greater than (VA+) +0.3V 36. Transient currents of up to 100 mA will not cause SCR latch-up. *WARNING: Operation beyond these limits may result in permanent damage to the device. DS45F2 11 CS5101A CS5102A GENERAL DESCRIPTION array share a common node at the comparator's input. As shown in Figure 1, their other terminals are capable of being connected to AGND, VREF, or AIN (1 or 2). When the device is not calibrating or converting, all capacitors are tied to AIN. Switch S1 is closed and the charge on the array, tracks the input signal. The CS5101A and CS5102A are 2-channel, 16bit A/D converters. The devices include an inherent sample/hold and an on-chip analog switch for 2-channel operation. Both channels can thus be sampled and converted at rates up to 50 kHz each (CS5101A) or 10 kHz each (CS5102A). Alternatively, each of the devices can be operated as a single channel ADC operating at 100 kHz (CS5101A) or 20 kHz (CS5102A). When the conversion command is issued, switch S1 opens. This traps the charge on the comparator side of the capacitor array and creates a floating node at the comparator's input. The conversion algorithm operates on this fixed charge, and the signal at the analog input pin is ignored. In effect, the entire DAC capacitor array serves as analog memory during conversion much like a hold capacitor in a sample/hold amplifier. Both the CS5101A and CS5102A can be configured to accept either unipolar or bipolar input ranges, and data is output serially in either binary or 2's complement coding. The devices can be configured in 3 different output modes, as well as an internal, synchronous loopback mode. The CS5101A and CS5102A provide coarse charge/fine charge control, to allow accurate tracking of high-slew signals. The conversion consists of manipulating the free plates of the capacitor array to VREF and AGND to form a capacitive divider. Since the charge at the floating node remains fixed, the voltage at that point depends on the proportion of capacitance tied to VREF versus AGND. The successive-approximation algorithm is used to find the proportion of capacitance, which when connected to the reference will drive the voltage at the floating node to zero. That binary fraction of capacitance represents the converter's digital output. THEORY OF OPERATION The CS5101A and CS5102A implement the successive approximation algorithm using a charge redistribution architecture. Instead of the traditional resistor network, the DAC is an array of binary-weighted capacitors. All capacitors in the Fine AIN + - Coarse Fine VREF + - Coarse C Bit 15 MSB C/2 C/4 Bit 14 Bit 13 C/32,768 C/32,768 Bit 0 LSB Dummy S1 + Fine AGND + - Ctot = C + C/2 + C/4 + C/8 + ... C/32,768 Coarse Figure 1. Coarse Charge Input Buffers and Charge Redistribution DAC 12 DS45F2 CS5101A CS5102A Calibration The ability of the CS5101A or the CS5102A to convert accurately to 16-bits clearly depends on the accuracy of its comparator and DAC. Each device utilizes an "auto-zeroing" scheme to null errors introduced by the comparator. All offsets are stored on the capacitor array while in the track mode and are effectively subtracted from the input signal when a conversion is initiated. Auto-zeroing enhances power supply rejection at frequencies well below the conversion rate. To achieve 16-bit accuracy from the DAC, the CS5101A and CS5102A use a novel self-calibration scheme. Each bit capacitor shown in Figure 1 actually consists of several capacitors in parallel which can be manipulated to adjust the overall bit weight. An on-chip micro controller precisely adjusts each capacitor with a resolution of 18 bits. The CS5101A and CS5102A should be reset upon power-up, thus initiating a calibration cycle. The device then stores its calibration coefficients in on-chip SRAM. When the CS5101A and CS5102A are in power-down mode (SLEEP low), they retain the calibration coefficients in memory, and need not be recalibrated when normal operation is resumed. OPERATION OVERVIEW Monolithic design and inherent sampling architecture make the CS5101A and CS5102A extremely easy to use. the track mode. After allowing a short time for acquisition, the device will be ready for another conversion. In contrast to systems with separate track-andholds and A/D converters, a sampling clock can simply be connected to the HOLD input. The duty cycle of this clock is not critical. The HOLD input is latched internally by the master clock, so it need only remain low for 1/fclk + 20 ns, but no longer than the minimum conversion time minus two master clocks or an additional conversion cycle will be initiated with inadequate time for acquisition. In Free Run mode, SCKMOD = OUTMOD = 0, the device will convert at a rate of CLKIN/80, and the HOLD input is ignored. As with any high-resolution A-to-D system, it is recommended that sampling is synchronized to the master system clock in order to minimize the effects of clock feedthrough. However, the CS5101A and CS5102A may be operated entirely asynchronous to the master clock if necessary. Tracking the Input Upon completing a conversion cycle the CS5101A and CS5102A immediately return to the track mode. The CH1/2 pin directly controls the input switch, and therefore directly determines which channel will be tracked. Ideally, the CH1/2 pin should be switched during the conversion cycle, thereby nullifying the input mux switching time, and guaranteeing a stable input at the start of acquisition. If, however, the CH1/2 control is changed during the acquisition phase, adequate coarse charge and fine charge time must be allowed before initiating conversion. Initiating Conversions A falling transition on the HOLD pin places the input in the hold mode and initiates a conversion cycle. The charge is trapped on the capacitor array the instant HOLD goes low. The device will complete conversion of the sample within 66 master clock cycles, then automatically return to DS45F2 When the CS5101A or the CS5102A enters tracking mode, it uses an internal input buffer amplifier to provide the bulk of the charge on the capacitor array (coarse-charge), thereby reducing the current load on the external analog circuitry. Coarse-charge is internally initiated for 6 clock cycles at the end of every conversion. The buffer 13 CS5101A CS5102A amplifier is then bypassed, and the capacitor array is directly connected to the input. This is referred to as fine-charge, during which the charge on the array is allowed to accurately settle to the input voltage (see Figure 10). With a full scale input step, the coarse-charge input buffer of the CS5101A will charge the capacitor array within 1% in 650 ns. The converter timing allows 6 clock cycles for coarse charge settling time. When the CS5101A switches to fine-charge mode, its slew rate is somewhat reduced. In fine-charge, the CS5101A can slew at 2 V/s in unipolar mode. In bipolar mode, only half the capacitor array is connected to the analog input, so the CS5101A can slew at 4V/s. With a full scale input step, the coarse-charge input buffer of the CS5102A will charge the capacitor array within 1% in 3.75 s. The converter timing allows 6 clock cycles for coarse charge settling time. When in fine-charge mode, the CS5102A can slew at 0.4 V/s in unipolar mode; and at 0.8 V/s in bipolar mode. Acquisition of fast slewing signals can be hastened if the voltage change occurs during or immediately following the conversion cycle. For instance, in multiple channel applications (using either the device's internal channel selector or an external MUX), channel selection should occur while the CS5101A or the CS5102A is converting. Multiplexer switching and settling time is thereby removed from the overall throughput equation. If the input signal changes drastically during the acquisition period (such as changing the signal source), the device should be in coarse-charge for an adequate period following the change. The CS5101A and CS5102A can be forced into coarse-charge by bringing CRS/FIN high. The buffer amplifier is engaged when CRS/FIN is high, and may be switched in any number of 14 times during tracking. If CRS/FIN is held low, the CS5101A and CS5102A will only coarsecharge for the first 6 clock cycles following a conversion, and will stay in fine-charge until HOLD goes low. To get an accurate sample using the CS5101A, at least 750 ns of coarse-charge, followed by 1.125 s of fine-charge is required before initiating a conversion. If coarse charge is not invoked, then up to 25 s should be allowed after a step change input for proper acquisition. To get an accurate sample using the CS5102A, at least 3.75 s of coarse-charge, followed by 5.625 s of fine-charge is required before initiating a conversion (see Figure 2). If coarse charge is not invoked, then up to 125 s should be allowed after a step change input for proper acquisition. The CRS/FIN pin must be low prior to HOLD becoming active and be held low during conversion. Master Clock The CS5101A and CS5102A can operate either from an externally-supplied master clock, or from their own crystal oscillator (with a crystal). To enable the internal crystal oscillator, simply tie a crystal across the XOUT and CLKIN pins and add 2 capacitors and a resistor, as shown on the system connection diagram in Figure 8. Calibration and conversion times directly scale to the master clock frequency. The CS5101A-8 can operate with clock or crystal frequencies up to 9.216 MHz (8.0 MHz in FRN mode). This allows maximum throughput of up to 50 kHz per channel in dual-channel operation, or 100 kHz in a single channel configuration. The CS5101A-16 can accept a maximum clock speed of 4 MHz, with corresponding throughput of 50 kHz. The CS5102A can operate with clock or crystal frequencies up to 2.0 MHz (1.6 MHz in FRN mode). This allows maximum throughput of up to 10 kHz per channel in dual-channel operation, or 20 kHz in a single channel configuration. For 16 bit performance a 1.6 MHz clock is recommended. This 1.6 MHz DS45F2 CS5101A CS5102A CLKIN Min: 750 ns* 3.75 s** CRS/FIN 6 clk Internal Status Conv. Coarse Min: 1.125 s* 5.625 s** Fine Chg. Coarse Fine Chg. Conv. 2 clk TRK1 or TRK2 HOLD * Applies to 5101A ** Applies to 5102A Figure 2. Coarse-Charge/Fine-Charge Control clock yields a maximum throughput of 20 kHz in a single channel configuration. Asynchronous Sampling Considerations When HOLD goes low, the analog sample is captured immediately. The HOLD signal is latched by the next falling edge of CLKIN, and conversion then starts on the subsequent rising edge. If HOLD is asynchronous to CLKIN, then there will be a 1.5 CLKIN cycle uncertainty as to when conversion starts. Considering the CS5101A with an 8 MHz CLKIN, with a 100 kHz HOLD signal, then this 1.5 CLKIN uncertainty will result in a 1.5 CLKIN period possible reduction in fine charge time for the next conversion. Unipolar Input Offset Two's Voltage Binary Complement >(VREF-1.5 LSB) FFFF Bipolar Input Voltage 7FFF >(VREF-1.5 LSB) VREF-1.5 LSB FFFF FFFE 7FFF 7FFE VREF-1.5 LSB VREF/2-0.5 LSB 8000 7FFF 0000 FFFF -0.5 LSB +0.5 LSB 0001 0000 8001 8000 -VREF+0.5 LSB <(+0.5 LSB) 0000 8000 <(-VREF+0.5 LSB) Table 1. Output Coding DS45F2 This reduced fine charge time will be less than the minimum specification. If the CLKIN frequency is increased slightly (for example, to 8.192 MHz) then sufficient fine charge time will always occur. The maximum frequency for CLKIN is specified at 9.216 MHz; it is recommended that for asynchronous operation at 100 kHz, CLKIN should be between 8.192 MHz and 9.216 MHz. Analog Input Range/Coding Format The reference voltage directly defines the input voltage range in both the unipolar and bipolar configurations. In the unipolar configuration (BP/UP low), the first code transition occurs 0.5 LSB above AGND, and the final code transition occurs 1.5 LSB's below VREF. In the bipolar configuration (BP/UP high), the first code transition occurs 0.5 LSB above -VREF and the last transition occurs 1.5 LSB's below +VREF. The CS5101A and CS5102A can output data in either 2's complement, or binary format. If the CODE pin is high, the output is in 2's complement format with a range of -32,768 to +32,767. If the CODE pin is low, the output is in binary format with a range of 0 to +65,535. See Table 1 for output coding. 15 CS5101A CS5102A MODE SCKMOD OUTMOD SCLK CH1/2 HOLD PDT 1 1 Input Input Input RBT 1 0 Input Input Input SSC 0 1 Output Input Input FRN 0 0 Output Output X Table 2. Serial Output Modes Output Mode Control The CS5101A and CS5102A can be configured in three different output modes, as well as an internal, synchronous loop-back mode. This allows great flexibility for design into a wide variety of systems. The operating mode is selected by setting the states of the SCKMOD and OUTMOD pins. In all modes, data is output on SDATA, starting with the MSB. Each subsequent data bit is updated on the falling edge of SCLK. When SCKMOD is high, SCLK is an input, allowing the data to be clocked out with an external serial clock at rates up to 5 MHz. Additional clock edges after #16 will clock out logic '1's on SDATA. Tying SCKMOD low reconfigures SCLK as an output, and the converter clocks 0 4 8 60 64 68 72 76 out each bit as it's determined during the conversion process, at a rate of 1/4 the master clock speed. Table 2 shows an overview of the different states of SCKMOD and OUTMOD, and the corresponding output modes. Pipelined Data Transmission (PDT) PDT mode is selected by tying both SCKMOD and OUTMOD high. In PDT mode, the SCLK pin is an input. Data is registered during conversion, and output during the following conversion cycle. HOLD must be brought low, initiating another conversion, before data from the previous conversion is available on SDATA. If all the data has not been clocked out before the next falling edge of HOLD, the old data will be lost (Figure 3). 0 4 8 60 64 68 72 76 0 CLKIN (i) HOLD (i) CH1/2 (i) Internal Status Converting Ch. 2 Tracking Ch. 1 Converting Ch. 1 Tracking Ch. 2 SCLK (i) SDATA (o) D15 D14 D1 D0 (Ch. 1) D15 D14 D1 D0 (Ch. 2) D15 SSH/SDL (o) TRK1 (o) TRK2 (o) Figure 3. Pipelined Data Transmission Mode (PDT) 16 DS45F2 CS5101A CS5102A 0 4 64 68 72 0 4 64 68 72 0 CLKIN (i) HOLD (i) CH1/2 (i) Internal Status Converting Ch. 2 Tracking Ch. 1 Converting Ch. 1 Tracking Ch. 2 SCLK (i) Channel 2 Data SDATA (o) Channel 1 Data D0 D0 SSH/SDL (o) TRK1 (o) TRK2 (o) Figure 4. Registered Burst Transmission Mode (RBT) 0 4 6 8 64 68 72 76 0 4 6 8 64 68 72 76 0 CLKIN (i) HOLD (i) CH1/2 (i) Internal Status Converting Ch. 2 Tracking Ch. 1 Converting Ch. 1 Tracking Ch. 2 SCLK (o) D15 SDATA (o) D14 D1 D0 (Ch. 2) D15 D14 D1 D0 (Ch. 1) SSH/SDL (o) TRK1 (o) TRK2 (o) Figure 5. Synchronous Self-Clocking Mode (SSC) 0 4 78 64 68 69 72 76 0 4 78 64 68 69 72 76 0 CLKIN (i) CH1/2 (o) Internal Status Converting Ch. 2 Tracking Ch. 1 Converting Ch. 1 Tracking Ch. 2 SCLK (o) SDATA (o) D15 D1 D0 (Ch. 2) D15 D1 D0 (Ch. 1) SSH/SDL (o) TRK1 (o) TRK2 (o) Figure 6. Free Run Mode (FRN) DS45F2 17 CS5101A CS5102A Registered Burst Transmission (RBT) RBT mode is selected by tying SCKMOD high, and OUTMOD low. As in PDT mode, SCLK is an input, however data is available immediately following conversion, and may be clocked out the moment TRK1 or TRK2 falls. The falling edge of HOLD clears the output buffer, so any unread data will be lost. A new conversion may be initiated before all the data has been clocked out if the unread data bits are not important (Figure 4). The SSH/SDL goes low coincident with the first falling edge of SCLK, and returns high 2 CLKIN cycles after the last rising edge of SCLK. This signal frames the 16 data bits and is useful for interfacing to shift registers (e.g. 74HC595) or to DSP serial ports. SYSTEM DESIGN WITH THE CS5101A AND CS5102A Figure 7 shows a general system connection diagram for the CS5101A and CS5102A. Synchronous Self-Clocking (SSC) Digital Circuit Connections SSC mode is selected by tying SCKMOD low, and OUTMOD high. In SSC mode, SCLK is an output, and will clock out each bit of the data as it's being converted. SCLK will remain high between conversions, and run at a rate of 1/4 the master clock speed for 16 low pulses during conversion (Figure 5). The SSH/SDL goes low coincident with the first falling edge of SCLK, and returns high 2 CLKIN cycles after the last rising edge of SCLK. This signal frames the 16 data bits and is useful for interfacing to shift registers (e.g. 74HC595) or to DSP serial ports. Free Run (FRN) Free Run is the internal, synchronous loopback mode. FRN mode is selected by tying SCKMOD and OUTMOD low. SCLK is an output, and operates exactly the same as in the SSC mode. In Free Run mode, the converter initiates a new conversion every 80 master clock cycles, and alternates between channel 1 and channel 2. HOLD is disabled, and should be tied to either VD+ or DGND. CH1/2 is an output, and will change at the start of each new conversion cycle, indicating which channel will be tracked after the current conversion is finished (Figure 6). 18 When TTL loads are utilized the potential for crosstalk between digital and analog sections of the system is increased. This crosstalk is due to high digital supply and signal currents arising from the TTL drive current required of each digital output. Connecting CMOS logic to the digital outputs is recommended. Suitable logic families include 4000B, 74HC, 74AC, 74ACT, and 74HCT. System Initialization Upon power up, the CS5101A and CS5102A must be reset to guarantee a consistent starting condition and initially calibrate the device. Due to each device's low power dissipation and low temperature drift, no warm-up time is required before reset to accommodate any self-heating effects. However, the voltage reference input should have stabilized to within 0.25% of its final value before RST rises to guarantee an accurate calibration. Later, the CS5101A and CS5102A may be reset at any time to initiate a single full calibration. When RST is brought low all internal logic clears. When RST returns high on the CS5101A, a calibration cycle begins which takes 11,528,160 master clock cycles to complete (approximately 1.4 seconds with an 8 MHz master clock). The DS45F2 CS5101A CS5102A 10 +5VA + + 4.7 F 0.1 F 0.1 F 25 26 VA+ 1 F 7 TST VD+ XOUT 4 C1 XTAL VD+ CLKIN 10 M 3 C2 = C1 18 OUTMOD 27 SCKMOD Mode Control 17 16 2 BP/UP RST CODE SLEEP CS5101A STBY 5 OR 20 Voltage Reference 22 VREF CH1/2 CS5102A CRS/FIN AGND HOLD TRK1 50 Analog Sources * 1 nF TRK2 AIN1 NPO 1 nF 50 19 * 24 SSH/SDL AIN2 SCLK NPO SDATA * For best dynamic S/(N+D) performance. 21 DGND REFBUF VA- 0.1 F 13 XTAL & C1 Table CS5101A 12 FRN CS5102A 9 FRN 11 15 C1, C2 8.0 MHz 10 pF PDT, RBT, 8.192 MHz SSC 8 14 XTAL PDT, RBT, SSC 10 pF 1.6 MHz 30 pF 1.6 MHz or 2.0 MHz 30 pF Data Interface 6 VD- 23 -5VA Control Logic 10 Unused Logic inputs should be tied to VD+ or DGND. 1 10 + 4.7 F EXT CLOCK 28 0.1 F 0.1 F + 1 F Figure 7. CS5101A/CS5102A System Connection Diagram calibration cycle on the CS5102A takes 2,882,040 master clock cycles to complete (approximately 1.8 seconds with a 1.6 MHz master clock). The CS5101A's and CS5102A's STBY output remains low throughout the calibration sequence, and a rising transition indicates the device is ready for normal operation. While calibrating, the CS5101A and CS5102A will ignore changes on the HOLD input. To perform the reset function, a simple power-on reset circuit can be built using a resistor and capacitor as shown in Figure 8. The resistor should DS45F2 be less than or equal to 10 k. The system power supplies, voltage reference, and clock should all be established prior RST rising. Single-Channel Operation The CS5101A and CS5102A can alternatively be used to sample one channel by tying the CH1/2 input high or low. The unused AIN pin should be tied to the analog input signal or to AGND. (If operating in free run mode, AIN1 and AIN2 must 19 CS5101A CS5102A CS5101A +5V VD+ OR CS5102A R ____ RST 1N4148 C Figure 8. Power-up Reset Circuit be tied to the same source, as CH1/2 is reconfigured as an output.) ANALOG CIRCUIT CONNECTIONS Most popular successive approximation A/D converters generate dynamic loads at their analog connections. The CS5101A and CS5102A internally buffer all analog inputs (AIN1, AIN2, VREF, and AGND) to ease the demands placed on external circuitry. However, accurate system operation still requires careful attention to details at the design stage regarding source impedances as well as grounding and decoupling schemes. Reference Considerations An application note titled "Voltage References for the CS501X Series of A/D Converters" is available for the CS5101A and CS5102A. In addition to working through a reference circuit design example, it offers several built-and-tested reference circuits. During conversion, each capacitor of the calibrated capacitor array is switched between VREF and AGND in a manner determined by the successive-approximation algorithm. The charging and discharging of the array results in a current load at the reference. The CS5101A and CS5102A each include an internal buffer amplifier to minimize the external reference circuit's drive requirement and preserve the reference's in20 tegrity. Whenever the array is switched during conversion, the buffer is used to coarse-charge the array thereby providing the bulk of the necessary charge. The appropriate array capacitors are then switched to the unbuffered VREF pin to avoid any errors due to offsets and/or noise in the buffer. The external reference circuitry need only provide the residual charge required to fully charge the array after coarse-charging from the buffer. This creates an ac current load as the CS5101A and CS5102A sequence through conversions. The reference circuitry must have a low enough output impedance to drive the requisite current without changing its output voltage significantly. As the analog input signal varies, the switching sequence of the internal capacitor array changes. The current load on the external reference circuitry thus varies in response with the analog input. Therefore, the external reference must not exhibit significant peaking in its output impedance characteristic at signal frequencies or their harmonics. A large capacitor connected between VREF and AGND can provide sufficiently low output impedance at the high end of the frequency spectrum, while almost all precision references exhibit extremely low output impedance at dc. The presence of large capacitors on the output of some voltage references, however, may cause peaking in the output impedance at intermediate frequencies. Care should be exercised to ensure that significant peaking does not exist or that some form of compensation is provided to eliminate the effect. The magnitude of the current load on the external reference circuitry will scale to the master clock frequency. At the full-rated 9.216 MHz clock (CS5101A), the reference must supply a maximum load current of 20 A peak-to-peak (2 A typical). An output impedance of 2 will therefore yield a maximum error of 40 V. At the full-rated 2.0 MHz clock (CS5102A), the referDS45F2 CS5101A CS5102A 20 VREF Vref 10 F 0.01 F 21 REFBUF 0.1F 23 VA- CS5101A OR R* Internal Charge Error (LSB's) +200 +V ee +100 0 -100 Coarse-Charge Fine-Charge -200 -300 CS5102A -5V 1 R = 2 (C1 + C2) fpeak -400 8 MHz Clock 0.25 2.0 MHz Clock 1.0 0.5 2.0 0.75 3.0 1.0 4.0 Acquisition Time (us) Figure 9. Reference Connections Figure 10. Charge Settling Time (8 and 2.0 MHz Clocks) ence must supply a maximum load current of 5 A peak-to-peak (0.5 A typical). An output impedance of 2 will therefore yield a maximum error of 10.0 V. With a 4.5 V reference and LSB size of 138 V this would insure approximately 1/14 LSB accuracy. A 10 F capacitor exhibits an impedance of less than 2 at frequencies greater than 16 kHz. A high-quality tantalum capacitor in parallel with a smaller ceramic capacitor is recommended. reference voltage approaches VA+ thereby increasing external drive requirements at VREF. A 4.5V reference is the maximum reference voltage recommended. This allows 0.5V headroom for the internal reference buffer. Also, the buffer enlists the aid of an external 0.1 F ceramic capacitor which must be tied between its output, REFBUF, and the negative analog supply, VA-. For more information on references, consult "Application Note: Voltage References for the CS501X Series of A/D Converters". Peaking in the reference's output impedance can occur because of capacitive loading at its output. Any peaking that might occur can be reduced by placing a small resistor in series with the capacitors. The equation in Figure 9 can be used to help calculate the optimum value of R for a particular reference. The term "fpeak" is the frequency of the peak in the output impedance of the reference before the resistor is added. The CS5101A and CS5102A can operate with a wide range of reference voltages, but signal-tonoise performance is maximized by using as wide a signal range as possible. The recommended reference voltage is 4.5 volts. The CS5101A and CS5102A can actually accept reference voltages up to the positive analog supply. However, the buffer's offset may increase as the DS45F2 Analog Input Connection The analog input terminal functions similarly to the VREF input after each conversion when switching into the track mode. During the first six master clock cycles in the track mode, the buffered version of the analog input is used for coarse-charging the capacitor array. An additional period is required for fine-charging directly from AIN to obtain the specified accuracy. Figure 10 shows this operation. During coarse-charge the charge on the capacitor array first settles to the buffered version of the analog input. This voltage may be offset from the actual input voltage. During fine-charge, the charge then settles to the accurate unbuffered version. 21 CS5101A CS5102A Fine-charge settling is specified as a maximum of 1.125 s (CS5101A) or 5.625 s (CS5102A) for an analog source impedance of less than 50 . In addition, the comparator requires a source impedance of less than 400 around 2 MHz for stability. The source impedance can be effectively reduced at high frequencies by adding capacitance from AIN to ground (typically 200 pF). However, high dc source resistances will increase the input's RC time constant and extend the necessary acquisition time. For more information on input amplifiers, consult the application note: Buffer Amplifiers for the CS501X Series of A/D Converters. SLEEP Mode Operation The CS5101A and CS5102A include a SLEEP pin. When SLEEP is active (low) each device will dissipate very low power to retain its calibration memory when the device is not sampling. It does not require calibration after SLEEP is made inactive (high). When coming out of SLEEP, sampling can begin as soon as the oscillator starts (time will depend on the particular oscillator components) and the REFBUF capacitor is charged (which takes about 3 ms for the CS5101A, 50 ms for the CS5102A). To achieve minimum start-up time, use an external clock and leave the voltage reference powered-up. Connect a resistor (2 k) between pins 20 and 21 to keep the REFBUF capacitor charged. Conversion can then begin as soon as the A/D circuitry has stabilized and performed a track cycle. To retain calibration memory while SLEEP is active (low) VA+ and VD+ must be maintained at greater than 2.0V. VA- and VD- can be allowed to go to 0 volts. The voltages into VA- and VDcannot just be "shut-off" as these pins cannot be allowed to float to potentials greater than AGND/DGND. If the supply voltages to VA- and VD- are removed, use a transistor switch to short these to the power supply ground while in SLEEP mode. 22 Grounding and Power Supply Decoupling The CS5101A and CS5102A use the analog ground connection, AGND, only as a reference voltage. No dc power currents flow through the AGND connection, and it is completely independent of DGND. However, any noise riding on the AGND input relative to the system's analog ground will induce conversion errors. Therefore, both the analog input and reference voltage should be referred to the AGND pin, which should be used as the entire system's analog ground reference. The digital and analog supplies are isolated within the CS5101A and CS5102A and are pinned out separately to minimize coupling between the analog and digital sections of the chip. All four supplies should be decoupled to their respective grounds using 0.1 F ceramic capacitors. If significant low-frequency noise is present on the supplies, tantalum capacitors are recommended in parallel with the 0.1 F capacitors. The positive digital power supply of the CS5101A and CS5102A must never exceed the positive analog supply by more than a diode drop or the CS5101A and CS5102A could experience permanent damage. If the two supplies are derived from separate sources, care must be taken that the analog supply comes up first at powerup. The system connection diagram (Figure 7) shows a decoupling scheme which allows the CS5101A and CS5102A to be powered from a single set of 5V rails. The positive digital supply is derived from the analog supply through a 10 resistor to avoid the analog supply dropping below the digital supply. If this scheme is utilized, care must be taken to insure that any digital load currents (which flow through the 10 resistors) do not cause the magnitude of digital supplies to drop below the analog supplies by more than 0.5 volts. Digital supplies must always remain above the minimum specification. DS45F2 CS5101A CS5102A As with any high-precision A/D converter, the CS5101A and CS5102A require careful attention to grounding and layout arrangements. However, no unique layout issues must be addressed to properly apply the devices. The CDB5101A evaluation board is available for the CS5101A, and the CDB5102A evaluation board is available for the CS5102A. The availability of these boards avoids the need to design, build, and debug a high-precision PC board to initially characterize the part. Each board comes with a socketed CS5101A or CS5102A, and can be reconfigured to simulate any combination of sampling, calibration, master clock, and analog input range conditions. CS5101A AND CS5102A PERFORMANCE Differential Nonlinearity The self-calibration scheme utilized in the CS5101A and CS5102A features a calibration resolution of 1/4 LSB, or 18-bits. This ideally yields DNL of 1/4 LSB, with code widths ranging from 3/4 to 5/4 LSB's. Traditional laser trimmed ADC's have significant differential nonlinearities. Appearing as wide and narrow codes, DNL often causes entire sections of the transfer function to be missing. Although their affect is minor on S/(N+D) with high amplitude signals, DNL errors dominate performance with low-level signals. For instance, a signal 80 dB below full-scale will slew past only 6 or 7 codes. Half of those codes could be missing with a conventional 16-bit ADC which achieves only 14-bit DNL. The most common source of DNL errors in conventional ADC's is bit weight errors. These can arise due to accuracy limitations in factory trim stations, thermal or physical stresses after calibration, and/or drifts due to aging or temperature variations in the field. Bit-weight errors have a drastic effect on a converter's ac performance. DS45F2 They can be analyzed as step functions superimposed on the input signal. Since bits (and their errors) switch in and out throughout the transfer curve, their effect is signal dependent. That is, harmonic and intermodulation distortion, as well as noise, can vary with different input conditions. Differential nonlinearities in successive-approximation ADC's also arise due to dynamic errors in the comparator. Such errors can dominate if the converter's throughput/sampling rate is too high. The comparator will not be allowed sufficient time to settle during each bit decision in the successive-approximation algorithm. The worst-case codes for dynamic errors are the major transitions (1/2 FS; 1/4, 3/4 FS; etc.). Since DNL effects are most critical with low-level signals, the codes around mid-scale (1/2 FS) are most important. Yet those codes are worst-case for dynamic DNL errors! With all linearity calibration performed on-chip to 18-bits, the CS5101A and CS5102A maintain accurate bit weights. DNL errors are dominated by residual calibration errors of 1/4 LSB rather than dynamic errors in the comparator. Furthermore, all DNL effects on S/(N+D) are buried by white broadband noise. (See Figures 17 and 19). Figure 11 illustrates the DNL histogram plot of a typical CS5101A at 25C. Figure 12 illustrates the DNL of the CS5101A at 138C ambient after calibration at 25C ambient. Figures 13 and 14 illustrate the DNL of the CS5102A at 25C and 138C ambient, respectively. A histogram test is a statistical method of deriving an A/D converter's differential nonlinearity. A ramp is input to the A/D and a large number of samples are taken to insure a high confidence level in the test's result. The number of occurrences for each code is monitored and stored. A perfect A/D converter would have all codes of equal size and therefore equal numbers of occurrences. In the histogram test a code with the average number of occurrences will be considered ideal (DNL = 0). A 23 CS5101A CS5102A +1 TA = 25C DNL (LSB) +1/2 0 -1/2 -1 0 32,768 65,535 Codes Figure 11. CS5101A DNL Plot; Ambient Temperature at 25C +1 TA = 138 C, CAL @ 25 C DNL (LSB) +1/2 0 -1/2 -1 0 32,768 65,535 Codes Figure 12. CS5101A DNL Plot; Ambient Temperature at 138C +1 TA = 25C DNL (LSB) +1/2 0 -1/2 -1 0 32,768 65,535 C d Figure 13. CS5102A DNL Plot; Ambient Temperature at 25C +1 TA = 138 C, CAL @ 25 C DNL (LSB) +1/2 0 -1/2 -1 0 32,768 65,535 Codes Figure 14. CS5102A DNL Plot; Ambient Temperature at 138C 24 DS45F2 CS5101A CS5102A 30 # of Missing Codes: 0 Number of Codes with Each DNL (Thousands) 28 25248 26 Total # of Codes Analyzed: 65534 24 22 20 18 15570 15499 16 14 12 10 8 6 3959 3708 4 2 0 1 16 115 481 714 175 41 5 2 0 -0.65 -0.55 -0.45 -0.35 -0.25 -0.15 -0.05 0 0.05 0.15 0.25 0.35 0.45 0.55 0.65 DNL Error in LSB Figure 15. CS5101A DNL Error Distribution 35 Number of Codes with Each DNL (Thousands) 31047 # of Missing Codes: 0 30 Total # of Codes Analyzed: 65534 25 20 16047 15 14592 10 5 1775 0 0 3 -0.45 1892 86 -0.35 88 -0.25 -0.15 -0.05 0 0.05 0.15 0.25 4 0.35 0 0.45 DNL Error in LSB Figure 16. CS5102A DNL Error Distribution code with more or less occurrences than average will appear as a DNL of greater or less than zero LSB. A missing code has zero occurrences, and will appear as a DNL of -1 LSB. tolerance than the DNL plots in Figures 11 and 13 appear to indicate. Figures 15 and 16 illustrate the code width distribution of the DNL plots shown in Figures 11 and 13 respectively. The DNL error distribution plots indicate that the CS5101A and CS5102A calibrate the majority of their codes to tighter In the factory, the CS5101A and CS5102A are tested using Fast Fourier Transform (FFT) techniques to analyze the converters' dynamic performance. A pure sinewave is applied to the device, and a "time record" of 1024 samples is DS45F2 FFT Tests and Windowing 25 CS5101A CS5102A captured and processed. The FFT algorithm analyzes the spectral content of the digital waveform and distributes its energy among 512 "frequency bins." Assuming an ideal sinewave, distribution of energy in bins outside of the fundamental and dc can only be due to quantization effects and errors in the CS5101A and CS5102A. If sampling is not synchronized to the input sinewave, it is highly unlikely that the time record will contain an integer number of periods of the input signal. However, the FFT assumes that the signal is periodic, and will calculate the spectrum of a signal that appears to have large discontinuities, thereby yielding a severely distorted spectrum. To avoid this problem, the time record is multiplied by a window function prior to performing the FFT. The window function smoothly forces the endpoints of the time record to zero, thereby removing the discontinuities. The effect of the window in the frequency-domain is to convolute the spectrum of the window with that of the actual input. The quality of the window used for harmonic analysis is typically judged by its highest sidelobe level. A five term window is used in FFT testing of the CS5101A and CS5102A. This windowing algorithm attenuates the side-lobes to below the noise floor. Artifacts of windowing are discarded from the signal-to-noise calculation using the assumption that quantization noise is white. Averaging the FFT results from ten time records filters the spectral variability that can arise from capturing finite time records without disturbing the total energy outside the fundamental. All harmonics are visible in the plots. For more information on FFT's and windowing refer to: F.J. HARRIS, "On the use of windows for harmonic analysis with the Discrete Fourier Transform", Proc. IEEE, Vol. 66, No. 1, Jan 1978, pp.51-83. This is available on request from Crystal Semiconductor. As illustrated in Figure 17, the CS5101A typically provides about 92 dB S/(N+D) and 26 0.001% THD at 25C. Figure 18 illustrates only minor degradation in performance when the ambient temperature is raised to 138C. Figure 19 and 20 illustrate that the CS5102A typically yields >92 dB S/(N+D) and 0.001% THD even with a large change in ambient temperature. Unlike conventional successive-approximation ADC's, the signal-to-noise and dynamic range of the CS5101A and CS5102A are not limited by differential nonlinearities (DNL) caused by calibration errors. Rather, the dominant noise source is broadband thermal noise which aliases into the baseband. This white broadband noise also appears as an idle channel noise of 1/2 LSB (rms). Sampling Distortion Like most discrete sample/hold amplifier designs, the inherent sample/hold of the CS5101A and CS5102A exhibits a frequency-dependent distortion due to nonideal sampling of the analog input voltage. The calibrated capacitor array used during conversions is also used to track and hold the analog input signal. The conversion is not performed on the analog input voltage per se, but is actually performed on the charge trapped on the capacitor array at the moment the HOLD command is given. The charge on the array ideally assumes a linear relationship to the analog input voltage. Any deviation from this linear relationship will result in conversion errors even if the conversion process proceeds flawlessly. At dc, the DAC capacitor array's voltage coefficient dictates the converter's linearity. This variation in capacitance with respect to applied signal voltage yields a nonlinear relationship between the charge on the array and the analog input voltage and places a bow or wave in the transfer function. This is the dominant source of distortion at low input frequencies (Figures 17,18,19, and 20). The ideal relationship between the charge on the array and the input voltage can also be distorted DS45F2 CS5101A CS5102A 0 -10 -20 -30 Signal Level -40 Reletive To -50 Full Scale -60 (dB) -70 -80 -90 -100 -110 -120 -130 S/(N+D): 91.71 dB S/D: 101.6 dB dc 50 0 -10 -20 -30 -40 Signal Level -50 Relative to -60 Full Scale -70 (dB) -80 -90 -100 -110 -120 -130 S/(N+D): 91.06 dB S/D: 100.5 dB TA = 138 C dc Input Frequency (kHz) Figure 17. CS5101A FFT (SSC Mode, 1-Channel) 0 -10 -20 -30 Signal Level -40 Reletive To -50 Full Scale -60 (dB) -70 -80 -90 -100 -110 -120 -130 Figure 18. CS5101A FFT (SSC Mode, 1-Channel) S/N+D: 92.01dB dB S/(N+D): 92.01 S/D: 101.8 dB S/D: 101.8 dB dc 50 Input Frequency (kHz) 10 Input Frequency (kHz) 0 -10 -20 -30 -40 Signal Level -50 Relative to -60 Full Scale -70 (dB) -80 -90 -100 -110 -120 -130 S/(N+D): 92.00dB S/D: 101.6 dB TA = 138 C dc 10 Input Frequency (kHz) Figure 19. CS5102A FFT (SSC Mode, 1-Channel) Figure 20. CS5102A FFT (SSC Mode, 1-Channel) at high signal frequencies due to nonlinearities in the internal MOS switches. Dynamic signals cause ac current to flow through the switches connecting the capacitor array to the analog input pin in the track mode. Nonlinear on-resistance in the switches causes a nonlinear voltage drop. This effect worsens with increased signal frequency and slew rate. This distortion is negligible at signal levels below -10 dB of full-scale. puts are often considered individual, static snapshots in time with no uncertainty or noise. In reality, the result of each conversion depends on the analog input level and the instantaneous value of noise sources in the ADC. If sequential samples from the ADC are treated as a "waveform", simple filtering can be implemented in software to improve noise performance with minimal processing overhead. Noise All analog circuitry in the CS5101A and CS5102A is wideband in order to achieve fast conversions and high throughput. Wideband noise in the CS5101A and CS5102A integrates to 35 V rms in unipolar mode (70 V rms in bipolar mode). This is approximately 1/2 LSB rms with a 4.5V reference in both modes. Figure 21 An A/D converter's noise can be described like that of any other analog component. However, the converter's output is in digital form so any filtering of its noise must be performed in the digital domain. Digitized samples of analog inDS45F2 27 CS5101A CS5102A Count 8192 Count 8192 6144 6144 Noiseless Converter 4096 Noiseless Converter 4096 CS5101A 2048 2048 7FFB Counts: CS5102A 0 7FFC 7FFD 7FFE 7FFF 8000 Code (Hexadecimal) 0 989 6359 844 0 8001 0 Counts: 7FFD 7FFE 0 5 7FFF 8000(H) 8001 8002 Code (Hexadecimal) 1727 4988 1467 5 8003 0 Figure 21. 5101A Histogram Plot of 8192 Conversion Inputs Figure 22. 5102A Histogram Plot of 8192 Conversion Inputs shows a histogram plot of output code occurrences obtained from 8192 samples taken from a CS5101A in the bipolar mode. Hexadecimal code 7FFE was arbitrarily selected and the analog input was set close to code center. With a noiseless converter, code 7FFE would always appear. The histogram plot of the device has a "bell" shape with all codes other than 7FFE due to internal noise. Figure 22 illustrates the noise histogram of the CS5102A. averaging multiple samples for each word. Oversampling spreads the device's noise over a wider band (for lower noise density), and averaging applies a low-pass response which filters noise above the desired signal bandwidth. In general, the device's noise performance can be maximized in any application by always sampling at the maximum specified rate of 100 kHz (CS5101A) or 20 kHz (CS5102A) (for lowest noise density) and digitally filtering to the desired signal bandwidth. In a sampled data system all information about the analog input applied to the sample/hold appears in the baseband from dc to one-half the sampling rate. This includes high-frequency components which alias into the baseband. Low-pass (anti-alias) filters are therefore used to remove frequency components in the input signal which are above one-half the sample rate. However, all wideband noise introduced by the CS5101A and CS5102A still aliases into the baseband. This "white" noise is evenly spread from dc to onehalf the sampling rate and integrates to 35 V rms in unipolar mode. Noise in the digital domain can be reduced by sampling at higher than the desired word rate and 28 Aperture Jitter Track-and-hold amplifiers commonly exhibit two types of aperture jitter. The first, more appropriately termed "aperture window", is an input voltage dependent variation in the aperture delay. Its signal-dependency causes distortion at high frequencies. The proprietary architecture of the CS5101A and CS5102A avoids applying the input voltage across a sampling switch, thus avoiding any "aperture window" effects. The second type of aperture jitter, due to component noise, assumes a random nature. With only 100 ps peak-to-peak aperture jitter, the CS5101A and CS5102A can process full-scale signals up to DS45F2 CS5101A CS5102A 90 Power Supply Rejection (dB) 80 70 60 50 40 30 20 1 kHz 10 kHz 100 kHz 1 MHz Power Supply Ripple Frequency Figure 23. Power Supply Rejection 1/2 the throughput frequency without significant errors due to aperture jitter. CS5101A/CS5102A Improvements Over Earlier CS5101/CS5102 Power Supply Rejection The CS5101A/CS5102A are improved versions of the earlier CS5101/CS5102 devices. Primary improvements are: The power supply rejection performance of the CS5101A and CS5102A is enhanced by the onchip self-calibration and an "auto-zero" process. Drifts in power supply voltages at frequencies less than the calibration rate have negligible effect on the device's accuracy. This is because the CS5101A and CS5102A adjust their offset to within a small fraction of an LSB during calibration. Above the calibration frequency the excellent power supply rejection of the internal amplifiers is augmented by an auto-zero process. Any offsets are stored on the capacitor array and are effectively subtracted once conversion is initiated. Figure 23 shows power supply rejection of the CS5101A and CS5102A in the bipolar mode with the analog input grounded and a 300 mV pp ripple applied to each supply. Power supply rejection improves by 6 dB in the unipolar mode. 1) Improved DNL at high temperature (>70 C) 2) Improved input slew rate, yielding improved full scale settling between conversions. 3) Modifying the previous SSH pin to SSH/SDL (Simultaneous Sample Hold/Serial Data Latch). The SSH/SDL new function provides a logic signal which frames the 16 data bits in SSC and FRN serial modes. This signal is ideal for easy interface to serial to parallel shift registers (74HC595) and to DSP serial ports. Table 3 summarizes all the improvements. DS45F2 29 CS5101A CS5102A Function Better DNL Faster Fine Charge Slew Rate (V/s) CS5101A/CS5102A CS5101/CS5102 No missing codes at +125 C Some missed codes at +125 C CS5101A CS5102A CS5101 CS5102 Unipolar/Fine 2 0.4 Unipolar/Fine 1.3 0.1 Bipolar/Fine 4 0.8 Bipolar/Fine 2.6 0.2 Improved Serial Interface Has serial data latch signal (SSH/SDL). Does not have serial data latch (SDL) signal. CLKIN Rate CS5101A maximum CLKIN is 9.216 MHz CS5102A maximum CLKIN is 2.0 MHz CS5101 maximum CLKIN is 8.0 MHz CS5102 maximum CLKIN is 1.6 MHz Code and BP/UP Pin Function Independent setting of 2's complement or offset binary coding (CODE) and bipolar or unipolar input range (BP/UP) Selecting unipolar input range forces offset binary operation, independent of the CODE pin state CRS/FIN Pin Can be high or low during calibration CRS/FIN must be held low during calibration Table 3. CS5101A/CS5102A Improvements over CS5101/CS5102 Schematic & Layout Review Service Confirm Optimum Schematic & Layout Before Building Your Board. For Our Free Review Service Call Applications Engineering. C a l l : ( 5 1 2 ) 4 4 5 - 7 2 2 2 30 DS45F2 CS5101A CS5102A PIN DESCRIPTIONS NEGATIVE DIGITAL POWER VDRESET & INITIATE CALIBRATION RST MASTER CLOCK INPUT CLKIN CRYSTAL OUTPUT XOUT STBY STANDBY (CALIBRATING) DIGITAL GROUND DGND POSITIVE DIGITAL POWER VD+ TRACKING CHANNEL 1 TRK1 TRK2 TRACKING CHANNEL 2 COARSE/FINE CHARGE CONTROL CRS/FIN SIMULTANEOUS S/H / SERIAL DATA LATCH SSH/SDL HOLD HOLD & CONVERT INPUT CHANNEL SELECT CH1/2 SERIAL DATA CLOCK SCLK 1 28 2 27 3 26 4 25 5 24 6 23 CS5101A 22 or 8 CS5102A 21 7 9 20 10 19 11 18 12 17 13 16 14 15 SLEEP SCKMOD TEST VA+ AIN2 VAAGND REFBUF VREF AIN1 OUTMOD BP/UP CODE SDATA SLEEP (LOW POWER) MODE SERIAL CLOCK MODE SELECT TEST POSITIVE ANALOG POWER CHANNEL 2 ANALOG INPUT NEGATIVE ANALOG POWER ANALOG GROUND REFERENCE BUFFER VOLTAGE REFERENCE CHANNEL 1 ANALOG INPUT OUTPUT MODE SELECT BIPOLAR/UNIPOLAR SELECT BINARY/2's COMPLEMENT SELECT SERIAL DATA OUTPUT VDRST SLEEP CLKIN SCKMOD XOUT TEST STBY VA+ DGND VD+ 5 6 7 TRK1 TRK2 8 9 10 CRS/FIN 4 3 2 1 28 27 26 25 CS5101A or CS5102A top view 11 24 AIN2 VA- 23 22 21 AGND REFBUF 20 19 VREF 12 13 14 15 16 17 18 SSH/SDL AIN1 HOLD OUTMOD CH1/2 BP/UP SCLK CODE SDATA DS45F2 31 CS5101A CS5102A Power Supply Connections VD+ - Positive Digital Power, PIN 7. Positive digital power supply. Nominally +5 volts. VD- - Negative Digital Power, PIN 1. Negative digital power supply. Nominally -5 volts. DGND - Digital Ground, PIN 6. Digital ground [reference]. VA+ - Positive Analog Power, PIN 25. Positive analog power supply. Nominally +5 volts. VA- - Negative Analog Power, PIN 23. Negative analog power supply. Nominally -5 volts. AGND - Analog Ground, PIN 22. Analog ground reference. Oscillator CLKIN - Clock Input, PIN 3. All conversions and calibrations are timed from a master clock which can be externally supplied by driving CLKIN [this input TTL-compatible, CMOS recommended]. XOUT - Crystal Output, PIN 4. The master clock can be generated by tying a crystal across the CLKIN and XOUT pins. If an external clock is used, XOUT must be left floating. Digital Inputs HOLD - Hold, PIN 12. A falling transition on this pin sets the CS5101A or CS5102A to the hold state and initiates a conversion. This input must remain low for at least 1/tclk + 20 ns. When operating in Free Run Mode, HOLD is disabled, and should be tied to DGND or VD+. CRS/FIN - Coarse Charge/Fine Charge Control, PIN 10. When brought high during acquisition time, CRS/FIN forces the CS5101A or CS5102A into coarse charge state. This engages the internal buffer amplifier to track the analog input and charges the capacitor array much faster, thereby allowing the CS5101A or CS5102A to track high slewing signals. In order to get an accurate sample, the last coarse charge period before initiating a conversion (bringing HOLD low) must be longer than 0.75 s (CS5101A) or 3.75 s (CS5102A). Similarly, the fine charge period immediately prior to conversion must be at least 1.125 s (CS5101A) or 5.625 s (CS5102A). The CRS/FIN pin must be low during conversion time. For normal operation, CRS/FIN should be tied low, in which case the CS5101A or CS5102A will automatically enter coarse charge for 6 clock cycles immediately after the end of conversion. 32 DS45F2 CS5101A CS5102A CH1/2 - Left/Right Input Channel Select, PIN 13. Status at the end of a conversion cycle determines which analog input channel will be acquired for the next conversion cycle. When in Free Run Mode, CH1/2 is an output, and will indicate which channel is being sampled during the current acquisition phase. SLEEP - Sleep, PIN 28. When brought low causes the CS5101A or CS5102A to enter a power-down state. All calibration coefficients are retained in memory, so no recalibration is needed after returning to the normal operating mode. If using the internal crystal oscillator, time must be allowed after SLEEP returns high for the crystal oscillator to stabilize. SLEEP should be tied high for normal operation. CODE - 2's Complement/Binary Coding Select, PIN 16. Determines whether output data appears in 2's complement or binary format. If high, 2's complement; if low, binary. BP/UP - Bipolar/Unipolar Input Range Select, PIN 17. When low, the CS5101A or CS5102A accepts a unipolar input range from AGND to VREF. When high, the CS5101A or CS5102A accepts bipolar inputs from -VREF to +VREF. SCKMOD - Serial Clock Mode Select, PIN 27. When high, the SCLK pin is an input; when low, it is an output. Used in conjunction with OUTMOD to select one of 4 output modes described in Table 2. OUTMOD - Output Mode Select, PIN 18. The status of SCKMOD and OUTMOD determine which of four output modes is utilized. The four modes are described in Table 2. SCLK - Serial Clock, PIN 14. Serial data changes status on a falling edge of this input, and is valid on a rising edge. When SCKMOD is high SCLK acts as an input. When SCKMOD is low the CS5101A or CS5102A generates its own serial clock at one-fourth the master clock frequency and SCLK is an output. RST - Reset, PIN 2. When taken low, all internal digital logic is reset. Upon returning high, a full calibration sequence is initiated which takes 11,528,160 CLKIN cycles (CS5101A) or 2,882,040 CLKIN cycles (CS5102A) to complete. During calibration, the HOLD input will be ignored. The CS5101A or CS5102A must be reset at power-up for calibration, however; calibration is maintained during SLEEP mode, and need not be repeated when resuming normal operation. Analog Inputs AIN1, AIN2 - Channel 1 and 2 Analog Inputs, PINS 19 and 24. Analog input connections for the left and right input channels. VREF - Voltage Reference, PIN 20. The analog reference voltage which sets the analog input range. In unipolar mode VREF sets full-scale; in bipolar mode its magnitude sets both positive and negative full-scale. DS45F2 33 CS5101A CS5102A Digital Outputs STBY - Standby (Calibrating), PIN 5. Indicates calibration status after reset. Remains low throughout the calibration sequence and returns high upon completion. SDATA - Serial Output, PIN 15. Presents each output data bit on a falling edge of SCLK. Data is valid to be latched on the rising edge of SCLK. SSH/SDL - Simultaneous Sample/Hold / Serial Data Latch, PIN 11. Used to control an external sample/hold amplifier to achieve simultaneous sampling between channels. In FRN and SSC modes (SCLK is an output), this signal provides a convenient latch signal which forms the 16 data bits. This can be used to control external serial to parallel latches, or to control the serial port in a DSP. TRK1, TRK2 - Tracking Channel 1, Tracking Channel 2, PINS 8 and 9. Falls low at the end of a conversion cycle, indicating the acquisition phase for the corresponding channel. The TRK1 or TRK2 pin will return high at the beginning of conversion for that channel. Analog Outputs REFBUF - Reference Buffer Output, PIN 21. Reference buffer output. A 0.1 F ceramic capacitor must be tied between this pin and VA-. Miscellaneous TEST - Test, PIN 26. Allows access to the CS5101A's and the CS5102A's test functions which are reserved for factory use. Must be tied to VD+. 34 DS45F2 CS5101A CS5102A PARAMETER DEFINITIONS Linearity Error The deviation of a code from a straight line passing through the endpoints of the transfer function after zero- and full-scale errors have been accounted for. "Zero-scale" is a point 1/2 LSB below the first code transition and "full-scale" is a point 1/2 LSB beyond the code transition to all ones. The deviation is measured from the middle of each particular code. Units in % Full-Scale. Differential Linearity Minimum resolution for which no missing codes is guaranteed. Units in bits. Full Scale Error The deviation of the last code transition from the ideal (VREF-3/2 LSB's). Units in LSB's. Unipolar Offset The deviation of the first code transition from the ideal (1/2 LSB above AGND) when in unipolar mode (BP/UP low). Units in LSB's. Bipolar Offset The deviation of the mid-scale transition (011...111 to 100...000) from the ideal (1/2 LSB below AGND) when in bipolar mode (BP/UP high). Units in LSB's. Bipolar Negative Full-Scale Error The deviation of the first code transition from the ideal when in bipolar mode (BP/UP high). The ideal is defined as lying on a straight line which passes through the final and mid-scale code transitions. Units in LSB's. Signal to Peak Harmonic or Noise The ratio of the rms value of the signal to the rms value of the next largest spectral component below the Nyquist rate (excepting dc). This component is often an aliased harmonic when the signal frequency is a significant proportion of the sampling rate. Expressed in decibels. Total Harmonic Distortion The ratio of the rms sum of all harmonics to the rms value of the signal. Units in percent. Signal-to-(Noise + Distortion) The ratio of the rms value of the signal to the rms sum of all other spectral components below the Nyquist rate (excepting dc), including distortion components. Expressed in decibels. Aperture Time The time required after the hold command for the sampling switch to open fully. Effectively a sampling delay which can be nulled by advancing the sampling signal. Units in nanoseconds. Aperture Jitter The range of variation in the aperture time. Effectively the "sampling window" which ultimately dictates the maximum input signal slew rate acceptable for a given accuracy. Units in picoseconds. DS45F2 35 CS5101A CS5102A CS5101A Ordering Guide Model Conversion Time CS5101A-JP8 8.13 s CS5101A-KP8 8.13 s CS5101A-JP16 16.25 s CS5101A-JL8 8.13 s CS5101A-KL8 8.13 s CS5101A-JL16 16.25 s CS5101A-AP8 8.13 s CS5101A-BP8 8.13 s CS5101A-AL8 8.13 s CS5101A-BL8 8.13 s CS5101A-SD8 8.13 s CS5101A-TD8 8.13 s CS5101A-SE8 8.13 s CS5101A-TE8 8.13 s 5962-9169101MXA 8.13 s 5962-9169102MXA 8.13 s 5962-9169101M3A 8.13 s 5962-9169102M3A 8.13 s Throughput 100 kHz 100 kHz 50 kHz 100 kHz 100 kHz 50 kHz 100 kHz 100 kHz 100 kHz 100 kHz 100 kHz 100 kHz 100 kHz 100 kHz 100 kHz 100 kHz 100 kHz 100 kHz Discontinued Part Number CS5101A-SD8B CS5101A-TD8B CS5101A-SE8B CS5101A-TE8B Linearity 0.003% 0.002% 0.003% 0.003% 0.002% 0.003% 0.003% 0.002% 0.003% 0.002% 0.004% 0.003% 0.004% 0.003% 0.004% 0.003% 0.004% 0.003% Temperature 0 to 70 C 0 to 70 C 0 to 70 C 0 to 70 C 0 to 70 C 0 to 70 C -40 to 85 C -40 to 85 C -40 to 85 C -40 to 85 C -55 to 125 C -55 to 125 C -55 to 125 C -55 to 125 C -55 to 125 C -55 to 125 C -55 to 125 C -55 to 125 C Package 28-Pin Plastic DIP 28-Pin Plastic DIP 28-Pin Plastic DIP 28-Pin PLCC 28-Pin PLCC 28-Pin PLCC 28-Pin Plastic DIP 28-Pin Plastic DIP 28-Pin PLCC 28-Pin PLCC 28-Pin CerDIP 28-Pin CerDIP 28-Pin LCC 28-Pin LCC 28-Pin CerDIP 28-Pin CerDIP 28-Pin LCC 28-Pin LCC Equivalent Recommended Device 5962-9169101MXA 5962-9169102MXA 5962-9169101M3A 5962-9169102M3A CS5102A Ordering Guide Model Conversion Time CS5102A-JP 40 s CS5102A-KP 40 s CS5102A-JL 40 s CS5102A-KL 40 s CS5102A-AP 40 s CS5102A-BP 40 s CS5102A-AL 40 s CS5102A-BL 40 s CS5102A-SD 40 s CS5102A-TD 40 s CS5102A-SE 40 s CS5102A-TE 40 s 5962-9169201MXA 40 s 5962-9169202MXA 40 s 5962-9169201M3A 40 s 5962-9169202M3A 40 s Throughput 20 kHz 20 kHz 20 kHz 20 kHz 20 kHz 20 kHz 20 kHz 20 kHz 20 kHz 20 kHz 20 kHz 20 kHz 20 kHz 20 kHz 20 kHz 20 kHz Discontinued Part Number CS5102A-SDB CS5102A-TDB CS5102A-SEB CS5102A-TEB 36 Linearity 0.003% 0.0015% 0.003% 0.0015% 0.003% 0.0015% 0.003% 0.0015% 0.004% 0.002% 0.004% 0.002% 0.004% 0.002% 0.004% 0.002% Temperature 0 to 70 C 0 to 70 C 0 to 70 C 0 to 70 C -40 to 85 C -40 to 85 C -40 to 85 C -40 to 85 C -55 to 125 C -55 to 125 C -55 to 125 C -55 to 125 C -55 to 125 C -55 to 125 C -55 to 125 C -55 to 125 C Package 28-Pin Plastic DIP 28-Pin Plastic DIP 28-Pin PLCC 28-Pin PLCC 28-Pin Plastic DIP 28-Pin Plastic DIP 28-Pin PLCC 28-Pin PLCC 28-Pin CerDIP 28-Pin CerDIP 28-Pin LCC 28-Pin LCC 28-Pin CerDIP 28-Pin CerDIP 28-Pin LCC 28-Pin LCC Equivalent Recommended Device 5962-9169201MXA 5962-9169202MXA 5962-9169201M3A 5962-9169202M3A DS45F2 CDB5101A CDB5102A Evaluation Board for CS5101A and CS5102A Features Description l Serial The CDB5101A/5102A Evaluation Board allows fast evaluation of the CS5101A and CS5102A 2-Channel, 16-bit Analog-to-Digital Converters. to Parallel Conversion l Adjustable Voltage Reference l 5 V Regulators l Digital and Analog Patch Areas Analog inputs are via BNC connectors. Digital outputs are available both directly from the ADC in serial form, and in 16 bit parallel form. An adjustable monolithic voltage reference is included. ORDERING INFORMATION CDB5101A CDB5102A Evaluation Board Evaluation Board I 0V -15V AGND VD- DGND VL+ VD+ XOUT REFBUF CLKIN EXT CLKIN HOLD HOLD AIN1 AIN2 AIN2 Mode Select Switches Digital Patch Area CS5101A or CS5102A CODE BP/UP SCKMOD OUTMOD SLEEP CH1/CH2 Cirrus Logic, Inc. Crystal Semiconductor Products Division P.O. Box 17847, Austin, Texas 78760 (512) 445 7222 FAX: (512) 445 7581 http://www.crystal.com Serial Output Buffers SSH/SDL SCLK SDATA Serial to Parallel Conversion Copyright Cirrus Logic, Inc. 1998 (All Rights Reserved) Header Input Buffers +5V VREF VA- AIN1 0V 5V Regulators VA+ VAVoltage Reference +15V Header Analog Patch Area MAR `95 DS45DB3 37 CDB5101A/5102A Power Supplies For example, if only Analog Input one is used (in FRN mode) as the input, short the AIN1 and AIN2 pins of the converter and remove R15 and C15. Figure 1 shows the power supply arrangements. The analog section of the board is powered by 12/15 volts, which is regulated down to 5V for the ADC. A separate +5V digital supply is required to power the discrete logic. If you do not want to use the on-board amplifiers, connect your signal to TP27 for channel 1 and TP32 for channel 2. Use TP28 and TP31 to break the connection to the output of the onboard buffers. Your own buffer amplifiers may be installed in the 2 analog patch areas. For critical 2 channel applications, keep the signal path for the 2 channels identical. Analog Input The CS5101A/02A converters have a two-channel multiplexer input. Separate amplifiers (see Figure 2) are provided on the evaluation board to drive each input independently. If the converter is used in FRN mode, the multiplexer "ping-pongs" between channels. If only one signal is to be digitized in FRN mode at full speed, the AIN1 and AIN2 pins on the converter should be shorted together. Then the amplifier circuitry for the unused channel should be disconnected. Voltage Reference Figure 3 shows the LTI019-4.5 voltage reference, which is buffered and filtered to reduce output impedance and noise. 78L05 +15V +12/15V IN D1 + C23 10 F TP - VA+ U7 OUT +5VA COM C20 C19 0.22 F 0.47 F C21 C18 0.22 F 0.47 F J1 AGND + C22 D2 10 F -12/15V IN COM U8 OUT -15V 79L05 - 5VA TP - VA - TP +5V +5V Logic +5VL D3 + C24 10 F C25 0.1 F DGND TP GND Figure 1. Power Supplies 38 DS45DB3 CDB5101A/5102A C34 62pF 2.0k Input R17 Unipolar 0V to +4.5V Bipolar -4.5V to +4.5V 1.0k R27 C31 1F .1F C30 +15V * 2.0k ANALOG INPUT 1 + 7 2 R18 3 TP34 * Amplifiers U9 and U10 have gain of +1, as resistors R18 and R21 are left off the board. 1 6 1.0k U9 R19 5 4 OPA627 C45 C32 .1F -15V R28 4 TP33 3 R21 2 1F + C37 .1F C48 0.01 F +15V + C15 1nF R15 R22 U10 1.0k 1 OPA627 7 .1F C35 2.0k * NPO 1nF C16 C38 6 AIN1 Fig. 4 50 1F + 5 R14 0.01 F C33 -15V ANALOG INPUT 2 1.0k TP29 TP28 TP27 TP30 TP31 TP32 50 NPO AIN2 Fig. 4 1F C36 2.0k R20 62pF C39 Figure 2. Input Buffer Circuit. +15V R1 2k C1 15 F + 2 R25 IN OUT 6 U6 1k + LT1019-4.5 5 R2 10 F TRIM 25 k GND C44 CW 4 +15V 3 C40 0.1 F 7 6 U11 2 OP27 4 0.1 F C43 C42 R23 0.01 F 47 k TP77 R26 22 C2 + 10 F C3 VREF Fig. 4 0.1F R24 1k 0.1 F C41 -15V Figure 3. Voltage Reference DS45DB3 39 CDB5101A/5102A Master Clock Sampling Clock (HOLD) Generation Figure 4 shows the local connections to the CS5101A or CS5102A. The appropriate crystal components are installed at the factory, which utilize the on-chip oscillator. For use with an external clock, cut Jumper J00 and drive a CMOS level compatible clock into the CLKIN BNC connector. R30 is an optional 50 terminating resistor if a pulse generator is used. The evaluation board is shipped in FRN mode, which requires no externally generated HOLD signal. Alternate modes may be selected using DIP switch 3 and 4 (See Table 2). An external HOLD may be connected using the HOLD BNC connector. VD+ 10 +5VA + C4 1 F C5 + C6 0.1 F 1 F C7 R4 0.1 F 26 Y1 8.192 MHz C8 10 pF VA+ CDB5102A CDB5101A 25 See Fig. 3 20 1.6 MHz C17 0.1 F 30 pF 21 TST VREF 10 pF TP00 VD+ 3 CLKIN C9 XOUT REFBUF U1 CS5101A VAC9 7 RST 30 pF CS5102A DGND C8 10k C10 S1 Reset R6 0.1 F R9 OSCILLATOR COMPONENT VALUES See Fig. 2 See Fig. 2 19 AIN1 CODE BP/UP OUTMOD SCKMOD SLEEP CH1/CH2 24 AIN2 22 AGND TP25 68 HOLD 12 SDATA SCLK SSH/SDL STBY TRK1 TRK2 VD- HOLD R22 R13 10k 10 CRS/FIN 10k R12 VA - VA23 16 17 18 27 28 13 15 14 11 5 8 9 R30 50 R5 10M Y1 TP00 2 TP00 6 R31 J00 4 or CLKIN 68 VD+ 47k 7 6 5 4 3 R7 2 VD+ S2 1 2 3 4 5 6 CODE BP/UP OUTMOD SCKMOD SLEEP CH1/CH2 10k SDATA Fig. 5, 6 SCLK Fig. 5, 6 SSH/SDL Fig. 5, 6 CH1/CH2 Fig. 5 TRK1 Fig. 6 TRK2 Fig. 6 1 10 -5VA C13 + 1 F C14 R11 0.1 F C12 + 1 F C11 0.1 F Figure 4. ADC Connections 40 DS45DB3 CDB5101A/5102A Control Signals Serial to Parallel Conversion Figure 5 shows 2 headers are provided for serial data output and control signals. JP3 provides SDATA and SSH/SDL outputs. It also allows access to SCLK & CH1/CH2 which may be inputs or outputs depending on the serial mode selected by the DIP switches. Jumpers J10, J11, J12, & J13 must be set to correspond with the appropriate directions of SCLK and CH1/CH2. When operating in the FRN or SSC serial port modes, the CS5101A/02A readily provides the three signals (SCLK, SDATA, and SSH/SDL) to support serial to parallel conversion of its output data. JP5 provides output only access to the +5V logic supply, SCLK, SDATA and SLATCH, the serial to parallel latching control. +5V C48 Figure 6 Shows 2 74HC595's provided to convert the serial output of the ADC to parallel. A handshake flip-flop, U3, is provided for the parallel interface if required. When parallel data is available to read, DRDY goes low. The computer reads the data and sets DACK high and then low. This resets the flip-flop for the next word. JP4 selects whether both CH1 and CH2 data appears alternately, or CH1 only, or CH2 only. SCLK Direction .1 F J10 68 In U12 Out R33 J11 1 JP3 OE1 15 SDATA OE2 SDATA 2 4 Fig. 4 SSH/SDL Fig. 4 CH1/CH2 Fig. 4 SCLK 6 10 12 14 Fig. 6 SLATCH A0 Y0 A1 Y1 A2 Y2 A3 Y3 A4 Y4 A5 Y5 74HC365 68 SCLK 3 SSH/SDL 5 7 9 CH1/CH2 J12 In HDR5D 11 13 Out J13 C47 CH1/CH2 Direction + Fig. 4 +5V R32 10 F JP5 R3 +5V +5V 10 SLATCH SCLK SDATA HDR10D Figure 5. Serial Output Buffers DS45DB3 41 CDB5101A/5102A CS Y +5VL C27 0.1 F 10 12 11 16 RST QH 7 D15 (MSB) Latch CLK QG 6 D14 Shift CLK QF 5 D13 QE 4 D12 QD 3 D11 QC 2 D10 QB 1 D9 Q A 15 D8 U4 74HC595 14 X DATA IN GND 8 OE 13 TP00 R6 10k +5VL C29 0.1 F 9 10 RST 16 11 12 SDATA Fig. 4 14 D7 QH 7 QG 6 QF 5 QE 4 QD 3 QC 2 DATA OUT U5 74HC595 SCLK Fig. 4 JP2 40 way header Shift CLK Latch CLK D6 D5 D4 D3 D2 D1 QB 1 DATA IN GND 8 D0 (LSB) Q A 15 OE DACK +5VL 4 14 2 3 D CL U3 7 TP00 SLATCH Fig. 5 +5V 1 3 Fig. 4 TRK2 Fig. 4 TRK1 5 JP4 2 4 6 HDR8D SSH/SDL Fig. 4 8 R16 10k BOTH CH2 CH1 1 11 U2 TP00 Q5 Q6 9 DRDY +5VL R10 12 10k U2 13 TP00 10 +5V U3 10 9 S Q 11 CLK 12 D 8 13 R 74HC74 4 U2 6 5 Figure 6. Serial to Parallel Converter 42 DS45DB3 OPEN CDB5101A/5102A OPEN CLOSE 1 CODE 2's Complement Binary 2 BP/UP Bipolar Unipolar 3 OUTMOD Selects Serial Port 4 SCKMOD Mode. See Table 2. 5 SLEEP Normal Mode Sleep Mode 6 CH1/CH2* AIN1 AIN2 *SW6 is not active when the converter is operating in the FRN mode. Table 1. DIP Switch Selections SCKMOD (SW4) OUTMOD (SW3) CS5101A/CS5102A Output Mode CLOSE CLOSE (FRN) Free Run CLOSE OPEN (SSC) Synchronous Self Clocking OPEN CLOSE (RBT) Registered Burst Transmission OPEN OPEN (PDT) Pipelined Data Transmission NOTE: CLOSED = LOW = 0; OPEN = HIGH = 1. Table 2. Output Mode Selections DIP Switches Tables 1 and 2 show the DIP switch settings. Miscellaneous Hints on Using the Evaluation Board Always depress the reset button after powering up the board. The CS5101A & CS5102A are self calibrating ADC's which require a reset to initiate the internal calibration procedure. DS45DB3 Crystal Semiconductor has software, available on request, which allows the evaluation board to be connected to a Metrabyte PIO12 parallel I/O card (which uses an Intel 8255 PIO chip), which is plugged into an IBM PC or compatible computer. The software is assembly language drivers to read the data from the board. Also included is source code, in Fortran, of an FFT routine. 43 CDB5101A/5102A Figure 7. CDB5101A/02A Rev. B Layout 44 DS45DB3 CDB5101A/5102A Figure 8. CDB5101A/02A Rev. B Component Side DS45DB3 45 CDB5101A/5102A Figure 9. CDB5101A/02A Rev. B Solder Side 46 DS45DB3 * Notes *