FEATURES
AD9848: 10-Bit, 20 MHz Version
AD9849: 12-Bit, 30 MHz Version
Correlated Double Sampler (CDS)
–2 dB to +10 dB Pixel Gain Amplifier (
2 dB to 36 dB 10-Bit Variable Gain Amplifier (VGA)
10-Bit 20 MHz A/D Converter (AD9848)
12-Bit 30 MHz A/D Converter (AD9849)
Black Level Clamp with Variable Level Control
Complete On-Chip Timing Driver
Precision Timing
™
Core with 1 ns Resolution @ 20 MSPS
On-Chip 3 V Horizontal and RG Drivers (AD9848)
On-Chip 5 V Horizontal and RG Drivers (AD9849)
48-Lead LQFP Package
APPLICATIONS
Digital Still Cameras
®
PxGA
)
FUNCTIONAL BLOCK DIAGRAM
Integrated Timing Driver
AD9848/AD9849
PRODUCT DESCRIPTION
The AD9848 and AD9849 are highly integrated CCD signal
cessors for digital still camera applications. Both include a complete
analog front end with A/D conversion, combined with a programmable timing driver. The Precision Timing core allows adjustment
of high speed clocks with approximately 1 ns resolution.
The AD9848 is specified at pixel rates of 20 MHz, and the
AD9849 is specified at 30 MHz. The analog front end includes
black level clamping, CDS, PxGA, VGA, and a 10-bit or 12-bit A/D
converter. The timing driver provides the high speed CCD clock
drivers for RG and H1–H4. Operation is programmed using a
3-wire serial interface.
Packaged in a space saving 48-lead LQFP, the AD9848 and
AD9849 are specified over an operating temperature range of
–20°C to +85°C.
VRB
VRT
pro-
CCDIN
RG
H1–H4
CDS
HORIZONTAL
DRIVERS
4
AD9848/AD9849
CLAMP
4ⴞ6dB
PxGA
2dB TO 36dB
VGA
INTERNAL
CLOCKS
PRECISION
TIMING
CORE
SYNC
GENERATOR
HD VD
VREF
ADC
CLAMP
INTERNAL
REGISTERS
SL
10 OR 12
DOUT
CLPOB
CLPDM
PBLK
CLI
SDATASCK
PxGA is a registered trademark and Precision Timing is a trademark of Analog Devices, Inc.
REV. A
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. No license is granted by implication or otherwise
under any patent or patent rights of Analog Devices.
Reference Top Voltage (VRT)2.0V
Reference Bottom Voltage (VRB)1.0V
SYSTEM PERFORMANCE
VGA Gain AccuracySpecifications Include Entire Signal Chain
Gain Includes 4 dB Default PxGA Gain
Low Gain (91)567dB
Max Gain (1023)3839.541dB
Peak Nonlinearity, 500 mV Input Signal0.2%12 dB Gain Applied
Total Output Noise0.2LSB rms AC Grounded Input, 6 dB Gain Applied
Power Supply Rejection (PSR)40dBMeasured with Step Change on Supply
*Input signal characteristics defined as follows:
500mV TYP
RESET
TRANSIENT
Specifications subject to change without notice.
150mV MAX
OPTICAL
BLACK PIXEL
1V MAX
INPUT
SIGNAL RANGE
–4–
REV. A
Page 5
AD9848/AD9849
AD9849–ANALOG SPECIFICATIONS
(T
to T
MIN
, AVDD = DVDD = 3.0 V, f
MAX
= 30 MHz, unless otherwise noted.)
CLI
ParameterMinTypMaxUnitNotes
CDS
Gain0dB
Allowable CCD Reset Transient*500mVSee Input Waveform in Note
Max Input Range Before Saturation*1.0V p-p
Max CCD Black Pixel Amplitude*150mV
PIXEL GAIN AMPLIFIER (PxGA)
Max Input Range1.0V p-p
Max Output Range1.6V p-p
Gain Control Resolution64Steps
Gain MonotonicityGuaranteed
Gain Range
Min Gain (32)–2dB
Med Gain (0)4dBMedium Gain (4 dB) Is Default Setting
Max Gain (31)10dB
VARIABLE GAIN AMPLIFIER (VGA)
Max Input Range1.6V p-p
Max Output Range2.0V p-p
Gain Control Resolution1024Steps
Gain MonotonicityGuaranteed
Gain Range
Low Gain (91)2dB
Max Gain (1023)36dB
BLACK LEVEL CLAMP
Clamp Level Resolution256Steps
Clamp LevelMeasured at ADC Output
Min Clamp Level (0)0LSB
Max Clamp Level (255)255LSB
Reference Top Voltage (VRT)2.0V
Reference Bottom Voltage (VRB)1.0V
SYSTEM PERFORMANCE
Gain AccuracySpecifications Include Entire Signal Chain
Gain Includes 4 dB Default PxGA Gain
Low Gain (91)567dB
Max Gain (1023)3839.541dB
Peak Nonlinearity, 500 mV Input Signal0.2%12 dB Gain Applied
Total Output Noise0.6LSB rms AC Grounded Input, 6 dB Gain Applied
Power Supply Rejection (PSR)40dBMeasured with Step Change on Supply
*Input signal characteristics defined as follows:
500mV TYP
RESET
TRANSIENT
Specifications subject to change without notice.
150mV MAX
OPTICAL
BLACK PIXEL
1V MAX
INPUT
SIGNAL RANGE
REV. A
–5–
Page 6
AD9848/AD9849
TIMING SPECIFICATIONS
(CL = 20 pF, f
unless otherwise noted.)
= 20 MHz (AD9848) or 30 MHz (AD9849), Serial Timing in Figures 3a and 3b,
CLI
ParameterSymbolMinTypMaxUnit
MASTER CLOCK (CLI), AD9848
CLI Clock Periodt
CLI High/Low Pulsewidtht
Delay From CLI to Internal Pixel Period Positiont
CLI
ADC
CLIDLY
50ns
25ns
6ns
MASTER CLOCK (CLI), AD9849
CLI Clock Periodt
CLI High/Low Pulsewidtht
CONV
ADC
33.33ns
16.67ns
EXTERNAL MODE CLAMPING
CLPDM Pulsewidtht
CLPOB Pulsewidth*t
CDM
COB
410Pixels
220Pixels
SAMPLE CLOCKS
SHP Rising Edge to SHD Rising Edge (AD9848)t
SHP Rising Edge to SHD Rising Edge (AD9849)t
S1
S1
20ns
13ns
DATA OUTPUTS
Output Delay from Programmed Edget
OD
6ns
Pipeline Delay9Cycles
SERIAL INTERFACE
Maximum SCK Frequencyf
SL to SCK Setup Timet
SCK to SL Hold Timet
SDATA Valid to SCK Rising Edge Setupt
SCK Falling Edge to SDATA Valid Holdt
SCK Falling Edge to SDATA Valid Readt
*Maximum CLPOB pulsewidth is for functional operation only. Wider typical pulses are recommended to achieve low noise clamp reference.
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 the
AD9848/AD9849 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.
ModelRangeDescriptionOption
AD9848AKST–20°C to +85°CThin Plastic QuadST-48
AD9849AKST–20°C to +85°CThin Plastic QuadST-48
TemperaturePackagePackage
ORDERING GUIDE
Flatpack (LQFP)
Flatpack (LQFP)
WARNING!
ESD SENSITIVE DEVICE
REV. A
–7–
Page 8
AD9848/AD9849
PIN CONFIGURATION
D1
D0 (LSB)
DVDD4
DVSS4HDVD
PBLK
HBLK
CLPDM
CLPOB
SCK
AVSS1
DVDD2
CLI
SDI
36
35
34
33
32
31
30
29
28
27
26
25
AVDD1
SL
REFT
REFB
CMLEVEL
AVSS3
AVDD3
BYP3
CCDIN
BYP2
BYP1
AVDD2
AVSS2
NCNCDVDD4
DVSS4HDVD
PBLK
HBLK
CLPDM
CLPOB
SCK
(LSB) D0
D1
D2
D3
D4
DVSS3
DVDD3
D5
D6
D7
D8
(MSB) D9
NC = NO CONNECT
48 47 46 4 5 4439 38 3743 4 2 41 40
1
PIN 1
2
IDENTIFIER
3
4
5
6
7
8
9
10
11
12
13 14 15 16 17 18 19 20 21 22 23 24
H1
H2
DVSS1
AD9848
TOP VIEW
(Not to Scale)
H3
H4
DVSS2
DVDD1
RG
AVSS1
DVDD2
CLI
SDI
36
35
34
33
32
31
30
29
28
27
26
25
AVDD1
SL
REFT
REFB
CMLEVEL
AVSS3
AVDD3
BYP3
CCDIN
BYP2
BYP1
AVDD2
AVSS2
DVSS3
DVDD3
(MSB) D11
48 47 46 4 5 4439 38 3743 4 2 41 40
1
D2
PIN 1
2
D3
IDENTIFIER
3
D4
4
D5
D6
5
6
7
D7
8
9
D8
10
D9
11
D10
12
13 14 15 16 17 18 19 20 21 22 23 24
H1
H2
DVSS1
AD9849
TOP VIEW
(Not to Scale)
DVDD1
H3
H4
RG
DVSS2
PIN FUNCTION DESCRIPTIONS
PinMnemonicType*Description
1–5D0–D4DOData Outputs AD9848 Only
1–5D2–D6DOData Outputs AD9849 Only
6DVSS3PDigital Ground 3 – Data Outputs
7DVDD3PDigital Supply 3 – Data Outputs
8–12D5–D9DOData Outputs (D9 is MSB) AD9848 Only
8–12D7–D11DOData Outputs (D9 is MSB) AD9849 Only
13, 14H1, H2DOHorizontal Clocks (to CCD)
15DVSS1PDigital Ground 1 – H Drivers
16DVDD1PDigital Supply 1 – H Drivers
17, 18H3, H4DOHorizontal Clocks (to CCD)
19DVSS2PDigital Ground 1 – RG Driver
20RGDOReset Gate Clock (to CCD)
21DVDD2PDigital Supply 2 – RG Driver
22AVSS1PAnalog Ground 1
23CLIDIMaster Clock Input
24AVDD1PAnalog Supply 1
25AVSS2PAnalog Ground 2
26AVDD2PAnalog Supply 2
27BYP1AOBypass Pin (0.1 µF to AVSS)
28BYP2AOBypass Pin (0.1 µF to AVSS)
29CCDINAIAnalog Input for CCD Signal
30BYP3AOBypass Pin (0.1 µF to AVSS)
31AVDD3PAnalog Supply 3
32AVSS3PAnalog Ground 3
33CMLEVELAOInternal Bias Level Decoupling (0.1 µF to AVSS)
34REFBAOReference Bottom Decoupling (1.0 µF to AVSS)
35REFTAOReference Top Decoupling (1.0 µF to AVSS)
36SLDI3-Wire Serial Load (from µP)
37SDIDI3-Wire Serial Data Input (from µP)
38SCKDI3-Wire Serial Clock (from µP)
39CLPOBDIOptical Black Clamp Pulse
40CLPDMDIDummy Black Clamp Pulse
41HBLKDIHCLK Blanking Pulse
42PBLKDIPreblanking Pulse
43VDDIVertical Sync Pulse
44HDDIHorizontal Sync Pulse
45DVSS4PDigital Ground 4 – VD, HD, CLPOB, CLPDM, HBLK, PBLK, SCK, SL, SDATA
46DVDD4PDigital Supply 4 – VD, HD, CLPOB, CLPDM, HBLK, PBLK, CK, SL, SDATA
47, 48NCNCInternally Not Connected AD9848 Only
47, 48D0, D1DOData Output (D0 is LSB) AD9849 Only
*Type: AI = Analog Input, AO = Analog Output, DI = Digital Input, DO = Digital Output, P = Power
–8–
REV. A
Page 9
EQUIVALENT INPUT/OUTPUT CIRCUITS
DVDD4
DVSS4
330⍀
AVDD2
R
AD9848/AD9849
DATA
THREE-
STATE
AVSS2
Circuit 1. CCDIN (Pin 29)
AVDD1
330⍀
CLI
25k⍀
1.4V
AVSS1
Circuit 2. CLI (Pin 23)
DVDD4DVDD3
AVSS2
DOUT
Circuit 4. Digital Inputs (Pins 36–44)
DVDD1
DATA
ENABLE
DVSS1
Circuit 5. H1–H4 and RG (Pins 13, 14, 17, 18, 20)
OUTPUT
DVSS4DVSS3
Circuit 3. Data Outputs D0–D11 (Pins 1–5, 8–12, 47–48)
REV. A
–9–
Page 10
AD9848/AD9849
—Typical Performance Characteristics
0.50
0.25
–0.25
–0.50
0
0
200600800
400
TPC 1. AD9848 Typical DNL
4
3
2
1000
0.5
0.25
–0.25
–0.5
0
0
500
1500 2000 2500 3000 3500 4000
1000
TPC 3. AD9849 Typical DNL
15
10
OUTPUT NOISE – LSB
1
0
0
200
400
VGA GAIN CODE – LSB
600800
1000
TPC 2. AD9848 Output Noise vs. VGA Gain Setting
5
OUTPUT NOISE – LSB
0
0
200
400
VGA GAIN CODE – LSB
600
800
1000
TPC 4. AD9849 Output Noise vs. VGA Gain Setting
–10–
REV. A
Page 11
SYSTEM OVERVIEW
V-DRIVER
H1–H4, RG
CCD
CCDIN
INTERFACE
AD9848/AD9849
INTEGRATED
SERIAL
V1–V4, VSG1–VSG8, SUBCK
DOUT
AFE+TD
HD, VD
CLI
DIGITAL IMAGE
PROCESSING
ASIC
CCD
V-DRIVER
H1–H4, RG
CCDIN
AD9848/AD9849
INTEGRATED
SERIAL
INTERFACE
AD9848/AD9849
V1–V4, VSG1–VSG8, SUBCK
DOUT
CLPOB
CLPDM
AFE+TD
PBLK
HBLK
HD, VD
CLI
DIGITAL IMAGE
PROCESSING
ASIC
Figure 1a. Typical Application (Internal Mode)
Figures 1a and 1b show the typical system application diagrams
for the AD9848/AD9849. The CCD output is processed by the
AD9848/AD9849’s AFE circuitry, which consists of a CDS,
PxGA, VGA, black level clamp, and A/D converter. The
digitized pixel information is sent to the digital image
processor chip, where all post-processing and compression
occurs. To operate the CCD, CCD timing parameters are
programmed into the AD9848/AD9849 from the image
processor, through the 3-wire serial interface. From the system
master clock, CLI, provided by the image processor, the
AD9848/AD9849 generates the high speed CCD clocks and all
internal AFE clocks. All AD9848/AD9849 clocks are
synchronized with VD and HD.
Figure 1a shows the AD9848/AD9849 used in Internal Mode,
in
which all the horizontal pulses (CLPOB, CLPDM, PBLK,
and HBLK) are programmed and generated internally. Figure 1b
shows the AD9848/AD9849 operating in External Mode, in
which the horizontal pulses are supplied externally by the
image processor.
The H-drivers for H1–H4 and RG are included in the AD9848/
D9849, allowing these clocks to be directly connected to the
A
CCD. H-drive voltage of 5 V is supported in the AD9849.
Figure 1b. Typical Application (External Mode)
Figure 2 shows the horizontal and vertical counter dimensions
for the AD9848/AD9849. All internal horizontal clocking is
programmed using these dimensions to specify line and
pixel locations.
MAXIMUM FIELD DIMENSIONS
12-BIT HORIZONTAL = 4096 PIXELS MAX
12-BIT VERTICAL = 4096 LINES MAX
Figure 2. Vertical and Horizontal Counters
REV. A
–11–
Page 12
AD9848/AD9849
SERIAL INTERFACE TIMING
SDATA
SCK
SDATA
SCK
A0 A1A2A4 A5A6 A7
t
DS
t
LS
SL
VD
HD
NOTES
1. SDATA BITS ARE LATCHED ON SCK RISING EDGES.
2. 14 SCK EDGES ARE NEEDED TO WRITE ADDRESS AND DATA BITS.
3. FOR 16-BIT SYSTEMS, TWO EXTRA DUMMY BITS MAY BE WRITTEN. DUMMY BITS ARE IGNORED.
4. NEW DATA IS UPDATED AT EITHER THE SL RISING EDGE, OR AT THE HD FALLING EDGE AFTER THE NEXT VD FALLING EDGE.
5. VD/HD UPDATE POSITION MAY BE DELAYED TO ANY HD FALLING EDGE IN THE FIELD USING THE UPDATE REGISTER.
A3
t
DH
D1 D2D3 D4D5 XX XX
D0
t
LH
SL UPDATED
Figure 3a. Serial Write Operation
DATA FOR STARTING
REGISTER ADDRESS
A0 A1A2A4 A5A6 A7 D0D1 D2D3 D4D5
A3
DATA FOR NEXT
REGISTER ADDRESS
D0D1 D2D3 D4 D5
VD/HD UPDATED
D0
...
D2D1
...
SL
NOTES
1. MULTIPLE SEQUENTIAL REGISTERS MAY BE LOADED CONTINUOUSLY.
2. THE FIRST (LOWEST ADDRESS) REGISTER ADDRESS IS WRITTEN, FOLLOWED BY MULTIPLE 6-BIT DATA-WORDS.
3. THE ADDRESS WILL AUTOMATICALLY INCREMENT WITH EACH 6-BIT DATA-WORD (ALL 6 BITS MUST BE WRITTEN).
4. SL IS HELD LOW UNTIL THE LAST DESIRED REGISTER HAS BEEN LOADED.
5. NEW DATA IS UPDATED AT EITHER THE SL RISING EDGE, OR AT THE HD FALLING EDGE AFTER THE NEXT VD FALLING EDGE.
Figure 3b. Continuous Serial Write Operation
COMPLETE REGISTER LISTING
Table I.
RegisterDescriptionRegisterDescription
oprmodeAFE Operation Modesh1drvH1 Drive Current
ctlmodeAFE Control Modesh2drvH2 Drive Current
preventpdatePrevents Loading of VD-Updated Registersh3drvH3 Drive Current
readbackEnables Serial Register Readback Modeh4drvH4 Drive Current
vdhdpolVD/HD Active PolarityrgpolRG Polarity
fieldvalInternal Field Pulse ValuergposlocRG Positive Edge Location
hblkretimeRetimes the H1 hblk to Internal ClockrgneglocRG Negative Edge Location
tgcore_rstbReset Bar Signal for Internal TG CorergdrvRG Drive Current
h12polH1/H2 Polarity ControlshpposlocSHP Sample Location
h1poslocH1 Positive Edge LocationshdposlocSHD Sample Location
h1neglocH1 Negative Edge Location
NOTES
1. All addresses and default values are expressed in hexadecimal.
2. All registers are VD/HD updated as shown in Figure 3a, except for the above-listed registers that are SL updated.
...
–12–
REV. A
Page 13
AD9848/AD9849
Accessing a Double-Wide Register
There are many double-wide registers in the AD9848/AD9849,
for example, oprmode, clpdmtog1_0, and clpdmscp3, and so
on. These registers are configured into two consecutive 6-bit
registers with the least significant six bits located in the lower of
the two addresses and the remaining most significant bits
located in the higher of the two addresses. For example, the
six LSBs of the clpdmscp3 register, clpdmscp3[5:0], are
located at Address 0x81. The most significant six bits of the
clpdmscp3 register, clpdmscp3[11:6], are located at Address 0x82.
The following rules must be followed when accessing doublewide registers:
1. When accessing a double-wide register, BOTH addresses
must be written to.
2. The lower of the two consecutive addresses for the double-
wide register must be written to first. In the example of the
00[5:0]600oprmode[5:0]AFE Operation Mode (See AFE Register Breakdown)
01[1:0]200oprmode[7:6]
02[5:0]616ccdgain[5:0]VGA Gain
03[3:0]402ccdgain[9:6]
04[5:0]600refblack[5:0]Black Clamp Level
05[1:0]202refblack[7:6]
06[5:0]600ctlmodeControl Mode (See AFE Register Breakdown)
07[5:0]600pxga gain0PxGA Color 0 Gain
08[5:0]600pxga gain1PxGA Color 1 Gain
09[5:0]600pxga gain2PxGA Color 2 Gain
0A[5:0]600pxga gain3PxGA Color 3 Gain
clpdmscp3 register, the contents of Address 0x81 must
be written first followed by the contents of Address 0x82.
The register will be updated after the completion of the
write to Register 0x82, either at the next SL rising edge
or next VD/HD falling edge.
3. A single write to the lower of the two consecutive addresses of a double-wide register that is not followed by
a write to the higher address of the registers is not permitted. This will not update the register.
4. A single write to the higher of the two consecutive addresses of a double-wide register that is not preceded by
a write to the lower of the two addresses is not permitted. Although the write to the higher address will
update the full double-wide register, the lower six bits
of the register will be written with an indeterminate
value if the lower address was not written first.
Miscellaneous/Extra # Bits 26
0F[5:0]600INITIAL2See Recommended Power-Up Sequence Section. Should be
set to “4” decimal (000100).
16[0]100out_contOutput Control (0 = Make All Outputs DC Inactive)
17[5:0]600update[5:0]Serial Data Update Control. Sets the line within the field
18[5:0]600update[11:6]for serial data update to occur.
19[0]100preventupdatePrevent the Update of the “VD/HD Updated” Registers
1B[5:0]600doutphaseDOUT Phase Control
1C[0]100disablerestoreDisable CCDIN DC Restore Circuit during PBLK
(1 = Disable)
1D[0]100vdhdpolVD/HD Active Polarity (0 = Low Active, 1 = High Active)
1E[0]101fieldvalInternal Field Pulse Value (0 = Next Field Odd,
1 = Next Field Even)
1F[0]100hblkretimeRe-Sync hblk to h1 Clock
20[5:0]600INITIAL1See Recommended Power-Up Sequence Section. Should be
set to “53” decimal (110101).
26[0]100tgcore_rstbTG Core Reset_Bar (0 = Hold TG Core in Reset,
1 = High Active)
66[0]101clpdmspol0Sequence #0: Start Polarity for CLPDM
67[5:0]62Cclpdmtog1_0[5:0]Sequence #0: Toggle Position 1 for CLPDM
68[5:0]600clpdmtog1_0[11:6]
69[5:0]635clpdmtog2_0[5:0]Sequence #0: Toggle Position 2 for CLPDM
6A[5:0]600clpdmtog2_0[11:6]
6B[0]101clpdmspol1Sequence #1: Start Polarity for CLPDM
6C[5:0]63Eclpdmtog1_1[5:0]Sequence #1: Toggle Position 1 for CLPDM
6D[5:0]602clpdmtog1_1[11:6]
6E[5:0]616clpdmtog2_1[5:0]Sequence #1: Toggle Position 2 for CLPDM
6F[5:0]603clpdmtog2_1[11:6]
70[0]100clpdmspol2Sequence #2: Start Polarity for CLPDM
71[5:0]63Fclpdmtog1_2[5:0]Sequence #2: Toggle Position 1 for CLPDM
72[5:0]63Fclpdmtog1_2[11:6]
73[5:0]63Fclpdmtog2_2[5:0]Sequence #2: Toggle Position 2 for CLPDM
74[5:0]63Fclpdmtog2_2[11:6]
75[0]101clpdmspol3Sequence #3: Start Polarity for CLPDM
76[5:0]63Fclpdmtog1_3[5:0]Sequence #3: Toggle Position 1 for CLPDM
77[5:0]63Fclpdmtog1_3[11:6]
78[5:0]63Fclpdmtog2_3[5:0]Sequence #3: Toggle Position 2 for CLPDM
79[5:0]63Fclpdmtog2_3[11:6]
000clpdmscp0CLPDM Sequence-Change-Position #0 (Hardcoded to 0)
7A[1:0]200clpdmsptr0CLPDM Sequence Pointer for SCP #0
7B[5:0]63Fclpdmscp1[5:0]CLPDM Sequence-Change-Position #1
7C[5:0]63Fclpdmscp1[11:6]
7D[1:0]200clpdmsptr1CLPDM Sequence Pointer for SCP #1
7E[5:0]63Fclpdmscp2[5:0]CLPDM Sequence-Change-Position #2
7F[5:0]63Fclpdmscp2[11:6]
80[1:0]200clpdmsptr2CLPDM Sequence Pointer for SCP #2
81[5:0]63Fclpdmscp3[5:0]CLPDM Sequence-Change-Position #3
82[5:0]63Fclpdmscp3[11:6]
83[1:0]200clpdmsptr3CLPDM Sequence Pointer for SCP #3
1 = High Active)
86[0]101clpobpol0Sequence #0: Start Polarity for CLPOB
87[5:0]60Eclpobtog1_0[5:0]Sequence #0: Toggle Position 1 for CLPOB
88[5:0]600clpobtog1_0[11:6]
89[5:0]62Bclpobtog2_0[5:0]Sequence #0: Toggle Position 2 for CLPOB
8A[5:0]600clpobtog2_0[11:6]
8B[0]101clpobpol1Sequence #1: Start Polarity for CLPOB
8C[5:0]62Bclpobtog1_1[5:0]Sequence #1: Toggle Position 1 for CLPOB
8D[5:0]606clpobtog1_1[11:6]
8E[5:0]63Fclpobtog2_1[5:0]Sequence #1: Toggle Position 2 for CLPOB
8F[5:0]63Fclpobtog2_1[11:6]
90[0]100clpobspol2Sequence #2: Start Polarity for CLPOB
91[5:0]63Fclpobtog1_2[5:0]Sequence #2: Toggle Position 1 for CLPOB
92[5:0]63Fclpobtog1_2[11:6]
93[5:0]63Fclpobtog2_2[5:0]Sequence #2: Toggle Position 2 for CLPOB
94[5:0]63Fclpobtog2_2[11:6]
95[0]101clpobspol3Sequence #3: Start Polarity for CLPOB
96[5:0]63Fclpobtog1_3[5:0]Sequence #3: Toggle Position 1 for CLPOB
97[5:0]63Fclpobtog1_3[11:6]
98[5:0]63Fclpobtog2_3[5:0]Sequence #3: Toggle Position 2 for CLPOB
99[5:0]63Fclpobtog2_3[11:6]
000clpobscp0CLPOB Sequence-Change-Position #0 (Hardcoded to 0)
9A[1:0]203clpobsptr0CLPOB Sequence Pointer for SCP #0
9B[5:0]601clpobscp1[5:0]CLPOB Sequence-Change-Position #1
9C[5:0]600clpobscp1[11:6]
9D[1:0]201clpobsptr1CLPOB Sequence Pointer for SCP #1
9E[5:0]602clpobscp2[5:0]CLPOB Sequence-Change-Position #2
9F[5:0]600clpobscp2[11:6]
A0[1:0]200clpobsptr2CLPOB Sequence Pointer for SCP #2
A1[5:0]637clpobscp3[5:0]CLPOB Sequence-Change-Position #3
A2[5:0]603clpobscp3[11:6]
A3[1:0]203clpobsptr3CLPOB Sequence Pointer for SCP #3
1 = Mask H1 and H3 High)
A7[0]101hblkmask0Sequence #0: Masking Polarity for HBLK
A8[5:0]63Ehblktog1_0[5:0]Sequence #0: Toggle Low Position for HBLK
A9[5:0]600hblktog1_0[11:6]
AA[5:0]60Dhblkbtog2_0[5:0]Sequence #0: Toggle High Position for HBLK
AB[5:0]606hblkbtog2_0[11:6]
AC[0]101hblkmask1Sequence #1: Masking Polarity for HBLK
AD[5:0]638hblktog1_1[5:0]Sequence #1: Toggle Low Position for HBLK
AE[5:0]600hblktog1_1[11:6]
AF[5:0]63Chblktog2_1[5:0]Sequence #1: Toggle High Position for HBLK
B0[5:0]602hblktog2_1[11:6]
B1[0]100hblkmask2Sequence #2: Masking Polarity for HBLK
B2[5:0]63Fhblktog1_2[5:0]Sequence #2: Toggle Low Position for HBLK
B3[5:0]63Fhblktog1_2[11:6]
B4[5:0]63Fhblktog2_2[5:0]Sequence #2: Toggle High Position for HBLK
B5[5:0]63Fhblktog2_2[11:6]
B6[0]101hblkmask3Sequence #3: Masking Polarity for HBLK
B7[5:0]63Fhblktog1_3[5:0]Sequence #3: Toggle Low Position for HBLK
B8[5:0]63Fhblktog1_3[11:6]
B9[5:0]63Fhblktog2_3[5:0]Sequence #3: Toggle High Position for HBLK
BA[5:0]63Fhblktog2_3[11:6]
000hblkscp0HBLK Sequence-Change-Position #0 (Hardcoded to 0)
BB[1:0]200hblksptr0HBLK Sequence Pointer for SCP #0
BC[5:0]63Fhblkscp1[5:0]HBLK Sequence-Change-Position #1
BD[5:0]63Fhblkscp1[11:6]
BE[1:0]200hblksptr1HBLK Sequence Pointer for SCP #1
BF[5:0]63Fhblkscp2[5:0]HBLK Sequence-Change-Position #2
C0[5:0]63Fhblkscp2[11:6]
C1[1:0]200hblksptr2HBLK Sequence Pointer for SCP #2
C2[5:0]63Fhblkscp3[5:0]HBLK Sequence-Change-Position #3
C3[5:0]63Fhblkscp3[11:6]
C4[1:0]200hblksptr3HBLK Sequence Pointer for SCP #3
1 = High Active)
C7[0]101pblkspol0Sequence #0: Start Polarity for PBLK
C8[5:0]63Dpblktog1_0[5:0]Sequence #0: Toggle Position 1 for PBLK
C9[5:0]600pblktog1_0[11:6]
CA[5:0]62Apblkbtog2_0[5:0]Sequence #0: Toggle Position 2 for PBLK
CB[5:0]606pblkbtog2_0[11:6]
CC[0]100pblkspol1Sequence #1: Start Polarity for PBLK
CD[5:0]62Apblktog1_1[5:0]Sequence #1: Toggle Position 1 for PBLK
CE[5:0]606pblktog1_1[11:6]
CF[5:0]63Fpblktog2_1[5:0]Sequence #1: Toggle Position 2 for PBLK
D0[5:0]63Fpblktog2_1[11:6]
D1[0]100pblkspol2Sequence #2: Start Polarity for PBLK
D2[5:0]63Fpblktog1_2[5:0]Sequence #2: Toggle Position 1 for PBLK
D3[5:0]63Fpblktog1_2[11:6]
D4[5:0]63Fpblktog2_2[5:0]Sequence #2: Toggle Position 2 for PBLK
D5[5:0]63Fpblktog2_2[11:6]
D6[0]101pblkspol3Sequence #3: Start Polarity for PBLK
D7[5:0]63Fpblktog1_3[5:0]Sequence #3: Toggle Position 1 for PBLK
D8[5:0]63Fpblktog1_3[11:6]
D9[5:0]63Fpblktog2_3[5:0]Sequence #3: Toggle Position 2 for PBLK
DA[5:0]63Fpblktog2_3[11:6]
000pblkscp0PBLK Sequence-Change-Position #0 (Hardcoded to 0)
DB[1:0]202pblksptr0PBLK Sequence Pointer for SCP #0
DC[5:0]601pblkscp1[5:0]PBLK Sequence-Change-Position #1
DD[5:0]600pblkscp1[11:6]
DE[1:0]201pblksptr1PBLK Sequence Pointer for SCP #1
DF[5:0]602pblkscp2[5:0]PBLK Sequence-Change-Position #2
E0[5:0]600pblkscp2[11:6]
E1[1:0]200pblksptr2PBLK Sequence Pointer for SCP #2
E2[5:0]637pblkscp3[5:0]PBLK Sequence-Change-Position #3
E3[5:0]603pblkscp3[11:6]
E4[1:0]202pblksptr3PBLK Sequence Pointer for SCP #3
2'h3Total Shutdown
[2]disblackDisable Black Loop Clamping (High Active)
[3]test modeTest Mode—Should Be Set LOW
[4]test modeTest Mode—Should Be Set HIGH
[5]test modeTest Mode—Should Be Set LOW
[6]test modeTest Mode—Should Be Set LOW
[7]test modeTest Mode—Should Be Set LOW
3'h7Four-Color II
[3]enablepxgaEnable PxGA (High Active)
[4]1'h0outputlatLatch Output Data on Selected DOUT Edge
1'h1Leave Output Latch Transparent
[5]1'h0tristateoutADC Outputs Are Driven
1'h1ADC Outputs Are Three-Stated
PRECISION TIMING HIGH SPEED TIMING
GENERATION
The AD9848 and AD9849 generate flexible high speed timing
signals using the Precision Timing core. This core is the foundation for generating the timing used for both the CCD and the
AFE; the reset gate RG, horizontal drivers H1–H4, and the
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.
Timing Resolution
The Precision Timing core uses a 1⫻ master clock input (CLI) as
a reference. This clock should be the same as the CCD pixel
clock frequency. Figure 4 illustrates how the internal timing
core divides the master clock period into 48 steps or edge positions. Therefore, the edge resolution of the Precision Timing
core is (t
see the Driving the CLI Input section.
/48). For more information on using the CLI input,
CLI
High Speed Clock Programmability
Figure 5 shows how the high speed clocks RG, H1–H4, SHP, and
SHD are generated. The RG pulse has programmable rising and
falling edges and may be inverted using the polarity control. The
horizontal clocks H1 and H3 have programmable rising and falling
edges and polarity control. The H2 and H4 clocks are always
inverses of H1 and H3, respectively. Table II summarizes the
high speed timing registers and their parameters.
The edge location registers are six bits wide, but there are only
48 valid edge locations available. Therefore, the register values
are mapped into four quadrants, with each quadrant containing
12 edge locations. Table III shows the correct register values for
the corresponding edge locations. Figure 6 shows the range and
default locations of the high speed clock signals.
–18–
REV. A
Page 19
AD9848/AD9849
POSITION
CLI
t
CLIDLY
1 PIXEL
PERIOD
NOTES
1. PIXEL CLOCK PERIOD IS DIVIDED INTO 48 POSITIONS, PROVIDING FINE EDGE RESOLUTION FOR HIGH SPEED CLOCKS.
2. THERE IS A FIXED DELAY FROM THE CLI INPUT TO THE INTERNAL PIXEL PERIOD POSITIONS (
P[0]
P[12]P[24]P[36]
...
t
CLIDLY
= 6 ns TYP).
Figure 4. High Speed Clock Resolution from CLI Master Clock Input
(3)
CCD SIGNAL
RG
H1/H3
H2/H4
(1)(2)
(5)(6)
NOTES
PROGRAMMABLE CLOCK POSITIONS:
(1) RG RISING EDGE AND (2) FALLING EDGE
(3) SHP AND (4) SHD SAMPLE LOCATION
(5) H1/H3 RISING EDGE POSITION AND (6) FALLING EDGE POSITION (H2/H4 ARE INVERSE OF H1/H3)
(4)
Figure 5. High Speed Clock Programmable Locations
P[48] = P[0]
...
POSITION
PIXEL
PERIOD
RG
H1/H3
CCD SIGNAL
NOTES
1. ALL SIGNAL EDGES ARE FULLY PROGRAMMABLE TO ANY OF THE 48 POSITIONS WITHIN ONE PIXEL PERIOD.
2. DEFAULT POSITIONS FOR EACH SIGNAL ARE SHOWN ABOVE.
P[0]
RGr[0]
Hr[0]
P[12]
RGf[12]
Hf[24]
P[24]
P[36]
SHP[28]
Figure 6. High Speed Clock Default and Programmable Locations
P[48] = P[0]
SHD[48]
t
S1
REV. A
–19–
Page 20
AD9848/AD9849
Table II. H1–H4, RG, SHP, SHD Timing Parameters
Register NameLengthRangeDescription
POL1bHigh/LowPolarity Control for H1, H3, and RG (0 = No Inversion, 1 = Inversion)
POSLOC6b0–47 Edge LocationPositive Edge Location for H1, H3, and RG
Sample Location for SHP, SHD
NEGLOC6b0–47 Edge LocationNegative Edge Location for H1, H3, and RG
DRV3b0–7 Current StepsDrive Current for H1–H4 and RG Outputs (3.5 mA per Step)
Table III. Precision Timing Edge Locations
QuadrantEdge Location (Decimal)Register Value (Decimal)Register Value (Binary)
I0 to 110 to 11000000 to 001011
II12 to 2316 to 27010000 to 011011
III24 to 3532 to 43100000 to 101011
IV36 to 4748 to 59110000 to 111011
H-Driver and RG Outputs
In addition to the programmable timing positions, the AD9848/
AD9849 features on-chip output drivers for the RG and H1–H4
outputs. These drivers are powerful enough to directly drive the
CCD inputs. The H-driver current can be adjusted for optimum
rise/fall time into a particular load by using the DRV registers.
The RG drive current is adjustable using the RGDRV register.
Each 3-bit DRV register is adjustable in 3.5 mA increments, with
the minimum setting of 0 equal to OFF or three-state, and the
maximum setting of 7 equal to 24.5 mA.
As shown in Figure 7, the H2/H4 outputs are inverses of H1/H3.
The internal propagation delay resulting from the signal inversion
is less than l ns, which is significantly less than the typical rise time
driving the CCD load. This results in a H1/H2 crossover voltage
at approximately 50% of the output swing. The crossover voltage
is not programmable.
t
H1/H3
H2/H4
RISE
t
t
PD
<<
RISE
FIXED CROSSOVER VOLTAGE
Digital Data Outputs
The AD9848/AD9849 data output phase is programmable
using the DOUTPHASE register. Any edge from 0 to 47 may
be programmed, as shown in Figure 8.
HORIZONTAL CLAMPING AND BLANKING
The AD9848/AD9849’s horizontal clamping and blanking
pulses are fully programmable to suit a variety of applications.
As with the vertical timing generation, individual sequences are
defined for each signal and are then organized into multiple
regions during image readout. This allows the dark pixel clamping
and blanking patterns to be changed at each stage of the readout
to accommodate different image transfer timing and high speed
line shifts.
t
PD
H1/H3H2/H4
1 PIXEL PERIOD
CLI
DOUT
Figure 7. H-Clock Inverse Phase Relationship
P[0]
t
OD
NOTES
1. DIGITAL OUTPUT DATA (DOUT) PHASE IS ADJUSTABLE WITH RESPECT TO THE PIXEL PERIOD.
2. WITHIN 1 CLOCK PERIOD, THE DATA TRANSITION CAN BE PROGRAMMED TO ANY OF THE 48 LOCATIONS.
P[12]
P[24]
P[36]
P[48] = P[0]
Figure 8. Digital Output Phase Adjustment
–20–
REV. A
Page 21
HD
AD9848/AD9849
. . .
CLPOB
(1)
CLPDM
PBLK
NOTES
PROGRAMMABLE SETTINGS:
(1) START POLARITY (CLAMP AND BLANK REGION ARE ACTIVE LOW)
(2) FIRST TOGGLE POSITION
(3) SECOND TOGGLE POSITION
(3)(2)
CLAMP
Figure 9. Clamp and Preblank Pulse Placement
HD
(1)
HBLK
NOTES
PROGRAMMABLE SETTINGS:
(1) FIRST TOGGLE POSITION = START OF BLANKING
(2) SECOND TOGGLE POSITION = END OF BLANKING
THE POLARITY OF H1 DURING BLANKING IS PROGRAMMABLE (H2 IS OPPOSITE POLARITY OF H1)
. . .
H1/H3
H2/H4
Individual CLPOB, CLPDM, PBLK Sequences
The AFE horizontal timing consists of CLPOB, CLPDM, and
PBLK, as shown in Figure 9. These three signals are independently programmed using the registers in Table IV. SPOL is the
start polarity for the signal, and TOG1 and TOG2 are the first
and second toggle positions of the pulse. All three signals are
active low and should be programmed accordingly. Up to four
individual sequences can be created for each signal.
Individual HBLK Sequences
The HBLK programmable timing shown in Figure 10 is similar to
CLPOB, CLPDM, and PBLK. However, there is no start polarity control. Only the toggle positions are used to designate the
start and the stop positions of the blanking period. Additionally,
there is a polarity control HBLKMASK that designates the
polarity of the horizontal clock signals H1–H4 during the blanking period. Setting HBLKMASK high will set H1 = H3 = low and
REV. A
. . .
Figure 11. HBLK Masking Control
–21–
H2 = H4 = high during the blanking, as shown in Figure 11.
Up to four individual sequences are available for HBLK.
Horizontal Sequence Control
The AD9848/AD9849 uses Sequence Change Positions (SCP)
and Sequence Pointers (SPTR) to organize the individual
horizontal sequences. Up to four SCPs are available to divide
the readout into four separate regions, as shown in Figure 12.
The SCP 0 is always hard-coded to line 0, and SCP1–3 are
register programmable. During each region bounded by the
SCP, the SPTR registers designate which sequence is used by
each signal. CLPOB, CLPDM, PBLK, and HBLK each have a
separate set of SCP. For example, CLPOBSCP1 will define Region
0 for CLPOB, and in that region any of the four individual
CLPOB sequences may be selected with the CLPOBSPTR
registers. The next SCP defines a new region and in that region
each signal can be assigned to a different individual sequence. The
Sequence Control Registers are summarized in Table VI.
Page 22
AD9848/AD9849
SEQUENCE CHANGE OF POSITION #0
SEQUENCE CHANGE OF POSITION #1
SEQUENCE CHANGE OF POSITION #2
SEQUENCE CHANGE OF POSITION #3
(V-COUNTER = 0)
UP TO FOUR INDIVIDUAL HORIZONTAL CLAMP AND BLANKING REGIONS MAY BE
PROGRAMMED WITHIN A SINGLE FIELD, USING THE SEQUENCE CHANGE POSITIONS.
SINGLE FIELD (1 VD INTERVAL)
CLAMP AND PBLK SEQUENCE REGION 0
CLAMP AND PBLK SEQUENCE REGION 1
CLAMP AND PBLK SEQUENCE REGION 2
CLAMP AND PBLK SEQUENCE REGION 3
Figure 12. Clamp and Blanking Sequence Flexibility
Table IV. CLPOB, CLPDM, PBLK Individual Sequence Parameters
Register NameLengthRangeDescription
SPOL1bHigh/LowStarting Polarity of Clamp and Blanking Pulses for Sequences 0–3
TOG112b0–4095 Pixel LocationFirst Toggle Position within the Line for Sequences 0–3
TOG212b0–4095 Pixel LocationSecond Toggle Position within the Line for Sequences 0–3
Table V. HBLK Individual Sequence Parameters
Register NameLengthRangeDescription
HBLKMASK1bHigh/LowMasking Polarity for H1 for Sequences 0–3 (0 = H1 Low, 1 = H1 High)
HBLKTOG112b0–4095 Pixel LocationFirst Toggle Position within the Line for Sequences 0–3
HBLKTOG212b0–4095 Pixel LocationSecond Toggle Position within the Line for Sequences 0–3
Table VI. Horizontal Sequence Control Parameters for CLPOB, CLPDM, PBLK, and HBLK
Register NameLengthRangeDescription
SCP1–SCP312b0–4095 Line NumberCLAMP/BLANK SCP to Define Horizontal Regions 0–3
SPTR0–SPTR32b0–3 Sequence NumberSequence Pointer for Horizontal Regions 0–3
H-Counter Synchronization
The H-Counter reset occurs on the sixth CLI rising edge following the HD falling edge. The PxGA steering is synchronized with the
reset of the internal H-Counter (see Figure 13).
VD
3ns MIN
HD
CLI
H-COUNTER
(PIXEL COUNTER)
3ns MIN
XXXXXXX
X
H-COUNTER
RESET
012345678910111214150123
5
4
PxGA GAIN
REGISTER
X
XXXXXXX
NOTES
1. INTERNAL H-COUNTER IS RESET ON THE SIXTH CLI RISING EDGE FOLLOWING THE HD FALLING EDGE.
2. PxGA STEERING IS SYNCRONIZED WITH THE RESET OF THE INTERNAL H-COUNTER (MOSAIC SEPARATE MODE IS SHOWN).
3. VD FALLING EDGE SHOULD OCCUR ONE CLOCK CYCLE BEFORE HD FALLING EDGE FOR PROPER PxGA LINE SYNCHRONIZATION.
0001121110031100
023
Figure 13. H-Counter Synchronization
–22–
23
REV. A
Page 23
POWER-UP PROCEDURE
VDD
(INPUT)
CLI
(INPUT)
SERIAL
WRITES
VD
(OUTPUT)
HD
(OUTPUT)
DIGITAL
OUTPUTS
t
PWR
...
ODD FIELDEVEN FIELD
1 H
...
H2/H4
H1/H3, RG
CLOCKS ACTIVE WHEN OUT_CONT REGISTER IS
UPDATED AT VD/HD EDGE
Figure 14. Recommended Power-Up Sequence
AD9848/AD9849
1V
...
...
Recommended Power-Up Sequence
When the AD9848 and AD9849 are powered up, the following
sequence is recommended (refer to Figure 14 for each step).
1. Turn on power supplies for AD9848/AD9849.
2. Apply the master clock input CLI, VD, and HD.
3. The Precision Timing core must be reset by writing a “0” to the
TGCORE_RSTB Register (Address x026) followed by writing
a “l” to the TGCORE_RSTB Register. This will start the internal timing core operation. Next, initialize the internal circuitry
by first writing “110101” or “53” decimal to the INITIAL1
Register (Address x020). Finally, write “000100” or “4” decimal to the INITIAL2 Register (Address x00F).
4. Write a “1” to the PREVENTUPDATE Register (Address x019).
This will prevent the updating of the serial register data.
5. Write to desired registers to configure high speed timing and
horizontal timing.
6. Write a “1” to the OUT_CONT Register (Address x016). This
will allow the outputs to become active after the next VD/HD
rising edge.
7. Write a “0” to the PREVENTUPDATE Register (Address
x019). This will allow the serial information to be updated
at next VD/HD falling edge.
8. The next VD/HD falling edge allows register updates to occur,
including OUT_CONT, which enables all clock outputs.
ANALOG FRONT END DESCRIPTION AND OPERATION
The AD9848/AD9849 signal processing chain is shown in
Figure 15. Each processing step is essential in achieving a high
quality image from the raw CCD pixel data.
DC Restore
To reduce the large dc offset of the CCD output signal, a dc restore
circuit is used with an external 0.1 µF series coupling capacitor.
This restores the dc level of the CCD signal to approximately 1.5 V
to be compatible with the 3 V analog supply signal of the
AD9848/AD9849.
Correlated Double Sampler
The CDS circuit samples each CCD pixel twice to extract the
video information and reject low frequency noise. The timing
shown in Figure 6 illustrates how the two internally generated CDS
clocks, SHP and SHD, are used to sample the reference level
and data level of the CCD signal, respectively. The placement
of the SHP and SHD sampling edges is determined by the setting
of the SHPPOSLOC and SHDPOSLOC Registers located at
Address 0xF0 and 0xF1, respectively. Placement of these two clock
signals is critical to achieve the best performance from the CCD.
Input Clamp
A line-rate input clamping circuit removes the CCD’s optical black
offset. This offset exists in the CCD’s shielded black reference
pixels. The AD9848/AD9849 removes this offset in the input
stage to minimize the effect of a gain change on the system black
level, usually called the “gain step.” Another advantage of removing this offset at the input stage is to maximize system headroom.
Some area CCDs have large black level offset voltages that can
significantly reduce the available headroom in the internal circuitry
when higher VGA gain settings are used, if not corrected after
the input stage.
Horizontal timing examples are shown on the last page of the
Applications Information section. It is recommended that the
CLPDM pulse be used during valid CCD dark pixels. CLPDM
may be used during the optical black pixels, either together with
CLPOB or separately. The CLPDM pulse should be a minimum
of four pixels wide.
REV. A
–23–
Page 24
AD9848/AD9849
0.1F
0.1F
0.1F
0.1F
CCDIN
BYP1
BYP 2
BYP 3
DC RESTORE
1.5V
SHP
CDS
INTERNAL
BIASING
SHD
–2dB TO +10dB
PxGA
CLPDM
INPUT OFFSET
CLAMP
VGA GAIN
REGISTER
SHD
SHP
PRECISION
TIMING
GENERATION
0dB TO 36dB
VGA
10
DOUT
PHASE
8-BIT
DAC
CLPDM
GENERATION
CLPOB
V-H
TIMING
Figure 15. Analog Front End Block Diagram
0.1F
CML
1.0V 2.0V
AVDD
2
INTERNAL
V
10-/12-BIT
ADC
OPTICAL BLACK
CLAMP
DIGITAL
FILTER
PBLK
1.0F1.0F
REFTREFB
REF
2V FULL SCALE
CLAMP LEVEL
REGISTER
AD9848/AD9849
PHASE
OUTPUT
DATA
LATCH
CLPOB
8
PBLK
DOUT
10/12
DOUT
FLD
VD
HD
PxGA GAIN
REGISTER
NOTES
1. VD FALLING EDGE WILL RESET THE PxGA GAIN REGISTER STEERING TO “0101” LINE.
2. HD FALLING EDGES WILL ALTERNATE THE PxGA GAIN REGISTER STEERING BETWEEN “0101” AND “2323” LINES.
3. FLD STATUS IS IGNORED.
0
110XX
ODD FIELDEVEN FIELD
0
2203311
02203311
110
Figure 16a. Mosaic Separate Mode
00
–24–
REV. A
Page 25
AD9848/AD9849
FLD
VD
HD
PxGA GAIN
REGISTER
NOTES
1. FLD FALLING EDGE (START OF ODD FIELD) WILL RESET THE PxGA GAIN REGISTER STEERING TO “0101” LINE.
2. FLD RISING EDGE (START OF EVEN FIELD) WILL RESET THE PxGA GAIN REGISTER STEERING TO “2323” LINE.
3. HD FALLING EDGES WILL RESET THE PxGA GAIN REGISTER STEERING TO EITHER “0” (FLD = ODD) OR “2” (FLD = EVEN).
0
110XX
ODD FIELDEVEN FIELD
2
0001111
02223333
332
Figure 16b. Mosaic Interlaced Mode
FLD
VD
HD
PxGA GAIN
REGISTER
NOTES
1. VD FALLING EDGE WILL RESET THE PxGA GAIN REGISTER STEERING TO “0101” LINE.
2. HD FALLING EDGES WILL ALTERNATE THE PxGA GAIN REGISTER STEERING BETWEEN “0101” AND “1212” LINES.
3. ALL FIELDS WILL HAVE THE SAME PxGA GAIN STEERING PATTERN (FLD STATUS IS IGNORED).
0
110XX
ODD FIELDEVEN FIELD
0
1102211
01102211
110
20
00
Figure 16c. Mosaic Repeat Mode
FLD
VD
HD
PxGA GAIN
REGISTER
NOTES
1. EACH LINE FOLLOWS “012012” STEERING PATTERN.
2. VD AND HD FALLING EDGES WILL RESET THE PxGA GAIN REGISTER STEERING TO “0.”
3. FLD STATUS IS IGNORED.
0
102XX
ODD FIELDEVEN FIELD
0201001
20201001
Figure 16d. Three-Color Mode
0
102
20
REV. A
–25–
Page 26
AD9848/AD9849
FLD
VD
HD
PxGA GAIN
REGISTER
NOTES
1. VD FALLING EDGE WILL RESET THE PxGA GAIN REGISTER STEERING TO “012012” LINE.
2. HD FALLING EDGES WILL ALTERNATE THE PxGA GAIN REGISTER STEERING BETWEEN “012012” AND “210210” LINES.
3. FLD STATUS IS IGNORED.
0
102XX
ODD FIELDEVEN FIELD
0
2001201
22001201
102
Figure 16e. Three-Color Mode II
FLD
VD
HD
PxGA GAIN
REGISTER
NOTES
1. EACH LINE FOLLOWS “01230123” STEERING PATTERN.
2. VD AND HD FALLING EDGES WILL RESET THE PxGA GAIN REGISTER STEERING TO GAIN REGISTER “0.”
3. FLD STATUS IS IGNORED.
0
132XX
ODD FIELDEVEN FIELD
0
0201331
20201331
132
Figure 16f. Four-Color Mode
20
20
FLD
VD
HD
PxGA GAIN
REGISTER
NOTES
1. VD FALLING EDGE WILL RESET THE PxGA GAIN REGISTER STEERING TO “01230123” LINE.
2. HD FALLING EDGES WILL ALTERNATE THE PxGA GAIN REGISTER STEERING BETWEEN “01230123” AND “23012301” LINES.
3. FLD STATUS IS IGNORED.
0
132XX
ODD FIELDEVEN FIELD
0
2003131
22003131
132
Figure 16g. Four-Color Mode II
20
–26–
REV. A
Page 27
PxGA
RGr RGr
RGr RGr
RGr RGr
RGr RGr
GAIN0, GAIN1, GAIN0, GAIN1...LINE0
GAIN0, GAIN1, GAIN0, GAIN1...LINE1
GAIN0, GAIN1, GAIN0, GAIN1...LINE2
CCD: INTERLACED BAYER
EVEN FIELD
VD SELECTED COLOR
STEERING MODE
GbBGbB
GbBGbB
GbBGbB
GbBGbB
GAIN2, GAIN3, GAIN2, GAIN3...LINE0
GAIN2, GAIN3, GAIN2, GAIN3...LINE1
GAIN2, GAIN3, GAIN2, GAIN3...LINE2
ODD FIELD
PxGA GAIN REGISTER CODE
10
32
PxGA GAIN – dB
40485808162431
8
6
4
2
0
–2
(011111)(100000)
The PxGA provides separate gain adjustment for the individual
color pixels. A programmable gain amplifier with four separate
values, the PxGA has the capability to “multiplex” its gain value on
a pixel-to-pixel basis (see Figure 17). This allows lower output
color pixels to be gained up to match higher output color pixels.
Also, the PxGA may be used to adjust the colors for white balance,
reducing the amount of digital processing that is needed. The
four different gain values are switched according to the “Color
Steering” circuitry. Seven different color steering modes for
different types of CCD color filter arrays are programmed in the
AD9848/AD9849 AFE Register, ctlmode, at Address 0x06 (see
Figures 16a to 16g for timing examples). For example, Mosaic
Separate steering mode accommodates the popular “Bayer”
arrangement of Red, Green, and Blue filters (see Figures 18a
and 18b).
AD9848/AD9849
SHP/SHD
CDS
VD
HD
6
PxGA
COLOR
STEERING
CONTROL
2
4:1
MUX
VGA
PxGA STEERING
3
SELECTION
GAIN0
GAIN1
GAIN2
GAIN3
MODE
PxGA GAIN
REGISTERS
CONTROL
REGISTER
BITS D0–D2
Figure 17. PxGA Block Diagram
CCD: PROGRESSIVE BAYER MOSAIC SEPARATE COLOR
RGr RGr
GbBGbB
RGr RGr
GbBGbB
STEERING MODE
GAIN0, GAIN1, GAIN0, GAIN1...LINE0
GAIN2, GAIN3, GAIN2, GAIN3...LINE1
GAIN0, GAIN1, GAIN0, GAIN1...LINE2
Figure 18a. CCD Color Filter Example: Progressive Scan
Figure 18b. CCD Color Filter Example: Interlaced
The same Bayer pattern can also be interlaced, and the VD selected
mode should be used with this type of CCD (see Figure 18b).
The Color Steering performs the proper multiplexing of the R, G,
and B gain values (loaded into the PxGA gain registers) and is
synchronized by the user with vertical (VD) and horizontal (HD)
sync pulses. For more detailed information, see the PxGA Timing
section. The PxGA gain for each of the four channels is variable
from –2 dB to +10 dB, controlled in 64 steps through the serial
interface. The PxGA gain curve is shown in Figure 19.
REV. A
Figure 19. PxGA Gain Curve
–27–
Page 28
AD9848/AD9849
Variable Gain Amplifier
The VGA stage provides a gain range of 2 dB to 36 dB, programmable with 10-bit resolution through the serial digital interface.
Combined with 4 dB from the PxGA stage, the total gain range for
the AD9848/AD9849 is 6 dB to 40 dB. The minimum gain of 6 dB
is needed to match a 1 V input signal with the ADC full-scale
range of 2 V. When compared to 1 V full-scale systems (such as
ADI’s AD9803), the equivalent gain range is 0 dB to 34 dB.
The VGA gain curve is divided into two separate regions. When
the VGA Gain Register code is between 0 and 511, the curve follows
a (1 + x)/(1 – x) shape, which is similar to a “linear-in-dB”
characteristic. From code 512 to code 1023, the curve follows a
“linear-in-dB” shape. The exact VGA gain can be calculated for
any Gain Register value by using the following two equations:
Code Range Gain Equation (dB)
0–511Gain = 20 log
([658 + code]/[658 – code]) – 0.4
10
512–1023Gain = (0.0354)(code) – 0.04
36
30
24
18
VGA GAIN – dB
12
6
0
0
1272553835116397678951023
VGA GAIN REGISTER CODE
Figure 20. VGA Gain Curve (Gain from PxGA Not Included)
Optical Black Clamp
The optical black clamp loop removes residual offsets in the signal
chain to track low frequency variations in the CCD’s black level.
During the optical black (shielded) pixel interval on each line,
the ADC output is compared with a fixed black level reference,
selected by the user in the Clamp Level Register. The value can
be programmed between 0 LSB and 63.75 LSB on the AD9848
and between 0 LSB and 255 LSB on the AD9849. The clamp
level can be programmed with 8-bit resolution. The resulting
error signal is filtered to reduce noise, and the correction value is
applied to the ADC input through a D/A converter. Normally,
the optical black clamp loop is turned on once per horizontal line,
but this loop can be updated more slowly to suit a particular
application. If external digital clamping is used during the post
processing, the AD9848/AD9849 optical black clamping may be
disabled using Bit D2 in the OPRMODE Register. When the
loop is disabled, the Clamp Level Register may still be used to
provide programmable offset adjustment.
The CLPOB pulse should be placed during the CCD’s optical
black pixels. It is recommended that the CLPOB pulse duration be
at least 20 pixels wide to minimize clamp noise. Shorter pulsewidths may be used, but clamp noise may increase, and the
ability to track low frequency variations in the black level will be
reduced. See the section on Horizontal Clamping and Blanking and
also the Applications Information section for timing examples.
A/D Converter
The AD9848/AD9849 uses high performance 10-bit/12-bit
ADC architecture, optimized for high speed and low power.
Differential Nonlinearity (DNL) performance is typically better
than 0.5 LSB. The ADC uses a 2 V input range. Better noise
performance results from using a larger ADC full-scale range.
See TPC 1 to TPC 4 for typical linearity and noise performance
plots for the AD9848/AD9849.
APPLICATIONS INFORMATION
External Circuit Configuration
The AD9848/AD9849 recommended circuit configuration for
External Mode is shown in Figure 21. All signals should be
carefully routed on the PCB to maintain low noise performance. The
CCD output signal should be connected to Pin 29 through a
0.1 µF capacitor. The CCD timing signals H1–H4 and RG should
be routed directly to the CCD with minimum trace lengths, as
shown in Figures 22a and 22b. The digital outputs and clock
inputs are located on Pins 1–12 and Pins 36–48 and should be
connected to the digital ASIC, away from the analog and CCD
clock signals. The CLI signal from the ASIC may be routed
under the package to Pin 23. This will help separate the CLI
signal from the H1–H4 and RG signal routing.
Grounding and Decoupling Recommendations
As shown in Figure 21, a single ground plane is recommended
for the AD9848/AD9849. This ground plane should be as continuous as possible, particularly around Pins 25–35. This will
ensure that all analog decoupling capacitors provide the lowest
possible impedance path between the power and bypass pins
and their respective ground pins. All decoupling capacitors
should be located as close as possible to the package pins. Placing series resistors close to the digital output pins (Pins 1–12,
47–48) may help reduce digital code transition noise. If the
digital outputs must drive a load larger than 20 pF, buffering is
recommended to minimize additional noise.
Power supply decoupling is very important for low noise performance.
Figure 21 shows the local high frequency decoupling capacitors,
but additional capacitance is recommended for lower frequencies.
Additional capacitors and ferrite beads can further reduce noise.
–28–
REV. A
Page 29
3V
DRIVER
SUPPLY
DATA
OUTPUTS
0.1F
AD9848/AD9849
0.1F
3V
DIGITAL
SUPPLY
D1
D0 (LSB)
DVDD4
DVSS4HDVD
PBLK
HBLK
CLPDM
CLPOB
SCK
AVSS1
DVDD2
CLI
SDI
AVDD1
0.1F
SL
36
REFT
35
REFB
34
CMLEVEL
33
AVSS3
32
AVDD3
31
BYP3
30
CCDIN
29
BYP2
28
BYP1
27
AVDD2
26
AVSS2
25
3V
ANALOG
SUPPLY
0.1F 0.1F
CLOCK
INPUT
48 47 46 45 4439 38 3743 42 41 40
D2
1
2
3
4
5
6
7
8
9
10
11
12
PIN 1
IDENTIFIER
13 14 15 16
H2
H1
DVSS1
AD9849
TOP VIEW
(Not to Scale)
17 18 19 20 21 22 23 24
H4
H3
RG
DVSS2
DVDD1
D3
D4
D5
D6
DVSS3
DVDD3
D7
D8
D9
D10
(MSB) D11
12
H DRIVER
SUPPLY
RG DRIVER
SUPPLY
6
3
1F
1F
0.1F
CLOCK
INPUTS
SERIAL
INTERFACE
0.1F
0.1F
0.1F
3V
ANALOG
SUPPLY
0.1F
3V
ANALOG
SUPPLY
CCD
SIGNAL
0.1F
0.1F
Figure 21. Recommend Circuit Configuration for External Mode
Driving the CLI Input
The AD9848/AD9849’s master clock input (CLI) may be used in
two different configurations, depending on the application.
Figure 23a shows a typical dc-coupled input from the master clock
source. When the dc-coupled technique is used, the master clock
signal should be at standard 3 V CMOS logic levels. As shown in
Figure 23b, a 1000 pF ac-coupling capacitor may be used between
the clock source and the CLI input. In this configuration, the
CLI input will self-bias to the proper dc voltage level of approximately 1.4 V. When the ac-coupled technique is used, the
master clock signal can be as low as ±500 mV in amplitude.
5
HIGH SPEED
CLOCKS
CCDIN
SIGNAL
OUT
29
AD9848/AD9849
17
18131420
H2RGH3H4H1
H1RG
H2
CCD IMAGER
Figure 22a. CCD Connections (2 H-Clock)
REV. A
–29–
Page 30
AD9848/AD9849
K
AD9848/AD9849
131420
H1H2
1718
H2H1RG
CCD IMAGER
Figure 22b. CCD Connections (4 H-Clock)
AD9848/AD9849
Internal Mode Circuit Configuration
CCDIN
29
The AD9848/AD9849 may be used in Internal Mode using the
circuit configuration of Figure 24. Internal Mode uses the same
circuit as Figure 21, except that the horizontal pulses (CLPOB,
CLPDM, PBLK, and HBLK) are internally generated in the
AD9848/AD9849. These pins may be grounded when Internal
Mode is used. Only the HD and VD signals are required from