w WM8214
40MSPS 16-bit CCD Digitiser
WOLFSON MICROELECTRONICS plc
To receive regular email updates, sign up at http://www.wolfsonmicro.com/enews/
Production Data, August 2008, Rev 4.4
Copyright ©2008 Wolfson Microelectronics plc.
DESCRIPTION
The WM8214 is a 16-bit analogue front end/digitiser IC
which processes and digitises the analogue output signals
from CCD sensors or Contact Image Sensors (CIS) at pixel
sample rates of up to 40MSPS.
The device includes three analogue signal processing
channels each of which contains Reset Level Clamping,
Correlated Double Sampling and Programmable Gain and
Offset adjust functions. Three multiplexers allow single
channel processing. The output from each of these
channels is time multiplexed into a single high-speed 16-bit
Analogue to Digital Converter. The digital output data is
available in 8-bit wide multiplexed format and there is also
an optional single byte output mode, or 4-bit multiplexed
LEGACY mode.
An internal 4-bit DAC is supplied for internal reference level
generation. This may be used during CDS to reference CIS
signals or during Reset Level Clamping to clamp CCD
signals. An external reference level may also be supplied.
ADC references are generated internally, ensuring optimum
performance from the device.
Using an analogue supply voltage of 3.3V and a digital
interface supply of 3.3V, the WM8214 typically only
consumes 390mW.
FEATURES
16-bit ADC
40MSPS conversion rate
Low power – 390mW typical
3.3V single supply operation
Single, 2 or 3 channel operation
Correlated double sampling
Programmable gain (9-bit resolution)
Programmable offset adjust (8-bit resolution)
Flexible clamp control with programmable clamp voltage
Flexible timing, can be made compatible with WM819X
and WM815X parts.
8-bit wide multiplexed data output format
8-bit only output mode
4-bit LEGACY multiplexed nibble mode
Internally generated voltage references
28-lead SSOP package, pin compatible with WM8199
Serial control interface
APPLICATIONS
High speed USB2.0 compatible scanners
Multi-function peripherals
High-performance CCD sensor interface
Digital Copiers
BLOCK DIAGRAM
RINP
DATA
O/P
PORT
SEN
VSMP MCLKVRLC/VBIAS
SDI
SCK
DVDD2
TIMING CONTROLCLMP
RLC
VS
RS
BINP
GINP
VRXVRT
OEB
VRB
RLC
RLC
CDS
CDS
CDS
RLC
DAC 4
CONFIGURABLE
SERIAL
CONTROL
INTERFACE
16-
BIT
ADC
AGND1 DGND
DVDD1
OP[0]
OP[1]
OP[2]
OP[3]
OP[4]
OP[5]
OP[6]
OP[7]/SDO
AGND2
M
U
X
VREF/BIAS
M
U
X
R
G
B
M
U
X
R
G
B
+
PGA
I/P SIGNAL
POLARITY
ADJUST
9
8
PGA
9
8OFFSET
DAC
PGA
9
OFFSET
DAC
8
+
+
+
+
+
I/P SIGNAL
POLARITY
ADJUST
I/P SIGNAL
POLARITY
ADJUST
AVDD
WM8214
OFFSET
DAC
RSMP
WM8214 Production Data
w PD, Rev 4.4, August 2008
2
TABLE OF CONTENTS
DESCRIPTION .......................................................................................................1
FEATURES.............................................................................................................1
APPLICATIONS .....................................................................................................1
BLOCK DIAGRAM .................................................................................................1
TABLE OF CONTENTS .........................................................................................2
PIN CONFIGURATION...........................................................................................3
ORDERING INFORMATION ..................................................................................3
PIN DESCRIPTION ................................................................................................4
ABSOLUTE MAXIMUM RATINGS.........................................................................5
RECOMMENDED OPERATING CONDITIONS .....................................................5
THERMAL PERFORMANCE .................................................................................5
ELECTRICAL CHARACTERISTICS ......................................................................6
INPUT VIDEO SAMPLING ............................................................................................ 8
SERIAL INTERFACE................................................................................................... 10
INTERNAL POWER ON RESET CIRCUIT ..........................................................11
DEVICE DESCRIPTION.......................................................................................13
INTRODUCTION......................................................................................................... 13
INPUT SAMPLING ...................................................................................................... 13
RESET LEVEL CLAMPING (RLC)............................................................................... 14
CDS/NON-CDS PROCESSING................................................................................... 16
OFFSET ADJUST AND PROGRAMMABLE GAIN ...................................................... 17
ADC INPUT BLACK LEVEL ADJUST.......................................................................... 18
OVERALL SIGNAL FLOW SUMMARY........................................................................ 19
CALCULATING THE OUTPUT CODE FOR A GIVEN INPUT ..................................... 20
OUTPUT FORMATS ................................................................................................... 21
REFERENCES ............................................................................................................ 21
POWER MANAGEMENT ............................................................................................ 21
LINE-BY-LINE OPERATION ....................................................................................... 22
CONTROL INTERFACE.............................................................................................. 22
NORMAL OPERATING MODES ................................................................................. 24
LEGACY MODE INFORMATION................................................................................. 25
LEGACY OPERATING MODES .................................................................................. 26
LEGACY MODE TIMING DIAGRAMS ......................................................................... 27
DEVICE CONFIGURATION .................................................................................29
REGISTER MAP ......................................................................................................... 29
REGISTER MAP DESCRIPTION ................................................................................ 30
APPLICATIONS INFORMATION .........................................................................34
RECOMMENDED EXTERNAL COMPONENTS.......................................................... 34
RECOMMENDED EXTERNAL COMPONENT VALUES ............................................. 34
PACKAGE DIMENSIONS ....................................................................................35
IMPORTANT NOTICE ..........................................................................................36
ADDRESS: .................................................................................................................. 36
Production Data WM8214
w PD, Rev 4.4, August 2008
3
PIN CONFIGURATION
SEN
OP[1]
OP[0]
SCK
SDI
DVDD2
OP[7]/SDO
OP[2]
OP[3]
OP[4]
OP[5]
OP[6]
GINP
AGND1
VRB
VRT
VRX
VRLC/VBIAS
BINP
AVDD
DGND
AGND2
DVDD1
OEB
VSMP
RSMP
MCLK
RINP
1
2
3
4
5
6
7
8
9
10
11
12
13
14
28
27
26
25
24
23
22
21
20
19
18
17
16
15
ORDERING INFORMATION
DEVICE TEMP. RANGE PACKAGE MOISTURE
SENSITIVITY LEVEL
PEAK SOLDERING
TEMPERATURE
WM8214SCDS/V 0 to 70oC 28-lead SSOP
(Pb-free) MSL2 260oC
WM8214SCDS/RV 0 to 70oC 28-lead SSOP
(Pb-free, tape and reel) MSL2 260oC
Note:
Reel quantity = 2,000
WM8214 Production Data
w PD, Rev 4.4, August 2008
4
PIN DESCRIPTION
PIN NAME TYPE DESCRIPTION
1 RINP Analogue input Red channel input video.
2 AGND2 Supply
Analogue ground reference.
3 DVDD1 Supply
Digital supply for logic and clock generator. This must be operated at the same
potential as AVDD.
4 OEB Digital input
Output Hi-Z control, all digital outputs disabled when register bit OEB = 1 or register
bit OPD = 1.
5 VSMP Digital input
Video sample timing pulse.
6 RSMP Digital input
Reset sample timing pulse (also used for RLC control).
7 MCLK Digital input
Master (ADC) clock. This determines the ADC conversion rate.
8 DGND Supply
Digital ground reference.
9 SEN Digital input
Enables the serial interface when high.
10 DVDD2 Supply
Digital supply, all digital I/O pins.
11 SDI Digital input
Serial data input.
12 SCK Digital input
Serial clock.
Digital multiplexed output data bus.
ADC output data (d15:d0) is available in multiplexed format as shown. See ‘Output
Formats’ description in Device Description section for details of other output modes.
A B
13 OP[0] Digital output d8 d0
14 OP[1] Digital output d9 d1
15 OP[2] Digital output d10 d2
16 OP[3] Digital output d11 d3
17 OP[4] Digital output d12 d4
18 OP[5] Digital output d13 d5
19 OP[6] Digital output d14 d6
d15 d7 20 OP[7]/SDO Digital output
Alternatively, pin OP[7]/SDO may be used to output register read-back data when
register bit OEB = 0, OPD = 0 and SEN has been pulsed high. See Serial Interface
description in Device Description section for further details.
21 AVDD Supply
Analogue supply. This must be operated at the same potential as DVDD1.
22 AGND1 Supply
Analogue ground reference.
23 VRB Analogue output
Lower reference voltage.
This pin must be connected to AGND via a decoupling capacitor.
24 VRT Analogue output
Upper reference voltage.
This pin must be connected to AGND via a decoupling capacitor.
25 VRX Analogue output
Input return bias voltage.
This pin must be connected to AGND via a decoupling capacitor.
26 VRLC/VBIAS Analogue I/O
Selectable analogue output voltage for RLC or single-ended bias reference.
This pin would typically be connected to AGND via a decoupling capacitor.
VRLC can be externally driven if programmed Hi-Z.
27 BINP Analogue input
Blue channel input video.
28 GINP Analogue input
Green channel input video.
Production Data WM8214
w PD, Rev 4.4, August 2008
5
ABSOLUTE MAXIMUM RATINGS
Absolute Maximum Ratings are stress ratings only. Permanent damage to the device may be caused by continuously operating at
or beyond these limits. Device functional operating limits and guaranteed performance specifications are given under Electrical
Characteristics at the test conditions specified.
ESD Sensitive Device. This device is manufactured on a CMOS process. It is therefore generically susceptible
to damage from excessive static voltages. Proper ESD precautions must be taken during handling and storage
of this device.
Wolfson tests its package types according to IPC/JEDEC J-STD-020B for Moisture Sensitivity to determine acceptable storage
conditions prior to surface mount assembly. These levels are:
MSL1 = unlimited floor life at <30°C / 85% Relative Humidity. Not normally stored in moisture barrier bag.
MSL2 = out of bag storage for 1 year at <30°C / 60% Relative Humidity. Supplied in moisture barrier bag.
MSL3 = out of bag storage for 168 hours at <30°C / 60% Relative Humidity. Supplied in moisture barrier bag.
The Moisture Sensitivity Level for each package type is specified in Ordering Information.
CONDITION MIN MAX
Analogue supply voltage: AVDD GND - 0.3V GND + 5V
Digital supply voltages: DVDD1 2 GND - 0.3V GND + 5V
Digital ground: DGND GND - 0.3V GND + 0.3V
Analogue grounds: AGND1 2 GND - 0.3V GND + 0.3V
Digital inputs, digital outputs and digital I/O pins GND - 0.3V DVDD2 + 0.3V
Analogue inputs (RINP, GINP, BINP) GND - 0.3V AVDD + 0.3V
Other pins GND - 0.3V AVDD + 0.3V
Operating temperature range: TA 0°C +70°C
Storage temperature after soldering -65°C +150°C
Notes:
1. GND denotes the voltage of any ground pin.
2. AGND1, AGND2 and DGND pins are intended to be operated at the same potential. Differential voltages
between these pins will degrade performance.
RECOMMENDED OPERATING CONDITIONS
CONDITION SYMBOL MIN TYP MAX UNITS
Operating temperature range TA 0 70 °C
Analogue supply voltage AVDD 2.97 3.3 3.63 V
Digital core supply voltage DVDD1 2.97 3.3 3.63 V
Digital I/O supply voltage DVDD2 2.97 3.3 3.63 V
Notes:
1. DVDD2 should be operated at the same potential as DVDD1 ± 0.3V.
THERMAL PERFORMANCE
PARAMETER SYMBOL TEST CONDITIONS MIN TYP MAX UNIT
Performance
Thermal resistance – junction to
case
RθJC
23.9 °C/W
Thermal resistance – junction to
ambient
RθJA
Tambient = 25°C 67.1 °C/W
Notes:
1. Figures given are for package mounted on 4-layer FR4 according to JESD51-5 and JESD51-7.
WM8214 Production Data
w PD, Rev 4.4, August 2008
6
ELECTRICAL CHARACTERISTICS
Test Conditions
AVDD = DVDD1 = DVDD2 = 3.3V, AGND = DGND = 0V, TA = 25°C, MCLK = 40MHz unless otherwise stated.
PARAMETER SYMBOL TEST
CONDITIONS
MIN TYP MAX UNIT
Overall System Specification (including 16-bit ADC, PGA, Offset and CDS functions)
Conversion rate 40 MSPS
LOWREFS=0, Max Gain
LOWREFS=0, Min Gain
0.25
3.03
Vp-p
Vp-p
Full-scale input voltage range
(see Note 1)
LOWREFS=1, Max Gain
LOWREFS=1, Min Gain
0.15
1.82
Vp-p
Vp-p
Input signal limits (see Note 2) VIN AGND-0.3 AVDD+0.3 V
Input Capacitance 10 pF
Input Impedance 50
Full-scale transition error Gain = 0dB;
PGA[8:0] = 18(hex)
20 mV
Zero-scale transition error
Gain = 0dB;
PGA[8:0] = 18(hex)
20 mV
Differential non-linearity DNL 1 LSB
Integral non-linearity
INL 25 LSB
Channel to channel gain matching 1% %
Total output noise Min Gain
Max Gain
15
140
LSB rms
LSB rms
References
Upper reference voltage VRT LOWREFS=0
LOWREFS=1
1.95 2.05
1.85
2.25 V
Lower reference voltage VRB LOWREFS=0
LOWREFS=1
0.95 1.05
1.25
1.25 V
Input return bias voltage VRX 1.25 V
Diff. reference voltage (VRT-VRB) VRTB LOWREFS=0
LOWREFS=1
0.90 1.0
0.6
1.10 V
Output resistance VRT, VRB, VRX 1
Reset-Level Clamp (RLC) circuit/ Reference Level DAC
RLC switching impedance 50
VRLC short-circuit current 2 mA
VRLC output resistance 2
VRLC Hi-Z leakage current VRLC = 0 to AVDD 1 µA
Reference RLCDAC resolution 4 bits
Reference RLCDAC step size VRLCSTEP AVDD=3.3V
RLCDACRNG=0
0.173 V/step
Reference RLCDAC step size VRLCSTEP RLCDACRNG=1 0.11 V/step
Reference RLCDAC output
voltage at code 0(hex)
VRLCBOT AVDD=3.3V,
RLCDACRNG=0
0.4 V
Reference RLCDAC output
voltage at code 0(hex)
VRLCBOT RLCDACRNG=1 0.4 V
Reference RLCLDAC output
voltage at code F(hex)
VRLCTOP AVDD=3.3V,
RLCDACRNG=0
3.0 V
Reference RLCDAC output
voltage at code F(hex)
VRLCTOP RLCDACRNG = 1 2.05 V
RLCDAC DNL -0.5 +0.5 LSB
RLCDAC INL +/-1 LSB
Notes:
1. Full-scale input voltage denotes the peak input signal amplitude that can be gained to match the ADC full-scale
input range.
2. Input signal limits are the limits within which the full-scale input voltage signal must lie.
Production Data WM8214
w PD, Rev 4.4, August 2008
7
Test Conditions
AVDD = DVDD1 = DVDD2 = 3.3V, AGND = DGND = 0V, TA = 25°C, MCLK = 40MHz unless otherwise stated.
PARAMETER SYMBOL TEST
CONDITIONS
MIN TYP MAX UNIT
Offset DAC, Monotonicity Guaranteed
Resolution 8 bits
Differential non-linearity DNL 0.1 0.5 LSB
Integral non-linearity INL 0.25 1 LSB
Step size 2.04 mV/step
Output voltage Code 00(hex)
Code FF(hex)
-260
+260
mV
mV
Programmable Gain Amplifier
Resolution 9 bits
Gain equation ]:[PGA*
.
.08
511
347
660+ V/V
Max gain, each channel GMAX 7.8 V/V
Min gain, each channel GMIN 0.68 V/V
Channel Matching 1 5 %
Analogue to Digital Converter
Resolution 16 bits
Speed 40 MSPS
LOWREFS=0 2 V
Full-scale input range
(2*(VRT-VRB))
LOWREFS=1 1.2 V
DIGITAL SPECIFICATIONS
Digital Inputs
High level input voltage VIH 0.7 DVDD2 V
Low level input voltage VIL 0.2 DVDD2 V
High level input current IIH 1 µA
Low level input current IIL 1 µA
Input capacitance CI 5 pF
Digital Outputs
High level output voltage VOH I
OH = 1mA DVDD2 - 0.5 V
Low level output voltage VOL I
OL = 1mA 0.5 V
High impedance output current IOZ 1 µA
Digital IO Pins
Applied high level input voltage VIH 0.7 DVDD2 V
Applied low level input voltage VIL 0.2 DVDD2 V
High level output voltage VOH I
OH = 1mA DVDD2 - 0.5 V
Low level output voltage VOL I
OL = 1mA 0.5 V
Low level input current IIL 1 µA
High level input current IIH 1 µA
Input capacitance CI 5 pF
High impedance output current IOZ 1 µA
Supply Currents
Total supply current active
(Analogue and Digital)
(Three channel mode)
118 mA
Analogue supply current -active
(three channel mode) 105 mA
Digital supply current - active
(three channel mode) 13 mA
Supply current full power down
mode
20 µA
WM8214 Production Data
w PD, Rev 4.4, August 2008
8
INPUT VIDEO SAMPLING
Figure 1 Three-channel CDS Input Video Timing
Figure 2 Two-channel CDS Input Video Timing
Production Data WM8214
w PD, Rev 4.4, August 2008
9
Figure 3 Single-channel CDS Input Video Timing
Notes:
1. The relationship between input video and sampling is controlled by VSMP and RSMP.
2. When VSMP is high the input video signal is connected to the Video sampling capacitors.
3. When RSMP is high the input video signal is connected to the Reset sampling capacitors.
4. RSMP must not go high before the first falling edge of MCLK after VSMP goes low.
5. It is required that the falling edge of VSMP should occur before the rising edge of MCLK.
6. In 1-channel CDS mode it is not possible to have a equally spaced Video and Reset sample points with a 40MHz MCLK
7. Non-CDS operation is also possible; RSMP is not required in this mode.
Test Conditions
AVDD = DVDD1 = DVDD2 = 3.3V, AGND = DGND = 0V, TA = 25°C, MCLK = 40MHz unless otherwise stated.
PARAMETER SYMBOL TEST CONDITIONS MIN TYP MAX UNITS
MCLK period tPER 25 ns
MCLK high period tMCLKH 11.3 12.5 ns
MCLK low period tMCLKL 11.3 12.5 ns
RSMP pulse high time tRSD 5 ns
VSMP pulse high time tVSD 5 ns
RSMP falling to VSMP rising time tRSFVSR 0 ns
MCLK rising to VSMP rising time tMRVSR 3 ns
MCLK falling to VSMP falling time tMFVSF 5 ns
VSMP falling to MCLK rising time 2 tVSFMR 1 ns
1st MCLK falling edge after VSMP falling
to RSMP rising time
tMF1RS 1 ns
3-channel mode pixel rate tPR3 75 ns
2-channel mode pixel rate tPR2 50 ns
1-channel mode pixel rate tPR1 25 ns
Output propagation delay tPD 5 10 ns
Output latency. From 1st rising edge of
MCLK after VSMP falling to data output
LAT 7 MCLK
periods
Notes:
1. Parameters are measured at 50% of the rising/falling edge.
2. In Single-Channel mode, if the VSMP falling edge is placed more than 3ns before the rising edge of MCLK the output
amplitude of the WM8214 will decrease.
WM8214 Production Data
w PD, Rev 4.4, August 2008
10
SERIAL INTERFACE
Figure 4 Serial Interface Timing
Test Conditions
AVDD = DVDD1 = DVDD2 = 3.3V, AGND = DGND = 0V, TA = 25°C, MCLK = 40MHz unless otherwise stated.
PARAMETER SYMBOL TEST CONDITIONS MIN TYP MAX UNITS
SCK period tSPER 83.3 ns
SCK high tSCKH 37.5
ns
SCK low tSCKL 37.5 ns
SDI set-up time tSSU 6 ns
SDI hold time tSH 6 ns
SCK Rising to SEN Rising tSCRSER 37.5 ns
SCK Falling to SEN Falling tSCFSEF 12 ns
SEN to SCK set-up time tSEC 12 ns
SEN pulse width tSEW 60 ns
SEN low to SDO = Register data tSERD 30 ns
SCK low to SDO = Register data tSCRD 30 ns
SCK low to SDO = ADC data tSCRDZ 30 ns
Note:
1. Parameters are measured at 50% of the rising/falling edge
Production Data WM8214
w PD, Rev 4.4, August 2008
11
INTERNAL POWER ON RESET CIRCUIT
Figure 5 Internal Power On Reset Circuit Schematic
The WM8214 includes an internal Power-On-Reset Circuit, as shown in Figure 5, which is used reset
the digital logic into a default state after power up. The POR circuit is powered from AVDD and
monitors DVDD1. It asserts PORB low if AVDD or DVDD1 is below a minimum threshold.
Figure 6 Typical Power up Sequence where AVDD is Powered before DVDD1
Figure 6 shows a typical power-up sequence where AVDD is powered up first. When AVDD rises
above the minimum threshold, Vpora, there is enough voltage for the circuit to guarantee PORB is
asserted low and the chip is held in reset. In this condition, all writes to the control interface are
ignored. Now AVDD is at full supply level. Next DVDD1 rises to Vpord_on and PORB is released
high and all registers are in their default state and writes to the control interface may take place.
On power down, where AVDD falls first, PORB is asserted low whenever AVDD drops below the
minimum threshold Vpora_off.
WM8214 Production Data
w PD, Rev 4.4, August 2008
12
Figure 7 Typical Power up Sequence where DVDD1 is Powered before AVDD
Figure 7 shows a typical power-up sequence where DVDD1 is powered up first. It is assumed that
DVDD1 is already up to specified operating voltage. When AVDD goes above the minimum
threshold, Vpora, there is enough voltage for the circuit to guarantee PORB is asserted low and the
chip is held in reset. In this condition, all writes to the control interface are ignored. When AVDD rises
to Vpora_on, PORB is released high and all registers are in their default state and writes to the
control interface may take place.
On power down, where DVDD1 falls first, PORB is asserted low whenever DVDD1 drops below the
minimum threshold Vpord_off.
SYMBOL TYP UNIT
Vpora 0.6 V
Vpora_on 1.2 V
Vpora_off 0.6 V
Vpord_on 0.7 V
Vpord_off 0.6 V
Table 1 Typical POR Operation (typical values, not tested)
Note: It is recommended that every time power is cycled to the WM8214 a software reset is written
to the software register to ensure that the contents of the control registers are at their default values
before carrying out any other register writes.
Production Data WM8214
w PD, Rev 4.4, August 2008
13
DEVICE DESCRIPTION
INTRODUCTION
A block diagram of the device showing the signal path is presented on the front page of this
datasheet.
The WM8214 samples up to three inputs (RINP, GINP and BINP) simultaneously. The device then
processes the sampled video signal with respect to the video reset level or an internally/externally
generated reference level using between one and three processing channels.
Each processing channel consists of an Input Sampling block with optional Reset Level Clamping
(RLC) and Correlated Double Sampling (CDS), an 8-bit programmable offset DAC and a 9-bit
Programmable Gain Amplifier (PGA).
The ADC then converts each resulting analogue signal to a 16-bit digital word. The digital output from
the ADC is presented on an 8-bit wide bus.
On-chip control registers determine the configuration of the device, including the offsets and gains
applied to each channel. These registers are programmable via a serial interface.
The WM8214 has been designed to have a high degree of compatibility with previous generations of
Wolfson AFEs. By setting the LEGACY register bit the device adopts the same timing as the
WM819x and WM815x families of AFEs. The control interface is also compatible.
INPUT SAMPLING
The WM8214 can sample and process one to three inputs through one to three processing channels
as follows:
Colour Pixel-by-Pixel: The three inputs (RINP, GINP and BINP) are simultaneously sampled for
each pixel and a separate channel processes each input. The signals are then multiplexed into the
ADC, which converts all three inputs within the pixel period.
Two Channel Pixel-by-pixel: Two input channels (RINP and GINP) are simultaneously sampled for
each pixel and a separate channel processes each input. The signals are then multiplexed into the
ADC, which converts both inputs within the pixel period. The unused Blue channel is powered down
when this mode is selected.
Monochrome: A single chosen input (RINP, GINP, or BINP) is sampled, processed by the
corresponding channel, and converted by the ADC. The choice of input and channel can be changed
via the control interface, e.g. on a line-by-line basis if required. The unused channels are powered
down when this mode is selected.
Colour Line-by-Line: A single input (RINP) is sampled and multiplexed into the red channel for
processing before being converted by the ADC. The registers which are applied to the PGA and
Offset DAC can be switched in turn (RINP GINP BINP RINP…) by applying pulses to the
RSMP pin. This is known as auto-cycling. Alternatively, other sequences can be generated via the
control registers. This mode causes the unused blue and green channels to be powered down. Refer
to the Line-by-Line Operation section for more details.
WM8214 Production Data
w PD, Rev 4.4, August 2008
14
RESET LEVEL CLAMPING (RLC)
To ensure that the signal applied to the WM8214 lies within the supply voltage range (0V to AVDD)
the output signal from a CCD is usually level shifted by coupling through a capacitor, CIN. The RLC
circuit clamps the WM8214 side of this capacitor to a suitable voltage through a CMOS switch during
the CCD reset period. In order for clamping to produce sensible results the input voltage during the
clamping must be a consistent value.
The WM8214 allows the user to control the RLC switch in a variety of ways as illustrated in Figure 8.
This figure shows a single channel, however all 3 channels are identical, each with its own clamp
switch controlled by the common CLMP signal.
The method of control chosen depends upon the characteristics of the input video. The RLCEN
register bit must be set to 1 to enable clamping, otherwise the RLC switch cannot be closed (by
default RLCEN=1).
Figure 8 RLC Clamp Control Options
When an input waveform has a stable reference level on every pixel it may be desirable to clamp
every pixel during this period. Setting CLAMPCTRL=0 means that the RLC switch is closed
whenever the RSMP input pin is high, as shown in Figure 9.
MCLK
VSMP
RSMP
RLC switch control
"CLMP"
(RLCEN=1,CLMPCTRL=0)
RLC switch closed
when RSMP=1
Video sample taken on
fallling edge of VSMP
Reset/reference sample taken
on fallling edge of RSMP
INPUT VIDEO
SIGNAL
reference
("black") level
video level
Figure 9 Reset Level Clamp Operation (CLAMPCTRL=0), CDS operation shown, non-CDS also possible
Production Data WM8214
w PD, Rev 4.4, August 2008
15
In situations where the input video signal does not have a stable reference level it may be necessary
to clamp only during those pixels which have a known state (e.g. the dummy, or “black” pixels at the
start or end of a line of most image sensors). This is known as line-clamping and relies on the input
capacitor to hold the DC level between clamp intervals. In non-CDS mode (CDS=0) this can be done
directly by controlling the RSMP input pin to go high during the black pixels only.
Alternatively it is possible to use RSMP to identify the black pixels and enable the clamp at the same
time as the input is being sampled (i.e. when VSMP is high and RSMP is high). This mode is
enabled by setting CLAMPCTRL=1 and the operation is shown in Figure 10.
MCLK
VSMP
RSMP
RLC switch control,
"CLMP"
(RLCEN=1,CLMPCTRL=1)
RLC switch closed when RSMP=1 &&
VSMP=1 (during "black" pixels)
Video and reference sample
taken on fallling edge of VSMP
INPUT VIDEO
SIGNAL
unstable
reference level dummy or
"black" pixel
video level
Figure 10 Reset Level Clamp Operation (CLAMPCTRL=1), non-CDS mode only
When in LEGACY mode all timing, including the RLC switch timing, is derived from MCLK and
VSMP. MCLK operates at double the ADC conversion rate and VSMP determines the sample rate of
the device.
Reset Level Clamping in LEGACY mode is only possible in CDS mode and the time at which the
clamp switch is closed is concurrent with the reset sample period, RS, as shown in Figure 11. RLC
can be enabled on a pixel by pixel basis under control of the RSMP input pin. If RSMP is high when
VSMP is high and is sampled by MCLK then clamping will be enabled for that input sample at the
time determined by CDSREF[1:0]. If RSMP is low at this point then the RLC switch will not be closed
for that input sample. If RLC is required on every pixel then the RSMP pin can be constantly held
high in LEGACY mode.
Figure 11 LEGACY Mode RLC and Sampling (LEGACY=1)
WM8214 Production Data
w PD, Rev 4.4, August 2008
16
Table 2 summarises the various options for control of the Reset Level Clamp switch.
RLCEN LEGACY
CLAMPCTRL LINEBYLINE
&&ACYC
OUTCOME USE
0 X X X RLC is not enabled. RLC switch is always open. When input is DC coupled and
within supply rails.
1 0 0 X RLC switch is controlled directly from RSMP input
pin:
RSMP=0: switch is open
RMSP=1: switch is closed
When user explicitly provides a
reset sample signal and the
input video waveform has a
suitable reset level.
1 0 1 X VSMP applied as normal, RSMP is used to indicate
the location of black pixels
RLC switch is controlled by logical combination of
RSMP and VSMP:
RSMP && VSMP = 0: switch is open
RSMP && VSMP = 1: switch is closed
When you wish to clamp during
the video period of black pixels
or there is no stable per-pixel
reference level.
1 1 X X LEGACY mode RLC works in the same fashion as
the WM819x series, where the RSMP pin is
equivalent to the RLC/ACYC pin on those devices.
The reset sample clock which is generated by the
LEGACY internal timing generator is gated with the
RSMP pin to produce the RLC control signal CL
(see Figure 11) :
CL=0: clamp switch open
CL=1: clamp switch closed
When using the LEGACY
timing mode.
0 X 1
1
1 In this mode the RSMP pin is used to control auto-
cycling so can’t be used for clamp control.
Register bit CLAMPCTRL controls whether RLC is
enabled or not.
CLAMPCTRL=0, RLC is disabled
CLAMPCTRL=1, RLC is enabled and
every pixel will be clamped during the
control signal CL (see Figure 11).
When auto-cycling in LEGACY
mode.
Table 2 Reset Level Clamp Control Summary
CDS/NON-CDS PROCESSING
For CCD type input signals, containing a fixed reference/reset level, the signal may be processed
using Correlated Double Sampling (CDS), which will remove pixel-by-pixel common mode noise.
With CDS processing the input waveform is sampled at two different points in time for each pixel,
once during the reference/reset level and once during the video level. To sample using CDS, register
bit CDS must be set to 1 (default). This causes the signal reference to come from the video reference
level as shown in Figure 12.
The video sample is always taken on the falling edge of the input VSMP signal (VS). In CDS-mode
the reset level is sampled on the falling edge of the RSMP input signal (RS).
For input signals that do not contain a reference/reset level (e.g. CIS sensor signals), non-CDS
processing is used (CDS=0). In this case, the video level is processed with respect to the voltage on
pin VRLC/VBIAS. The VRLC/VBIAS voltage is sampled at the same time as VSMP samples the
video level in this mode.
In LEGACY mode the input video signal is always sampled on the 1st rising edge of MCLK after
VSMP has gone low (VS) regardless of the operating mode. If in non-CDS mode (CDS=0) the
voltage on the VRLC/VBIAS pin is also sampled at this point. In CDS-mode (CDS=1) the position of
the reset sample (RS) can be varied, under control of the CDSREF[1:0] register bits, as shown in
Figure 11.
Production Data WM8214
w PD, Rev 4.4, August 2008
17
CONTROL
INTERFACE
CIN
RINP
or
GINP
or
BINP
VRLC/
VBIAS
VRLCDACEN
4-BIT
RLCDAC RLCDAC[3:0]
closed=
50 Ohm
RLC
switch
CLMP
VS
RS (if CDS=1) or
VS (if CDS=0)
CDS
CDS=1
CDS=0
'Video'
sample
capacitor
'Reference'
sample
capacitor
Figure 12 CDS/non-CDS Input Configuration
OFFSET ADJUST AND PROGRAMMABLE GAIN
The output from the CDS block is a differential signal, which is added to the output of an 8-bit Offset
DAC to compensate for offsets and then amplified by a 9-bit PGA. The gain and offset for each
channel are independently programmable by writing to control bits DAC[7:0] and PGA[7:0].
The gain characteristic of the WM8214 PGA is shown in Figure 13. Figure 14 shows the maximum
device input voltage that can be gained up to match the ADC full-scale input range (default=2V).
In colour line-by-line mode the gain and offset coefficients for each colour can be multiplexed in order
(Red Green Blue Red…) by pulsing the RSMP pin, or controlled via the ACYC and
INTM[1:0] bits. Refer to the Line-by-Line Operation section for more details.
WM8214 Production Data
w PD, Rev 4.4, August 2008
18
0
1
2
3
4
5
6
7
8
0 128 256 384 512
Gain Code (PGA[8:0])
PGA Gain (V/V)
0
0.5
1
1.5
2
2.5
3
3.5
0 128 256 384 512
Gain Code (PGA[8:0])
Input Voltage Range (V)
Max i/p Voltage
LOWREFS=0
Max i/p Voltage
LOWREFS=1
Figure 13 PGA Gain Characteristic Figure 14 Peak Input Voltage to Match ADC Full-scale Range
ADC INPUT BLACK LEVEL ADJUST
The output from the PGA can be offset to match the full-scale range of the differential ADC (2*[VRT-
VRB]).
For negative-going input video signals, a black level (zero differential) output from the PGA should be
offset to the top of the ADC range by setting register bits PGAFS[1:0]=10. This will give an output
code of FFFF (hex) from the WM8214 for zero input. If code zero is required for zero differential
input then the INVOP bit should be set.
For positive going input signals the black level should be offset to the bottom of the ADC range by
setting PGAFS[1:0]=11. This will give an output code of 0000 (hex) from the WM8214 for zero input.
Bipolar input video is accommodated by setting PGAFS[1:0]=00 or PGAFS[1:0]=01. Zero differential
input voltage gives mid-range ADC output, 7FFF (hex).
Production Data WM8214
w PD, Rev 4.4, August 2008
19
Figure 15 ADC Input Black Level Adjust Settings
OVERALL SIGNAL FLOW SUMMARY
Figure 16 represents the processing of the video signal through the WM8214.
V
RESET
V
VRLC
V
3
CDS = 1
CDS = 0
CDACPD=1
260mV*(DAC[7:0]-127.5)/127.5
analog
-
X
++
See parametrics for
DAC voltages.
OP[7:0]
D
1
digital
ADC BLOCK
PGA
BLOCK
OFFSET DAC
BLOCK
INPUT
SAMPLING
BLOCK
D
2
CDS, CDACPD,CDAC[3:0], DAC[7:0],
PGA[8:0], PGAFS[1:0] and INVOP are set
by programming internal control registers.
CDS=1 for CDS, 0 for non-CDS
V
IN
is RINP or GINP or BINP
V
RESET
is V
IN
sampled during reset clamp
V
RLC
is voltage applied to VRLC/VBIAS pin
V
IN
x (65535/V
FS
)
+0 if PGAFS[1:0]=11
+65535 if PGAFS[1:0]=10
+32768 if PGAFS[1:0]=0x
PGA gain
A= 0.66+PGA[8:0]x7.34/511
OUTPUT
INVERT
BLOCK
D2 = D1 if INVOP = 0
D2 = 65535-D1 if INVOP = 1
Offset
DAC
RLC
DAC
+
V
2
V
1
CDACPD=0
Figure 16 Overall Signal Flow
The INPUT SAMPLING BLOCK produces an effective input voltage V1. For CDS, this is the
difference between the input video level VIN and the input reset level VRESET. For non-CDS this is the
difference between the input video level VIN and the voltage on the VRLC/VBIAS pin, VVRLC,
optionally set via the RLC DAC.
The OFFSET DAC BLOCK then adds the amount of fine offset adjustment required to move the
black level of the input signal towards 0V, producing V2.
The PGA BLOCK then amplifies the white level of the input signal to maximise the ADC range,
outputting voltage V3.
The ADC BLOCK then converts the analogue signal, V3, to a 16-bit unsigned digital output, D1.
The digital output is then inverted, if required, through the OUTPUT INVERT BLOCK to produce D2.
WM8214 Production Data
w PD, Rev 4.4, August 2008
20
CALCULATING THE OUTPUT CODE FOR A GIVEN INPUT
The following equations describe the processing of the video and reset level signals through the
WM8214. The values of V1, V2 and V3 are often calculated in reverse order during device setup. The
PGA value is written first to set the input Voltage range, the Offset DAC is then adjusted
to compensate for any Black/Reset level offsets and finally the RLC DAC value is set to position the
reset level correctly during operation.
Note: Refer to Applications Note WAN0123 for detailed information on device calibration
procedures.
INPUT SAMPLING BLOCK: INPUT SAMPLING AND REFERENCING
If CDS = 1, (i.e. CDS operation) the previously sampled reset level, VRESET, is subtracted from the
input video.
V1 = VIN - VRESET Eqn. 1
If CDS = 0, (non-CDS operation) the simultaneously sampled voltage on pin VRLC is subtracted
instead.
V1 = VIN - VVRLC Eqn. 2
If VRLCDACPD = 1, VVRLC is an externally applied voltage on pin VRLC/VBIAS.
If VRLCDACPD = 0, VVRLC is the output from the internal RLC DAC.
VVRLC = (VRLCSTEP RLC DAC[3:0]) + VRLCBOT Eqn. 3
VRLCSTEP is the step size of the RLC DAC and VRLCBOT is the minimum output of the RLC DAC.
OFFSET DAC BLOCK: OFFSET (BLACK-LEVEL) ADJUST
The resultant signal V1 is added to the Offset DAC output.
V2 = V1 + {260mV (DAC[7:0]-127.5) } / 127.5 Eqn. 4
PGA NODE: GAIN ADJUST
The signal is then multiplied by the PGA gain.
V3 = V2 (0.66 + PGA[8:0]x7.34/511) Eqn. 5
ADC BLOCK: ANALOGUE-DIGITAL CONVERSION
The analogue signal is then converted to a 16-bit unsigned number, with input range configured by
PGAFS[1:0].
D1[15:0] = INT{ (V3 /VFS) 65535} + 32767 PGAFS[1:0] = 00 or 01 Eqn. 6
D1[15:0] = INT{ (V3 /VFS) 65535} PGAFS[1:0] = 11 Eqn. 7
D1[15:0] = INT{ (V3 /VFS) 65535} + 65535 PGAFS[1:0] = 10 Eqn. 8
where the ADC full-scale range, VFS = 2V when LOWREFS=0 and VFS = 1.2V when LOWREFS=1.
OUTPUT INVERT BLOCK: POLARITY ADJUST
The polarity of the digital output may be inverted by control bit INVOP.
D2[15:0] = D1[15:0] (INVOP = 0) Eqn. 9
D2[15:0] = 65535 – D1[15:0] (INVOP = 1) Eqn. 10
Production Data WM8214
w PD, Rev 4.4, August 2008
21
OUTPUT FORMATS
The output from the WM8214 can be presented in several different formats under control of the
OPFORM[1:0] register bits as shown in Figure 17.
MCLK
OP[7:4]
t
PD
ABCDABCD
OP[7:0]
ABABABAB
OP[7:0]
AAAA
8-bit multiplexed
8-bit parallel
4-bit multiplexed (LEGACY=1)
OP[7:0]
8-bit multiplexed (LEGACY=1)
t
PD
ABAB
OP[7:0]
8-bit parallel (LEGACY=1)
AA
Figure 17 Output Data Formats
OUTPUT
FORMAT
OPFORM[1:0] LEGACY OUTPUT
PINS
OUTPUT
8+8-bit
multiplexed
00, 10 X OP[7:0] A = d15, d14, d13, d12, d11, d10, d9, d8
B = d7, d6, d5, d4, d3, d2, d1,d0
8-bit parallel 01 X OP[7:0] A = d15, d14, d13, d12, d11, d10, d9, d8
4+4+4+4-bit
(nibble)
11 1 OP[7:4]
A = d15, d14, d13, d12
B = d11, d10, d9, d8
C = d7, d6, d5, d4
D = d3, d2, d1, d0
Table 3 Details of Output Data Formats (as shown in Figure 17).
REFERENCES
The ADC reference voltages are derived from an internal bandgap reference, and buffered to pins
VRT and VRB, where they must be decoupled to ground. Pin VRX is driven by a similar buffer, and
also requires decoupling. The output buffer from the RLCDAC also requires decoupling at pin
VRLC/VBIAS.
POWER MANAGEMENT
Power management for the device is performed via the Control Interface. By default the device is
fully enabled. The EN bit allows the device to be fully powered down when set low. Individual blocks
can be powered down using the bits in Setup Register 5. When in MONO or TWOCHAN mode the
unused input channels are automatically disabled to reduce power consumption.
WM8214 Production Data
w PD, Rev 4.4, August 2008
22
LINE-BY-LINE OPERATION
Certain linear sensors give colour output on a line-by-line basis. i.e. a full line of red pixels followed
by a line of green pixels followed by a line of blue pixels. Often the sensor will have only a single
output onto which these outputs are time multiplexed.
The WM8214 can accommodate this type of input by setting the LINEBYLINE register bit high.
When in this mode the green and blue input PGAs are disabled to save power. The analogue input
signal should be connected to the RINP pin. The offset and gain values that are applied to the Red
input channel can be selected, by internal multiplexers, to come from the Red, Green or Blue offset
and gain registers. This allows the gain and offset values for each of the input colours to be setup
individually at the start of a scan.
When register bit ACYC=0 the gain and offset multiplexers are controlled via the INTM[1:0] register
bits. When INTM=00 the red offset and gain control registers are used to control the Red input
channel, INTM=01 selects the green offset and gain registers and INTM=10 selects the blue offset
and gain registers to control the Red input channel.
When register bit ACYC=1, ‘auto-cycling’ is enabled, and the input channel switches to the next
offset and gain registers in the sequence when a pulse is applied to the RSMP input pin. The
sequence is Red Green Blue Red… offset and gain registers applied to the single input
channel. A write to the Auto-cycle reset register (address 05h) will reset the sequence to a known
state (Red registers selected).
When auto-cycling is enabled, the RSMP pin cannot be used to control reset level clamping. The
CLMPCTRL bit may be used instead (enabled when high, disabled when low).
NB, when auto-cycling is enabled, the RSMP pin cannot be used for reset sampling (i.e. CDS must
be set to 0).
CONTROL INTERFACE
The internal control registers are programmable via the serial digital control interface. The register
contents can be read back via the serial interface on pin OP[7]/SDO.
Note: It is recommended that a software reset is carried out after the power-up sequence, before
writing to any other register. This ensures that all registers are set to their default values (as shown
in Table 7).
SERIAL INTERFACE: REGISTER WRITE
Figure 18 shows register writing in serial mode. Three pins, SCK, SDI and SEN are used. A six-bit
address (a5, 0, a3, a2, a1, a0) is clocked in through SDI, MSB first, followed by an eight-bit data
word (b7, b6, b5, b4, b3, b2, b1, b0), also MSB first. Each bit is latched on the rising edge of SCK.
When the data has been shifted into the device, a pulse is applied to SEN to transfer the data to the
appropriate internal register. Note all valid registers have address bit a4 equal to 0 in write mode.
SCK
SEN
SDI
a5 0 a3a2a1a0b7b6b5b4b3b2b1b0
Address Data Word
Figure 18 Serial Interface Register Write
A software reset is carried out by writing to Address “000100” with any value of data, (i.e. Data Word
= XXXXXXXX).
Production Data WM8214
w PD, Rev 4.4, August 2008
23
SERIAL INTERFACE: REGISTER READ-BACK
Figure 19 shows register read-back in serial mode. Read-back is initiated by writing to the serial bus
as described above but with address bit a4 set to 1, followed by an 8-bit dummy data word. Writing
address (a5, 1, a3, a2, a1, a0) will cause the contents (d7, d6, d5, d4, d3, d2, d1, d0) of
corresponding register (a5, 0, a3, a2, a1, a0) to be output MSB first on pin SDO (on the falling edge
of SCK). Note that pin SDO is shared with an output pin, OP[7], therefore OEB should always be
held low and the OPD register bit should be set low when register read-back data is expected on this
pin. The next word may be read in to SDI while the previous word is still being output on SDO.
SCK
SEN
SDI
a51a3a2a1a0xxxxxxxx
Address Data Word
d7 d6 d5 d4 d3 d2 d1 d0
Output Data Word
SDO/
OP[7]
OEB
Figure 19 Serial Interface Register Read-back
WM8214 Production Data
w PD, Rev 4.4, August 2008
24
NORMAL OPERATING MODES
Table 4 below shows the normal operating modes of the device. The MCLK speed can be specified
along with the MCLK:VSMP ratio to achieve the desired sample rate.
NUMBER
OF
CHANNELS
DESCRIPTION CDS
AVAILABLE
MAXIMUM
SAMPLE RATE
TIMING
REQUIREMENTS
CHANNEL
MODE
SETTINGS
3 Three channel
Pixel-by-Pixel
YES 13.33 MSPS MCLK max = 40Mhz
Minimum MCLK:VSMP
ratio = 3:1
MONO = 0
TWOCHAN = 0
2 Two channel
Pixel-by-Pixel
YES 20 MSPS MCLK max = 40Mhz
Minimum MCLK:VSMP
ratio = 2:1
MONO = 0
TWOCHAN = 1
1 One channel
Pixel-by-Pixel
YES 40 MSPS MCLK max = 40Mhz
Minimum MCLK:VSMP
ratio = 1:1
MONO = 1
TWOCHAN = 0
Table 4 WM8214 Normal Operating Modes
Table 5 below shows the different channel mode register settings required to operate the 8214 in 1, 2
and 3 channel modes.
MONO TWOCHAN CHAN[1:0] MODE DESCRIPTION
0 0 XX 3-channel (colour mode)
0 1 XX 2-channel (Blue PGA disabled)
1 0 00 1-channel (monochrome) mode.
Red channel selected, Green and Blue PGAs disabled.
1 0 01 1-channel (monochrome) mode.
Green channel selected, Red and Blue PGAs disabled.
1 0 10 1-channel (monochrome) mode.
Blue channel selected, Red and Green PGAs disabled.
1 0 11 Invalid mode
1 1 XX Invalid mode
Table 5 Sampling Mode Summary
Note: Unused input pins should be connected to AGND.
Production Data WM8214
w PD, Rev 4.4, August 2008
25
LEGACY MODE INFORMATION
The WM8214 has been designed to have a high degree of compatibility with previous generations of
Wolfson AFEs. By setting the LEGACY register bit the input timing is made compatible with the
WM819x and WM815x series of devices. Additional features such as the VSMP detect mode are
also retained in LEGACY mode.
LEGACY: PROGRAMMABLE VSMP DETECT CIRCUIT
The VSMP input is used to determine the sampling point and frequency of the WM8214. Under
normal operation a pulse of 1 MCLK period should be applied to VSMP at the desired sampling
frequency (as shown in the LEGACY Mode Timing Diagrams) and the input sample will be taken on
the first rising MCLK edge after VSMP has gone low. However, in certain applications such a signal
may not be readily available. The programmable VSMP detect circuit in the WM8214 allows the
sampling point to be derived from any signal of the correct frequency, such as a CCD shift register
clock, when applied to the VSMP pin.
When enabled, by setting the VSMPDET control bit, the circuit detects either a rising or falling edge
(determined by POSNNEG control bit) on the VSMP input pin and generates an internal VSMP pulse,
INTVSMP. When POSNNEG = 1, a positive edge transition is detected and when POSNNEG = 0, a
falling edge transition is detected. INTVSMP can optionally be delayed by a number of MCLK
periods, specified by the VDEL[2:0] bits. Figure 20 shows the internal VSMP pulses that can be
generated by this circuit for a typical clock input signal. The internal VSMP pulse is then applied to
the timing control block in place of the normal VSMP pulse provided from the input pin.
The sampling point occurs on the first rising MCLK edge after this internal VSMP pulse, as shown in
the LEGACY Mode Timing Diagrams.
MCLK
VSMP
(VDEL = 000) INTVSMP
POSNNEG = 1
(VDEL = 001) INTVSMP
(VDEL = 010) INTVSMP
(VDEL = 011) INTVSMP
(VDEL = 100) INTVSMP
(VDEL = 101) INTVSMP
(VDEL = 110) INTVSMP
(VDEL = 111) INTVSMP
POSNNEG = 0
(VDEL = 000) INTVSMP
(VDEL = 001) INTVSMP
(VDEL = 010) INTVSMP
(VDEL = 011) INTVSMP
(VDEL = 100) INTVSMP
(VDEL = 101) INTVSMP
(VDEL = 110) INTVSMP
(VDEL = 111) INTVSMP
INPUT
PINS
V
S
V
S
V
S
V
S
V
S
V
S
V
S
V
S
V
S
V
S
V
S
V
S
V
S
V
S
V
S
V
S
V
S
V
S
V
S
V
S
V
S
V
S
V
S
V
S
V
S
V
S
V
S
V
S
V
S
V
S
V
S
V
S
V
S
V
S
V
S
V
S
V
S
V
S
V
S
V
S
V
S
V
S
V
S
V
S
V
S
V
S
V
S
V
S
Figure 20 Internal VSMP Pulses Generated by Programmable VSMP Detect Circuit
WM8214 Production Data
w PD, Rev 4.4, August 2008
26
LEGACY OPERATING MODES
Table 6 summarises the most commonly used modes, the clock waveforms required and the register
contents required for CDS and non-CDS operation.
MODE DESCRIPTION CDS
AVAILABLE
MAX
SAMPLE
RATE
SENSOR
INTERFACE
DESCRIPTION
TIMING
REQUIRE-
MENTS
REGISTER
CONTENTS
WITH CDS
REGISTER
CONTENTS
WITHOUT
CDS
1 Colour
Pixel-by-Pixel
Yes 6.67MSPS The 3 input channels
are sampled in
parallel. The signal is
then gain and offset
adjusted before being
multiplexed into a
single data stream
and converted by the
ADC, giving an output
data rate of 20MSPS
max.
MCLK max
= 40MHz
MCLK:
VSMP
ratio is
2n:1 , n 3
SetReg1:
83(hex)
SetReg1:
81(hex)
2 Monochrome/
Colour
Line-by-Line
Yes 6.67MSPS As mode 1 except:
Only one input
channel at a time
is continuously
sampled.
MCLK max
= 40MHz
MCLK:
VSMP
ratio is
2n:1 , n 3
SetReg1:
87(hex)
SetReg1:
85(hex)
3 Fast
Monochrome/
Colour
Line-by-Line
Yes 13.33MSPS Identical to mode 2 MCLK max
= 40MHz
MCLK:
VSMP
ratio is 3:1
Identical to
mode 2 plus
SetReg3:
bits 5:4 must
be set to
0(hex)
Identical to
mode 2
4 Maximum
speed
Monochrome/
Colour
Line-by-Line
No 20MSPS
Identical to mode 2 MCLK max
= 40MHz
MCLK:
VSMP
ratio is 2:1
CDS not
possible
SetReg1:
C5(hex)
Table 6 WM8214 Legacy Operating Modes
Notes:
1. In Monochrome mode, SetReg3 bits 7:6 determine which input is to be sampled.
2. For Colour Line-by-Line, set control bit LINEBYLINE. For input selection, refer to Table 4, Colour Selection
Description in Line-by-Line Mode.
Production Data WM8214
w PD, Rev 4.4, August 2008
27
LEGACY MODE TIMING DIAGRAMS
The following diagrams show 8-bit multiplexed output data and MCLK, VSMP and input video
requirements for operation of the most commonly used modes as shown in Table 6. The diagrams
are identical for both CDS and non-CDS operation. Outputs from RINP, GINP and BINP are shown
as R, G and B respectively. X denotes invalid data.
Figure 21 Mode 1 Operation
Figure 22 Mode 2 Operation
WM8214 Production Data
w PD, Rev 4.4, August 2008
28
Figure 23 Mode 3 Operation
Figure 24 Mode 4 Operation
Production Data WM8214
w PD, Rev 4.4, August 2008
29
DEVICE CONFIGURATION
REGISTER MAP
The following table describes the location of each control bit used to determine the operation of the
WM8214.
BIT ADDRESS
<a5:a0>
DESCRIPTION DE
F
(he
x)
RW
b7 b6 b5 b4 b3 b2 b1 b0
000001 (01h) Setup Reg 1 03 RW LEGACY MODE4LEG PGAFS[1] PGAFS[0] TWOCHAN MONO CDS EN
000010 (02h) S etup Reg 2 20 RW DEL[1] DEL[0] RLCDACRNG
LOWREFS OPD INVOP OPFORM[1] OPFORM[0]
000011 (03h) S etup Reg 3 1F RW CHAN[1] CHAN[0] CDSREF [1] CDSREF [0] RLCDAC[3] RLCDAC[2] RLCDAC[1] RLCDAC[0]
000100 (04h) Software Reset 00 W
000101 (05h) Auto-cycle Reset 00 W
000110 (06h) Setup Reg 4 00 RW 0 0 0 0 INT M[1] INTM[0] ACYC LINE BYLINE
000111 (07h) Set up Reg 5 00 RW 0 VRXPD ADCREFPD VRLCDACPD
ADCPD BLUPD GRNPD REDPD
001000 (08h) Setup Reg 6 20 RW 0 CLAMPCTRL
RLCEN POSNNEG VDEL[2] VDEL[1] VDEL[0] VSMPDET
001001 (09h) Reserved 00 RW 0 0 0 0 0 0 0 0
001010 (0Ah)
Reserved 00 RW 0 0 0 0 0 0 0 0
001011 (0Bh)
Reserved 00 RW 0 0 0 0 0 0 0 0
001100 (0Ch)
Reserved 00 RW 0 0 0 0 0 0 0 0
100000 (20h) DA C Value (Red) 80 RW DACR[7] DACR[6] DACR[5] DACR[4] D ACR[3] DACR[2] DACR[1] DACR[0]
100001 (21h) DA C Value (Green) 80 RW DACG[7] DACG[6] DACG[5] DACG[4] DACG[3] DACG[2] DACG[1] DACG[0]
100010 (22h) DA C Value (Blue) 80 RW DACB[7] DAC B[6] DACB[5] DACB[4] DACB[3] DACB[2] DACB[1] DACB[ 0]
100011 (23h) DAC Value (RG B) 00 W DACRGB[7] DACRGB[6] DACRGB[ 5] DACRGB[4] DACRGB[3] DACRGB [2] DACRGB[1] DACRGB[0]
100100 (24h) PG A Gain LSB (Red) 00 RW 0 0 0 0 0 0 0 P GAR[0]
100101 (25h) PG A Gain LSB (Green) 00 RW 0 0 0 0 0 0 0 PGAG[0]
100110 (26h) PG A Gain LSB (Blue) 00 RW 0 0 0 0 0 0 0 PGAB[0]
100111 (27h) PG A Gain LSB (RGB) 00 W 0 0 0 0 0 0 0 PGARGB[0]
101000 (28h) PGA Gain MSBs (Red) 0C RW PGAR[8] PGAR[7] PGAR[6] P GAR[5] PGAR[4] PGAR[3] PGAR[2] PGAR[1]
101001 (29h) PG A Gain MSBs (Green)
0C RW PGAG[8] PGAG[7] PGAG[6] PGAG[5] PGAG[4] PGAG[3] PGAG[2] PGAG[1]
101010 (2Ah)
PGA Gain MSBs (Blue) 0C RW PGAB[8] PGAB[7] PGAB[6] PGAB[5] PGAB[4] PGAB[3] PGAB[2] PGAB[1]
101011 (2Bh)
PGA Gain MSBs (RGB) 00 W PGARGB[8] PGARGB[7] PGARGB[6] PGARGB[5] PGARGB[4] PGARGB[3] PGARGB[2] PGARGB[1]
Table 7 Register Map
WM8214 Production Data
w PD, Rev 4.4, August 2008
30
REGISTER MAP DESCRIPTION
The following table describes the function of each of the control bits shown in Table 7.
REGISTER BIT
NO
BIT
NAME(S)
DEFAULT DESCRIPTION
0 EN 1
Global Enable
0 = complete power down,
1 = fully active (individual blocks can be disabled using individual power down
bits – see setup register 5).
1 CDS 1
Select correlated double sampling mode:
0 = single ended mode,
1 = CDS mode.
2 MONO 0 Sampling mode select (see Table 5 for further details):
0 = other mode (2 or 3-channel)
1 = Monochrome (1-channel) mode. Input channel selected by CHAN[1:0]
register bits, unused channels are powered down.
3 TWOCHAN 0 Sampling mode select (see Table 5 for further details):
0 = other mode (1 or 3-channel)
1 = 2-channel mode. Inputs channels are Red and Green, Blue channel is
powered down.
5:4 PGAFS[1:0] 00 Offsets PGA output to optimise the ADC range for different polarity sensor
output signals. Zero differential PGA input signal gives:
0x = Zero output from the PGA (Output code=32767)
10 = Full-scale positive output (OP=65535) - use for negative going video.
NB, Set INVOP=1 if zero differential input should give a zero output
code with negative going video.
11 = Full-scale negative output (OP=0) - use for positive going video
6 MODE4LEG 0 This bit has no effect when LEGACY=0. Set this bit when operating in
LEGACY MODE4:
0 = other modes, 1 = LEGACY MODE4.
Setup
Register 1
7 LEGACY 0 Makes the WM8214 timing compatible with the WM819x and WM815x AFE
families.
0 = Normal timing
1 = Enable LEGACY timing. Requires double rate MCLK and pixel rate VSMP
input. RSMP pin performs same function as RLC/ACYC pin on WM819x
devices.
Production Data WM8214
w PD, Rev 4.4, August 2008
31
REGISTER BIT
NO
BIT
NAME(S)
DEFAULT DESCRIPTION
1:0 OPFORM[1:0] 0 Determines the output data format.
x0 = 8-bit multiplexed (8+8 bits)
01 = 8-bit parallel (8-MSBs only)
11 = 4-bit multiplexed mode (4+4+4+4 bits). This mode is only valid when
LEGACY=1.
2 INVOP 0 Digitally inverts the polarity of output data.
0 = negative going video gives negative going output,
1 = negative-going video gives positive going output data.
Output Disable. This works with the OEB pin to control the output pins.
0=Digital outputs enabled, 1=Digital outputs high impedance
OEB (pin) OPD OP pins
0 0 Enabled
0 1 High Impedance
1 0 High Impedance
3 OPD 0
1 1 High impedance
4 LOWREFS 0 Reduces the ADC reference range (2*[VRT-VRB]), thus changing the max/min
input voltages.
0= ADC reference range = 2.0V
1= ADC reference range = 1.2V
5 RLCDACRNG 1 Sets the output range of the RLCDAC.
0 = RLCDAC ranges from 0 to AVDD (approximately),
1 = RLCDAC ranges from 0 to VRT (approximately).
Controls the latency from sample to data appearing on output pins
Latency
DEL LEGACY=0
All timing modes
LEGACY=1
timing modes 1-2,4-6
LEGACY=1
timing mode 3
00 7 MCLK periods 16.5 MCLK periods 23.5 MCLK periods
01 8 MCLK periods 18.5 MCLK periods 26.5 MCLK periods
10 9 MCLK periods 20.5 MCLK periods 29.5 MCLK periods
Setup
Register 2
7:6 DEL[1:0] 00
11 10 MCLK periods 22.5 MCLK periods 31.5 MCLK periods
3:0 RLCDAC[3:0] 1111 Controls RLCDAC driving VRLC/VBIAS pin to define single ended signal
reference voltage or Reset Level Clamp voltage. See Electrical Characteristics
section for ranges.
5:4 CDSREF[1:0] 01 When LEGACY=0 these register bits have no effect.
CDS mode reset timing adjust.
00 = Advance reset sample by 1 MCLK period (relative to default).
01 = Default reset sample position.
10 = Delay reset sample by 1 MCLK period (relative to default)
11 = Delay reset sample by 2 MCLK periods (relative to default)
When MONO=0 these register bits have no effect
Monochrome mode channel select.
Setup
Register 3
7:6 CHAN[1:0] 00
00 = Red channel select
01 = Green channel select
10 = Blue channel select
11 = Reserved
Software
Reset
Any write to Software Reset causes all cells to be reset. It is recommended
that a software reset be performed after a power-up before any other register
writes.
Auto-cycle
Reset
Any write to Auto-cycle Reset causes the auto-cycle counter to reset
to RINP. This function is only required when LINEBYLINE = 1.
WM8214 Production Data
w PD, Rev 4.4, August 2008
32
REGISTER BIT
NO
BIT
NAME(S)
DEFAULT DESCRIPTION
0 LINEBYLINE 0 Selects line by line operation. Line by line operation is intended for use with
systems which operate one line at a time but with up to three colours shared
on that one output.
0 = normal operation,
1 = line by line operation.
When line by line operation is selected MONO is forced to 1 and CHAN[1:0] to
00 internally, ensuring that the correct internal timing signals are produced.
Green and Blue PGAs are also disabled to save power.
1 ACYC 0 When LINEBYLINE = 0 this bit has no effect.
When LINEBYLINE = 1 this bit determines the function of the RSMP input pin
and the offset/gain register controls.
0 = RSMP pin enabled for either reset sampling (CDS) or Reset Level Clamp
control. Internal selection of gain/offset multiplexers using INTM[1:0] register
bits.
1 = Auto-cycling enabled by pulsing the RSMP input pin. This means that
each time a pulse is applied to this pin the single input channel will switch to
the next offset register and gain register in the sequence. The sequence is
Red->Green->Blue->Red… offset and gain registers applied to the red input
channel.
When auto-cycling is enabled, the RSMP pin cannot be used to control reset
level clamping. The CLMPCTRL bit may be used instead (enabled when high,
disabled when low).
NB, when auto-cycling is enabled, the RSMP pin cannot be used for reset
sampling (i.e. CDS must be set to 0).
3:2 INTM[1:0] 00 When LINEBYLINE=0 or ACYC=1 this bit has no effect.
When LINEBYLINE=1 and ACYC=0:
Controls the PGA/offset mux selector:
00 = Red PGA/Offset registers applied to input channel
01 = Green PGA/Offset registers applied to input channel
10 = Blue PGA/Offset registers applied to input channel
11 = Reserved.
Setup
Register 4
7:4 Reserved 0000 Must be set to 0
0 REDPD 0 When set powers down red S/H, PGA
1 GRNPD 0 When set powers down green S/H, PGA
2 BLUPD 0 When set powers down blue S/H, PGA
3 ADCPD 0 When set powers down ADC. Allows reduced power consumption without
powering down the references which have a long time constant when
switching on/off due to the external decoupling capacitors.
4 VRLCDACPD
0 When set powers down 4-bit RLCDAC, setting the output to a high impedance
state and allowing an external reference to be driven in on the VRLC/VBIAS
pin.
5 ADCREFPD 0 When set disables VRT, VRB buffers to allow external references to be used.
6 VRXPD 0 When set disables VRX buffer to allow an external reference to be used.
Setup
Register 5
7 Reserved 0 Must be set to 0
0 VSMPDET 0 When LEGACY=0 this register bit has no effect.
When LEGACY=1:
0 = Normal operation, signal on VSMP input pin is applied directly to Timing
Control block.
1 = Programmable VSMP detect circuit is enabled. An internal synchronisation
pulse is generated from signal applied to VSMP input pin and is applied to
Timing Control block in place of VSMP.
Setup
Register 6
3:1 VDEL[2:0] 000 When LEGACY=0 or VSMPDET=0 these bits have no effect.
The VDEL bits set a programmable delay from the detected edge of the signal
applied to the VSMP pin. The internally generated pulse is delayed by VDEL
MCLK periods from the detected edge.
See Figure 20, Internal VSMP Pulses Generated for details.
Production Data WM8214
w PD, Rev 4.4, August 2008
33
REGISTER BIT
NO
BIT
NAME(S)
DEFAULT DESCRIPTION
4 POSNNEG 0 When LEGACY=0 or VSMPDET=0 this bit has no effect.
When LEGACY=1 and VSMPDET=1 this bit controls whether positive or
negative edges on the VSMP input pin are detected:
0 = Negative edge on VSMP pin is detected and used to generate internal
timing pulse.
1 = Positive edge on VSMP pin is detected and used to generate internal
timing pulse.
See Figure 20 for further details.
5 RLCEN 1 Reset Level Clamp Enable. When set Reset Level Clamping is enabled. The
method of clamping is determined by CLAMPCTRL and LEGACY.
In LEGACY mode clamping will still occur on every pixel at a time defined by
the CDSREF[1:0] bits.
6 CLAMPCTRL 0 This bit has no effect if LEGACY=1. See Table 2 for more information.
0 = RLC switch is controlled directly from RSMP input pin:
RSMP = 0: switch is open
RMSP = 1: switch is closed
1 = RLC switch is controlled by logical combination of RSMP and VSMP.
RSMP && VSMP = 0: switch is open
RSMP && VSMP = 1: switch is closed
7 Reserved 0 Must be set to 0
Offset DAC
(Red)
7:0 DACR[7:0] 10000000
Red channel 8-bit offset DAC value (mV) = 260*(DACR[7:0]-127.5)/127.5
Offset DAC
(Green)
7:0 DACG[7:0] 10000000
Green channel 8-bit offset DAC value (mV) = 260*(DACG[7:0]-127.5)/127.5
Offset DAC
(Blue)
7:0 DACB[7:0] 10000000
Blue channel 8-bit offset DAC value (mV) = 260*(DACB[7:0]-127.5)/127.5
Offset DAC
(RGB)
7:0 DACRGB[7:0] 0 A write to this register location causes the red, green and blue offset DAC
registers to be overwritten by the new value
PGA Gain
LSB
(Red)
0 PGAR[0] 0 This register bit forms the LSB of the red channel PGA gain code. PGA gain
is determined by combining this register bit and the 8 MSBs contained in
register address 28 hex.
PGA Gain
LSB
(Green)
0 PGAG[0] 0 This register bit forms the LSB of the green channel PGA gain code. PGA
gain is determined by combining this register bit and the 8 MSBs contained in
register address 29 hex.
PGA Gain
LSB
(Blue)
0 PGAB[0] 0 This register bit forms the LSB of the blue channel PGA gain code. PGA gain
is determined by combining this register bit and the 8 MSBs contained in
register address 2A hex.
PGA Gain
LSB
(RGB)
0 PGARGB[0] 0 Writing a value to this location causes red, green and blue PGA LSB gain
values to be overwritten by the new value.
PGA gain
MSBs
(Red)
7:0 PGAR[8:1] 00001100
Bits 8 to 1 of red PGA gain. Combined with red LSB register bit to form
complete PGA gain code. This determines the gain of the red channel PGA
according to the equation:
Red channel PGA gain (V/V) = 0.66 + PGAR[8:0]x7.34/511
PGA gain
MSBs
(Green)
7:0 PGAG[8:1] 00001100
Bits 8 to 1 of green PGA gain. Combined with green LSB register bit to form
complete PGA gain code. This determines the gain of the green channel PGA
according to the equation:
Green channel PGA gain (V/V) = 0.66 + PGAG[8:0]x7.34/511
PGA gain
MSBs
(Blue)
7:0 PGAB[8:1] 00001100
Bits 8 to 1 of blue PGA gain. Combined with blue LSB register bit to form
complete PGA gain code. This determines the gain of the blue channel PGA
according to the equation:
Blue channel PGA gain (V/V) = 0.66 + PGAB[8:0]x7.34/511
PGA gain
MSBs(RGB)
7:0 PGARGB[8:1] 0 A write to this register location causes the red, green and blue PGA MSB gain
registers to be overwritten by the new value.
Table 8 Register Control Bits
WM8214 Production Data
w PD, Rev 4.4, August 2008
34
APPLICATIONS INFORMATION
RECOMMENDED EXTERNAL COMPONENTS
3
10
1
28
27
7
5
6
12
11
9
4
DVDD1
DVDD2
AGND1
RINP
GINP
BINP
MCLK
VSMP
RSMP
SCK
SEN
SDI
OEB
8
26
24
25
23
20
19
18
17
16
15
14
13
OP[0]
OP[1]
OP[2]
OP[3]
OP[4]
OP[5]
OP[6]
OP[7]/SDO
VRLC/VBIAS
VRX
VRT
VRB
AVDD
C2C1
C6 C8
C4 C5
C7
C9
DVDD2
AVDD
Video
Inputs
Timing
Signals
Interface
Controls
Output
Data
Bus
DGND
AGND
AGND
AGND
22
DGND
21
C3
AGND
AGND2 2
C11C10
DVDD2
C12
AVDD
++ +
DGND AGND
DVDD1
WM8214
C1-9 should be fitted as close to WM8214 as possible.NOTES:
AGND and DGND should be connected as close to WM8214 as possible.
1.
2.
DVDD1
Figure 25 External Components Diagram
RECOMMENDED EXTERNAL COMPONENT VALUES
COMPONENT
REFERENCE
SUGGESTED
VALUE
DESCRIPTION
C1 100nF
De-coupling for DVDD1.
C2 100nF
De-coupling for DVDD2.
C3 100nF
De-coupling for AVDD.
C4 10nF
High frequency de-coupling between VRT and VRB.
C5 1µF Low frequency de-coupling between VRT and VRB (non-polarised).
C6 100nF
De-coupling for VRB.
C7 100nF
De-coupling for VRX.
C8 100nF
De-coupling for VRT.
C9 100nF
De-coupling for VRLC.
C10 10µF Reservoir capacitor for DVDD1.
C11 10µF Reservoir capacitor for DVDD2.
C12 10µF Reservoir capacitor for AVDD.
Table 9 External Components Descriptions
Production Data WM8214
w PD, Rev 4.4, August 2008
35
PACKAGE DIMENSIONS
NOTES:
A. ALL LINEAR DIMENSIONS ARE IN MILLIMETERS.
B. THIS DRAWING IS SUBJECT TO CHANGE WITHOUT NOTICE.
C. BODY DIMENSIONS DO NOT INCLUDE MOLD FLASH OR PROTRUSION, NOT TO EXCEED 0.20MM.
D. MEETS JEDEC.95 MO-150, VARIATION = AH. REFER TO THIS SPECIFICATION FOR FURTHER DETAILS.
DM007.EDS: 28 PIN SSOP (10.2 x 5.3 x 1.75 mm)
Symbols
Dimensions
(mm)
MIN NOM MAX
A----- ----- 2.0
A10.05 ----- 0.25
A21.65 1.75 1.85
b0.22 0.30 0.38
c0.09 ----- 0.25
D9.90 10.20 10.50
e
E7.40 7.80 8.20
5.00 5.30 5.60
L0.55 0.75 0.95
θ
AA2 A1
14
1
15
28
E1 E
Θ
cL
GAUGE
PLANE
0.25
e
b
D
SEATING PLANE
-C-
0.10 C
REF: JEDEC.95, MO-150
E1
L11.25 REF
0.65 BSC
L1
0o4o8o
WM8214 Production Data
w PD, Rev 4.4, August 2008
36
IMPORTANT NOTICE
Wolfson Microelectronics plc (“Wolfson”) products and services are sold subject to Wolfson’s terms and conditions of sale,
delivery and payment supplied at the time of order acknowledgement.
Wolfson warrants performance of its products to the specifications in effect at the date of shipment. Wolfson reserves the
right to make changes to its products and specifications or to discontinue any product or service without notice. Customers
should therefore obtain the latest version of relevant information from Wolfson to verify that the information is current.
Testing and other quality control techniques are utilised to the extent Wolfson deems necessary to support its warranty.
Specific testing of all parameters of each device is not necessarily performed unless required by law or regulation.
In order to minimise risks associated with customer applications, the customer must use adequate design and operating
safeguards to minimise inherent or procedural hazards. Wolfson is not liable for applications assistance or customer
product design. The customer is solely responsible for its selection and use of Wolfson products. Wolfson is not liable for
such selection or use nor for use of any circuitry other than circuitry entirely embodied in a Wolfson product.
Wolfson’s products are not intended for use in life support systems, appliances, nuclear systems or systems where
malfunction can reasonably be expected to result in personal injury, death or severe property or environmental damage.
Any use of products by the customer for such purposes is at the customer’s own risk.
Wolfson does not grant any licence (express or implied) under any patent right, copyright, mask work right or other
intellectual property right of Wolfson covering or relating to any combination, machine, or process in which its products or
services might be or are used. Any provision or publication of any third party’s products or services does not constitute
Wolfson’s approval, licence, warranty or endorsement thereof. Any third party trade marks contained in this document
belong to the respective third party owner.
Reproduction of information from Wolfson datasheets is permissible only if reproduction is without alteration and is
accompanied by all associated copyright, proprietary and other notices (including this notice) and conditions. Wolfson is
not liable for any unauthorised alteration of such information or for any reliance placed thereon.
Any representations made, warranties given, and/or liabilities accepted by any person which differ from those contained in
this datasheet or in Wolfson’s standard terms and conditions of sale, delivery and payment are made, given and/or
accepted at that person’s own risk. Wolfson is not liable for any such representations, warranties or liabilities or for any
reliance placed thereon by any person.
ADDRESS:
Wolfson Microelectronics plc
Westfield House
26 Westfield Road
Edinburgh
EH11 2QB
Tel :: +44 (0)131 272 7000
Fax :: +44 (0)131 272 7001
Email :: sales@wolfsonmicro.com