XRD98L23 8-Bit, High-speed Linear CIS/CCD Sensor Signal Processor with Serial Control November 2002-2 APPLICATIONS FEATURES · · · · · · · · 8-Bit Resolution, No Missing Codes · · · · · 3.3V Operation & I/O Compatibility · · · · One-channel 10MSPS Pixel Rate Dual-channel 5MSPS Pixel Rate Three-channel 3 MSPS Pixel Rate 6-bit Programmable Gain Amplifier Check Scanners General Purpose CIS or CCD Imaging Low Cost Data Acquisition Simple and Direct Interface to Canon 600 DPI Sensors 8-bit Programmable Offset Adjustment CIS or CCD Compatibility Internal Clamp for CIS or CCD AC Coupled Configurations Serial Load Control Registers Low Power CMOS: 75mW-typ Low Cost 20-Lead Packages USB Compliant GENERAL DESCRIPTION The XRD98L23 is a complete linear CIS or CCD sensor signal processor on a single monolithic chip. The XRD98L23 includes a high speed 8-bit resolution ADC, a 6-bit Programmable Gain Amplifier with gain adjustment of 1 to 10, and a typical 8-bit programmable input referred offset calibration range of 480mV. In the CCD configuration the input signal is AC coupled with an external capacitor. An internal clamp sets the black level. In the CIS configuration, the clamp switch can be disabled and the CIS output signal is DC coupled from the CIS sensor to the XRD98L23. The CIS signal is level shifted to VRB in order to use the full range of the ADC. In the CIS configuration the input can also be AC coupled similar to the CCD configuration. This enables CIS signals with large black levels to be internally clamped to a DC reference equal to the black level. The DC reference is internally subtracted from the input signal. The CIS configuration can also be used in other applications that do not require CDS function, such as low cost data acquisition. ORDERING INFORMATION Package Type Temperature Range Part Number 20-Lead SOIC 20-Lead SSOP 0°C to +70°C 0°C to +70°C XRD98L23ACD XRD98L23ACU Rev. 1.00 EXAR Corporation, 48720 Kato Road, Fremont, CA 94538 • (510) 668-7000 • FAX (510) 668-7017 • www.exar.com XRD98L23 VBG CIS REF Circuit AVDD Power Down CIS REF Circuit CLAMP RED GRN Triple S/H & 3-1 DVDD + MUX VREF+ VRT BUFFER BLU _ DC Reference RL 8-BIT ADC PGA 8 V DCREF VDCEXT DATA I/O PORT 8 DB7:0 VRB INT/EXT_V DCREF 6 G<5:0> DGND CLP 6-BIT GAIN REGISTERS DC/AC R G Power Down B 8-BIT DAC AVDD AGND AGND AGND 8 SYNCH O<7:0> CIS/CCD 8-BIT OFFSET REGISTERS R VRT CIS CCD G B Figure 1. Functional Block Diagram Rev. 1.00 2 CLAMP TIMING & CONTROL LOGIC ADCCLK XRD98L23 PIN CONFIGURATION DVDD 1 20 AVDD DB0 2 19 RED DB1 3 18 GRN DB2 4 17 BLU DB3 5 16 VDCEXT XRD98L23ACD DB4 6 15 VREF+ DB5/SCLK 7 14 AGND DB6/SDATA 8 13 SYNCH DB7/LD 9 12 CLAMP DGND 10 11 ADCCLK 20-LeadSOIC PIN DESCRIPTION Pin # 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 Symbol DVDD DB0 DB1 DB2 DB3 DB4 DB5/SCLK DB6/SDATA DB7/LD DGND ADCCLK CLAMP SYNCH AGND VREF+ VDCEXT BLU GRN RED AVDD Description Digital VDD (for Output Drivers) Data Output Bit 0 Data Output Bit 1 Data Output Bit 2 Data Output Bit 3 Data Output Bit 4 Data Output Bit 5 & Data Input SCLK Data Output Bit 6 & Data Input SDATA Data Output Bit 7 & LD Digital Ground (for Output Drivers) A/D Converter Clock Clamp and Video Sample Clock Start of New Line and Serial Data Input Control Analog Ground A/D Positive Reference for Decoupling Cap External DC Reference Blue Input Green Input Red Input Analog Power Supply Rev. 1.00 3 XRD98L23 ELECTRICAL CHARACTERISTICS Test Conditions: AVDD=DVDD=3.3V, ADCCLK=10MHz, 50% Duty Cycle, TA=25°C unless otherwise specified. Symbol Parameter Min. Typ. Max. Unit V Conditions Power Supplies AVDD Analog Power Supply 3.0 3.3 3.6 DVDD Digital I/O Power Supply 3.0 3.3 3.6 V 25 60 mA VDD=3.0V 50 µA VDD=3.0V IDD Supply Current (total) IDDPD Power Down Power Supply Current DVDD < AVDD ADC Specifications RES Resolution 8 Bits 12 MSPS Fs Maximum Sampling Rate DNL Differential Non-Linearity ±0.5 LSB INL Integral Non-Linearity ±1.0 LSB MON Monotonicity VRT Top Reference Voltage VRB Bottom Reference Voltage DVREF Differential Reference Voltage Yes 2.1 2.2 2.6 V AVDD/10 V 0.18 0.67AVDD V 300 600 (VRT - VRB) RL Ladder Resistance 780 Ω PGA & Offset DAC Specifications PGARES PGA Resolution PGAGMIN Minimum Gain 0.950 1.0 1.35 V/V PGAGMAX Maximum Gain 9.5 10.0 10.50 V/V PGAGD VBLACK DACRES 6 Bits Gain Adjustment Step Size Black Level Input Adjust Range Offset DAC Resolution 0.14 -60 V/V +300 8 mV DC Configuration Bits OFFMIN Minimum Offset Adjustment -180 -120 -80 OFFMAX Maximum Offset Adjustment +200 +360 +400 mV Mode 111, D5=0 OFFMIN Minimum Offset Adjustment -350 -240 -100 mV Mode 111, D5=1 (Note 1) OFFMAX Maximum Offset Adjustment +100 +240 +350 mV Mode 111, D5=1 OFF∆ Offset Adjustment Step Size Note 1: 1.88 mV Mode 111, D5=0 (Note 1) mV The additional ±60 mV of adjustment with respect to the black level input range is needed to compensate for any additional offset introduced by the XRD98L23 Buffer/PGA internally. Rev. 1.00 4 XRD98L23 ELECTRICAL CHARACTERISTICS (CONT'D) Test Conditions: AVDD=DVDD=3.3V, ADCCLK=10MHz, 50% Duty Cycle, TA=25°C unless otherwise specified. Symbol Parameter Min. Typ. Max. Unit 100 Conditions Buffer Specifications IIL CIN VINPP Input Leakage Current Input Capacitance AC Input Voltage Range 0 AVDD-1.4 nA pF V AC Input Voltage Range 0 DVREF V DC Input Voltage Range -0.1 AVDD-1.4 V DC Input Voltage Range VDCEXT-0.1 VDCEXT+ DVREF V VDCEXT External DC Reference 0.3 AVDD/2 V VINBW VINCT Input Bandwidth (Small Signal) Channel to Channel Crosstalk VIN 10 10 -60 CIS AC; INT VDCREF Config Reg => XXX010XX Gain=1 (Note 1) CCD AC; INT VDCREF Config Reg => XXX011XX Gain=1 (Note 1) CIS DC; INT VDCREF Config Reg => XXX000XX Gain=1 (Note 2) CIS DC; EXT VDCREF Config Reg => XXX100XX Gain=1 (Note 3) VDCEXT+DVREF < AVDD CIS DC; EXT VDCREF Config Reg => XXX100XX MHz dB Internal Clamp Specifications VCLAMP Clamp Voltage 2.1 RINT ROFF Clamp Switch On Resistance Clamp Switch Off Resistance 12 AGND VRT 180 50 250 mV V Ω MΩ CIS (AC) Config CCD (AC) Config Note 1: VINPP is the signal swing before the external capacitor tied to the MUX inputs. Note 2: The -0.1V minimum is specified in order to accommodate black level signals lower than the external DC reference (clamp) voltage. Note 3: The VDCEXT-0.1V minimum is specified in order to accommodate black level signals lower than the external DC reference voltage. Rev. 1.00 5 XRD98L23 ELECTRICAL CHARACTERISTICS (CONT'D) Test Conditions: AVDD=DVDD=3.3V, ADCCLK=10MHz, 50% Duty Cycle, TA=25°C unless otherwise specified. Symbol Parameter Min. Typ. Max. Unit System Specifications (MUX + Buffer + PGA + ADC) SYSDNL System DNL SYSLIN System Linearity SYSGE System Gain Error IRN -1.0 Conditions Note 1 ±0.5 +2.0 ±6.0 -5.0 LSB No missing codes LSB +5.0 % Input Referred Noise 1.5 mVrms Gain=1 Input Referred Noise 0.5 mVrms Gain=10 System Timing Specifications tcklw ADCCLK Low Pulse Width 50 ns tckhw ADCCLK High Pulse Width 50 ns tckpd ADCCLK Period 100 ns tsypw SYNCH Pulse Width 30 ns trars Rising ADCCLK to rising SYNCH 0 tclpw CLAMP Pulse Width 30 ns SYNCH must rise equal to or after ADCCLK, See Figure 18 Note 2 Write Timing Specifications tsclkw SCLK Pulse Width 40 ns tdz LD Low to SCLK High 20 ns tds Input Data Set-up Time 20 ns tdh Input Data Hold Time 0 ns tdl SCLK High to LD High 50 ns ADC Digital Output Specifications tap Aperture Delay tdv Output Data Valid ns 30 tsa SYNCH to ADCCLK (3ch) 20 tsa2 SYNCH to ADCCLK (2ch) 20 tlat tlat 50 ns ns 3ch Pixel Md 80 ns 2ch Pixel Md Latency 8 cycles Config 00, 11 Latency 6 pixels Config 01, 10 Digital Input Specifications VIH Input High Voltage VIL Input Low Voltage IIH High Voltage Input Current IIL CIN AVDD-1.5 V 0.6 V 5 µA Low Voltage Input Current 5 µA Input Capacitance 10 pF Note 1: System performance is specified for typical digital system timing specifications. Note 2: The actual minimum ‘tclpw’ is dependent on the external capacitor value, the CIS output impedance. During ‘clamp’ operation, sufficient time needs to be allowed for the external capacitor to charge up to the correct operating level. Refer to the description in Theory of Operation, CIS Config. Rev. 1.00 6 XRD98L23 ELECTRICAL CHARACTERISTICS (CONT'D) Test Conditions: AVDD=DVDD=3.3V, ADCCLK=10MHz, 50% Duty Cycle, TA=25°C unless otherwise specified. Symbol Parameter Min. Typ. Max. Unit Conditions Digital Output Specifications VOH Output High Voltage VOL Output Low Voltage IOz Output High-Z Leakage Current COUT Output Capacitance SR Slew Rate (10% to 90% DVDD) 80 -10 (%) DVDD IL = 1mA 20 (%) DVDD IL = -1mA 10 µA 10 2 pF 15 Rev. 1.00 7 ns CL = 10pF, DVDD = 3.3V XRD98L23 THEORY OF OPERATION CIS Configuration (Contact Image Sensor) The XRD98L23 has two configurations for CIS applications. Each configuration is set by the control registers accessed through the serial port. Mode 1. DC Coupled If the CIS does not have leading or trailing black pixels as shown in Figure 2, then DC couple the CIS output to the XRD98L23 input. Optically Shielded Valid Pixels Pixels Figure 2. Typical Output CIS Mode Adjust the offset of the CIS (-60 mV to 300 mV) by setting the internal registers of the XRD98L23 to set the black pixel value when the LEDs of the CIS are off. When the LEDs are on, use the XRD98L23 Programmable Gain to maximize the ADCs dynamic range. Figure 3 shows a typical application for a CIS with an offset of -60mV to 300mV. Rev. 1.00 8 XRD98L23 XRD98L23 VDD VRT C I S RED N/C N/C N/C M U X R L VRB Figure 3. Application with Offset in the Range (-60mv to 300mv) The input is added to VRB before the signal passes through the ADC. If the CIS output is zero, then the output of the ADC will be zero code. This enables the CIS to be referenced to the bottom ladder reference voltage to use the full range of the ADC. offset range of the XRD98L23 (see Offset Control DAC, Pg. 27) set the internal mode registers to external reference. An external reference voltage equal to the value of the CIS offset voltage can be applied to VDCEXT (Figure 4) in order to meet the dynamic range of the XRD98L23. Figure 4 is a diagram of the XRD98L23 in the external reference mode for CIS, DC coupled applications. Some CIS sensors have an output with an offset voltage of greater than 300mV. If the CIS output is beyond the Rev. 1.00 9 XRD98L23 XRD98L23 VDD VRT C I S RED N/C N/C M U X RL VDCEXT DC REFERENCE VRB Figure 4. Application with Offset Greater Than (-60mv to 300mv) cannot be used as an input from the CIS. Any signal applied to VDCEXT will be subtracted from the output signal of the multiplexer. The DC reference voltage applied to VDCEXT does not have to be accurate. The internal offset DAC voltage is still used in this mode for fine adjustment. VDCEXT Rev. 1.00 10 XRD98L23 VCC (5V - 15V) 19 N/C 18 N/C 17 0.1uF 16 15 9 8 7 6 5 4 3 2 11 DIGITAL ADCCLK 12 ASIC CLAMP SYNCH 13 AVDD DVDD 1 AGND DGND GRN BLU VDCEXT VREF+ 14 XRD98L23 AGND 10 0.01uF DVDD (3V) 20 0.1uF 0.01uF 0.1uF AVDD 0.1uF 1K C I S 4K AVDD DB7/LD DB6/SDATA DB5/SCLK DB4 DB3 DB2 DB1 DB0 RED DGND Figure 5. Typical Application Circuitry CIS DC Coupled Non-Inverted Mode with VDC External Offset Compensation Rev. 1.00 11 XRD98L23 CIS Mode Timing -- DC Coupled (CLAMP disabled) Pixel N-1 Pixel N Pixel N+1 tap tap CIS tckpd tckhw tcklw ADCCLK tdv DB [7:0] tdv N-8 N/A N-7 N/A N-6 N/A N-5 N/A Figure 6. Timing Diagram for Figure 5 ADCCLK ↓ ↑ HI LO Events ADC Sample & PGA Start Tracking next Pixel Data Out Invalid Data Out ADC Track PGA Output ADC Hold/Convert Table 1. Mode 2. AC Coupled one side of the external capacitor to be set to ground. It then is level shifted to correspond to the bottom ladder reference voltage of the ADC (Figure 7). If the CIS signal has a black reference for the video signal, an external capacitor CEXT is used. When CLAMP (clamp) pin is set high an internal switch allows Rev. 1.00 12 XRD98L23 XRD98L23 VDD VRT C I S REXT CEXT RED N/C N/C N/C M U X R L CLAMP VRB RINT Figure 7. CIS AC Coupled Application Therefore, Tc =1/RINTCEXT This value corresponds to the black reference of the image sensor. When the CLAMP pin is set back to low, the ADC samples the video signal with respect to the black reference. The typical value for the external capacitor is 100pF. This value should be adjusted according to the time constant (Tc) needed in a particular application. The CLAMP pin has an internal 180 ohm (from electrical tabels) impedance (RINT) which is in series with the external capacitor (CEXT). If the input to the external capacitor has a source impedance (REXT), then: Tc=1/(RINT+REXT)CEXT Rev. 1.00 13 XRD98L23 VCC (5V - 15V) 19 RED DB7/LD DB6/SDATA DB5/SCLK DB4 DB3 DB2 DB1 DB0 100PF 18 GRN N/C 17 BLU N/C 16 VDCEXT 15 VREF+ 11 DIGITAL ADCCLK 12 ASIC CLAMP SYNCH 0.1uF 0.01uF 0.1uF 20 AVDD DVDD 1 14 AGND DGND 10 XRD98L23 0.01uF DVDD (3V) AVDD AGND 13 0.1uF C I S N/C 9 8 7 6 5 4 3 2 DGND Figure 8. Typical Application Circuitry CIS AC Coupled Non-Inverted Rev. 1.00 14 XRD98L23 CIS Mode Timing -- AC Coupled (CLAMP enabled) Pixel N-1 Pixel N Pixel N+1 tap tap CIS tckpd tckhw tcklw ADCCLK tdv DB [7.0] tdv N-8 N/A N-7 N/A N-6 tclpw CLAMP Figure 9. Timing Diagram for Figure 8 ADCCLK ↓ ↑ HI LO Events ADC Sample & PGA Start Track of next Pixel Data Out Invalid Data Out ADC Track PGA Output ADC Hold/Convert Table 2. CLAMP HI LO Events PGA Tracks VCLAMP & CEXT is Charged to VBLACK - VCLAMP, which is equal to VBLACK PGA Tracks VINPP Table 3. Rev. 1.00 15 N/A N-5 N/A XRD98L23 Internal CIS Reference Circuit (DB 4 = 1) The XRD98L23 has an internal register reserved for interfacing to the Canon CIS model number CVA60216K. When this register is selected, the VDCEXT (Pin 16) becomes an output voltage of 1.24 volts. This voltage can be directly connected to the VREF (Pin 5) of the Canon sensor. This reduces the amount of components needed for biasing the Canon CIS sensor (the external diodes and resistors typically used in this application have been included inside the XRD98L23 for this mode of operation). Below is a typical application circuit using the XRD98L23 and the Canon CVA60216K CIS sensor. VCC (5V) CANON CIS SENSOR DVDD (3V - 5V) 1 2 3 47u F 4 5 N/C N/C 18 17 RED DB7/LD DB6/ SDATA DB5/SCLK DB4 DB3 DB2 DB1 DB0 GRN 9 8 7 6 5 4 3 2 6 7 8 9 10K 19 10 BLU VREF+ 0.1u F AVD D 12 NPN 12 VREF SP CLK LED COM LED BLU LED GRN LED RED FGND 47u F DGND 13 VCC NPN AGN D DGND DVDD AGN D DGND XRD98L23 1 10 NPN 0.01u F 14 AVD D 0.1u F 0.1u F 0.01u F 11 DVDD (3V ) 20 AGN D ADCCL K CLAM P SYNC H DIGITAL ASIC 10K 15 VDCEX T 10K 11 16 VOU T MOD E AGN D DGND 0.01u F 100u F DGND DGND CVA-60216K Figure 10. Typical Application Circuitry Internal CIS Reference Circuit Mode CANON CIS Sensor, Model #CVA=60216K Rev. 1.00 16 XRD98L23 CIS Line-By-Line Rotating Gain and Offset (Configuration DB1 = 1, DB0 = 1) Line-by-line rotating gain and offset minimizes the amount of write cycles per scan. Pre-loaded values of gain and offset can be loaded for each color before the first line is scanned. Each gain and offset is cycled through line-by-line so that the gain and offset do not have to be loaded in between lines. Below is the typical application circuit and timing for this configuration. VCC (5V - 15V) 19 18 C I S 17 16 N/C RED DB7/LD DB6/SDATA DB5/SCLK DB4 DB3 DB2 DB1 DB0 GRN BLU DIGITAL VDCEXT ADCCLK CLAMP 15 9 8 7 6 5 4 3 2 VREF+ SYNCH ASIC 11 12 13 0.1uF DVDD (3V) DVDD AGND DGND 1 10 0.01uF 14 AVDD 0.1uF 20 0.1uF 0.01uF AVDD XRD98L23 AGND DGND Figure 11. Typical Application Circuitry Internal CIS Rotating Gain and Offset Line-By-Line Rev. 1.00 17 XRD98L23 CCD Configuration (Charge Coupled Device) Mode 1. AC Coupled When CLAMP (clamp) pin is set high an internal switch allows one side of the external capacitor to be set to VRT (Figure 13). This value corresponds to the black reference of the CCD. When the CLAMP pin is set back to low, the ADC samples the video signal with respect to the black reference. The difference between the black reference and the video signal is the actual pixel value of the video content. Since this value is referenced to the top ladder reference voltage of the ADC a zero input signal would yield a full scale output code. Therefore, the output of the conversion is inverted (internally) to correspond to zero scale output code. In the CCD configuration of operation, an external capacitor needs to be chosen according to the equations below. The typical value for the external capacitor is 100pF. This value should be adjusted according to the time constant (Tc) needed in a particular application. The CLAMP pin has an internal 180 ohm impedance (RINT) which is in series with the external capacitor (CEXT). Therefore, Tc =1/RINTCEXT If the input to the external capacitor has a load impedance (REXT), then Tc=1/(RINT+REXT)CEXT CIS Rotating Gain and Offset Line-By-Line (Md 11) CIS Red Pixel Line Scan Grn Pixel Line Scan Blu Pixel Line Scan ADCCLK tsypw SYNCH tsa GAIN/ OFFSET Red Gain/Offset Cycle Grn Gain/Offset Cycle Blu Gain/Offset Cycle Tri-State (SYNCH = LO) LD Reset Internal Mux Color to Red Channel (LD = 110YYYYYY11) Note: Y = Previous State Figure 12. Timing Diagram for Figure 11 Rev. 1.00 18 XRD98L23 XRD98L23 VDD CLAMP VRT AREA or RED LINEAR CCD N/C N/C N/C M RL U X VRB Figure 13. CCD AC Coupled Application Area or Linear CCD Applications pixel values have been sampled, the gain and offset are adjusted at the beginning of the next line. For example, if there is a line-to-line variation between the black reference pixels, the offset is adjusted. The gain is always adjusted for the highest color intensity. Figure 13, is a block diagram for applications with Area or Linear CCDs (The timing for Area CCDs and B/W CCDs is the same). For Area or Linear CCD applications, a global offset is loaded into the serial port at the beginning of a line. The gain is set to adjust for the highest color intensity of the CCD output. Once the Rev. 1.00 19 XRD98L23 VCC (5V - 15V) 19 RED DB7/LD DB6/SDATA DB5/SCLK DB4 DB3 DB2 DB1 DB0 100PF N/C 18 N/C 17 N/C 16 GRN BLU VDCEXT ADCCLK CLAMP 15 VREF+ SYNCH 12 13 DVDD (3V) 14 AVDD DVDD AGND DGND 1 10 0.01uF 20 0.1uF 0.01uF AVDD 0.1uF DIGITAL ASIC 11 0.1uF C C D 9 8 7 6 5 4 3 2 XRD98L23 AGND DGND Figure 14. Typical Application Circuitry for a Single Channel B/W CCD AC Coupled Inverted Mode Rev. 1.00 20 XRD98L23 AREA, LINEAR or B/W CCD -- AC Coupled (CLAMP Enabled) Pixel N-1 Pixel N Pixel N+1 CCD Channel N tckpd tckhw tap tap tcklw ADCCLK tclpw CLAMP tdv tdv N-8 DB [7:0] N/A N-7 N/A N-6 N.A Figure 15. Timing Diagram for Figure 14 Triple Channel CCD Application The gain and offset is automatically rotated to adjust for each channel input. The data is available on the output bus on the falling edge of ADCCLK. Figure 16, is a block diagram for pixel-by-pixel applications with triple channel CCDs. During the optically shielded section of a pixel, CLAMP must go high to store the black reference on each capacitor to the input. Rev. 1.00 21 XRD98L23 XRD98L23 VDD CLAMP VRT RED/GRN/BLU C C M D U N/C RL X VRB Figure 16. CCD AC Coupled Application Rev. 1.00 22 XRD98L23 VCC (5V - 15V) 19 RED DB7/LD DB6/SDATA DB5/SCLK DB4 DB3 DB2 DB1 DB0 100PF 18 GRN 100PF C C D 17 9 8 7 6 5 4 3 2 BLU 100PF 16 N/C VDCEXT ADCCLK CLAM P 15 VREF+ SYNCH 13 DVDD (3V) DVDD AGND DGND 1 10 0.01uF 14 AVDD 0.1uF 0.1uF 0.01uF 20 0.1uF ASIC 12 AVDD AGND DIGITAL 11 XRD98L23 DGND Figure 17. Typical Application Circuitry Triple Channel CCD AC Coupled Inverted Mode Rev. 1.00 23 XRD98L23 PIXEL-BY-PIXEL 3 CHANNEL CCD -- AC Coupled (CLAMP Enabled) RED N Pixel N+1 Pixel N Pixel N+1 Pixel GRN tclp=10ns tclp=10ns BLU N Pixel N+1 Pixel tap ADCCLK TRACK RED (N) CONVERT RED (N) TRACK GRN (N) CONVERT GRN (N) TRACK BLU (N) CONVERT BLU (N) trars tdv tdv RED (N-6) DATA tdv tdv N/A GRN (N-6) N/A tdv BLU (N-6) tsa tsypw SYNCH Figure 18. Timing Diagram for Figure 17 ADCCLK 3rd ↓ All ↓ ↑ HI LO CLAMP HI LO SYNCH HI LO CONVERT RED (N+1) Simultaneous Sample CLAMP CLAMP TRACK RED (N+1) Events Simultaneous RED/GRN/BLU Sample Every 3rd CLK. Convert RED, S/H GRN, S/H BLU. Data Out Non-valid Data Out ADC Track PGA Output ADC Hold/Convert Events Internal Clamp Enabled Internal RED/GRN/BLU Tracking Enabled Events Reset Internal Mux to Red, Output Bus is Tri-stated Increment Mux Color on Falling Edge of ADCCLK Table 4. Rev. 1.00 24 N/A XRD98L23 PIXEL-BY-PIXEL 2-CHANNEL CCD RED N Pixel N+1 Pixel N Pixel N+1 Pixel GRN tap ADCCLK TRACK RED (N) TRACK GRN (N) CONVERT RED (N) CONVERT GRN (N) TRACK RED (NH) CONVERT RED (NH) trars RED(N_6) DATA tdv tdv N/A CONVERT GRN (N+1) Simultaneous Sample CLAMP tdv TRACK GRN (N+1) tdv GRN(N-6) N/A tsa2 tsypw tsypw SYNCH Figure 19. Timing Diagram for 2-channel Rev. 1.00 25 tdv RED(N-5) N/A XRD98L23 VRT S1 S2 S3 From CCD RED S1, S2 and S3 close when CLAMP is high and open when CLAMP is low S6 Channel C EXTR 8-Bit ADC S9 closes at rising edge and opens at falling edge of ADCCLK From CCD S4 S7 VRT - VPIX GRN Channel - S9 PGA C EXTG + T/H T/H From CCD BLU S5 S8 VRT Channel VCDS = PGAG * [VRT - (VRT - VPIX)] = PGAG * VPIX C EXTB T/H XRD98L23 VBLK CCD Waveform VPIX VBLK - VPIX CLAMP S8 Opens, S4, S5 and S6 close at this rising edge ADCCLK S6 opens, S7 closes at this rising edge Track RED Convert RED S8 Opens, S4, S5 and S6 close at this rising edge S7 opens, S8 closes at this rising edge Track GRN Convert GRN Track BLU Figure 20. CDS Timing (Triple Channel) Mode: 110 00001110 Rev. 1.00 26 Convert BLU S4 and S5 open at this falling edge Track RED Convert RED XRD98L23 Mode 2. DC Coupled PGA GAIN TRANSFER CURVE GAIN 1 - 10 Typical CCDs have outputs with black references. Therefore, DC Coupled is not recommended for CCD applications. 10 9 8 GAIN 7 Offset Control DAC 6 5 4 3 The offset DAC is controlled by 8-bits. The offset range is 480 mV ranging from -120 mV to +300 mV (when DB5 is set to 0) and -240 mV to +240 mV (when DB5 is set to 1). Therefore, the resolution of the 8-bit offset DAC is 1.88 mV. However, the XRD98L23 has +/- 60 mV reserved for internal offsets. Therefore, the effective range for adjusting for CIS offsets or black reference is 300 mV. The offset adjustment is used primarily to correct for the difference between the black level of the image sensor and the bottom ladder reference voltage (VRB) of the ADC. By adjusting the black level to correspond to VRB, the entire range of the ADC can be used. 2 1 0 10 20 30 40 50 60 CODE Figure 21. Transfer Curve for the 6-Bit PGA After the signal is level shifted to correspond with the bottom ladder reference voltage, the system can be calibrated such that a white video pixel can represent the top ladder reference voltage to the ADC. This allows for a full scale conversion maximizing the resolution of the ADC. If the offset of the CIS output is greater than 300 mV an external reference can be applied to VDCEXT. The external reference can be used to adjust for large offsets only when the internal mode is configured through the serial port. Analog to Digital Converter The ADC is an 8-bit, 10 MSPS analog-to-digital converter for high speed and high accuracy. The ADC uses a subranging architecture to maintain low power consumption at high conversion rates. The output of the ADC is on 8-bit databus. ADCCLK samples the input on its falling edge. After the input is sampled, the data is latched to the output drivers. On the rising edge of the ADCCLK, invalid data is latched to the output drivers. There is an 8 clock cycle latency (Config 00, 11) or 6 pixel count latency (Config 01, 10) for the analog-to-digital converter. Since the offset DAC adjustment is done before the gain stage, it is gain-dependent. For example, if the gain needs to be changed between lines (red to blue, etc.), the offset is calibrated before the signal passes through the PGA. PGA (Programmable Gain Amplifier) DAC The gain of the input waveform is controlled by a 6-Bit PGA. The PGA is used along with the offset DAC for the purpose of using the entire range of the ADC. The PGA has a linear gain from 1 to 10. Figure 20, is a plot of the transfer curve for the PGA gain. The VRT and VRB reference voltages for the ADC are generated internally, unless the external VRT is selected. In the external VRT mode, the VRT voltage is set through the VREF+ pin. This allows the user to select the dynamic range of the ADC. Rev. 1.00 27 XRD98L23 Serial Load Control Registers The first three MSBs choose which internal register will be selected. The remaining 8 LSBs contain the data needed for programming the internal register for a particular configuration. The serial load registers are controlled by a three wire serial interface through the bi-directional parallel port to reduce the pin count of this device. When SYNCH is set to high, the output bus is tri-stated and the serial interface is activated. DB7/LD, DB5/SCLK and DB6/ SDATA are the three input signals that control this process. The DB7/LD signal is set low to initiate the loading of the internal registers. Power-Up State of the Internal Registers The control register settings upon initial power-up are for CIS, DC Coupled configuration (VRT is set to internal, Input DC Reference=AGND and the input to the ADC is selected through the RED channel). Gain is unity and Offset is set to zero. The test modes are disabled in the power-up state. There are internal registers that are accessed via an 11bit data string. Data is shifted in on the rising edge of SCLK and loaded to the registers on the rising edge of LD. The data on pin DB6/SDATA is latched automatically after eleven DB5/SCLKs have been counted. If eleven clocks are not present on DB5/SCLK before the DB7/LD signal returns high, no data will be loaded into the internal registers. If more than 11 clocks are present on DB5/SCLK, the additional clocks will be ignored. The data corresponding to the first eleven DB5/SCLKs will be loaded only. SYNCH tsclkw DB7/LD DB5/SCLK DB6/SDATA tdl tdz S2 tds tdh S1 S0 D7 Figure 22. Write Timing Rev. 1.00 28 D2 D1 D0 XRD98L23 Control Registers Function (Register S2/S1/S0) D7 D6 D5 D4 D3 D2 D1 D0 Power-up State (Note 1) Red Gain (000) G5 (MSB) G4 G3 G2 G1 G0 (LSB) X X 000000XX Red Offset (001) O7 (MSB) O6 O5 O4 O3 O2 O1 O0 (LSB) 01000000 Grn Gain (010) G5 (MSB) G4 G3 G2 G1 G0 (LSB) X X 000000XX O7 (MSB) O6 O5 O4 O3 O2 O1 O0 (LSB) 01000000 G5 (MSB) G4 G3 G2 G1 G0 (LSB) X X 000000XX O7 (MSB) O6 O5 O4 O3 O2 O1 O0 (LSB) 01000000 POWER DOWN DIGITAL RESET VRT INPUT DC REFERENCE (VDCREF) DC/AC SIGNAL POLARITY SIGNAL CONFIGURATION 00000000 0: NORMAL 0: NO RESET 0: INTERNAL 0: DC 1:RESET (REGISTERS ARE RESET TO POWER-UP STATES) 1: EXTERNAL 0: NonInverted (CIS) 1: Inverted (CCD/CIS) 00: Single-Channel RED input/gain/offset 1: POWER DOWN 0: INTERNAL (VDCREF=AGND) 1: EXTERNAL (VDCREF=VDCEXT) Grn Offset (011) Blu Gain (100) Blu Offset (101) Mode (110) 1: AC 01: Single-Channel RED input RED/GRN/BLU gain/offset cycle pixel-by-pixel or dual channel RED/GRN 10: Triple-Channel RED/GRN/BLU input/gain/offset cycle pixel-by-pixel 11: Triple-Channel RED/GRN/BLU input/gain/offset cycle line-by-line Mode &Test (111) Note : OUTPUT BUS CONTROL OUTPUT DISABLE OFFSET DAC RANGE INTERNAL CIS REFERENCE CIRCUIT TEST4 TEST3 Must be Programmed 0:OUTPUTS ENABLED 0:-120mV to +360mV 0:NORMAL 0: TEST4 DISABLED 0: TEST3 DISABLED to 1 1:OUTPUTS DISABLED 1:-280mV to +240mV 1:REFERENCE CIRCUIT ENABLED 1: OUTPUT 1: OUTPUT OF BUFFER OF PGA TIED TO TIED TO BLU VDCEXT TEST2 TEST1 00000000 0: TEST2 0:NORMAL DISABLED 1: INPUT OF ADC TIED TO GRN 1: TEST1 ENABLED These are the control register settings upon initial power-up. The previous register settings are retained following a logic power-down initiated by the power down bit except the signal configuration. When de-selecting the power down bit (D7 = 0, Normal), the signal configuration (D5 and D0) has to be reprogrammed. Rev. 1.00 29 XRD98L23 Rev. 1.00 30 XRD98L23 20 LEAD SHRINK SMALL OUTLINE PACKAGE (5.3 mm SSOP) Rev. 2.00 D 20 11 E H 1 10 C A2 A Seating Plane e B α A1 L SYMBOL A A1 A2 B C D E e H L α INCHES MIN MAX 0.067 0.079 0.002 0.006 0.065 0.073 0.009 0.015 0.004 0.010 0.272 0.296 0.197 0.221 0.0256 BSC 0.292 0.323 0.022 0.037 0° 8° MILLIMETERS MIN MAX 1.70 2.00 0.05 0.15 1.65 1.85 0.22 0.38 0.09 0.25 6.90 7.50 5.00 5.60 0.65 BSC 7.40 8.20 0.55 0.95 0° 8° Note: The control dimension is the inch column Rev. 1.00 31 XRD98L23 NOTICE EXAR Corporation reserves the right to make changes to the products contained in this publication in order to improve design, performance or reliability. EXAR Corporation assumes no responsibility for the use of any circuits described herein, conveys no license under any patent or other right, and makes no representation that the circuits are free of patent infringement. Charts and schedules contained here in are only for illustration purposes and may vary depending upon a user’s specific application. While the information in this publication has been carefully checked; no responsibility, however, is assumed for in accuracies. EXAR Corporation does not recommend the use of any of its products in life support applications where the failure or malfunction of the product can reasonably be expected to cause failure of the life support system or to significantly affect its safety or effectiveness. Products are not authorized for use in such applications unless EXAR Corporation receives, in writing, assurances to its satisfaction that: (a) the risk of injury or damage has been minimized; (b) the user assumes all such risks; (c) potential liability of EXAR Corporation is adequately protected under the circumstances. Copyright 2000 EXAR Corporation Datasheet November 2002 Reproduction, in part or whole, without the prior written consent of EXAR Corporation is prohibited. Rev. 1.00 32