AD9840A
–9–
REV. 0
SERIAL INTERFACE TIMING AND INTERNAL REGISTER DESCRIPTION
Table I. Internal Register Map
Register Address Data Bits
Name A0 A1 A2 D0 D1 D2 D3 D4 D5 D6 D7 D8 D9 D10
Operation 0 0 0 Channel Select Power-Down Software OB Clamp 0* 1** 0* 0* 0*
CCD/AUX Modes Reset On/Off
VGA Gain 1 0 0 LSB MSB X
Clamp Level 0 1 0 LSB MSB X X X
Control 1 1 0 0* 0* 0* CDS Gain Clock Polarity Select for 0* 0* Three- X
On/Off SHP/SHD/CLP/DATA State
CDS Gain 0 0 1 LSB MSB X X X X X
*
Internal use only, must be set to zero. **Should be set to one.
SDATA
SCK
SL
RNW TEST
0
A2
0
A0 A1 D0 D1 D2 D3 D4 D5 D6 D7 D8 D9
D10
t
DS
t
DH
t
LS
t
LH
NOTES:
1. SDATA BITS ARE INTERNALLY LATCHED ON THE RISING EDGES OF SCK.
2. RNW = READ-NOT WRITE. SET LOW FOR WRITE OPERATION.
3. TEST BIT = INTERNAL USE ONLY. MUST BE SET LOW.
4. SYSTEM UPDATE OF LOADED REGISTERS OCCURS ON SL RISING EDGE.
Figure 8. Serial Write Operation
SDATA
SCK
SL
RNW TEST
10
A0 A1
D0 D1 D2 D3 D4 D5 D6 D7 D8
D9
D10
t
DS
t
DH
t
LS
t
LH
NOTES:
1. RNW = READ-NOT WRITE. SET HIGH FOR READ OPERATION.
2. TEST BITS = INTERNAL USE ONLY. MUST BE SET LOW.
3. SERIAL DATA FROM THE SELECTED REGISTER IS VALID STARTING AFTER THE 5TH SCK FALLING EDGE, AND IS UPDATED ON SCK
FALLING EDGES.
t
DV
A2
Figure 9. Serial Readback Operation
SDATA
SCK
SL
A0
A1
D0 D2 D3 D10
RNW
00
D9
000
D0
1
2173534
27
26166543 44
...
...
...
...
10 BITS
AGC GAIN
D7 D0
D9
...
...
...
...
...
NOTES:
1. ANY NUMBER OF ADJACENT REGISTERS MAY BE LOADED SEQUENTIALLY, BEGINNING WITH THE LOWEST ADDRESS AND INCREMENTING
ONE ADDRESS AT A TIME.
2. WHEN SEQUENTIALLY LOADING MULTIPLE REGISTERS, THE EXACT REGISTER LENGTH (SHOWN ABOVE) MUST BE USED FOR EACH REGISTER.
3. ALL LOADED REGISTERS WILL BE SIMULTANEOUSLY UPDATED WITH THE RISING EDGE OF SL.
8 BITS
CLAMP LEVEL
10 BITS
CONTROL
11 BITS
OPERATION
D1 D0 D2 D3D1
18 19 20789
Figure 10. Continuous Serial Write Operation to Multiple Registers
AD9840A
–10–
REV. 0
Table II. Operation Register Contents (Default Value x000)
Optical Black Clamp Reset Power-Down Modes Channel Selection
D10 D9 D8 D7 D6 D5 D4 D3 D2 D1 D0
0
*
0
*
0
*
1
**
0
*
0 Enable Clamping 0 Normal 0 0 Normal Power 0 0 CCD-Mode
1 Disable Clamping 1 Reset all 0 1 Fast Recovery 0 1 AUX1-Mode
Registers 1 0 Standby 1 0 AUX2-Mode
to Default 1 1 Total Power-Down 1 1 Test Only
*Must be set to zero. **Set to one.
Table III. VGA Gain Register Contents (Default Value x096)
MSB LSB
D10 D9 D8 D7 D6 D5 D4 D3 D2 D1 D0 Gain (dB)
X00 010111112.0
••
••
••
11 1111111035.965
11 1111111136.0
Table IV. Clamp Level Register Contents (Default Value x080)
MSB LSB
D10 D9 D8 D7 D6 D5 D4 D3 D2 D1 D0 Clamp Level (LSB)
XXX0000 0000 0
0000 0001 0.25
0000 0010 0.5
••
••
••
11111110 63.5
11111111 63.75
Table V. Control Register Contents (Default Value x000)
Data Out DATACLK CLP/PBLK SHP/SHD CDS Gain
D10 D9 D8 D7 D6 D5 D4 D3 D2 D1 D0
X 0 Enable 0* 0* 0 Rising Edge Trigger 0 Active Low 0 Active Low 0 Disabled** 0* 0* 0*
1 Three-State 1 Falling Edge Trigger 1 Active High 1 Active High 1 Enabled
*Must be set to zero.
**When D3 = 0 (CDS Gain Disabled), the CDS Gain Register is fixed at 4 dB (code 63 dec).
Table VI. CDS Gain Register Contents (Default Value x000)
MSB LSB
D10 D9 D8 D7 D6 D5 D4 D3 D2 D1 D0 Gain (dB)
*
XXX XX000000+4.3
011110+10.0
100000–2.0
111111+4.0
*Control Register Bit D3 must be set high for the CDS Gain Register to be used.
AD9840A
–11–
REV. 0
2dB TO 36dB
CLPDM
CCDIN
10
DIGITAL
FILTERING
CLPOB
DC RESTORE
INPUT OFFSET
CLAMP
OPTICAL BLACK
CLAMP
0 TO 64 LSB
0.1F
DOUT
10-BIT
ADC
VGA
8-BIT
DAC
8
VGA GAIN
REGISTER
10
CDS
2dB TO +10dB
INTERNAL
V
REF
2V FULL SCALE
CDS GAIN
REGISTER
6
CLAMP LEVEL
REGISTER
Figure 11. CCD-Mode Block Diagram
CIRCUIT DESCRIPTION AND OPERATION
The AD9840A signal processing chain is shown in Figure 11.
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 approxi-
mately 1.5 V, to be compatible with the 3 V single supply of
the AD9840A.
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 5 illustrates how the two CDS clocks, SHP
and SHD, are used to sample the reference level and data level
of the CCD signal respectively. The CCD signal is sampled on the
rising edges of SHP and SHD. Placement of these two clock
signals is critical in achieving the best performance from the CCD.
An internal SHP/SHD delay (t
ID
) of 3 ns is caused by internal
propagation delays.
The CDS stage has a default gain of 4 dB, but uses a unique
architecture that allows the CDS gain to be varied. Using the
CDS Gain Register, the gain-of is programmable from –2 dB to
+10 dB in 64 steps, using two’s complement coding. The CDS
Gain curve is shown in Figure 12. To change the gain of the
CDS using the CDS Gain Register, the Control Register bit D3
must be set high (CDS Gain Enabled). The default gain setting
when bit Control Register Bit D3 is low (CDS Gain Disabled) is
4 dB. See Tables V and VI for more details.
A CDS gain of 4 dB provides some front-end signal gain and
improves the overall signal-to-noise ratio. This gain setting
works very well in most applications, and the CCD-Mode
Specifications use this default gain setting. However, the CDS
gain may be varied to optimize the AD9840A operation in a
particular application. Increased CDS gain can be useful with
low output level CCDs, while decreased CDS gain allows the
AD9840A to accept CCD signal swings greater than 1 V p-p.
Table VII summarizes some example CDS gain settings for
different maximum signal swings. The CDS Gain Register may
also be used “on the fly” to provide a +6 dB boost or –6 dB
attenuation when setting exposure levels. It is best to keep the
CDS output level from exceeding 1.5 V–1.6 V.
Table VII. Example CDS Gain Settings
Recommended
Max Input Signal Gain Range Register Code Range
250 mV p-p 8 dB to 10 dB 21 to 31
500 mV p-p 6 dB to 8 dB 10 to 21
800 mV p-p 4 dB to 6 dB 63 to 10
1 V p-p 2 dB to 4 dB 53 to 63
1.25 V p-p 0 dB to 2 dB
42 to 53
1.5 V p-p –2 dB to 0 dB 32 to 42
Figure 12. CDS Gain Curve
Input Clamp
A line-rate input clamping circuit is used to remove the CCD’s
optical black offset. This offset exists in the CCD’s shielded
black reference pixels. Unlike some AFE architectures, the
AD9840A 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, which, if not corrected at
the input stage, can significantly reduce the available headroom
in the internal circuitry when higher VGA gain settings are used.
Horizontal timing is shown in Figure 6. It is recommended
that the CLPDM pulse be used during valid CCD dark pixels.
CLPDM may be used during the optical black pixels, either

AD9840AJSTZRL

Mfr. #:
Manufacturer:
Analog Devices Inc.
Description:
Analog Front End - AFE 10-Bit 40MHz CCD Signal Processor
Lifecycle:
New from this manufacturer.
Delivery:
DHL FedEx Ups TNT EMS
Payment:
T/T Paypal Visa MoneyGram Western Union

Products related to this Datasheet