0
登录后你可以
  • 下载海量资料
  • 学习在线课程
  • 观看技术视频
  • 写文章/发帖/加入社区
创作中心
发布
  • 发文章

  • 发资料

  • 发帖

  • 提问

  • 发视频

创作活动
AD9927

AD9927

  • 厂商:

    AD(亚德诺)

  • 封装:

  • 描述:

    AD9927 - 14-Bit CCD Signal Processor with V-Driver and Precision TimingTM Generator - Analog Devices

  • 数据手册
  • 价格&库存
AD9927 数据手册
14-Bit CCD Signal Processor with V-Driver and Precision TimingTM Generator AD9927 FEATURES Integrated 18-channel V-driver 1.8 V AFETG core Internal LDO regulator and charge pump circuitry Compatibility with 3 V or 1.8 V systems 24 programmable vertical clock signals Correlated double sampler (CDS) with −3 dB, 0 dB, +3 dB, and +6 dB gain 6 dB to 42 dB, 10-bit variable gain amplifier (VGA) 14-bit, 40 MHz analog-to-digital converter (ADC) Black level clamp with variable level control Complete on-chip timing generator Precision Timing core with ~400 ps resolution On-chip 3 V horizontal and RG drivers General-purpose outputs (GPOs) for shutter and system support On-chip driver for external crystal On-chip sync generator with external sync input 128-lead CSP_BGA package, 9 mm × 9 mm, 0.65 mm pitch GENERAL DESCRIPTION The AD9927 is a highly integrated CCD signal processor for digital still camera applications. It includes a complete analog front end with A/D conversion, combined with a full-function programmable timing generator and 18-channel vertical driver (V-driver). The timing generator is capable of supporting up to 24 vertical clock signals to control advanced CCDs. The onchip V-driver supports up to 18 channels for use with 5-field CCDs. A Precision Timing core allows adjustment of high speed clocks with approximately 400 ps resolution at 40 MHz operation. The AD9927 also contains eight general-purpose outputs, which can be used for shutter and system functions. The analog front end includes black level clamping, CDS, VGA, and a 14-bit ADC. The timing generator provides all the necessary CCD clocks: RG, H-clocks, V-clocks, sensor gate pulses, substrate clock, and substrate bias control. The AD9927 is specified over an operating temperature range of –25°C to +85°C. APPLICATIONS Digital still cameras FUNCTIONAL BLOCK DIAGRAM REFT REFB AD9927 –3dB, 0dB, +3dB, +6dB CCDIN CDS VGA 6dB TO 42dB 3V INPUT 1.8V OUTPUT 1.8V INPUT 3V OUTPUT RG HL 8 H1 TO H8 V1A-V6 (3-LEVEL) V7-V15 (2-LEVEL) SUBCK XSUBCK 18 VERTICAL DRIVER XV1 TO XV24 24 VERTICAL TIMING CONTROL 8 05892-103 VREF 14-BIT ADC CLAMP 14 DOUT LDO REG CHARGE PUMP INTERNAL CLOCKS HORIZONTAL DRIVERS PRECISION TIMING GENERATOR SL INTERNAL REGISTERS SCK SDATA SYNC GENERATOR XSUBCNT GP01 TO GP08 HD VD SYNC CLI CLO RSTB Figure 1. Rev. 0 Information furnished by Analog Devices is believed to be accurate and reliable. However, no responsibility is assumed by Analog Devices for its use, nor for any infringements of patents or other rights of third parties that may result from its use. Specifications subject to change without notice. No license is granted by implication or otherwise under any patent or patent rights of Analog Devices. Trademarks and registered trademarks are the property of their respective owners. One Technology Way, P.O. Box 9106, Norwood, MA 02062-9106, U.S.A. Tel: 781.329.4700 www.analog.com Fax: 781.461.3113 ©2006 Analog Devices, Inc. All rights reserved. AD9927 TABLE OF CONTENTS Features .............................................................................................. 1 Applications....................................................................................... 1 General Description ......................................................................... 1 Functional Block Diagram .............................................................. 1 Specifications..................................................................................... 3 Digital Specifications ................................................................... 4 Analog Specifications................................................................... 5 Timing Specifications .................................................................. 6 Vertical Driver Specifications ..................................................... 7 Absolute Maximum Ratings............................................................ 8 Package Thermal Characteristics ............................................... 8 ESD Caution.................................................................................. 8 Pin Configuration and Function Descriptions............................. 9 Terminology .................................................................................... 12 Typical Performance Characteristics ........................................... 13 Equivalent Circuits ......................................................................... 14 System Overview ............................................................................ 15 High Speed Precision Timing Core........................................... 16 Horizontal Clamping and Blanking......................................... 20 Horizontal Timing Sequence Example.................................... 26 Vertical Timing Generation ...................................................... 28 Vertical Sequences (VSEQ) ....................................................... 31 Internal Vertical Driver Connections...................................... 45 Vertical Timing Example........................................................... 53 Shutter Timing Control ............................................................. 55 Substrate Clock Operation (SUBCK) ...................................... 55 Field Counters............................................................................. 58 General-Purpose Outputs (GPOS) .......................................... 59 GP Look-Up Tables (LUT)........................................................ 63 Complete Exposure/Readout Operation Using Primary Counter and GPO Signals .............................. 64 Manual Shutter Operation Using Enhanced SYNC Modes .... 66 Analog Front-End Description and Operation...................... 70 Power-Up Sequence for Master Mode..................................... 72 Standby Mode Operation .......................................................... 76 CLI Frequency Change.............................................................. 76 Circuit Layout Information........................................................... 78 Serial Interface Timing .............................................................. 82 Layout of Internal Registers ...................................................... 83 Updating New Register Values ................................................. 84 Complete Register Listing ............................................................. 85 Outline Dimensions ....................................................................... 99 Ordering Guide .......................................................................... 99 REVISION HISTORY 1/06—Revision 0: Initial Version Rev. 0 | Page 2 of 100 AD9927 SPECIFICATIONS Table 1. Parameter TEMPERATURE RANGE Operating Storage POWER SUPPLY VOLTAGE INPUTS AVDD (AFE Analog Supply) TCVDD (Timing Core Supply) CLIVDD (CLI Input Supply) RGVDD (RG, HL Driver) HVDD (H1 to H8 Drivers) DVDD (Digital Logic) DRVDD (Parallel Data Output Drivers) IOVDD (Digital I/O) XVVDD (Vertical Output Drivers) CP1P8 (CP Supply Input) LDOIN (LDO Supply Input) V-DRIVER POWER SUPPLY VOLTAGES VDD1, VDD2 (V-Driver Logic) VH1, VH2 (V-Driver High Supply) VL1, VL2 (V-Driver Low Supply) VM1, VM2 (V-Driver Mid Supply) VLL (SUBCK Low Supply) VMM (SUBCK Mid Supply) POWER SUPPLY CURRENTS—40 MHz OPERATION AVDD (1.8 V) TCVDD (1.8 V) CLIVDD (3 V) RGVDD (3.3 V, 20 pF RG Load, 20 pF HL Load) HVDD 1 (3.3 V, 480 pF Total Load on H1 to H8) DVDD (1.8 V) DRVDD (3 V, 10 pF Load on Each DOUT Pin) IOVDD (3 V, Depends on Load and Output Frequency of Digital I/O) XVVDD (3 V, Depends on Load and Output Frequency of XV Signals) POWER SUPPLY CURRENTS—STANDBY MODE OPERATION Standby1 Mode Standby2 Mode Standby3 Mode MAXIMUM CLOCK RATE (CLI) 1 Min −25 −65 1.6 1.6 1.6 2.7 2.7 1.6 1.6 2.7 2.7 1.6 2.25 2.7 11.5 −8.5 −1.5 −8.5 −4.0 Typ Max +85 +150 Unit °C °C V V V V V V V V V V V V V V V V V mA mA mA mA mA mA mA mA mA mA mA mA MHz 1.8 1.8 3.0 3.0 3.0 1.8 3.0 3.0 3.0 1.8 3.0 3.0 15.0 −7.5 0.0 −7.5 0.0 27 5 1.5 10 59 9.5 6 2 2 12 5 1.5 2.0 2.0 3.6 3.6 3.6 2.0 3.6 3.6 3.6 2.0 3.6 3.6 16.5 −5.5 +1.5 −5.5 +0.3 40 The total power dissipated by the HVDD (or RGVDD) supply can be approximated using the equation Total HVDD Power = [CL × HVDD × Pixel Frequency] × HVDD Reducing the capacitive load and/or reducing the HVDD supply reduces the power dissipation. CL is the total capacitance seen by all H-outputs. Rev. 0 | Page 3 of 100 AD9927 DIGITAL SPECIFICATIONS IOVDD = 1.6 V to 3.6 V, RGVDD = HVDD = 2.7 V to 3.6 V, CL = 20 pF, TMIN to TMAX, unless otherwise noted. Table 2. Parameter LOGIC INPUTS (IOVDD) High Level Input Voltage Low Level Input Voltage High Level Input Current Low Level Input Current Input Capacitance LOGIC OUTPUTS (IOVDD, XVDD, DRVDD) High Level Output Voltage @ IOH = 2 mA Low Level Output Voltage @ IOL = 2 mA RG and H-DRIVER OUTPUTS (HVDD, RGVDD) High Level Output Voltage @ Maximum Current Low Level Output Voltage @ Maximum Current Maximum Output Current (Programmable) Maximum Load Capacitance (for Each Output) Symbol VIH VIL IIH IIL CIN VOH VOL VOH VOL Min VDD − 0.6 0.6 10 10 10 VDD − 0.5 0.5 VDD − 0.5 0.5 18 60 Typ Max Unit V V μA μA pF V V V V mA pF Rev. 0 | Page 4 of 100 AD9927 ANALOG SPECIFICATIONS AVDD = 1.8 V, fCLI = 40 MHz, typical timing specifications, TMIN to TMAX, unless otherwise noted. Table 3. Parameter CDS 1 Allowable CCD Reset Transient CDS Gain Accuracy −3.0 dB CDS Gain 0 dB CDS Gain +3 dB CDS Gain +6 dB CDS Gain Maximum Input Range Before Saturation −3 dB CDS Gain 0 dB CDS Gain +3 dB CDS Gain +6 dB CDS Gain Allowable OB Pixel Amplitude1 0 dB CDS Gain (Default) +6 dB CDS Gain VARIABLE GAIN AMPLIFIER (VGA) Gain Control Resolution Gain Monotonicity Gain Range Low Gain (VGA Code 15, Default) Maximum Gain (VGA Code 1023) BLACK LEVEL CLAMP Clamp Level Resolution Clamp Level Minimum Clamp Level (Code 0) Maximum Clamp Level (Code 1023) ADC Resolution Differential Nonlinearity (DNL) No Missing Codes Integral Nonlinearity (INL) Full-Scale Input Voltage VOLTAGE REFERENCE Reference Top Voltage (REFT) Reference Bottom Voltage (REFB) SYSTEM PERFORMANCE Gain Accuracy Low Gain (VGA Code 15) Maximum Gain (VGA Code 1023) Peak Nonlinearity, 1.0 V Input Signal Total Output Noise Power Supply Rejection (PSR) 1 Min Typ 0.5 Max 1.2 −2.3 +0.5 3.4 6.0 Unit V Notes VGA gain = 6.3 dB (Code 15, default value) −3.3 −0.5 2.4 5.0 −2.8 0 2.9 5.5 1.4 1.0 0.7 0.5 −100 −50 +200 +100 1024 Guaranteed 6.3 42.4 1024 0 255 14 −1.0 dB dB dB dB VGA gain = 6.3 dB (Code 15, default value) V p-p V p-p V p-p V p-p mV mV Steps dB dB Steps Measured at ADC output LSB LSB Bits LSB LSB V V V Includes entire signal chain 0 dB CDS gain Gain = (0.0358 × Code) + 5.76 dB 6 dB VGA gain, 0 dB CDS gain applied AC-grounded input, 6 dB VGA gain applied Measured with step change on supply ±0.5 Guaranteed 4 16 2.0 1.4 0.4 5.8 41.9 6.3 42.4 0.1 0.5 50 6.8 42.9 0.3 dB dB % LSB rms dB Input signal characteristics defined as follows: 05892-002 500mV TYP RESET TRANSIENT 200mV MAX OPTICAL BLACK PIXEL 1V MAX INPUT SIGNAL RANGE (0dB CDS GAIN) Rev. 0 | Page 5 of 100 AD9927 TIMING SPECIFICATIONS CL = 20 pF, AVDD = DVDD = TCVDD = 1.8 V, DRVDD = 3.0 V, fCLI = 40 MHz, unless otherwise noted. Table 4. Parameter MASTER CLOCK (See Figure 16) CLI Clock Period CLI High/Low Pulse Width Delay from CLI Rising Edge to Internal Pixel Position 0 VD FALLING EDGE TO HD FALLING EDGE IN SLAVE MODE (See Figure 89) AFE CLPOB PULSE WIDTH (See Figure 23 and Figure 33) 1, 2 AFE SAMPLE LOCATION (See Figure 17 and Figure 20)1 SHP Sample Edge to SHD Sample Edge DATA OUTPUTS (See Figure 21 and Figure 22) Output Delay from DCLK Rising Edge Inhibited Area for DOUTPHASE Edge Location Pipeline Delay from SHP/SHD Sampling to DOUT SERIAL INTERFACE (See Figure 97) Maximum SCK Frequency (Must Not Exceed CLI Frequency) SL to SCK Setup Time SCK to SL Hold Time SDATA Valid to SCK Rising Edge Setup SCK Falling Edge to SDATA Valid Hold 1 2 Symbol tCONV tCLIDLY tVDHD Min 25 10 0 2 11 Typ Max Unit ns ns ns ns Pixels ns ns Edge location Cycles MHz ns ns ns ns 12.5 6 20 12.5 1 15 VD period − 5 × tCONV tS1 tOD tDOUTINH SHDLOC + 1 16 SHDLOC + 15 fSCLK tLS tLH tDS tDH 40 10 10 10 10 Parameter is programmable. Minimum CLPOB pulse width is for functional operation only. Wider typical pulses are recommended to achieve good clamp performance. Rev. 0 | Page 6 of 100 AD9927 VERTICAL DRIVER SPECIFICATIONS VH1, VH2 = 15 V. VM1, VM2, VMM = 0 V. VL1, VL2, VLL = −7.5 V. CL shown in load model, 25°C. Table 5. Parameter V-DRIVER OUTPUTS (SIMPLIFIED LOAD CONDITIONS, 3000 pF to GROUND) Delay Time, VL to VM and VM to VH Delay Time, VM to VL and VH to VM Rise Time, VL to VM Rise Time, VM to VH Fall Time, VM to VL Fall Time, VH to VM Output Currents @ −7.25 V @ −0.25 V @ +0.25 V @ +14.75 V RON SUBCK OUTPUT (SIMPLIFIED LOAD CONDITIONS, 1000 pF to GROUND) Delay Time, VLL to VH Delay Time, VH to VLL Delay Time, VLL to VMM Delay Time, VMM to VH Delay Time, VH to VMM Delay Time, VMM to VLL Rise Time, VLL to VH Rise Time, VLL to VMM Rise Time, VMM to VH Fall Time, VH to VLL Fall Time, VH to VMM Fall Time, VMM to VLL Output Currents @ −7.25 V @ −0.25 V @ +0.25 V @ +14.75 V RON Symbol tPLM, tPMH tPML, tPHM tRLM tRMH tFML tFHM Min Typ 35 35 125 260 220 125 10 −22 22 −10 35 tPLH tPHL tPLM tPMH tPHM tPML tRLH tRLM tRMH tFHL tFHM tFML 25 30 25 25 30 25 40 45 30 40 90 25 20 −12 12 −20 35 Max Unit ns ns ns ns ns ns mA mA mA mA Ω ns ns ns ns ns ns ns ns ns ns ns ns mA mA mA mA Ω V-DRIVER INPUT 50% 50% tRLM, tRMH, tRLH V-DRIVER OUTPUT 90% 10% 90% tPML, tPHM, tPHL tFML, tFHM, tFHL 05892-114 tPLM, tPMH, tPLH 10% Figure 2. Definition of V-Driver Timing Specifications Rev. 0 | Page 7 of 100 AD9927 ABSOLUTE MAXIMUM RATINGS Table 6. Parameter AVDD TCVDD HVDD1, HVDD2 RGVDD DVDD DRVDD IOVDD XVVDD CLIVDD LDOIN CP1P8 VH1, VH2 VH1, VH2 VL1, VL2 VM1, VM2 VLL VMM V5V V1A to V15 RG Output H1 to H8, HL Output Digital Outputs Digital Inputs SCK, SL, SDATA REFT, REFB, CCDIN Junction Temperature Lead Temperature, 10 sec With Respect To AVSS TCVSS HVSS1, HVSS2 RGVSS DVSS DRVSS IOVSS DVSS TCVSS LDOVSS CPVSS VL1 VSS1 VSS1 VSS1 VSS1 VSS1 VSS1 VSS1 RGVSS HVSS DVSS DVSS DVSS AVSS Rating −0.3 V to +2.0 V −0.3 V to +2.0 V −0.3 V to +3.9 V −0.3 V to +3.9 V −0.3 V to +2.0 V −0.3 V to +3.9 V −0.3 V to +3.9 V −0.3 V to +3.9 V −0.3 V to +3.9 V −0.3 V to +3.9 V −0.3 V to +2.0 V −0.3 V to +25.0 V −0.3 V to +17.0 V −17.0 V to +0.3 V −6.0 V to +0.3 V −17.0 V to +0.3 V −6.0 V to +0.3 V −0.3 V to +6.0 V VL − 0.3 V to VH + 0.3 V −0.3 V to RGVDD + 0.3 V −0.3 V to HVDD + 0.3 V −0.3 V to IOVDD + 0.3 V −0.3 V to IOVDD + 0.3 V −0.3 V to IOVDD + 0.3 V −0.3 V to AVDD + 0.3 V 150°C 350°C Stresses above those listed under Absolute Maximum Ratings may cause permanent damage to the device. This is a stress rating only; functional operation of the device at these or any other conditions above those indicated in the operational section of this specification is not implied. Exposure to absolute maximum rating conditions for extended periods may affect device reliability. PACKAGE THERMAL CHARACTERISTICS Thermal Resistance CSP_BGA package: θJA = 40.3°C/W ESD CAUTION ESD (electrostatic discharge) sensitive device. Electrostatic charges as high as 4000 V readily accumulate on the human body and test equipment and can discharge without detection. Although this product features proprietary ESD protection circuitry, permanent damage may occur on devices subjected to high energy electrostatic discharges. Therefore, proper ESD precautions are recommended to avoid performance degradation or loss of functionality. Rev. 0 | Page 8 of 100 AD9927 PIN CONFIGURATION AND FUNCTION DESCRIPTIONS 12 11 10 9 8 7 6 5 4 3 2 1 A B C D E F G H J K L M 05892-115 BOTTOM VIEW (Not to Scale) Figure 3. Pin Configuration Table 7. Pin Function Descriptions Pin No. L7 L8 B11 C10 A2 A1 M6 L6 L5 K12 J12 H12 C4 M2 C5 L3 C3 K3 G10 D11 K5 J5 H9 C11 D1 C2 B1 E2 E11 H1 G2 L1 K2 M4 L4 E10 Mnemonic AVDD AVSS DVDD DVSS DRVDD DRVSS TCVSS TCVDD CLIVDD IOVDD IOVSS XVVDD VL1 VL2 VH1 VH2 VM1 VM2 VSS1 VSS2 VLL VMM VDD1 VDD2 CP1P8 CPVSS CP3P3 LDOIN LDOVSS HVDD1 HVSS1 HVDD2 HVSS2 RGVDD RGVSS V5V Type 1 P P P P P P P P P P P P P P P P P P P P P P P P P P P P P P P P P P P P Description AFE Supply: 1.8 V Analog Supply Ground Digital Logic Supply: 1.8 V Digital Logic Ground Data Driver Supply: 1.8 V, 3.3 V Data Driver Ground Analog Ground for Timing Core Timing Core Supply: 1.8 V CLI Input Supply: 3.3 V Digital I/O Supply: 1.8 V, 3.3 V (GPIO, SUBCK, HD/VD, SL, SCK, SDATA, SYNC, RSTB) Digital I/O Ground XV Output Supply: 1.8 V, 3.3 V V-Driver Low Supply V-Driver Low Supply V-Driver High Supply V-Driver High Supply V-Driver Mid Supply V-Driver Mid Supply V-Driver Ground V-Driver Ground V-Driver Low Supply for SUBCK Output V-Driver Mid Supply for SUBCK Output V-Driver Logic Supply (3 V) V-Driver Logic Supply (3 V) Charge Pump 1.8 V Input Charge Pump Ground Charge Pump 3.3 V Output LDO 3.3 V Input LDO Ground H-Driver Supply 1: 3.3 V H-Driver Ground 1 H-Driver Supply 2: 3.3 V H-Driver Ground 2 RG Driver Supply: 3.3 V RG Driver Ground Connect to 3 V supply through diode Rev. 0 | Page 9 of 100 AD9927 Pin No. M7 E1 F1 B2 C1 M8 M9 K7 L9 M10 M11 D2 F9 F10 G11 F11 H10 H11 J11 M12 L10 L11 K9 L12 K10 K11 J10 K6 F2 G1 H2 J1 J2 K1 L2 M1 M3 M5 A10 B9 A9 B8 A8 B7 A7 B6 A6 B5 A5 B4 A4 B3 Mnemonic CCDIN SENSE LDOOUT CPFCT CPFCB REFT REFB CLI SL SDATA SCK CPCLI LDO3P2EN LDO1P8EN SYNC RSTB XSUBCNT VD HD GPO8 GPO7 GPO6 GPO5 GPO4 GPO3 GPO2 GPO1 CLO H1 H2 H3 H4 H5 H6 H7 H8 HL RG D0 D1 D2 D3 D4 D5 D6 D7 D8 D9 D10 D11 D12 D13 Type 1 AI AI AO AO AO AO AO DI DI DI DI DI DI DI DI DI DI DIO DIO DIO DIO DIO DIO DIO DIO DIO DIO DO DO DO DO DO DO DO DO DO DO DO DO DO DO DO DO DO DO DO DO DO DO DO DO DO Description CCD Signal Input LDO Output Sense Pin LDO Output Voltage Charge Pump Flying Capacitor Top Charge Pump Flying Capacitor Bottom Voltage Reference Top Bypass Voltage Reference Bottom Bypass Reference Clock Input 3-Wire Serial Load Pulse. Internal pull-up resistor. 3-Wire Serial Data Input 3-Wire Serial Clock Charge Pump Clock Input LDO 3.2 V Output Enable LDO 1.8 V Output Enable External System Sync Input External Reset Input (active low pulse to reset). Internal pull-up resistor. Generates 3-Level Output for SUBCK. Connect high if 3-Level SUBCK not used. Vertical Sync Pulse (input for slave mode, output for master mode) Horizontal Sync Pulse (input for slave mode, output for master mode) General-Purpose Output 8 General-Purpose Output 7 General-Purpose Output 6 General-Purpose Output 5 General-Purpose Output 4 General-Purpose Output 3 General-Purpose Output 2 General-Purpose Output 1 Clock Output for Crystal CCD Horizontal Clock 1 CCD Horizontal Clock 2 CCD Horizontal Clock 3 CCD Horizontal Clock 4 CCD Horizontal Clock 5 CCD Horizontal Clock 6 CCD Horizontal Clock 7 CCD Horizontal Clock 8 CCD Last Horizontal Clock CCD Reset Gate Clock Data Output 0 (LSB). Data Output 1. Data Output 2. Data Output 3. Data Output 4. Data Output 5. Data Output 6. Data Output 7. Data Output 8. Data Output 9. Data Output 10. Data Output 11. Data Output 12. Data Output 13 (MSB). Rev. 0 | Page 10 of 100 AD9927 Pin No. A3 K4 J3 J4 H3 H4 G4 G3 F3 F4 E4 E3 D4 D3 D5 D6 D7 C7 C8 D8 J8 J7 K8 D10 J6 G9 J9 A11, A12, B10, B12, C6, C9, C12, D9, D12, E9, E12, F12, G12 1 Mnemonic DCLK SUBCK V1A V1B V2A V2B V3A V3B V4 V5 V6 V7 V8 V9 V10 V11 V12 V13 V14 V15 TEST0 TEST1 TEST2 TEST3 TEST4 TEST5 TEST6 NC Type 1 DO VO3 VO3 VO3 VO3 VO3 VO3 VO3 VO3 VO3 VO3 VO2 VO2 VO2 VO2 VO2 VO2 VO2 VO2 VO2 AO AO DI DI AI AI DI Description Data Clock Output. CCD Substrate Clock CCD Vertical Transfer Clock. 3-Level Output (XV1 + XV16) CCD Vertical Transfer Clock. 3-Level Output (XV1 + XV17) CCD Vertical Transfer Clock. 3-Level Output (XV2 + XV18) CCD Vertical Transfer Clock. 3-Level Output (XV2 + XV19) CCD Vertical Transfer Clock. 3-Level Output (XV3 + XV20) CCD Vertical Transfer Clock. 3-Level Output (XV3 + XV21) CCD Vertical Transfer Clock. 3-Level Output (XV4 + XV22) CCD Vertical Transfer Clock. 3-Level Output (XV5 + XV23) CCD Vertical Transfer Clock. 3-Level Output (XV6 + XV24) CCD Vertical Transfer Clock. 2-Level Output (XV7) CCD Vertical Transfer Clock. 2-Level Output (XV8) CCD Vertical Transfer Clock. 2-Level Output (XV9) CCD Vertical Transfer Clock. 2-Level Output (XV10) CCD Vertical Transfer Clock. 2-Level Output (XV11) CCD Vertical Transfer Clock. 2-Level Output (XV12) CCD Vertical Transfer Clock. 2-Level Output (XV13) CCD Vertical Transfer Clock. 2-Level Output (XV14) CCD Vertical Transfer Clock. 2-Level Output (XV15) Do Not Connect Do Not Connect Connect to 1.8 V/3 V Supply Connect to Ground Connect to Ground Connect to Ground Connect to Ground Not Internally Connected AI = analog input, AO = analog output, DI = digital input, DO = digital output, DIO = digital input/output, P = power, VO2 = vertical driver output 2-level, VO3 = vertical driver output 3-level. Rev. 0 | Page 11 of 100 AD9927 TERMINOLOGY Differential Nonlinearity (DNL) An ideal ADC exhibits code transitions that are exactly 1 LSB apart. DNL is the deviation from this ideal value. Therefore, every code must have a finite width. No missing codes guaranteed to 14-bit resolution indicates that all 16,384 codes, each for its respective input, must be present over all operating conditions. Peak Nonlinearity Peak nonlinearity, a full signal chain specification, refers to the peak deviation of the output of the AD9927 from a true straight line. The point used as zero scale occurs 0.5 LSB before the first code transition. Positive full scale is defined as a level 1 LSB and 0.5 LSB beyond the last code transition. The deviation is measured from the middle of each particular output code to the true straight line. The error is then expressed as a percentage of the 2 V ADC full-scale signal. The input signal is always appropriately gained up to fill the ADC’s full-scale range. Total Output Noise The rms output noise is measured using histogram techniques. The standard deviation of the ADC output codes is calculated in LSB and represents the rms noise level of the total signal chain at the specified gain setting. The output noise can be converted to an equivalent voltage using the relationship 1 LSB = (ADC Full Scale/2n Codes) where n is the bit resolution of the ADC. For the AD9927, 1 LSB is 0.122 mV. Power Supply Rejection (PSR) The PSR is measured with a step change applied to the supply pins. The PSR specification is calculated from the change in the data outputs for a given step change in the supply voltage. Rev. 0 | Page 12 of 100 AD9927 TYPICAL PERFORMANCE CHARACTERISTICS 500 450 400 350 POWER (mW) 150 +3dB CDS 3.0V/1.8V RMS OUTPUT NOISE (LSB) 3.3V/1.8V 0dB CDS 100 –3dB CDS 300 250 200 150 100 50 05892-004 2.7V/1.8V 50 20 25 30 FREQUENCY (MHz) 35 40 0 5 10 15 20 25 30 CDS + VGA GAIN (dB) 35 40 45 Figure 4. AFETG Power vs. Frequency (V-Driver not Included) (AVDD = TCVDD = DVDD = 1.8 V, All Other Supplies at 2.7 V, 3.0 V, or 3.3 V) Figure 6. Output Noise vs. Total Gain (CDS + VGA) 1.0 0.8 0.6 0.4 DNL (LSB) 2 1 0 –1 INL (LSB) 0.2 0 –0.2 –0.4 –0.6 –0.8 05892-116 –2 –3 –4 –5 –6 0 2k 4k 6k 8k 10k ADC OUTPUT CODE 12k 14k 16k 0 2k 4k 6k 8k 10k ADC OUTPUT CODE 12k 14k 16k Figure 5. Typical Differential Nonlinearity (DNL) Performance Figure 7. Typical System Nonlinearity Performance Rev. 0 | Page 13 of 100 05892-117 –1.0 –7 05892-006 0 15 0 AD9927 EQUIVALENT CIRCUITS IOVDD AVDD 330Ω R 05892-008 AVSS AVSS IOVSS Figure 8. CCDIN Figure 10. Digital Inputs DVDD DRVDD HVDD OR RGVDD DATA RG, H1 TO H8 05892-010 THREESTATE DOUT THREE-STATE OUTPUT 05892-009 DVSS DRVSS HVSS OR RGVSS Figure 9. Digital Data Outputs Figure 11. H1 to H8, HL, RG Drivers VH INTERNAL REFERENCE VOLTAGE V5V Figure 12. V5V Rev. 0 | Page 14 of 100 05892-119 05892-011 AD9927 SYSTEM OVERVIEW Figure 13 shows the typical system block diagram for the AD9927 in master mode. The CCD output is processed by the AD9927’s AFE circuitry, which consists of a CDS, VGA, black level clamp, and ADC. The digitized pixel information is sent to the digital image processor chip, which performs the postprocessing and compression. To operate the CCD, all CCD timing parameters are programmed into the AD9927 from the system microprocessor through the 3-wire serial interface. From the master clock, CLI, provided by the image processor or external crystal, the AD9927 generates the CCD’s horizontal and vertical clocks and internal AFE clocks. External synchronization is provided by a sync pulse from the microprocessor, which resets the internal counters and resyncs the VD and HD outputs. V1A TO V15, SUBCK Alternatively, the AD9927 can be operated in slave mode. In this mode, the VD and HD are provided externally from the image processor, and all AD9927 timing is synchronized with VD and HD. The H-drivers for H1 to H8, HL, and RG are included in the AD9927, allowing these clocks to be directly connected to the CCD. An H-driver voltage of up to 3.3 V is supported. V1A to V15 and SUBCK vertical clocks are included as well, allowing the AD9927 to provide all horizontal and vertical clocks necessary to clock data out of a CCD. The AD9927 includes programmable general-purpose outputs (GPO), which can trigger mechanical shutter and strobe (flash) circuitry. Figure 14 and Figure 15 show the maximum horizontal and vertical counter dimensions for the AD9927. All internal horizontal and vertical clocking is controlled by these counters, which specify line and pixel locations. Maximum HD length is 8192 pixels per line, and maximum VD length is 8192 lines per field. MAXIMUM COUNTER DIMENSIONS H1 TO H8, HL, RG, VSUB DOUT CCD CCDIN AD9927 AFETG V-DRIVER DCLK HD, VD CLI GPO1 TO GPO8 DIGITAL IMAGE PROCESSING ASIC SERIAL INTERFACE µP 05892-120 SYNC 13-BIT HORIZONTAL = 8192 PIXELS MAX Figure 13. Typical System Block Diagram, Master Mode 13-BIT VERTICAL = 8192 LINES MAX Figure 14. Vertical and Horizontal Counters MAX VD LENGTH IS 8192 LINES VD MAX HD LENGTH IS 8192 PIXELS HD Figure 15. Maximum VD/HD Dimensions Rev. 0 | Page 15 of 100 05892-014 CLI 05892-013 AD9927 HIGH SPEED PRECISION TIMING CORE The AD9927 generates high speed timing signals using the flexible Precision Timing core. This core is the foundation for generating the timing used for both the CCD and the AFE; it includes the reset gate RG, horizontal drivers H1 to H8, HL, and SHP/SHD sample clocks. A unique architecture makes it routine for the system designer to optimize image quality by providing precise control over the horizontal CCD readout and the AFE correlated double sampling. The high speed timing of the AD9927 operates the same way in either master or slave mode configuration. For more information on synchronization and pipeline delays, see the Power-Up Sequence for Master Mode section. clock by programming the CLIDIVIDE register (AFE Register Address 0x0D). The AD9927 then internally divides the CLI frequency by 2. The AD9927 includes a master clock output, CLO, which is the inverse of CLI. This output should be used as a crystal driver. A crystal can be placed between the CLI and CLO pins to generate the master clock for the AD9927. High Speed Clock Programmability Figure 17 shows when the high speed clocks RG, H1 to H8, SHP, and SHD are generated. The RG pulse has programmable rising and falling edges and can be inverted using the polarity control. Horizontal Clock H1 has programmable rising and falling edges and polarity control. In HCLK Mode 1, H3, H5, and H7 are equal to H1 and H2, H4, H6, and H8 are always inverses of H1. The edge location registers are each six bits wide, allowing the selection of all 64 edge locations. Figure 20 shows the default timing locations for all of the high speed clock signals. Timing Resolution The Precision Timing core uses a 1× master clock input as a reference (CLI). This clock should be the same as the CCD pixel clock frequency. Figure 16 illustrates how the internal timing core divides the master clock period into 64 steps or edge positions. Using a 40 MHz CLI frequency, the edge resolution of the Precision Timing core is approximately 0.4 ns. If a 1× system clock is not available, it is possible to use a 2× reference POSITION CLI P[0] P[16] P[32] P[48] P[64] = P[0] tCLIDLY ONE PIXEL PERIOD Figure 16. High Speed Clock Resolution from CLI, Master Clock Input 1 CCD SIGNAL 2 3 RG 5 H1, H3, H5, H7 4 6 H2, H4, H6, H8 7 HL PROGRAMMABLE CLOCK POSITIONS: 1SHP SAMPLE LOCATION. 2SHD SAMPLE LOCATION. 3RG RISING EDGE. 4RG FALLING EDGE. 5H1 RISING EDGE. 6H1 FALLING EDGE. 7HL RISING EDGE. 8HL FALLING EDGE. 8 Figure 17. High Speed Clock Programmable Locations (HCLKMODE = 001) Rev. 0 | Page 16 of 100 05892-016 05892-015 NOTES 1. THE PIXEL CLOCK PERIOD IS DIVIDED INTO 64 POSITIONS, PROVIDING FINE EDGE RESOLUTION FOR HIGH SPEED CLOCKS. 2. THERE IS A FIXED DELAY FROM THE CLI INPUT TO THE INTERNAL PIXEL PERIOD POSITION (tCLIDLY). AD9927 H-Driver and RG Outputs In addition to the programmable timing positions, the AD9927 features on-chip output drivers for the RG, HL, and H1 to H8 outputs. These drivers are powerful enough to drive the CCD inputs directly. The H-driver and RG current can be adjusted for optimum rise/fall time for a particular load by using the drive strength control registers (Addresses 0x35 and 0x36). The 3-bit drive setting for each output is adjustable in 4.3 mA increments: 0 = three-state; 1 = 4.3 mA; 2 = 8.6 mA; 3 = 12.9 mA; and 4, 5, 6, 7 = 17.2 mA. As shown in Figure 17, when HCLK Mode 1 is used, the H2, H4, H6, and H8 outputs are inverses of the H1, H3, H5, and H7 outputs, respectively. Using the HCLKMODE register (Address 0x23, Bits [9:7]), it is possible to select a different configuration. Table 9 shows a comparison of the different programmable settings for each HCLK mode. Figure 18 and Figure 19 show the settings for HCLK Mode 2 and HCLK Mode 3, respectively. Note that it is recommended that all H1 to H8 outputs on the AD9927 be used together for maximum flexibility in drive strength settings. A typical CCD with H1 and H2 inputs should only have the AD9927’s H1, H3, H5, and H7 outputs connected together to drive the CCD’s H1, and the H2, H4, H6, and H8 outputs connected together to drive the CCD’s H2. Similarly, a CCD with H1, H2, H3, and H4 inputs should have • H1 and H3 connected to the CCD’s H1. • H2 and H4 connected to the CCD’s H2. • H5 and H7 connected to the CCD’s H3. • H6 and H8 connected to the CCD’s H4. Table 8. Timing Core Register Parameters for H1, H2, HL, RG, SHP, SHD Parameter Polarity Positive Edge Negative Edge Sampling Location Drive Strength Length 1b 6b 6b 6b 3b Range High/low 0 to 63 edge location 0 to 63 edge location 0 to 63 edge location 0 to 4 current steps Description Polarity control for H1, H2, HL, and RG (0 = inversion, 1 = no inversion) Positive edge location for H1, H2, HL, and RG Negative edge location for H1, H2, HL, and RG Sampling location for internal SHP and SHD signals Drive current for H1 to H8 , HL, and RG outputs (4.3 mA per step) Table 9. HCLK Modes, Selected by Address 0x23, Bits [9:7] HCLKMODE Mode 1 Mode 2 Mode 3 Invalid Selection Register Value 001 010 100 000, 011, 101, 110, 111 Description H1 edges are programmable, with H3 = H5 = H7 = H1, H2 = H4 = H6 = H8 = inverse of H1 H1 edges are programmable, with H3 = H5 = H7 = H1 H2 edges are programmable, with H4 = H6 = H8 = H2 H1 edges are programmable, with H3 = H1 and H2 = H4 = inverse of H1 H5 edges are programmable, with H7 = H5 and H6 = H8 = inverse of H5 Invalid register settings 1 H1, H3, H5, H7 4 H2, H4, H6, H8 2 3 Figure 18. HCLK Mode 2 Operation Rev. 0 | Page 17 of 100 05892-017 H1 TO H8 PROGRAMMABLE LOCATIONS: 1H1 RISING EDGE. 2H1 FALLING EDGE. 3H2 RISING EDGE. 4H2 FALLING EDGE. AD9927 1 2 H1, H3 H2, H4 3 4 H5, H7 H6, H8 H1 TO H8 PROGRAMMABLE EDGES: 1H1 RISING EDGE. 2H1 FALLING EDGE. 3H5 RISING EDGE. 4H5 FALLING EDGE. Figure 19. HCLK Mode 3 Operation POSITION P[0] P[16] P[32] P[48] P[64] = P[0] PIXEL PERIOD RGr[0] RG RGf[16] HLr[0] HL H1r[0] H1, H3, H5, H7 HLf[32] H1f[32] H2, H4, H6, H8 SHP[32] CCD SIGNAL tS1 SHD[0] Figure 20. High Speed Timing Default Locations Digital Data Outputs The AD9927 data output and DCLK phase are programmable using the DOUTPHASE registers (Address 0x38, Bits [11:0]). DOUTPHASEP (Bits [5:0]) selects any edge location from 0 to 63, as shown in Figure 21. DOUTPHASEN (Bits [11:6]) does not actually program the phase of the data outputs but is used internally and should always be programmed to a value of DOUTPHASEP plus 32 edges. For example, if DOUTPHASEP is set to 0, DOUTPHASEN should be set to 32 (0x20). Normally, the DOUT and DCLK signals track in phase, based on the contents of the DOUTPHASE registers. The DCLK output phase can also be held fixed with respect to the data outputs by changing the DCLKMODE register high (Address 0x38, Bit [12]). In this mode, the DCLK output remains at a fixed phase equal to a delayed version of CLI while the data output phase is still programmable. The pipeline delay through the AD9927 is shown in Figure 22. After the CCD input is sampled by SHD, there is a 16-cycle delay until the data is available. Rev. 0 | Page 18 of 100 05892-019 NOTES 1. ALL SIGNAL EDGES ARE FULLY PROGRAMMABLE TO ANY OF THE 64 POSITIONS WITHIN ONE PIXEL PERIOD. DEFAULT POSITIONS FOR EACH SIGNAL ARE SHOWN. HCLK MODE 1 IS SHOWN. 2. CONNECT H1, H3, H5, AND H7 TOGETHER AND H2, H4, H6, AND H8 TOGETHER FOR MAXIMUM DRIVE STRENGTH. 05892-018 AD9927 P[0] PIXEL PERIOD P[16] P[32] P[48] P[64] = P[0] DCLK tOD DOUT Figure 21. Digital Output Phase Adjustment Using DOUTPHASEP Register CLI tCLIDLY N CCDIN N+1 N+2 N+3 N+4 N+5 N+6 N+7 N+8 N+9 N + 10 N + 11 N + 12 N + 13 N + 14 N + 15 N + 16 N + 17 SAMPLE PIXEL N SHD (INTERNAL) ADC DOUT (INTERNAL) N – 17 N – 16 N – 15 N – 14 N – 13 N – 12 N – 11 N – 10 N–9 N–8 N–7 N–6 N–5 N–4 N–3 N–2 05892-020 NOTES 1. DATA OUTPUT (DOUT) AND DCLK PHASE ARE ADJUSTABLE WITH RESPECT TO THE PIXEL PERIOD. 2. WITHIN ONE CLOCK PERIOD, THE DATA TRANSITION CAN BE PROGRAMMED TO 64 DIFFERENT LOCATIONS. 3. DCLK CAN BE INVERTED WITH RESPECT TO DOUT BY USING THE DCLKINV REGISTER. N–1 N N+1 tDOUTINH DCLK PIPELINE LATENCY = 16 CYCLES DOUT N – 17 N – 16 N – 15 N – 14 N – 13 N – 12 N – 11 N – 10 N–9 N–8 N–7 N–6 N–5 N–4 N–3 N–2 N–1 N N+1 Figure 22. Digital Data Output Pipeline Delay Rev. 0 | Page 19 of 100 05892-021 NOTES 1. TIMING VALUES SHOWN ARE SHDLOC = 0, WITH DCLKMODE = 0. 2. HIGHER VALUES OF SHD AND/OR DOUT PHASE SHIFTS DOUT TRANSITION TO THE RIGHT, WITH RESPECT TO CLI LOCATION. 3. RECOMMENDED VALUE FOR DOUT PHASE IS TO USE SHPLOC OR UP TO 15 EDGES FOLLOWING SHPLOC. AD9927 HORIZONTAL CLAMPING AND BLANKING The AD9927’s horizontal clamping and blanking pulses are fully programmable to suit a variety of applications. Individual control is provided for CLPOB, PBLK, and HBLK in the different regions of each field. This allows the dark pixel clamping and blanking patterns to be changed at each stage of the readout in order to accommodate different image transfer timing and high speed line shifts. CLPOB and PBLK Masking Areas Additionally, the AD9927 allows the CLPOB and PBLK signals to be disabled in certain lines in the field without changing any of the existing CLPOB pattern settings. To use CLPOB (or PBLK) masking, the CLPMASKSTART (PBLKMASKSTART) and CLPMASKEND (PBLKMASKEND) registers are programmed to specify the start and end lines in the field where the CLPOB (PBLK) patterns are ignored. The three sets of start and end registers allow up to three CLPOB (PBLK) masking areas to be created. The CLPOB and PBLK masking registers are not specific to a certain V-sequence; they are always active for any existing field of timing. During operation, to disable the CLPOB masking feature, these registers must be set to the maximum value of 0x1FFF or a value greater than the programmed VD length. Note that to disable CLPOB (and PBLK) masking during power-up, it is recommended to set CLPMASKSTART (PBLKMASKSTART) to 8191 and CLPMASKEND (PBLKMASKEND) to 0. This prevents any accidental masking caused by register update events. Individual CLPOB and PBLK Patterns The AFE horizontal timing consists of CLPOB and PBLK, as shown in Figure 23. These two signals are programmed independently using the registers in Table 10. The start polarity for the CLPOB (and PBLK) signal is CLPOBPOL (PBLKPOL), and the first and second toggle positions of the pulse are CLPOBTOG1 (PBLKTOG1) and CLPOBTOG2 (PBLKTOG2). Both signals are active low and should be programmed accordingly. A separate pattern for CLPOB and PBLK can be programmed for each vertical sequence. As described in the Vertical Timing Generation section, several V-sequences can be created, each containing a unique pulse pattern for CLPOB and PBLK. Figure 49 shows how the sequence change positions divide the readout field into different regions. By assigning a different V-sequence to each region, the CLPOB and PBLK signals can change with each change in the vertical timing. Table 10. CLPOB and PBLK Pattern Registers Register CLPOBPOL PBLKPOL CLPOBTOG1 CLPOBTOG2 PBLKTOG1 PBLKBTOG2 CLPMASKSTART CLPMASKEND PBLKMASKSTART PBLKMASKEND Length 1b 1b 13b 13b 13b 13b 13b 13b 13b 13b Range High/low High/low 0 to 8191 pixel location 0 to 8191 pixel location 0 to 8191 pixel location 0 to 8191 pixel location 0 to 8191 line location 0 to 8191 line location 0 to 8191 line location 0 to 8191 line location Description Starting polarity of CLPOB for each V-sequence. Starting polarity of PBLK for each V-sequence. First CLPOB toggle position within line for each V-sequence. Second CLPOB toggle position within line for each V-sequence. First PBLK toggle position within line for each V-sequence. Second PBLK toggle position within line for each V-sequence. CLPOB masking area—starting line within field (maximum of three areas). CLPOB masking area—ending line within field (maximum of three areas). PBLK masking area—starting line within field (maximum of three areas). PBLK masking area—ending line within field (maximum of three areas). Rev. 0 | Page 20 of 100 AD9927 HD 2 CLPOB 1 PBLK ACTIVE 3 ACTIVE 05892-022 PROGRAMMABLE SETTINGS: 1START POLARITY (CLAMP AND BLANK REGION ARE ACTIVE LOW). 2FIRST TOGGLE POSITION. 3SECOND TOGGLE POSITION. Figure 23. Clamp and Preblank Pulse Placement VD 0 HD 1 2 NO CLPOB SIGNAL FOR LINES 6 TO 8 597 598 NO CLPOB SIGNAL FOR LINE 600 CLPOB 05892-023 CLPMASKSTART1 = 6 CLPMASKEND1 = 8 CLPMASKSTART2 = CLPMASKEND2 = 600 Figure 24. CLPOB Masking Example Rev. 0 | Page 21 of 100 AD9927 Individual HBLK Patterns The HBLK programmable timing shown in Figure 25 is similar to CLPOB and PBLK; however, there is no start polarity control. Only the toggle positions are used to designate the start and stop positions of the blanking period. Additionally, there are separate masking polarity controls for H1, H2, and HL that designate the polarity of the horizontal clock signals during the blanking period. Setting HBLKMASK_H1 high sets H1, and therefore H3, H5, and H7, low during the blanking, as shown in Figure 26. As with the CLPOB and PBLK signals, HBLK registers are available in each V-sequence, allowing different blanking signals to be used with different vertical timing sequences. The AD9927 supports three modes of HBLK operation. HBLK Mode 0 supports basic operation and some support for special HBLK patterns. HBLK Mode 1 supports pixel mixing HBLK operation. HBLK Mode 2 supports advanced HBLK operation. The following sections describe each mode in detail. Register parameters are described in detail in Table 11. HBLK Mode 0 Operation There are six toggle positions available for HBLK. Normally, only two of the toggle positions are used to generate the standard HBLK interval. However, the additional toggle positions can be used to generate special HBLK patterns, as shown in Figure 27. The pattern in this example uses all six toggle positions to generate two extra groups of pulses during the HBLK interval. By changing the toggle positions, different patterns can be created. Separate toggle positions are available for even and odd lines. If alternation is not needed, the same values should be loaded into the registers for even (HBLKTOGE) and odd (HBLKTOGO) lines. HD HBLKTOGE1 HBLKTOGE2 BASIC HBLK PULSE IS GENERATED USING HBLKTOGE1 AND HBLKTOGE2 REGISTERS (HBLKALT = 0) Figure 25. Typical Horizontal Blanking Pulse Placement (HBLKMODE = 0) HD HBLK H1/H3/H5/H7 THE POLARITY OF H1/H3/H5/H7 DURING BLANKING IS PROGRAMMABLE (H2/H4/H6/H8 AND HL ARE SEPARATELY PROGRAMMABLE) H1/H3/H5/H7 05892-025 H2/H4/H6/H8 Figure 26. HBLK Masking Polarity Control HBLKTOGE2 HBLKTOGE1 HBLKTOGE4 HBLKTOGE3 HBLKTOGE6 HBLKTOGE5 HBLK H1/H3 H2/H4 SPECIAL H-BLANK PATTERN IS CREATED USING MULTIPLE HBLK TOGGLE POSITIONS (HBLKALT = 0) Figure 27. Using Multiple Toggle Positions for HBLK (HBLKMODE = 0) Rev. 0 | Page 22 of 100 05892-026 05892-024 HBLK BLANK BLANK AD9927 Table 11. HBLK Pattern Registers Register HBLKMODE Length 2b Range 0 to 2 HBLK modes Description Enables different HBLK toggle position operation. 0: normal mode. Six toggle positions available for even and odd lines. If even/odd alternation is not needed, set toggles for even/odd the same. 1: pixel mixing mode. In addition to the six toggle positions, the HBLKSTART, HBLKEND, HBLKLEN, and HBLKREP registers can be used to generate HBLK patterns. If even/odd alternation is not need, set toggles for even/odd the same. 2: advanced HBLK mode. Divides HBLK interval into six repeat areas. Uses HBLKSTARTA/B/C and RA*H*REPA/B/C registers. 3: test mode only. Do not access. Start location for HBLK in HBLK Mode 1 and HBLK Mode 2. End location for HBLK in HBLK Mode 1 and HBLK Mode 2. HBLK length in HBLK Mode 1 and HBLK Mode 2. Number of HBLK repetitions in HBLK Mode 1 and HBLK Mode 2. Masking polarity for H1, H3, H5, H7 during HBLK. Masking polarity for H2, H4, H6, H8 during HBLK. Masking polarity for HL during HBLK. First HBLK toggle position for odd lines in HBLK Mode 0 and HBLK Mode 1. Second HBLK toggle position for odd lines in HBLK Mode 0 and HBLK Mode 1. Third HBLK toggle position for odd lines in HBLK Mode 0 and HBLK Mode 1. Fourth HBLK toggle position for odd lines in HBLK Mode 0 and HBLK Mode 1. Fifth HBLK toggle position for odd lines in HBLK Mode 0 and HBLK Mode 1. Sixth HBLK toggle position for odd lines in HBLK Mode 0 and HBLK Mode 1. First HBLK toggle position for even lines in HBLK Mode 0 and HBLK Mode 1. Second HBLK toggle position for even lines in HBLK Mode 0 and HBLK Mode 1. Third HBLK toggle position for even lines in HBLK Mode 0 and HBLK Mode 1. Fourth HBLK toggle position for even lines in HBLK Mode 0 and HBLK Mode 1. Fifth HBLK toggle position for even lines in HBLK Mode 0 and HBLK Mode 1. Sixth HBLK toggle position for even lines in HBLK Mode 0 and HBLK Mode 1. HBLK Repeat Area 0. Number of H1 repetitions for HBLKSTARTA/B/C in HBLK Mode 2 for even lines; odd lines defined using HBLKALT_PAT. [3:0] RA0H1REPA. Number of H1 pulses following HBLKSTARTA. [7:4] RA0H1REPB. Number of H1 pulses following HBLKSTARTB. [11:8] RA0H1REPC. Number of H1 pulses following HBLKSTARTC. HBLK Repeat Area 1. Number of H1 repetitions for HBLKSTARTA/B/C. HBLK Repeat Area 2. Number of H1 repetitions for HBLKSTARTA/B/C. HBLK Repeat Area 3. Number of H1 repetitions for HBLKSTARTA/B/C. HBLK Repeat Area 4. Number of H1 repetitions for HBLKSTARTA/B/C. HBLK Repeat Area 5. Number of H1 repetitions for HBLKSTARTA/B/C. HBLK Repeat Area 0. Number of H2 repetitions for HBLKSTARTA/B/C in HBLK Mode 2 for even lines; odd lines defined using HBLKALT_PAT. [3:0] RA0H2REPA. Number of H2 pulses following HBLKSTARTA. [7:4] RA0H2REPB. Number of H2 pulses following HBLKSTARTB. [11:8] RA0H2REPC. Number of H2 pulses following HBLKSTARTC. HBLK Repeat Area 1. Number of H2 repetitions for HBLKSTARTA/B/C. HBLK Repeat Area 2. Number of H2 repetitions for HBLKSTARTA/B/C. HBLK Repeat Area 3. Number of H2 repetitions for HBLKSTARTA/B/C. HBLK Repeat Area 4. Number of H2 repetitions for HBLKSTARTA/B/C. HBLK Repeat Area 5. Number of H2 repetitions for HBLKSTARTA/B/C. HBLK Repeat Area Start Position A for HBLK Mode 2. Set to 8191 if not used. HBLK Repeat Area Start Position B for HBLK Mode 2. Set to 8191 if not used. HBLK Repeat Area Start Position C for HBLK Mode 2. Set to 8191 if not used. HBLKSTART HBLKEND HBLKLEN HBLKREP HBLKMASK_H1 HBLKMASK_H2 HBLKMASK_HL HBLKTOGO1 HBLKTOGO2 HBLKTOGO3 HBLKTOGO4 HBLKTOGO5 HBLKTOGO6 HBLKTOGE1 HBLKTOGE2 HBLKTOGE3 HBLKTOGE4 HBLKTOGE5 HBLKTOGE6 RA0H1REPA/B/C 13b 13b 13b 13b 1b 1b 1b 13b 13b 13b 13b 13b 13b 13b 13b 13b 13b 13b 13b 12b 0 to 8191 pixel location 0 to 8191 pixel location 0 to 8191 pixels 0 to 8191 repetitions High/low High/low High/low 0 to 8191 pixel location 0 to 8191 pixel location 0 to 8191 pixel location 0 to 8191 pixel location 0 to 8191 pixel location 0 to 8191 pixel location 0 to 8191 pixel location 0 to 8191 pixel location 0 to 8191 pixel location 0 to 8191 pixel location 0 to 8191 pixel location 0 to 8191 pixel location 0 to 15 HCLK pulses for each A, B, and C RA1H1REPA/B/C RA2H1REPA/B/C RA3H1REPA/B/C RA4H1REPA/B/C RA5H1REPA/B/C RA0H2REPA/B/C 12b 12b 12b 12b 12b 12b 0 to 15 HCLK pulses 0 to 15 HCLK pulses 0 to 15 HCLK pulses 0 to 15 HCLK pulses 0 to 15 HCLK pulses 0 to 15 HCLK pulses for each A, B, and C RA1H2REPA/B/C RA2H2REPA/B/C RA3H2REPA/B/C RA4H2REPA/B/C RA5H2REPA/B/C HBLKSTARTA HBLKSTARTB HBLKSTARTC 12b 12b 12b 12b 12b 13b 13b 13b 0 to 15 HCLK pulses 0 to 15 HCLK pulses 0 to 15 HCLK pulses 0 to 15 HCLK pulses 0 to 15 HCLK pulses 0 to 8191 pixel location 0 to 8191 pixel location 0 to 8191 pixel location Rev. 0 | Page 23 of 100 AD9927 Register HBLKALT_PAT1 HBLKALT_PAT2 HBLKALT_PAT3 HBLKALT_PAT4 HBLKALT_PAT5 HBLKALT_PAT6 Length 3b 3b 3b 3b 3b 3b Range 0 to 5 even repeat area 0 to 5 even repeat area 0 to 5 even repeat area 0 to 5 even repeat area 0 to 5 even repeat area 0 to 5 even repeat area Description HBLK Mode 2, Odd Field Repeat Area 0 pattern, selected from even field repeat areas previously defined. HBLK Mode 2, Odd Field Repeat Area 1 pattern. HBLK Mode 2, Odd Field Repeat Area 2 pattern. HBLK Mode 2, Odd Field Repeat Area 3 pattern. HBLK Mode 2, Odd Field Repeat Area 4 pattern. HBLK Mode 2, Odd Field Repeat Area 5 pattern. HBLKTOGE2 HBLKSTART HBLKTOGE1 HBLKTOGE3 HBLKTOGE4 HBLKEND HBLK HBLKLEN HBLKREP = 3 H1/H3 H2/H4 05892-027 HBLKREP NUMBER 1 HBLKREP NUMBER 2 HBLKREP NUMBER 3 H-BLANK REPEATING PATTERN IS CREATED USING HBLKLEN AND HBLKREP REGISTERS Figure 28. HBLK Repeating Pattern Using HBLKMODE = 1 HBLK Mode 1 Operation Multiple repeats of the HBLK signal are enabled by setting HBLKMODE to 1. In this mode, the HBLK pattern can be generated using a different set of registers: HBLKSTART, HBLKEND, HBLKLEN, and HBLKREP, along with the six toggle positions (see Figure 28). Separate toggle positions are available for even and odd lines. If alternation is not needed, the same values should be loaded into the registers for even (HBLKTOGE) and odd (HBLKTOGO) lines. Bits [7:4]) is set to a value between 1 and 15. When this register is set to 0, the wide HCLK feature is disabled. The reduced frequency occurs only for H1 to H8 pulses that are located within the HBLK area. The HCLK_WIDTH register is generally used in conjunction with special HBLK patterns to generate vertical and horizontal mixing in the CCD. Note that the wide HCLK feature is available only in HBLK Mode 0 and HBLK Mode 1. HBLK Mode 2 does not support wide HCLKs. Table 12. HCLK Width Register Register HCLK_WIDTH Length 4b Description Controls H1 to H8 width during HBLK as a fraction of pixel rate 0: same frequency as pixel rate 1: 1/2 pixel frequency, that is, doubles the HCLK pulse width 2: 1/4 pixel frequency 3: 1/6 pixel frequency 4: 1/8 pixel frequency 5: 1/10 pixel frequency … 15: 1/30 pixel frequency Generating HBLK Line Alternation HBLK Mode 0 and HBLK Mode 1 provide the ability to alternate different HBLK toggle positions on even and odd lines. HBLK line alternation can be used in conjunction with V-pattern odd/even alternation or on its own. Separate toggle positions are available for even and odd lines. If even/odd line alternation is not required, the same values should be loaded into the registers for even (HBLKTOGE) and odd (HBLKTOGO) lines. Increasing H-Clock Width During HBLK HBLK Mode 0 and HBLK Mode 1 allow the H1 to H8 pulse width to be increased during the HBLK interval. As shown in Figure 29, the H-clock frequency can be reduced by a factor of 1/2, 1/4, 1/6, 1/8, 1/10, 1/12, and so on, up to 1/30. To enable this feature, the HCLK_WIDTH register (Address 0x34, Rev. 0 | Page 24 of 100 AD9927 HBLK H1/H3 1/FPIX H2/H4 05892-028 2 × (1/FPIX) H-CLOCK FREQUENCY CAN BE REDUCED DURING HBLK BY 1/2 (AS SHOWN), 1/4, 1/6, 1/8, 1/10, 1/12, AND SO ON, UP TO 1/30 USING HBLKWIDTH REGISTER Figure 29. Generating Wide H-Clock Pulses During HBLK Interval HD CREATE UP TO 3 GROUPS OF TOGGLES A, B, C COMMON IN ALL REPEAT AREAS A B C MASK A, B, C PULSES IN ANY REPEAT AREA BY SETTING RA*H*REP* = 0 CHANGE NUMBER OF A, B, C PULSES IN ANY REPEAT AREA USING RA*H*REP* REGISTERS H1 H2 REPEAT AREA 0 HBLKSTART REPEAT AREA 1 REPEAT AREA 2 REPEAT AREA 3 REPEAT AREA 4 REPEAT AREA 5 HBLKEND Figure 30. HBLK Mode 2 Operation HD HBLKLEN HBLK HBLKSTARTA HBLKSTARTB HBLKSTARTC H1 ALL RA*H*REPA/B/C REGISTERS = 2 TO CREATE TWO HCLK PULSES RA0H1REPA RA0H1REPB H2 RA0H1REPC RA1H1REPA RA1H1REPB RA1H1REPC HBLKSTART RA0H2REPA RA0H2REPB RA0H2REPC RA1H2REPA RA1H2REPB RA1H2REPC HBLKEND 05892-030 REPEAT AREA 0 HBLKREP = 2 TO CREATE TWO REPEAT AREAS REPEAT AREA 1 Figure 31. HBLK Mode 2 Registers Rev. 0 | Page 25 of 100 05892-029 AD9927 HBLK Mode 2 Operation HBLK Mode 2 allows more advanced HBLK pattern operation. If multiple areas of HCLK pulses that are unevenly spaced apart from one another are needed, HBLK Mode 2 can be used. Using a separate set of registers, HBLK Mode 2 can divide the HBLK region into up to six repeat areas (see Table 11). As shown in Figure 31, each repeat area shares a common group of toggle positions, HBLKSTARTA, HBLKSTARTB, and HBLKSTARTC. However, the number of toggles following each start position can be unique in each repeat area by using the RAH1REP and RAH2REP registers. As shown in Figure 30, setting the RAH1REPA/RAH1REPB/RAH1REPC or RAH2REPA/ RAH2REPB/RAH2REPC registers to 0 masks HCLK groups from appearing in a particular repeat area. Figure 31 shows only two repeat areas being used, although six are available. It is possible to program a separate number of repeat area repetitions for H1 and H2, but generally the same value is used for both H1 and H2. Figure 31 shows an example of RA0H1REPA/RA0H1REPB/ RA0H1REPC = RA0H2REPA/RA0H2REPB/RA0H2REPC = RA1H1REPA/RA1H1REPB/RA1H1REPC = RA1H2REPA/ RA1H2REPB/RA1H2REPC = 2. Furthermore, HBLK Mode 2 allows a different HBLK pattern on even and odd lines. The HBLKSTARTA, HBLKSTARTB, and HBLKSTARTC registers, as well as the RAH1REPA/RAH1REPB/ RAH1REPC and RAH2REPA/RAH2REPB/RAH2REPC registers, define operation for the even lines. For separate control of the odd lines, the HBLKALT_PAT registers specify up to six repeat areas on the odd lines by reordering the repeat areas used for the even lines. New patterns are not available, but the order of the previously defined repeat areas on the even lines can be changed for the odd lines to accommodate advanced CCD operation. HORIZONTAL TIMING SEQUENCE EXAMPLE Figure 32 shows an example CCD layout. The horizontal register contains 28 dummy pixels, which occur on each line clocked from the CCD. In the vertical direction, there are 10 optical black (OB) lines at the front of the readout and two at the back of the readout. The horizontal direction has four OB pixels in the front and 48 in the back. Figure 33 shows the basic sequence layout to be used during the effective pixel readout. The 48 OB pixels at the end of each line are used for the CLPOB signals. PBLK is optional and is often used to blank the digital outputs during the HBLK time. HBLK is used during the vertical shift interval. Because PBLK is used to isolate the CDS input (see the Analog Preblanking section), the PBLK signal should not be used during CLPOB operation. The change in the offset behavior that occurs during PBLK impacts the accuracy of the CLPOB circuitry. The HBLK, CLPOB, and PBLK parameters are programmed in the V-sequence registers. More elaborate clamping schemes, such as adding in a separate sequence to clamp in the entire shield OB lines, can be used. This requires configuring a separate V-sequence for clocking out the OB lines. The CLPMASK registers are also useful for disabling the CLPOB on a few lines without affecting the setup of the clamping sequences. It is important that CLPOB be used only during valid OB pixels. During other portions on the frame timing, such as vertical blanking or SG line timing, the CCD does not output valid OB pixels. Any CLPOB pulse that occurs during this time causes errors in clamping operation and changes in the black level of the image. 2 VERTICAL OB LINES V EFFECTIVE IMAGE AREA 10 VERTICAL OB LINES H 4 OB PIXELS HORIZONTAL CCD REGISTER 05892-031 48 OB PIXELS 28 DUMMY PIXELS Figure 32. Example CCD Configuration Rev. 0 | Page 26 of 100 AD9927 OPTICAL BLACK HD OPTICAL BLACK CCD OUTPUT SHP SHD H1/H3/H5/H7 H2/H4/H6/H8 HBLK PBLK CLPOB VERTICAL SHIFT DUMMY EFFECTIVE PIXELS OPTICAL BLACK VERT. SHIFT NOTES 1. PBLK ACTIVE (LOW) SHOULD NOT BE USED DURING CLPOB ACTIVE (LOW). Figure 33. Horizontal Sequence Example Rev. 0 | Page 27 of 100 05892-032 AD9927 VERTICAL TIMING GENERATION The AD9927 provides a flexible solution for generating vertical CCD timing and can support multiple CCDs and different system architectures. The vertical transfer clocks are used to shift each line of pixels into the horizontal output register of the CCD. The AD9927 allows these outputs to be individually programmed into various readout configurations by using a 4-step process. Figure 34 shows an overview of how the vertical timing is generated in four steps. 1. The individual pulse patterns for XV1 to XV24 are created by using the vertical pattern group registers. 2. The V-pattern groups are used to build the sequences, which is where additional information is added. 3. The readout for an entire field is constructed by dividing the field into different regions and then assigning a sequence to each region. Each field can contain up to nine different regions to accommodate different steps of the readout, such as high speed line shifts and unique vertical line transfers. The total number of V-patterns, V-sequences, and fields is programmable, but limited by the number of registers. 4. The MODE registers allow the different fields to be combined in any order for various readout configurations. Rev. 0 | Page 28 of 100 AD9927 1 CREATE THE VERTICAL PATTERN GROUPS, UP TO FOUR TOGGLE POSITIONS FOR EACH OUTPUT. XV1 XV2 VPAT0 XV3 V-SEQUENCE 0 (VPAT0, 1 REP) XV23 XV24 2 BUILD THE V-SEQUENCES BY ADDING START POLARITY, LINE START POSITION, NUMBER OF REPEATS, ALTERNATION, GROUP A/B/C/D INFORMATION, AND HBLK/CLPOB PULSES. XV1 XV2 XV3 XV23 XV24 XV1 XV1 XV2 XV3 VPAT1 XV23 XV24 V-SEQUENCE 1 (VPAT1, 2 REP) XV2 XV3 XV23 XV24 XV1 XV2 V-SEQUENCE 2 (VPAT1, N REP) XV3 XV23 XV24 4 USE THE MODE REGISTERS TO CONTROL WHICH FIELDS ARE USED, AND IN WHAT ORDER (MAXIMUM OF SEVEN FIELDS MAY BE COMBINED IN ANY ORDER). 3 BUILD EACH FIELD BY DIVIDING INTO DIFFERENT REGIONS AND ASSIGNING A DIFFERENT V-SEQUENCE TO EACH (MAXIMUM OF NINE REGIONS IN EACH FIELD). FIELD 0 FIELD0 FIELD1 FIELD2 REGION 0: USE V-SEQUENCE 2 REGION 0: USE V-SEQUENCE 3 REGION 1: USE V-SEQUENCE 0 REGION 0: USE V-SEQUENCE 3 REGION 1: USE V-SEQUENCE 2 REGION 2: USE V-SEQUENCE 3 REGION 1: USE V-SEQUENCE 2 FIELD3 FIELD4 REGION 3: USE V-SEQUENCE 0 REGION 2: USE V-SEQUENCE 1 FIELD5 FIELD1 FIELD4 FIELD2 REGION 2: USE V-SEQUENCE 1 REGION 4: USE V-SEQUENCE 2 FIELD1 FIELD2 05892-033 Figure 34. Summary of Vertical Timing Generation Rev. 0 | Page 29 of 100 AD9927 Vertical Pattern Groups (VPAT) The vertical pattern groups define the individual pulse patterns for each XV1 to XV24 output signal. Table 13 summarizes the registers available for generating each of the V-pattern groups. The first, second, third, and fourth toggle positions (VTOG1, VTOG2, VTOG3, and VTOG4) are the pixel locations within the line where the pulse transitions. All toggle positions are 13-bit values, allowing their placement anywhere in the horizontal line. More registers are included in the vertical sequence registers to specify the output pulses. VPOL specifies the start polarity for each signal; VSTART specifies the start position of the V-pattern group within the line; VLEN designates the total length of the V-pattern group, which determines the number of pixels between each of the pattern repetitions when repetitions are used. The VSTART position is actually an offset value for each toggle position. The actual pixel location for each toggle, measured from the HD falling edge (Pixel 0), is equal to the VSTART value plus the toggle position. When the selected V-output is designated as a VSG pulse, either the VTOG1/VTOG2 or VTOG3/VTOG4 pair is selected using V-Sequence Address 0x02, VSGPATSEL. All four toggle positions are not simultaneously available for VSG pulses. All unused V-channels must have their toggle positions programmed to either 0 or maximum value. This prevents unpredictable behavior because the default values of the V-pattern group registers are unknown. Table 13. Vertical Pattern Group Registers Register V TOG1 V TOG2 V TOG3 V TOG4 Length 13b 13b 13b 13b Description First toggle position within line for each XV1 to XV24 output, relative to VSTART value Second toggle position, relative to VSTART value Third toggle position, relative to VSTART value Fourth toggle position, relative to VSTART value START POSITION OF VERTICAL PATTERN GROUP IS PROGRAMMABLE IN VERTICAL SEQUENCE REGISTERS. HD 4 XV1 1 2 3 XV2 1 2 3 XV24 1 2 3 Figure 35. Vertical Pattern Group Programmability Rev. 0 | Page 30 of 100 05892-034 PROGRAMMABLE SETTINGS: 1START POLARITY (LOCATED IN V-SEQUENCE REGISTERS). 2FIRST TOGGLE POSITION. 3SECOND TOGGLE POSITION (THIRD AND FOURTH TOGGLE POSITIONS ALSO AVAILABLE FOR MORE COMPLEX PATTERNS). 4TOTAL PATTERN LENGTH FOR ALL VERTICAL OUTPUTS (LOCATED IN VERTICAL SEQUENCE REGISTERS). AD9927 VERTICAL SEQUENCES (VSEQ) The vertical sequences are created by selecting one of the V-pattern groups and adding repeats, start position, horizontal clamping, and blanking information. The V-sequences are programmed using the registers shown in Table 14. Figure 36 shows how the different registers are used to generate each V-sequence. The VPATSELA, VPATSELB, VPATSELC, and VPATSELD registers select which V-pattern is used in a given V-sequence. Having four groups available allows different vertical outputs to be mapped to different V-patterns. The selected V-pattern group can have repetitions added for high speed line shifts or for line binning by using the VREP registers for odd and even lines. Generally, the same number of repetitions is programmed into both registers. If a different number of repetitions is required on odd and even lines, separate values can be used for each register (see the Generating Line Alternation for VSequences and HBLK section). The VSTARTA and VSTARTB registers specify where in the line the V-pattern group starts. The VMASK_EN register is used in conjunction with the FREEZE/RESUME registers to enable optional masking of the V-outputs. Either or both of the FREEZE1/RESUME1 and FREEZE2/RESUME2 registers can be enabled. The line length (in pixels) is programmable using the HDLEN registers. Each V-sequence can have a different line length to accommodate various image readout techniques. The maximum number of pixels per line is 8192. The last line of the field is programmed separately using the HDLASTLEN register, which is located in the field register section. 1 HD 2 3 XV1 TO XV24 V-PATTERN GROUP 4 VREP 2 4 VREP 3 CLPOB 5 HBLK 6 PROGRAMMABLE SETTINGS FOR EACH VERTICAL SEQUENCE: 1START POSITION IN THE LINE OF SELECTED V-PATTERN GROUP. 2HD LINE LENGTH. 3V-PATTERN SELECT (VPATSEL) TO SELECT ANY V-PATTERN GROUP. 4NUMBER OF REPETITIONS OF THE V-PATTERN GROUP (IF NEEDED). 5START POLARITY AND TOGGLE POSITIONS FOR CLPOB AND PBLK SIGNALS. 6MASKING POLARITY AND TOGGLE POSITIONS FOR HBLK SIGNAL. Figure 36. V-Sequence Programmability Rev. 0 | Page 31 of 100 05892-035 AD9927 Table 14. Summary of V-Sequence Registers (see Table 10 and Table 11 for the HBLK, CLPOB, and PBLK Register Summary) Register HOLD VMASK_EN CONCAT_GRP Length 4b 4b 4b Description Use in conjunction with VMASK_EN. 1 = HOLD function instead of FREEZE/RESUME function. Enables the masking of V1 to V24 outputs at the locations specified by the FREEZE/RESUME registers. 1= enable masking for all groups. One bit for each set of Freeze and Resume Positions 1 to 4. Combines toggle positions of Groups A/B/C/D when enabled. Only Group A settings for start, polarity, length, and repetition are used when this mode is selected. 0 = disable. 1 = enable the addition of all toggle positions from VPATSELA/B/C/D. 2 = test mode only. Do not use. … 15 = test mode only. Do not use. Selects line alternation for V-output repetitions. Note separate control for Group A and Groups B/C/D. 0 = disable alternation. Group A uses VREPA_1, Groups B/C/D use VREP _EVEN for all lines. 1 = 2-line. Group A alternates VREPA_1 and VREPA_2. Groups B/C/D alternate VREP_EVEN and VREP_ODD. 2 = 3-line. Group A alternates VREPA_1, VREPA_2, and VREPA_3. Groups B/C/D follow a VREP_EVEN, VREP_ODD, VREP_ODD, VREP_EVEN, VREP_ODD, VREP_ODD pattern. 3 = 4-line. Group A alternates VREPA_1, VREPA_2, VREPA_3, VREPA_4. Groups B/C/D follow 2-line alternation. Enables a separate pattern length to be used during the last repetition of the V-sequence. One bit for each group (A, B, C, and D). Set bit high to enable. Group A is the LSB. Recommended value is enabled. Enables a final toggle position to be added at the end of the V-sequence. The toggle position is shared by all V-outputs in the same group. One bit for each group. Set bit high to enable. Group A is the LSB. HD line length for even lines in the V-sequence. HD line length for odd lines in the V-sequence. Group A start polarity bits for each XV1 to XV24 signal. Group B start polarity bits for each XV1 to XV24 signal. Group C start polarity bits for each XV1 to XV24 signal. Group D start polarity bits for each XV1 to XV24 signal. Assigns each XV1 to XV12 signal to either Group A/B/C/D. Two bits for each signal. Bits [1:0] are for XV1, Bits [3:2] are for XV2 … Bits [23:22] are for XV12. 0 = assign to Group A, 1 = Group B, 2 = Group C, and 3 = Group D. Assigns each XV13 to XV24 signal to either Group A/B/C/D. Two bits for each signal. Bits [1:0] are for XV13, Bits [3:2] are for XV14 … Bits [23:22] are for XV24. 0 = assign to Group A, 1 = Group B, 2 = Group C, and 3 = Group D. Selected V-pattern for Group A. Selected V-pattern for Group B. Selected V-pattern for Group C. Selected V-pattern for Group D. Start position for the selected V-pattern Group A. Start position for the selected V-pattern Group B. Start position for the selected V-pattern Group C. Start position for the selected V-pattern Group D. Length of selected V-pattern Group A. Length of selected V-pattern Group B. Length of selected V-pattern Group C. Length of selected V-pattern Group D. Number of repetitions for the V-Pattern Group A for first lines (even). Number of repetitions for the V-Pattern Group A for second lines (odd). Number of repetitions for the V-Pattern Group A for third lines. Number of repetitions for the V-Pattern Group A for fourth lines. Number of repetitions for the V-Pattern Group B for odd lines. Number of repetitions for the V-Pattern Group C for odd lines. VREP_MODE 2b LASTREPLEN_EN LASTTOG_EN HDLENE HDLEN0 VPOL_A VPOL_B VPOL_C VPOL_D GROUPSEL_0 4b 4b 13b 13b 24b 24b 24b 24b 24b GROUPSEL_1 24b VPATSELA VPATSELB VPATSELC VPATSELD VSTARTA VSTARTB VSTARTC VSTARTD VLENA VLENB VLENC VLEND VREPA_1 VREPA_2 VREPA_3 VREPA_4 VREPB_ODD VREPC_ODD 5b 5b 5b 5b 13b 13b 13b 13b 13b 13b 13b 13b 13b 13b 13b 13b 13b 13b Rev. 0 | Page 32 of 100 AD9927 Register VREPD_ODD VREPB_EVEN VREPC_EVEN VREPD_EVEN FREEZE1 FREEZE2 FREEZE3 FREEZE4 RESUME1 RESUME 2 RESUME3 RESUME4 LASTREPLEN_A LASTREPLEN_B LASTREPLEN_C LASTREPLEN_D LASTTOG_A LASTTOG_B LASTTOG_C LASTTOG_D VSEQALT_EN VALT_MAP VALTSEL0_EVEN VALTSEL1_EVEN VALTSEL0_ODD VALTSEL1_ODD SPC_PAT_EN Length 13b 13b 13b 13b 13b 13b 13b 13b 13b 13b 13b 13b 13b 13b 13b 13b 13b 13b 13b 13b 1b 1b 18b 18b 18b 18b 1b Description Number of repetitions for the V-Pattern Group D for odd lines. Number of repetitions for the V-Pattern Group B for even lines. Number of repetitions for the V-Pattern Group C for even lines. Number of repetitions for the V-Pattern Group D for even lines. Pixel location where the V-outputs freeze or hold (see VMASK_EN). Also used as VALTSEL0_EVEN [12:0] register when Special VSEQALT_EN mode is enabled. Pixel location where the V-outputs freeze or hold (see VMASK_EN). Also used as VALTSEL1_EVEN [12:0] register when Special VSEQALT_EN mode is enabled. Pixel location where the V-outputs freeze or hold (see VMASK_EN). Also used as VALTSEL0_ODD [12:0] register when Special VSEQALT_EN mode is enabled. Pixel location where the V-outputs freeze or hold (see VMASK_EN). Also used as VALTSEL1_ODD [12:0] register when Special VSEQALT_EN mode is enabled. Pixel location where the V-outputs resume operation (see VMASK_EN). Also used as VALTSEL0_EVEN [17:13] register when Special VSEQALT_EN mode is enabled. Pixel location where the V-outputs resume operation (see VMASK_EN). Also used as VALTSEL1_EVEN [17:13] register when Special VSEQALT_EN mode is enabled. Pixel location where the V-outputs resume operation (see VMASK_EN). Also used as VALTSEL0_ODD [17:13] register when Special VSEQALT_EN mode is enabled. Pixel location where the V-outputs resume operation (see VMASK_EN). Also used as VALTSEL1_ODD [17:13] register when Special VSEQALT_EN mode is enabled. Separate length for last repetition of vertical pulses. Must be enabled using LASTREPLEN_EN. Should be programmed to a value equal to the VLENA register. Separate length for last repetition of vertical pulses. Must be enabled using LASTREPLEN_EN. Should be programmed to a value equal to the VLENB register. Separate length for last repetition of vertical pulses. Must be enabled using LASTREPLEN_EN. Should be programmed to a value equal to the VLENC register. Separate length for last repetition of vertical pulses. Must be enabled using LASTREPLEN_EN. Should be programmed to a value equal to the VLEND register. Optional fifth toggle position for the vertical signals. Must be enabled using LASTTOG_EN. Note that the toggle position is common for all vertical signals. Optional fifth toggle position for the vertical signals. Must be enabled using LASTTOG_EN. Note that the toggle position is common for all vertical signals. Optional fifth toggle position for the vertical signals. Must be enabled using LASTTOG_EN. Note that the toggle position is common for all vertical signals. Optional fifth toggle position for the vertical signals. Must be enabled using LASTTOG_EN. Note that the toggle position is common for all vertical signals. Special V-sequence alternation mode is enabled when this register is programmed high. Enables the use of FREEZE/RESUME register locations to specify the VALTSEL0 and VALTSEL1 registers. Must be enabled if VSEQALT mode is enabled. Select lines for special V-sequence alternation mode for even lines. Used to concatenate VPAT Groups A/B/C/D into unique merged patterns. Setting is used to specify one segment, with up to a maximum of 18 segments. Select lines for special V-sequence alternation mode for even lines. Used to concatenate VPAT Groups A/B/C/D into unique merged patterns. Setting is used to specify one segment, with up to a maximum of 18 segments. Select lines for special V-sequence alternation mode for odd lines. Used to concatenate VPAT Groups A/B/C/D into unique merged patterns. Setting is used to specify one segment, with up to a maximum of 18 segments. Select lines for special V-sequence alternation mode for odd lines. Used to concatenate VPAT Groups A/B/C/D into unique merged patterns. Setting is used to specify one segment, with up to a maximum of 18 segments. Enable special V-pattern to be inserted into one repetition of a VPATA series. SPC_PAT_EN [0]: set to 1 to enable VPATB to be used as special pattern insertion. SPC_PAT_EN [1]: set to 1 to enable VPATC to be used as special pattern insertion. SPC_PAT_EN [2]: set to 1 to enable VPATD to be used as special pattern insertion. Rev. 0 | Page 33 of 100 AD9927 HD XV1 TO XV8 USE V-PATTERN GROUP A XV1 XV8 XV9, XV10 USE V-PATTERN GROUP B XV9 XV10 Figure 37. Using Separate Group A and Group B Patterns HD V-PATTERN GROUP A XV1 V-PATTERN GROUP B V-PATTERN GROUP C V-PATTERN GROUP D XV24 Figure 38. Combining Multiple V-Patterns Using CONCAT_GRP = 1 HD V-PATTERN GROUP A XV1 V-PATTERN GROUP B XV10 05892-038 GROUP A REP 1 GROUP A REP 2 GROUP A REP 3 Figure 39. Combining Group A and Group B Patterns with Repetition Group A/Group B/Group C/Group D Selection The AD9927 has the flexibility to use four different V-pattern groups in a vertical sequence. In general, the vertical outputs use the same V-pattern group during a particular sequence. It is possible to assign some of the outputs to a different V-pattern group, which can be useful in certain CCD readout modes. The GROUPSEL registers are used to select Group A, Group B, Group C, or Group D for each V-output. In general, only a single V-pattern group is needed for the vertical outputs; therefore, Group A should be selected for all outputs by default (GROUPSEL_0, GROUPSEL_1 = 0x00). In this configuration, all outputs use the V-pattern group specified by the VPATSELA register. If additional flexibility is needed, some outputs can be set to Group B, Group C, or Group D in the GROUPSEL registers. In this case, those selected outputs use the V-pattern group specified by the VPATSELB, VPATSELC, or VPATSELD registers. Figure 37 shows an example where outputs V9 and V10 are using a separate V-Pattern Group B to perform special CCD timing. Another application of the Group A, Group B, Group C, and Group D registers is to combine up to four different V-pattern groups together for more complex patterns. This is accomplished by setting the CONCAT_GRP register (Address 0x00, Bits [13:10]) equal to 0x01. This setting combines the toggle positions from the V-pattern groups specified by registers VPATSELA, VPATSELB, VPATSELC, and VPATSELD for a Rev. 0 | Page 34 of 100 05892-037 05892-036 AD9927 maximum of up to 16 toggle positions. Example timing for the CONCAT_GRP = 1 feature is shown in Figure 38. If only two groups are needed (up to eight toggle positions) for the specified timing, the VPATSELB, VPATSELC, and VPATSELD registers can be programmed to the same value. If only three groups are needed, VPATSELC and VPATSELD can be programmed to the same value. Following this approach conserves register memory if the four separate V-patterns are not needed. Note that when CONCAT_GRP is enabled, the Group A settings are used only for start position, polarity, length, and repetitions. All toggle positions for Group A, Group B, Group C, and Group D are combined together and applied using the settings in the VSTARTA, VPOL_A, VLENA, and VREPA registers. Table 15. VALTSEL Bit Settings for Even and Odd Lines Parameter VALTSEL0_EVEN VALTSEL1_EVEN VALTSEL0_ODD VALTSEL1_ODD Resulting pattern for even lines Resulting pattern for odd lines VALTSEL BIT SETTINGS 0 0 1 1 0 1 0 1 0 0 1 1 0 1 0 1 A B C D A B C D When the entire pattern is divided, program VALTSEL0 (even and odd) [17:0] and VALTSEL1 (even and odd) [17:0] so that the segments will be concatenated in the desired order. If separate odd and even lines are not required, set the odd and even registers to the same value. Figure 42 illustrates the process of using six vertical pattern segments that have been concatenated into a small, merged pattern. Program the register VREPA_1 to specify the number of segments that will be concatenated into each merged pattern. The maximum number of segments that can be concatenated to create a merged pattern is 18. Program VLENA, VLENB, VLENC, VLEND to be of equal length. Finally, program HBLK to generate the proper H-clock timing using the procedure for HBLK Mode 2 described in the HBLK Mode 2 Operation section. It is important to note that because the FREEZE/RESUME registers are used to specify the VALTSEL registers, the VALT_MAP register must be enabled when using the special VALT mode. Table 16. VALTSEL Register Locations1 Register Function When VSEQALT_EN = 1 VALTSEL0_EVEN [12:0] VALTSEL0_EVEN [17:13] VALTSEL1_EVEN [12:0] VALTSEL1_EVEN [17:13] VALTSEL0_ODD [12:0] VALTSEL0_ ODD [17:13] VALTSEL1_ ODD [12:0] VALTSEL1_ ODD [17:13] 1 Special Vertical Sequence Alternation (SVSA) Mode The AD9927 has additional flexibility for combining four different V-pattern groups in a random sequence that can be programmed for specific CCD requirements. This mode of operation allows custom vertical sequences for CCDs that require more complex vertical timing patterns. For example, using the special vertical sequence alternation mode, it is possible to support random pattern concatenation, with additional support for odd/even line alternation. Figure 40 illustrates four common and repetitive vertical pattern segments, A through D, that are derived from the complete vertical pattern. Figure 41 illustrates how each group can be concatenated together in an arbitrary order. To enable the SVSA mode, write the VSEQALT_EN bit, Address 0x20 Bit [13], equal to 0x01. The location of the VALTSEL registers is shared with the VPAT registers for XV24. When SVSA mode is enabled, the VALTSEL register function is selected. To create SVSA timing, divide the complete vertical timing pattern into four common and repetitive segments. Identify the related segments as VPATA, VPATB, VPATC, or VPATD. Up to four toggle positions for each segment can be programmed using the V-pattern registers. Table 15 shows how the segments are specified using a 2-bit representation. Each bit from VALTSEL0 and VALTSEL1 are combined to produce four values, corresponding to patterns A, B, C, and D. Register Location VSEQ register FREEZE1 [12:0] VSEQ register RESUME1 [17:13] VSEQ register FREEZE2 [12:0] VSEQ register RESUME2 [17:13] VSEQ register FREEZE3 [12:0] VSEQ register RESUME3 [17:13] VSEQ register FREEZE4 [12:0] VSEQ register RESUME4 [17:13] The VALT_MAP register must be set to 1 to enable the use of VALTSEL registers. Rev. 0 | Page 35 of 100 AD9927 V-PATTERN A XV1 V-PATTERN B V-PATTERN C V-PATTERN D XV2 XV3 XV23 VLENA VLENB VLENC VLEND 05892-039 NOTES 1. EACH SEGMENT MUST BE THE SAME LENGTH. VLENA = VLENB = VLENC = VLEND. Figure 40. Vertical Timing Divided Into Four Segments: VPATA, VPATB, VPATC, and VPATD HD COMBINED V-PATTERN ABBDACC A BCBDABA A Figure 41. Concatenating Each VPAT Group in Arbitrary Order HD XV1 TO XV23 A C B D D A SEGMENT 1 XV1 SEGMENT 2 SEGMENT 3 SEGMENT4 SEGMENT 5 SEGMENT 6 XV2 XV3 XV23 VPATA VALTSEL0_EVEN VALTSEL1_EVEN 0 0 VPATC 0 1 VPATB 1 0 VPATD 1 1 VPATD 1 1 VPATA 0 0 05892-041 NOTES 1. SIX V-PATTERN SEGMENTS CONCATENATED INTO A MERGED PATTERN. 2. COMMON AND REPETITIVE VTP SEGMENTS DERIVED FROM THE COMPLETE VTP PATTERN. 3. VALTSEL REGISTERS SPECIFY SEGMENT ORDER TO CREATE THE CONCATENATED MERGED PATTERN. Figure 42. Example of Special V-Sequence Alternation Mode Using VALTSEL Registers to Specify Segment Order Rev. 0 | Page 36 of 100 05892-040 NOTES 1. ABLE TO CONCATENATE PATTERNS TOGETHER ARBITRARILY. 2. EACH PATTERN CAN HAVE UP TO FOUR TOGGLES PROGRAMMED. 3. MAY CONCATENATE UP TO 18 PATTERNS INTO A MERGED PATTERN. 4. ODD AND EVEN LINES CAN HAVE A DIFFERENT PATTERN CONCATENATION SPECIFIED BY VALTSEL EVEN AND ODD REGISTERS. AD9927 Using the LASTREPLEN_EN The LASTREPLEN_EN register (Address 0x00, Bits [19:16] in the sequence registers) is used to enable a separate pattern length to be used in the final repetition of several pulse repetitions. It is recommended that the LASTREPLEN_EN register bits be set high (enabled) and the LASTREPLEN_A, LASTREPLEN_B, LASTREPLEN_C, AND LASTREPLEN_D registers be set to a value equal to the VLENA, VLENB, VLENC, and VLEND register values, respectively. odd and even lines. Only the number of repeats can be different in odd and even lines, while the V-pattern group remains the same. There are separate controls for the assigned Group A, Group B, Group C, and Group D patterns. All groups can support odd and even line alternation. Group A uses the VREPA_1 and VREPA_2 registers; Group B, Group C, and Group D use the corresponding VREP_ODD and VREP_EVEN registers. With the additional VREPA_3 and VREPA_4 registers, Group A can also support 3-line and 4-line alternation. As discussed in the Generating HBLK Line Alternation section, the HBLK signal can be alternated for odd and even lines. Figure 43 shows an example of V-pattern group repetition alternation and HBLK Mode 0 alternation used together. Generating Line Alternation for V-Sequences and HBLK During low resolution readout, some CCDs require a different number of vertical clocks on alternate lines. The AD9927 can support this by using the VREP registers. This allows a different number of V-pattern group repetitions to be programmed on HD VREPA_1 = 2 (OR VREPB/C/D_EVEN = 2) XV1 VREPA_2 = 5 (OR VREPB/C/D_ODD = 5) VREPA_1 = 2 (OR VREPB/C/D_EVEN = 2) XV2 XV24 TOGE1 HBLK TOGE2 TOGO1 TOGO2 TOGE1 TOGE2 Figure 43. Odd/Even Line Alternation of V-Pattern Group Repetitions and HBLK Toggle Positions Rev. 0 | Page 37 of 100 05892-042 NOTES 1. THE NUMBER OF REPEATS FOR V-PATTERN GROUPS A/B/C/D CAN BE ALTERNATED ON ODD AND EVEN LINES. 2. GROUP A ALSO SUPPORTS 3- AND 4-LINE ALTERNATION USING THE ADDITIONAL VREPA_3 AND VREPA_4 REGISTERS. 3. THE HBLK TOGGLE POSITIONS CAN BE ALTERNATED BETWEEN ODD AND EVEN LINES TO GENERATE DIFFERENT HBLK PATTERNS. AD9927 Vertical Masking Using FREEZE/RESUME Registers As shown in Figure 44 and Figure 45, the FREEZE/RESUME registers are used to temporarily mask the V-outputs. The pixel locations to begin the masking (FREEZE) and end the masking (RESUME) create an area in which the vertical toggle positions are ignored. At the pixel location specified in the FREEZE register, the V-outputs are held static at their current dc state, high or low. The V-outputs are held until the pixel location specified by the RESUME register is reached, at which point the signals continue with any remaining toggle positions, if any exist. Four sets of FREEZE/RESUME registers are provided, allowing the vertical outputs to be interrupted up to four times in the same line. The FREEZE and RESUME Positions 1 to 4 are enabled independently and applied to all groups (Group A, Group B, Group C, and Group D) using the VMASK_EN register. Note that when masking is enabled, each group (Group A, Group B, Group C, and Group D) uses the same FREEZE/ RESUME positions. Note that the FREEZE/RESUME registers are also used as the VALTSEL0 and VALTSEL1 registers during special vertical alternation mode. HD NO MASKING AREA XV1 XV24 Figure 44. No FREEZE/RESUME HD V-MASKING AREA FREEZE RESUME XV1 XV24 NOTES 1. ALL TOGGLE POSITIONS WITHIN THE FREEZE/RESUME MASKING AREA ARE IGNORED. H-COUNTER CONTINUES TO COUNT DURING MASKING. 2. FOUR SEPARATE MASKING AREAS ARE AVAILABLE, USING FREEZE1/RESUME1, FREEZE2/RESUME2, FREEZE3/RESUME3, AND FREEZE4/RESUME4 REGISTERS. Figure 45. Using FREEZE/RESUME Rev. 0 | Page 38 of 100 05892-044 05892-043 AD9927 Hold Area Using FREEZE/RESUME Registers The FREEZE/RESUME registers can also be used to create a hold area in which the V-outputs are temporarily held and later continued, starting at the point where they were held. As shown in Figure 46, this is different than the VMASK_EN register because the V-outputs continue from where they stopped rather than continuing from where they would have been. The hold area temporarily stops the pixel counter for the V-outputs, while the V-masking allows the counter to continue in the masking area. HD FREEZE HOLD AREA FOR GROUP A RESUME XV1 XV8 XV9 XV10 NOTES 1. WHEN HOLD = 1 FOR ANY V-SEQUENCE GROUP, THE FREEZE AND RESUME REGISTERS ARE USED TO SPECIFY THE HOLD AREA. 2. ABOVE EXAMPLE: XV1 TO XV10 ARE ASSIGNED TO GROUP A. HOLD BIT FOR GROUP A = 1. 3. H-COUNTER FOR GROUP A (XV1 TO XV10) STOPS DURING HOLD AREA. Figure 46. Hold Area for Group A Rev. 0 | Page 39 of 100 05892-045 AD9927 Special Pattern Insertion Additional flexibility is available using the SPC_PAT_EN registers, which allows a Group B, C, or D pattern to be inserted into a series of Group A repetitions. This feature is useful when a different pattern is needed at the start, middle, or end of a sequence. Figure 47 shows an example of a sweep region using VPATA with multiple repetitions where a single repetition of VPATB has been added into the middle of the sequence. Figure 48 shows more detail on how to set the registers to achieve the desired timing. Note that VREPB is used to specify which repetition number has the special pattern inserted instead of VPATA. VPATB always has priority over VPATC or VPATD if more than one SPC_PAT_EN bit is enabled (SPC_PAT_EN [0] has priority). VD SCP1 SCP2 HD LINE 0 LINE 1 LINE 2 LINE 24 LINE 25 XV1 TO XVN REGION 0 REGION 1: SWEEP REGION REGION 2 05892-046 PATTERN B INSERTED DURING PATTERN A REPETITIONS Figure 47. Example of Special Pattern Insertion HD REP 1 REP 2 REP 3 REP 4 REP 5 REP N XV1 V-PATTERN A REGISTER SETTINGS: SPC_PAT_EN[0] = 1 VREPA = N VREPB = 4 V-PATTERN B V-PATTERN A DESCRIPTION: V-PATTERN B IS USED AS SPECIAL PATTERN TOTAL NUMBER OF REPS USED FOR SEQUENCE (N REPS) REP 4 USES V-PATTERN B INSTEAD OF V-PATTERN A 05892-047 NOTES 1. VSTARTB MUST BE SET EQUAL TO VSTARTA. Figure 48. Example of Special Pattern Insertion, Detail Rev. 0 | Page 40 of 100 AD9927 Complete Field: Combining V-Sequences After the V-sequences are created, they are combined to create different readout fields. A field consists of up to nine regions, and within each region, a different V-sequence can be selected. Figure 49 shows how the sequence change positions (SCP) designate the line boundary for each region and how the SEQ registers then select which V-sequence is used in each region. Registers to control the VSG outputs are also included in the field registers. Table 17 summarizes the registers used to create the different fields. The SEQ registers, one for each region, select which of the V-sequences are active in each region. The MULT_SWEEP registers, one for each region, are used to enable sweep mode and/or multiplier mode in any region. The SCP registers create the line boundaries for each region. The VDLEN register specifies the total number of lines in the field. The HDLEN registers specifies the total number of pixels per line, and the Table 17. Field Registers (CLPOB, PBLK Masking Shown in Table 10) Register SEQx MULT_SWEEP Length 5b 2b Range 0 to 31 V-sequence no. 0 to 3 Description Selected V-sequence for each region in the field. Enables multiplier mode and/or sweep mode for each region. 0: multiplier off, sweep off. 1: multiplier off, sweep on. 2: multiplier on, sweep off. 3: multiplier on, sweep on. Sequence change position for each region. Total number of lines in each field. Length in pixels of the last HD line in each field. VSGPATSEL selects which V-pattern toggle positions are used. When set to 0, Toggle 1 and Toggle 2 are used. When set to 1, Toggle 3 and Toggle 4 are used. [0]: XV1 selection (0 = use TOG1, TOG2; 1 = use TOG3, TOG4). … [23]: XV24 selection. Set high to mask each individual VSG output. [0]: XV1 mask. … [23]: XV24 mask. Selects the line in the field where the VSG signals are active. Selects a second line in the field to repeat the VSG signals. If not used, set this equal to SGACTLINE1 or to the maximum value. HDLASTLEN register specifies the number of pixels in the last line of the field. The VPATSECOND register is used to add a second V-pattern group to the XV1 to XV10 signals in the vertical sensor gate (VSG) line. The SGMASK register is used to enable or disable each individual VSG output. There are two bits for each VSG output to enable separate masking in SGACTLINE1 and SGACTLINE2. Setting a masking bit high masks the output; setting it low enables the output. The VSGPATSEL register assigns one of the eight SG patterns to each VSG output. The individual SG patterns are created separately using the SG pattern registers. The SGACTLINE1 register specifies which line in the field contains the VSG outputs. The optional SGACTLINE2 register allows the same VSG pulses to be repeated on a different line. Separate masking is not available for SGACTLINE1 and SGACTLINE2. SCP VDLEN HDLASTLEN VSGPATSEL 13b 13b 13b 24b 0 to 8191 line no. 0 to 8191 lines 0 to 8191 pixels High/low SGMASK 24b High/low, each VSG SGACTLINE1 SGACTLINE2 13b 13b 0 to 8191 line no. 0 to 8191 line no. Rev. 0 | Page 41 of 100 AD9927 SCP0 SCP1 SCP2 SCP3 SCP4 SCP5 SCP8 VD REGION 0 HD REGION 1 REGION 2 REGION 3 REGION 4 REGION 8 XV1 TO XVN SEQ0 SEQ1 SGACTLINE1 SEQ2 SEQ3 SEQ4 SEQ8 VSG FIELD SETTINGS: 1. SEQUENCE CHANGE POSITIONS (SCP0 TO SCP8) DEFINE EACH OF THE NINE AVAILABLE REGIONS IN THE FIELD. 2. SEQ0 TO SEQ8 SELECT THE DESIRED V-SEQUENCE FOR EACH REGION. 3. SGACTLINE1 REGISTER SELECTS WHICH HD LINE IN THE FIELD CONTAINS THE SENSOR GATE PULSE(S). Figure 49. Complete Field is Divided into Regions VD SCP1 SCP2 HD LINE 0 LINE 1 LINE 2 LINE 24 LINE 25 XV1 TO XVN REGION 0 REGION 1: SWEEP REGION REGION 2 05892-049 Figure 50. Example of Sweep Region for High Speed Vertical Shift Sweep Mode Operation The AD9927 contains an additional mode of vertical timing operation called sweep mode. This mode is used to generate a large number of repetitive pulses that span across multiple HD lines. An example of where this mode is needed is at the start of the CCD readout operation. At the end of the image exposure before the image is transferred by the sensor gate pulses, the vertical interline CCD registers should be free of all charge. This can be accomplished by quickly shifting out any charge using a long series of pulses from the vertical outputs. Depending on the vertical resolution of the CCD, up to 3000 clock cycles might be needed to shift the charge out of each vertical CCD line. This operation spans across multiple HD line lengths. Normally, the AD9927 vertical timing must be contained within one HD line length, but when sweep mode is enabled, the HD boundaries are ignored until the region is finished. To enable sweep mode within any region, program the appropriate SWEEP register to high. Figure 50 shows an example of the sweep mode operation. The number of vertical pulses needed depends on the vertical resolution of the CCD. The toggle positions for the XV1 to XV24 signals are generated using the V-pattern registers (shown in Table 13). A single pulse is created using the polarity and toggle position registers. The number of repetitions is then programmed to match the number of vertical shifts required by the CCD. Repetitions are programmed into the V-sequence registers (shown in Table 14) by using the VREP registers. This produces a pulse train of the appropriate length. Normally, the pulse train is truncated at the end of the HD line length, but when sweep mode is enabled for this region, the HD boundaries are ignored. In Figure 50, the sweep region occupies 23 HD lines. After the sweep mode region is complete, normal sequence operation resumes in the next region. When using sweep mode, be sure to set the region boundaries (using the sequence change positions) to the appropriate lines to prevent the sweep operation from overlapping the next V-sequence. Rev. 0 | Page 42 of 100 05892-048 AD9927 Multiplier Mode To generate very wide vertical timing pulses, a vertical region can be configured into a multiplier region. This mode uses the V-pattern registers in a slightly different manner. Multiplier mode can be used to support unusual CCD timing requirements, such as vertical pulses that are wider than the 13-bit V-pattern toggle position counter. In general, the 13-bit toggle position counter can be used with the sweep mode feature to support very wide pulses; however, multiplier mode can be used to generate even wider pulses. The start polarity and toggle positions are still used in the same manner as the standard V-pattern group programming, but VLEN is used differently. Instead of using the pixel counter (HD counter) to specify the toggle position locations (VTOG1, VTOG 2, VTOG 3, and VTOG 4) of the V-pattern group, the VLEN is multiplied with the VTOG position to allow very long pulses to be generated. To calculate the exact toggle position, which is counted in pixels after the start position, use the following equation: Because the VTOG register is multiplied by VLEN, the resolution of the toggle position placement is reduced. If VLEN = 4, the toggle position precision is reduced to 4-pixel increments instead of to single-pixel increments. Table 18 summarizes how the V-pattern group registers are used in multiplier mode operation. In multiplier mode, the VREP registers must always be programmed to the same value as the highest toggle position. Figure 51 illustrates this operation. The first toggle position is 2, and the second toggle position is 9. In nonmultiplier mode, this causes the V-sequence to toggle at Pixel 2 and then at Pixel 9 within a single HD line. However, in multiplier mode toggle positions are multiplied by the value of VLEN (in this case, 4); therefore, the first toggle occurs at Pixel 8, and the second toggle occurs at Pixel 36. Sweep mode has also been enabled to allow the toggle positions to cross the HD line boundaries. Multiplier Mode Toggle Position = VTOG × VLEN Table 18. Multiplier Mode Register Parameters Register MULTI VPOL V TOG VLEN VREP Length 1b 1b 13b 13b 13b Range High/low High/low 0 to 8191 pixel location 0 to 8191 pixels 0 to 8191 pixel location Description High enables multiplier mode. Starting polarity of XV1 to XV10 signals in each V-pattern group. Toggle positions for XV1 to XV10 signals in each V-pattern group. Used as multiplier factor for toggle position counter. VREP_EVEN/VREP_ODD must be set to the same value as the highest VTOG value. START POSITION OF VPAT GROUP IS STILL PROGRAMMED IN THE V-SEQUENCE REGISTERS HD 3 VLEN 1 2 3 4 1 2 3 4 1 2 3 4 1 2 3 5 5 4 1 2 3 4 1 2 3 4 1 2 3 4 1 2 3 4 1 2 3 4 1 2 3 4 PIXEL NUMBER 1 2 3 4 5 6 7 8 4 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 4 XV1 TO XV24 1 2 2 Figure 51. Example of Multiplier Region for Wide Vertical Pulse Timing Rev. 0 | Page 43 of 100 05892-050 MULTIPLIER MODE V-PATTERN GROUP PROPERTIES: 1START POLARITY (STARTPOL = 0). 2FIRST, SECOND, AND THIRD TOGGLE POSITIONS (VTOG1 = 2, VTOG2 = 9). 3LENGTH OF VPAT COUNTER (VLEN = 4); THIS IS THE MINIMUM RESOLUTION FOR TOGGLE POSITION CHANGES. 4TOGGLE POSITIONS OCCUR AT LOCATION EQUAL TO (VTOG × VLEN). 5IF SWEEP REGION IS ENABLED, THE V-PULSES MAY ALSO CROSS THE HD BOUNDRIES, AS SHOWN ABOVE. AD9927 Vertical Sensor Gate (Shift Gate) Patterns In an interline CCD, the vertical sensor gate (VSG) pulses are used to transfer the pixel charges from the light-sensitive image area into light-shielded vertical registers. From the lightshielded vertical registers, the image is clocked out line-by-line using the vertical transfer pulses (XV signals) in conjunction with the high speed horizontal clocks. The AD9927 has 24 vertical signals, and each signal can be assigned as a VSG pulse instead of an XV pulse. Table 19 summarizes the VSG control registers, which are mostly located in the field registers space (see Table 17). The VSGSELECT register (Address 0x1C in the fixed address space) determines which vertical outputs are assigned as VSG pulses. When a signal is selected to be a VSG pulse, only the starting polarity and two of the V-pattern toggle positions are used. The VSGPATSEL register in the sequence registers is used to assign either TOG1 and TOG2 or TOG3 and TOG4 to the VSG signal. Note that only two of the four V-pattern toggle positions are available when a vertical signal is selected to be a VSG pulse. The SGACTLINE1 and SGACTLINE2 registers are used to select which line in the field is the VSG line. The VSG active line location is used to reference when the substrate clocking (SUBCK) signal begins to operate in each field. For more information, see the Substrate Clock Operation (SUBCK) section. Also located in the field registers, the SGMASK register selects which individual VSG pulses are active in a given field. Therefore, all SG patterns to be preprogrammed into the V-pattern registers and the appropriate pulses for the different fields can be enabled separately. The AD9927 is an integrated AFETG + V-driver, so the connections between the AFETG and V-driver are fixed, as shown in Figure 53. The VSGSELECT must be programmed to 0xFF8000. Table 19. VSG Control Registers (also see Field Registers in Table 17) Register VSGSELECT (Located in Fixed Address Space, 0x1C) Length 24b Range High/low Description Selection of VSG signals from XV signals. Set to 1 to make signal a VSG. [0]: XV1 selection (0 = XV pulse; 1 = VSG pulse). [1]: XV2 selection. … [23]: XV24 selection. When VSG signal is selected using the VSGSELECT register, VSGPATSEL selects which V-pattern toggle positions are used. When set to 0, Toggle 1 and Toggle 2 are used. When set to 1, Toggle 3 and Toggle 4 are used. [0]: XV1 selection (0 = use TOG1, TOG2; 1 = use TOG3, TOG4). [1]: XV2 selection. … [23]: XV24 selection. Set high to mask each individual VSG output. [0]: XV1 mask. … [23]: XV24 mask. Selects the line in the field where the VSG signals are active. Selects a second line in the field to repeat the VSG signals. If not used, set this equal to SGACTLINE1 or to the maximum value. VSGPATSEL 24b High/low SGMASK 24b High/low, each VSG SGACTLINE1 SGACTLINE2 13b 13b 0 to 8191 line no. 0 to 8191 line no. VD 4 HD 1 VSG PATTERN 2 3 PROGRAMMABLE SETTINGS FOR EACH PATTERN: 1START POLARITY OF PULSE (FROM VPOL IN SEQUENCE REGISTERS). 2FIRST TOGGLE POSITION (FROM V-PATTERN REGISTERS). 3SECOND TOGGLE POSITION (FROM V-PATTERN REGISTERS). 4ACTIVE LINE FOR VSG PULSES WITHIN THE FIELD (FROM FIELD REGISTERS). Figure 52. Vertical Sensor Gate Pulse Placement Rev. 0 | Page 44 of 100 05892-051 AD9927 INTERNAL VERTICAL DRIVER CONNECTIONS AD9927 V-DRIVER XV16 (XSG1) XV1 XV17 (XSG2) XV18 (XSG3) XV2 XV19 (XSG4) XV20 (XSG5) XV3 XV21 (XSG6) XV4 XV22 (XSG7) XV5 XV23 (XSG8) XV6 XV24 (XSG9) XV7 E3 E4 F4 G3 V3B H4 V2B J4 V1B +3V VH, VL J3 V1A H3 V2A G4 V3A 3-LEVEL OUTPUTS F3 V4 V5 INTERNAL TIMING GENERATOR V6 V7 XV8 D4 V8 XV9 D3 V9 XV10 D5 V10 XV11 D6 V11 2-LEVEL OUTPUTS XV12 D7 V12 XV13 C7 V13 XV14 C8 V14 XV15 D8 V15 XSUBCK XSUBCNT K4 SUBCK (3-LEVEL OUTPUT WITH XSUBCNT) 05892-104 H10 XSUBCNT (LOGIC INPUT) Figure 53. Internal AFETG to V-Driver Connections Rev. 0 | Page 45 of 100 AD9927 Table 20. V1A Output Polarity Vertical Driver Input XV1 XV16 (XSG1) L L L H H L H H V1A Output VH VM VL VL Table 26. V4 Output Polarity Vertical Driver Input XV4 XV22 (XSG7) L L L H H L H H V4 Output VH VM VL VL Table 21. V1B Output Polarity Vertical Driver Input XV1 XV17 (XSG2) L L L H H L H H V1B Output VH VM VL VL Table 27. V5 Output Polarity Vertical Driver Input XV5 XV23 (XSG7) L L L H H L H H V5 Output VH VM VL VL Table 22. V2A Output Polarity Vertical Driver Input XV2 XV18 (XSG3) L L L H H L H H V2A Output VH VM VL VL Table 28. V6 Output Polarity Vertical Driver Input XV6 XV24 (XSG8) L L L H H L H H V6 Output VH VM VL VL Table 23. V2B Output Polarity Vertical Driver Input XV2 XV19 (XSG4) L L L H H L H H V2B Output VH VM VL VL Table 29. V7 Output Polarity Vertical Driver Input XV7 L H V7 Output VM VL Table 30. V8 Output Polarity Vertical Driver Input XV8 L H V8 Output VM VL Table 24. V3A Output Polarity Vertical Driver Input XV3 XV20 (XSG5) L L L H H L H H V3A Output VH VM VL VL Table 31. V9 Output Polarity Vertical Driver Input XV9 L H V9 Output VM VL Table 25. V3B Output Polarity Vertical Driver Input XV3 XV21 (XSG6) L L L H H L H H V3B Output VH VM VL VL Table 32. V10 Output Polarity Vertical Driver Input XV10 L H V10 Output VM VL Rev. 0 | Page 46 of 100 AD9927 Table 33. V11 Output Polarity Vertical Driver Input XV11 L H V11 Output VM VL Table 36. V14 Output Polarity Vertical Driver Input XV14 L H V14 Output VM VL Table 34. V12 Output Polarity Vertical Driver Input XV12 L H V12 Output VM VL Table 37. V15 Output Polarity Vertical Driver Input XV15 L H V15 Output VM VL Table 35. V13 Output Polarity Vertical Driver Input XV13 L H V13 Output VM VL Table 38. SUBCK Output Polarity Vertical Driver Input XSUBCK XSUBCNT L L L H H L H H SUBCK Output VH VH VMM VLL Rev. 0 | Page 47 of 100 AD9927 XV1 XV16 (XSG1) VH V1A VM VL Figure 54. XV1, XV16, and V1A Output Polarities XV1 XV17 (XSG2) VH V1B VM VL Figure 55. XV1, XV17, V1B Output Polarities XV2 XV18 (XSG3) VH V2A VM VL Figure 56. XV2, XV18, V2A Output Polarities XV2 XV19 (XSG4) VH V2B VM VL Figure 57. XV2, XV19, V2B Output Polarities Rev. 0 | Page 48 of 100 05892-108 05892-107 05892-106 05892-105 AD9927 XV3 XV20 (XSG5) VH V3A VM VL Figure 58. XV3, XV20, and V3A Output Polarities XV3 XV21 (XSG6) VH V3B VM VL Figure 59. XV3, XV21, and V3B Output Polarities XV4 XV22 (XSG7) VH V4 VM VL Figure 60. XV4, XV22, and V4 Output Polarities XV5 XV23 (XSG8) VH V5 VM VL Figure 61. XV5, XV23, and V5 Output Polarities Rev. 0 | Page 49 of 100 05892-112 05892-111 05892-110 05892-109 AD9927 XV6 XV24 (XSG9) VH V6 VM VL Figure 62. XV6, XV24, and V6 Output Polarities XV7, X8, XV9, XV10 XV11, XV12, XV13, XV14, XV15 Figure 63. 2-Level V-Driver Output Polarities XSUBCNT XSUBCK VH SUBCK VMM VLL Figure 64. XSUBCK, XSUBCNT, and SUBCK Output Polarities Rev. 0 | Page 50 of 100 05892-118 05892-100 VM V7, V8, V9, V10, V11, V12, V13, V14, V15 VL 05892-113 AD9927 MODE Registers The MODE registers are used to select the field timing of the AD9927. Typically, all of the field, V-sequence, and V-pattern information is programmed into the AD9927 at startup. During operation, the MODE registers allow the user to select any combination of field timing to meet the requirements of the system. The advantage of using the MODE registers in conjunction with preprogrammed timing is that it greatly reduces the system programming requirements during camera operation. Only a few register writes are required when the camera operating mode is changed, rather than having to program all of the vertical timing information with each camera mode change. A basic still camera application can require six fields of vertical timing—one for draft mode operation, one for autofocusing, and four for still image readout. All of the register timing information for the six fields is loaded at startup. Then, during camera operation, the MODE registers select which field timing is active, depending on how the camera is being used. Table 39 shows how the MODE registers are used. The MODE register (Address 0x2A) specifies how many total fields are used. Any value from 1 to 7 can be selected using these three bits. The other two registers (0x2B and 0x2C) are used to select Table 39. MODE Registers—VD Updated Address 2A 2B Name MODE FIELD0 FIELD1 FIELD2 FIELD3 FIELD4 FIELD5 FIELD6 Length 3b 5b 5b 5b 5b 5b 5b 5b Description Total number of fields to cycle through. Set from 1 to 7. Selected FIELD (from FIELD registers in configurable memory) for the first field to cycle through. Selected FIELD (from FIELD registers in configurable memory) for the second field to cycle through. Selected FIELD (from FIELD registers in configurable memory) for the third field to cycle through. Selected FIELD (from FIELD registers in configurable memory) for the fourth field to cycle through. Selected FIELD (from FIELD registers in configurable memory) for the fifth field to cycle through. Selected FIELD (from FIELD registers in configurable memory) for the sixth field to cycle through. Selected FIELD (from FIELD registers in configurable memory) for the seventh field to cycle through. which of the programmed fields are used and in which order. Up to seven fields can be used in a single MODE write. The AD9927 starts with the field timing specified by FIELD0, and on the next VD, switches to the timing specified by FIELD1, and so on. After completing the total number of fields specified by MODE, the AD9927 repeats by starting at the first field. This continues until a new write to the MODE register occurs. Figure 67 shows example MODE register settings for different field configurations. Note that only a write to Address 0x2C properly resets the field counter. Therefore, when changing the values in any of the mode registers, it is recommended that all three registers are updated together in the same field (VD period). Caution The MODE registers are SCK updated by default. If they are configured as VD-updated registers by writing Address 0xB4 = 0x03FF and Address 0xB5 = 0xFC00, the new MODE information is updated on the second VD falling edge after the write occurs, rather than on the first VD falling edge. See Figure 66 for an example. 2C Rev. 0 | Page 51 of 100 AD9927 VD MODE WRITE REGISTER WRITE A MODE UPDATE MODE FIELD NUMBER 4 (DRAFT) 4 (DRAFT) 0 (STILL 1ST FIELD) 1 (STILL 2ND FIELD) 2 Figure 65. Update of MODE Register, SCK Updated (Default Setting) VD MODE WRITE REGISTER WRITE A B MODE UPDATE MODE FIELD NUMBER 4 (DRAFT) 4 (DRAFT) 0 (STILL 1ST FIELD) 1 (STILL 2ND FIELD) 2 EXAMPLE MODE REGISTER CHANGE: REGISTER WRITE A––WRITE TO MODE REGISTERS 0x2A, 0x2B, 0x2C TO SPECIFY CHANGE FROM DRAFT MODE (FIELD4) TO STILL MODE (FIELD0/1/2/3). REGISTER WRITE B––WRITE TO VGA GAIN OR ANY NEW REGISTER VALUES NEEDED FOR STILL FRAME OPERATION, SUCH AS NEW FIELD INFORMATION. 05892-053 NOTES 1. NEW MODE INFORMATION IS UPDATED AT SECOND VD FALLING EDGE AFTER SERIAL WRITE A. Figure 66. Update of MODE Register if Changed to VD-Updated Register EXAMPLE 1: TOTAL FIELDS = 3, FIRST FIELD = FIELD0, SECOND FIELD = FIELD1, THIRD FIELD = FIELD2 MODE SETTINGS: 0x2A = 0x3 0x2B = 0x820 0x2C = 0x0 FIELD0 FIELD1 FIELD2 EXAMPLE 2: TOTAL FIELDS = 1, FIRST FIELD = FIELD3 MODE SETTINGS: 0x2A = 0x1 0x2B = 0x3 0x2C = 0x0 FIELD3 EXAMPLE 3: TOTAL FIELDS = 4, FIRST FIELD = FIELD5, SECOND FIELD = FIELD1, THIRD FIELD = FIELD4, FOURTH FIELD = FIELD2 MODE SETTINGS: 0x2A = 0x4 0x2B = 0x11025 0x2C = 0x0 FIELD5 FIELD1 FIELD4 FIELD2 05892-054 Figure 67. Using the MODE Registers to Select Field Timing Rev. 0 | Page 52 of 100 05892-052 EXAMPLE MODE REGISTER CHANGE: REGISTER WRITE A––WRITE TO MODE REGISTERS 0x2A, 0x2B, 0x2C TO SPECIFY CHANGE FROM DRAFT MODE (FIELD4) TO STILL MODE (FIELD0/1/2/3). ALSO WRITE TO VGA GAIN OR ANY NEW REGISTER VALUES NEEDED FOR STILL FRAME OPERATION, SUCH AS NEW FIELD INFORMATION. AD9927 VERTICAL TIMING EXAMPLE To better understand how the AD9927 vertical timing generation is used, consider the example CCD timing chart in Figure 68. This example illustrates a CCD using a general 3-field readout technique. As described in the previous field section, each readout field must be divided into separate regions to perform each step of the readout. The sequence change positions (SCP) determine the line boundaries for each region, and the SEQx registers assign a particular V-sequence to each region. The V-sequences contain the specific timing information required in each region: V1 to V6 pulses (using Vpattern groups), HBLK/CLPOB timing, and VSG patterns for the SG active lines. This timing example requires four regions for each of the three fields, labeled Region 0, Region 1, Region 2, and Region 3. Because the AD9927 allows many individual fields to be programmed, FIELD0, FIELD1, and FIELD2 can be used to meet the requirements of this timing example. The four regions for each field are very similar in this example, but the individual registers for each field allow flexibility to accommodate other timing charts. Region 0 is a high speed, vertical shift region. Sweep mode can be used to generate this timing operation with the desired number of high speed vertical pulses needed to clear any charge from the CCD’s vertical registers. Region 1 consists of only two lines and uses standard singleline, vertical shift timing. The timing of this region area is the same as the timing in Region 3. Region 2 is the sensor gate line where the VSG pulses transfer the image into the vertical CCD registers. This region might require the use of the second V-pattern group for the SG active line. Region 3 also uses the standard single-line, vertical shift timing, the same timing as Region 1. Four regions are required in each of the three fields. The timing for Region 1 and Region 3 is essentially the same, reducing the complexity of the register programming. Other registers need to be used during the actual readout operation. These include the MODE registers, shutter control registers (PRIMARY_ACTION, SUBCK, GPO for MSHUT, and VSUB control) and AFE gain register. Important Note Regarding Signal Polarities When programming the AD9927 to generate the V1 to V24 and SUBCK signals, the external V-driver circuit usually inverts these signals. Carefully check the required timing signals needed at the input and the output of the V-driver circuit being used and adjust the polarities of the AD9927 outputs accordingly. Rev. 0 | Page 53 of 100 AD9927 EXPOSURE (tEXP) FIRST FIELD READOUT THIRD FIELD READOUT SECOND FIELD READOUT VD HD V1 V2 V3 V4 V5 V6 2 5 8 11 14 17 20 N–4 N–1 Figure 68. CCD Timing Example—Dividing Each Field into Regions REGION 0 REGION 1 FIELD 0 REGION 2 REGION 3 N–5 N–2 REGION 0 REGION 1 REGION 3 REGION 2 FIELD 1 REGION 0 REGION 1 REGION 3 REGION 2 FIELD 2 05892-055 N–3 N CCD OUT 1 4 7 10 13 16 3 6 9 12 15 18 21 Rev. 0 | Page 54 of 100 SUBCK MSHUT OPEN OPEN CLOSED VSUB AD9927 SHUTTER TIMING CONTROL The AD9927 supports the generation of electronic shuttering (SUBCK) and also features flexible general-purpose outputs (GPO) to control mechanical shuttering, CCD substrate bias switching, and strobe circuitry. In the following documentation, the terms sense gate (SG) and vertical sense gate (VSG) are used interchangeably. SUBCK: Low Speed Operation Normal and high precision shutter operations are used when the exposure time is less than 1 field. For exposure times greater than 1 field, the low speed (LS) shutter features can be used. The AD9927 includes a field counter (primary field counter) to regulate long exposure times. The primary field counter must be activated (Address 0x70) to serve as the trigger for the LS operation. The durations of the LS exposure and read are specified by the SGMASK_NUM and SUBCKMASK_NUM register (Address 0x74), respectively. As shown in Figure 71, this mode suppresses the SUBCK and VSG outputs for up to 8192 fields (VD periods). To activate an LS shutter operation, trigger the start of the exposure by writing to the PRIMARY_ACTION register bits according to the desired effect. When the primary counter is activated, the next VD period becomes the first active period of the exposure for which the VSG and SUBCK masks are applied. Optionally, if the SUBCKMASK_SKIP1 register is enabled, the AD9927 ignores the first VSG and SUBCK masks in the subsequent fields. This is generally desired so that the exposure time begins in the field after the exposure operation is initiated. Figure 71 shows operation with SUBCKMASK_SKIP1 = 1. If the PRIMARY_ACTION register is used while the SUBCKMASK_NUM and SGMASK_NUM registers are set to 0, the behavior of the SUBCK and VSG signals are not different from the normal shutter or high precision shutter operations. Therefore, the primary field counter can be used for other tasks (described in the General-Purpose Outputs (GPOs) section) without disrupting the normal activity. In addition, there exists a secondary field counter that has no effect on the SUBCK and VSG signals. These counters are described in detail in the Field Counters section. SUBSTRATE CLOCK OPERATION (SUBCK) The CCD image exposure time is controlled by the substrate clock signal (SUBCK), which pulses the CCD substrate to clear out accumulated charge. The AD9927 supports three types of electronic shuttering: normal, high precision, and low speed. Along with the SUBCK pulse placement, the AD9927 can accommodate different readout configurations to further suppress the SUBCK pulses during multiple field readouts. The SUBCK signal is a programmable string of pulses, each occupying a line following the primary sense gate active line, SGACTLINE1 (registers are shown in Table 40). The SUBCK signal has programmable pulse width, line placement, and number of pulses to accurately control the exposure time. SUBCK: Normal Operation By default, the AD9927 operates in the normal SUBCK configuration, in which the SUBCK signal is pulsing in every VD field (see Figure 69). The SUBCK pulse occurs once per line, and the total number of repetitions within the field determines the length of the exposure time. The SUBCK pulse polarity and toggle positions within a line are programmable using the SUBCK_POL and SUBCK_TOG1 registers (see Table 40). The number of SUBCK pulses per field is programmed in the SUBCKNUM register (Address 0x75). As shown in Figure 69, the SUBCK pulses always begin in the line following the SG-active line, which is specified in the SGACTLINE registers for each field. The SUBCK_POL, SUBCK_TOG1, SUBCK_TOG2, SUBCKNUM, and SUBCKSTARTLINE registers are updated at the start of the line after the sensor gate line, as described in the Updating New Register Values section. SUBCK Start Line By default, the SUBCK pulses begin in the line following SGACTLINE1. For applications where the SUBCK pulse should be suppressed for one or more lines following the VSG line, the SUBCKSTARTLINE register can be programmed. This register setting delays the start of the SUBCK pulses until the specified number of lines following SGACTLINE1. SUBCK: High Precision Operation High precision shuttering is used in the same manner as normal shuttering but uses an additional register to control the last SUBCK pulse. In this mode, the SUBCK still pulses once per line, but the last SUBCK in the field has an additional SUBCK pulse, whose location is determined by the SUBCKHP_TOG registers, as shown in Figure 70. Finer resolution of the exposure time is possible using this mode. Leaving the SUBCKHP_TOG registers set to its maximum value (0xFFFFFF) disables the last SUBCK pulse (default setting). Caution A value of 1 should not be used in the SUBCKSTARTLINE register. A value of 0 is used to specify the SUBCK pulses to begin in the next line after the SG line. A value of 2 is used to specify the SUBCK pulses to begin two lines after the SG line, and so on. Rev. 0 | Page 55 of 100 AD9927 Read After Exposure To read the CCD data after exposure, the SG should resume normal activity while the SUBCK remains null. By default, the AD9927 generates the VSG pulses in every field. When only a single exposure and a single frame read is desired, such as is the case in the preview mode, the VSG and SUBCK pulses can operate in every field. Other applications require that a greater number of frames are read, in which case SUBCK must be masked until the readout is finished. The SUBCKMASK_NUM register specifies the total number of fields (exposure and read) to mask SUBCK. A 2-field CCD frame read mode typically requires two additional fields of SUBCK masking (SUBCKMASK_NUM = 2). A 3-field, 6-phase CCD requires three additional fields of SUBCK masking after the read begins (SUBCKMASK_NUM = 3). Note that the SUBCKMASK_SKIP1 register setting allows SUBCK pulses at the beginning of the field of exposure. Table 40. SUBCK and Exposure/Read Register Parameters Register SGMASK_NUM SUBCKMASK_NUM SUBCKMASK_SKIP1 SUBCKSTARTLINE 1 SUBCKNUM1 SG_SUPPRESS1 SUBCK_TOG1 SUBCK_TOG2 SUBCK_POL SUBCKHP_TOG1 SUBCKHP_TOG2 1 Length 13b 13b 1b 13b 13b 1b 13b 13b 1b 13b 13b Range 0 to 8191 no. of fields 0 to 8191 no. of fields On/off 0, 2 to 8191 line location 1 to 8191 no. of pulses On/off 0 to 8191 pixel locations 0 to 8191 pixel locations Low/high 0 to 8191 pixel locations 0 to 8191 pixel locations Description Exposure duration (number of fields to suppress VSG) for LS operation. Exposure plus readout duration (number of fields to suppress SUBCK) for LS. Suppress SG/SUBCK masks for one field (default = 0). Typically set to 1. Line location to start the SUBCK pulses, relative to SGLINE location. A value of 1 is invalid. See the SUBCK Start Line section. Total number of SUBCKs per field, at 1 pulse per line. Must be
AD9927 价格&库存

很抱歉,暂时无法提供与“AD9927”相匹配的价格&库存,您可以联系我们找货

免费人工找货