212.9.Analog Back End
212.9.1.CRT Measurement and Control
222.9.2.SCART Output Signal
232.9.3.Average Beam Current Limiter
232.9.4.Analog RGB Insertion
242.9.5.Fast Blank Monitor
242.9.6.Half Contrast Control
242.10.IO Port Expander
262.1 1.Synchronization and Deflection
262.1 1.1.Deflection Processing
262.1 1.2.Horizontal Phase Adjustment
282.11.3.Vertical and East/West Deflection
282.1 1.4.Protection Circuitry
292.12.Reset Function
292.13.Standby and Power-On
303.Serial Interface
303.1.I
2
C-Bus Interface
303.2.Control and Status Registers
433.2.1.Scaler Adjustment
463.2.2.Calculation of Vertical and East-West Deflection Coefficients
C-Bus Interface
574.6.4.5.IO Port Expander
574.6.4.6.Analog Video Inputs
584.6.4.7.Analog Front-End and ADCs
594.6.4.8.Picture Bus Input
604.6.4.9.INTLC, Front Sync Output
604.6.4.10.Main Sync Output
604.6.4.11.Combined Sync Output
Release Notes: This data sheet describes functions
and characteristics of the VDP 31xxB–C2. Revision
bars indicate significant changes to the previous
edition.
1. Introduction
The VDP 31xxB is a Video IC family of high-quality
single-chip video processors. Modular design and a
submicron technology allow the economic integration of
features in all classes of TV sets. The VDP 31xxB family
is based on functional blocks contained in the two chips:
VDP 31xxB
Family
1H Combfilter
Horizontal Scaler
2H adapt. Comb
Color Trans. Impr.
Scan Vel. Mod.
VPC 3200A Video Processor and DDP 3300A Display
and Deflection Processor.
Each member of the family contains the entire video,
display, and deflection processing for 4:3 and 16:9
50/60 TV sets. Its performance and flexibility allow the
user to standardize his product development. Hardware
and software applications can profit from the modularity ,
as well as manufacturing, systems support, or maintenance. An overview of the VDP 31xxB video processor
family is shown in Fig. 1–1.
RGB Insertion
Prog. RGB Matrix
Tube Control
VDP 3104B
VDP 3108B
VDP 3112B
VDP 3116B
VDP 3120B
n
n
n
n
n
nn
n
n
Fig. 1–1: VDP 31xxB family overview
VRT
CIN
VIN1
VIN2
VIN3
VIN4
VOUT
Analog
Frontend
AGC,
2*8bit ADC
2H
Adaptive
Combfilter
n
n
n
n
nnn
n
Color
Decoder
NTSC,
PAL,
SECAM
n
n
n
n
n
Horizontal
Scaler
Panorama
Mode
n
n
n
n
n
n
n
n
n
n
Color Bus
Display
Processor
RGB Matrix,
CLUT,
Scan Veloc.
XREF
Analog
Backend
3*10bit DAC,
Tube Control,
RGB Switch
RGB/FB IN1
RGB/FB IN2
Half Contrast
RGB OUT
SVM
20.25
MHz
Clock Gen.
DCO
2
C
I
2
C
I
Fig. 1–2: Block diagram of the VDP 3120B
Sync & Deflection
H/V/EW
Measurement
ADC
Sense
5Micronas
Page 6
VDP 31xxBPRELIMINARY DATA SHEET
1.1. VDP Applications
As a member of the VDP 31xxB family , the VDP 3120B
offers all video features necessary to design a state-ofthe-art TV set:
– programmable RGB matrix
– digital color bus interface
– additional analog RGB / fast blank input
– half-contrast switch
– picture frame generator
Deflection
– scan velocity modulation output
– high-performance H/V deflection
– separate ADC for tube measurements
– EHT compensation
Miscellaneous
– one 20.25 MHz crystal, few external components
– embedded RISC controller (80 MIPS)
2
C-Bus Interface
– I
– single 5 V power supply
– submicron CMOS technology
– color transient improvement
Video 1
Video 2
RGB 1
RGB 2
Audio
TPU
3040
VDP
3120B
MSP
3410
– 64-pin PSDIP package
DRAM
CCU
300x
RGB
H/VDefl.
3 x Stereo
DPL
3420
Dolby Surround
Fig. 1–3: Full-feature TV set with VDP 3120B
6Micronas
Page 7
PRELIMINARY DATA SHEETVDP 31xxB
2. Functional Description
2.1. Analog Front-End
This block provides the analog interfaces to all video inputs and mainly carries out analog-to digital conversion
for the following digital video processing. A block diagram is given in Fig. 2–1.
Most of the functional blocks in the front-end are digitally
controlled (clamping, AGC, and clock-DCO). The control loops are closed by the Fast Processor (‘FP’) embedded in the decoder.
2.1.1. Input Selector
Up to five analog inputs can be connected. Four inputs
are for input of composite video or S-VHS luma signal.
These inputs are clamped to the sync back porch and
are amplified by a variable gain amplifier. One input is
for connection of S-VHS carrier-chrominance signal.
This input is internally biased and has a fixed gain amplifier.
2.1.3. Automatic Gain Control
A digitally working automatic gain control adjusts the
magnitude of the selected baseband by +6/–4.5 dB in 64
logarithmic steps to the optimal range of the ADC. The
gain of the video input stage including the ADC is 213
steps/V with the AGC set to 0 dB.
2.1.4. Analog-to-Digital Converters
Two ADCs are provided to digitize the input signals.
Each converter runs with 20.25 MHz and has 8 bit resolution. An integrated bandgap circuit generates the required reference voltages for the converters.
2.1.5. ADC Range
The ADC input range for the various input signals and
the digital representation is given in Table 2–1 and Fig.
2–2. The corresponding output signal levels of the
VDP 31xxB are also shown.
2.1.6. Digitally Controlled Clock Oscillator
2.1.2. Clamping
The composite video input signals are AC coupled to the
IC. The clamping voltage is stored on the coupling capacitors and is generated by digitally controlled current
sources. The clamping level is the back porch of the video signal. S-VHS chroma is also AC coupled. The input
pin is internally biased to the center of the ADC input
range.
Analog Video
Output
CVBS/Y
CVBS/Y
CVBS/Y
CVBS/Y/C
Chroma
VIN4
VIN3
VIN2
mux
VIN1
CINdigital Chroma
input
clamp
bias
3
gain
AGC
+6/–4.5 dB
The clock generation is also a part of the analog front
end. The crystal oscillator is controlled digitally by the
control processor; the clock frequency can be adjusted
within ±150 ppm.
2.1.7. Analog Video Output
The input signal of the Luma ADC is available at the analog video output pin. The signal at this pin must be buffered by a source follower. The output voltage is 2 V , thus
the signal can be used to drive a 75 W line. The magnitude is adjusted with an AGC in 8 steps together with the
main AGC.
ADC
ADC
digital CVBS or Luma
Fig. 2–1: Analog front-end
reference
generation
frequency
system clocks
DVCO
±150
ppm
20.25 MHz
7Micronas
Page 8
VDP 31xxBPRELIMINARY DATA SHEET
Table 2–1: ADC input rangefor PAL input signal and corresponding signal ranges
SignalInput Level [mVpp]ADC
Range
YCrC
b
Internal
Range
–6 dB0 dB+4.5 dB[steps][steps]
CVBS100% CVBS66713332238252–
75% CVBS50010001679213–
video (luma)3507001175149224
sync height15030050464–
clamp level6816
Fig. 2–2: ADC ranges for CVBS/Luma and Chroma, PAL input signal
8Micronas
Page 9
PRELIMINARY DATA SHEETVDP 31xxB
2.2. Adaptive Comb Filter
The adaptive comb filter is used for high-quality luminance/chrominance separation for PAL or NTSC signals. The comb filter improves the luminance resolution
(bandwidth) and reduces interferences like cross-luminance and cross-color artifacts. The adaptive algorithm
can eliminate most of the mentioned errors without
introducing new artifacts or noise.
A block diagram of the comb filter is shown in Fig. 2–3.
The filter uses two line delays to process the information
of three adjacent video lines. T o have a fixed phase relationship of the color subcarrier in the three channels, the
system clock (20.25 MHz) is fractionally locked to the
color subcarrier. This allows the processing of all color
standards and substandards using a single crystal frequency.
The CVBS signal in the three channels is filtered at the
subcarrier frequency by a set of bandpass/notch filters.
The output of the three channels is used by the adaption
logic to select the weighting that is used to reconstruct
the luminance/chrominance signal from the 4 bandpass/
notch filter signals. By using soft mixing of the 4 signals
switching artifacts of the adaption algorithm are completely suppressed.
The comb filter uses the middle line as reference, therefore, the comb filter delay is one line. If the comb filter is
switched off, the delay lines are used to pass the luma/
chroma signals from the A/D converters to the luma/
chroma outputs. Thus, the comb filter delay is always
one line.
Various parameters of the comb filter are adjustable,
hence giving to the user the ability to adjust his own desired picture quality.
Two parameters (KY, KC) set the global gain of luma and
chroma comb separately; these values directly weigh
the adaption algorithm output. In this way, it is possible
to obtain a luma/chroma separation ranging from standard notch/bandpass to full comb decoding.
The parameter KB allows to choose between the two
proposed comb booster modes. This so-called feature
widely improves vertical high to low frequency transitions areas, the typical example being a multiburst to dc
change. For KB=0, this improvement is kept moderate,
whereas, in case of KB=1, it is maximum, but the risk to
increase the “hanging dots” amount for some given color
transitions is higher.
Using the default setting, the comb filter has separate
luma and chroma decision algorithms; it is however possible to switch the chroma comb factor to the current
luma adaption output by setting CC to 1.
Another interesting feature is the programmable limitation of the luma comb amount; proper limitation,
associated to adequate luma peaking, gives rise to an
enhanced 2-D resolution homogeneity . This limitation is
set by the parameter CLIM, ranging from 0 (no limitation)
to 31 (max. limitation).
The DAA parameter (1:off , 0:on) is used to disable/enable a very efficient built-in “rain effect” suppressor;
many comb filters show this side effect which gives
some vertical correlation to a 2-D uniform random area,
due to the vertical filtering. This unnatural-looking phenomenon is mostly visible on tuner images, since they
are always corrupted by some noise; and this looks like
rain.
CVBS Input
1 H Line Delay
1 H Line Delay
Chroma Input
Fig. 2–3: Block diagram of the adaptive comb filter
Bandpass
Filter
Bandpass/
Notch
Filter
Bandpass
Filter
Luma / Chroma Mixers
Adaption Logic
Luma Output
Chroma Output
9Micronas
Page 10
VDP 31xxBPRELIMINARY DATA SHEET
2.3. Color Decoder
In this block, the standard luma/chroma separation and
multi-standard color demodulation is carried out. The
color demodulation uses an asynchronous clock, thus
allowing a unified architecture for all color standards.
A block diagram of the color decoder is shown in Fig.
2–5. The luma as well as the chroma processing, is
shown here. The color decoder provides also some special modes, e.g. wide band chroma format which is intended for S-VHS wide bandwidth chroma.
If the adaptive comb filter is used for luma chroma separation, the color decoder uses the S-VHS mode processing. The output of the color decoder is YC
in a 4:2:2
rCb
format.
2.3.1. IF-Compensation
With off-air or mistuned reception, any attenuation at
higher frequencies or asymmetry around the color subcarrier is compensated. Four different settings of the IFcompensation are possible:
The last setting gives a very large boost to high frequencies. It is provided for SECAM signals that are decoded
using a SAW filter specified originally for the PAL standard.
Luma / CVBS
Chroma
MUXMUX
1 H Delay
IF Compensation
DC-Reject
Fig. 2–4: Frequency response of chroma
IF-compensation
Notch
Filter
Cross-Switch
MIXER
Lowpass Filter
Phase/Freq
Demodulator
Color-PLL/Color-ACC
ACC
Luma
Chroma /CrC
b
Fig. 2–5: Color decoder
10Micronas
Page 11
PRELIMINARY DATA SHEETVDP 31xxB
2.3.2. Demodulator
The entire signal (which might still contain luma) is now
quadrature-mixed to the baseband. The mixing frequency is equal to the subcarrier for PAL and NTSC, thus
achieving the chroma demodulation. For SECAM, the
mixing frequency is 4.286 MHz giving the quadrature
baseband components of the FM modulated chroma.
After the mixer, a lowpass filter selects the chroma components; a downsampling stage converts the color difference signals to a multiplexed half rate data stream.
The subcarrier frequency in the demodulator is generated by direct digital synthesis; therefore, substandards
such as PAL 3.58 or NTSC 4.43 can also be demodulated.
2.3.3. Chrominance Filter
The demodulation is followed by a lowpass filter for the
color difference signals for P AL/NTSC. SECAM requires
a modified lowpass function with bell-filter characteristic.
At the output of the lowpass filter, all luma information is
eliminated.
The lowpass filters are calculated in time multiplex for
the two color signals. Three bandwidth settings (narrow,
normal, broad) are available for each standard. For P AL/
NTSC, a wide band chroma filter can be selected. This
filter is intended for high bandwidth chroma signals, e.g.
a nonstandard wide bandwidth S-VHS signal.
2.3.4. Frequency Demodulator
The frequency demodulator for demodulating the SECAM signal is implemented as a CORDIC-structure. It
calculates the phase and magnitude of the quadrature
components by coordinate rotation.
The phase output of the CORDIC processor is differentiated to obtain the demodulated frequency. After the
deemphasis filter, the Dr and Db signals are scaled to
standard C
amplitudes and fed to the crossover-
rCb
switch.
2.3.5. Burst Detection
In the PAL/NTSC-system the burst is the reference for
the color signal. The phase and magnitude outputs of
the CORDIC are gated with the color key and used for
controlling the phase-lock-loop (APC) of the demodulator and the automatic color control (ACC) in P AL/NTSC.
The ACC has a control range of +30...–6 dB.
For SECAM decoding, the frequency of the burst is measured. Thus, the current chroma carrier frequency can
be identified and is used to control the SECAM processing. The burst measurements also control the color killer operation; they can be used for automatic standard
detection as well.
2.3.6. Color Killer Operation
The color killer uses the burst-phase / burst-frequency
measurement to identify a PAL/NTSC or SECAM color
signal. For PAL/NTSC, the color is switched off (killed)
as long as the color subcarrier PLL is not locked. For SECAM, the killer is controlled by the toggle of the burst frequency. The burst amplitude measurement is used to
switch-off the color if the burst amplitude is below a programmable threshold. Thus, color will be killed for very
noisy signals. The color amplitude killer has a programmable hysteresis.
PAL/NTSC
SECAM
Fig. 2–6: Frequency response of chroma filters
2.3.7. PAL Compensation/1-H Comb Filter
The color decoder uses one fully integrated delay line.
Only active video is stored.
The delay line application depends on the color standard:
– NTSC:1-H comb filter or color compensation
– PAL:color compensation
– SECAM: crossover-switch
In the NTSC compensated mode, Fig. 2–7 c), the color
signal is averaged for two adjacent lines. Thus, crosscolor distortion and chroma noise is reduced. In the
NTSC combfilter mode, Fig. 2–7 d), the delay line is in
the composite signal path, thus allowing reduction of
11Micronas
Page 12
VDP 31xxBPRELIMINARY DATA SHEET
cross-color components, as well as cross-luminance.
The loss of vertical resolution in the luminance channel
is compensated by adding the vertical detail signal with
removed color information.
CVBS
8
Notch
filter
Chroma
Process.
Y
C C
r b
Luma
8
Chroma
8
Chroma
Process.
Y
C C
r b
a) conventionalb) S-VHS
CVBS
8
Notch
filter
Chroma
Process.
1 H
Delay
Y
C C
r b
c) compensated
CVBS
Notch
1 H
8
Delay
filter
Y
2.3.8. Luminance Notch Filter
If a composite video signal is applied, the color information is suppressed by a programmable notch filter. The
position of the filter center frequency depends on the
subcarrier frequency for PAL/NTSC. For SECAM, the
notch is directly controlled by the chroma carrier frequency. This considerably reduces the cross-luminance. The frequency responses for all three systems
are shown in Fig. 2–10.
dB
10
0
–10
–20
–30
–40
024 68 10
MHz
PAL/NTSC notch filter
Chroma
Process.
d) comb filter
Fig. 2–7: NTSC color decoding options
CVBS
8
Notch
filter
Chroma
Process.
1 H
Delay
a) conventional
Luma
8
Chroma
8
Chroma
Process.
1 H
Delay
b) S-VHS
Fig. 2–8: PAL color decoding options
CVBS
8
Notch
filter
Chroma
Process.
1 H
Delay
MUX
Fig. 2–9: SECAM color decoding
C C
Y
C C
r b
Y
C C
r b
Y
C C
r b
r b
dB
10
0
–10
–20
–30
–40
024 68 10
MHz
SECAM notch filter
Fig. 2–10: Frequency responses of the luma
notch filter for PAL, NTSC, and SECAM
2.3.9. Skew Filtering
The system clock is free-running and not locked to the
TV line frequency . Therefore, the ADC sampling pattern
is not orthogonal. The decoded YC
signals are con-
rCb
verted to an orthogonal sampling raster by the skew filters, which are part of the scaler block.
The skew filters allow the application of a group delay to
the input signals without introducing waveform or frequency response distortion.
The amount of phase shift of this filter is controlled by the
horizontal PLL1. The accuracy of the filters is 1/32
clocks for luminance and 1/4 clocks for chroma. Thus
the 4:2:2 YC
data is in an orthogonal pixel format
rCb
even in the case of nonstandard input signals such as
VCR.
12Micronas
Page 13
PRELIMINARY DATA SHEETVDP 31xxB
2.4. Horizontal Scaler
The 4:2:2 YCrCb signal from the color decoder is processed by the horizontal scaler. The scaler block allows
a linear or nonlinear horizontal scaling of the input video
signal in the range of 0.25 to 4. Nonlinear scaling, also
called “panorama vision”, provides a geometrical distor-
tion of the input picture. It is used to fit a picture with 4:3
format on a 16:9 screen by stretching the picture geometry at the borders. Also, the inverse effect can be produced by the scaler. A summary of scaler modes is given
in Table 2–2.
The scaler contains a programmable decimation filter, a
1-line FIFO memory , and a programmable interpolation
filter. The scaler input filter is also used for pixel skew
correction, see 2.3.9. The decimator/interpolator structure allows optimal use of the FIFO memory. The controlling of the scaler is done by the internal Fast Processor.
Table 2–2: Scaler modes
ModeScale
Description
Factor
Compression
4:3 → 16:9
0.75
linear
4:3 source displayed on a
16:9 tube,
with side panels
2.5. Black-Line Detector
In case of a letterbox format input video, e.g. Cinemascope, PAL+ etc., black areas at the upper and lower
part of the picture are visible. It is suitable to remove or
reduce these areas by a vertical zoom and/or shift operation.
The VDP 31xxB supports this feature by a letterbox detector. The circuitry detects black video lines by measuring the signal amplitude during active video. For every
field the number of black lines at the upper and lower
part of the picture are measured, compared to the previous measurement and the minima are stored in the
2
I
C-register BLKLIN. T o adjust the picture amplitude, the
external controller reads this register, calculates the vertical scaling coefficient and transfers the new settings,
e.g. vertical sawtooth parameters, horizontal scaling coefficient etc., to the VDP.
Letterbox signals containing logos on the left or right
side of the black areas are processed as black lines,
while subtitles, inserted in the black areas, are processed as non-black lines. Therefore the subtitles are
visible on the screen. T o suppress the subtitles, the vertical zoom coefficient is calculated by selecting the larger
number of black lines only . Dark video scenes with a low
contrast level compared to the letterbox area are indicated by the BLKPIC bit.
Panorama
4:3 → 16:9
Zoom
4:3 → 4:3
Panorama
4:3 → 4:3
nonlinear
compr
1.33
linear
nonlinear
zoom
4:3 source displayed on a
16:9 tube,
Borders distorted
Letterbox source (PAL+)
displayed on a 4:3 tube,
vertical overscan with
cropping of side panels
Letterbox source (PAL+)
displayed on a 4:3 tube,
vertical overscan, borders distorted, no cropping
2.6. Test Pattern Generator
The YCrCb outputs of the front-end can be switched to
a test mode where YCrCb data are generated digitally
in the VDP 31xxB. Test patterns include luma/chroma
ramps, flat fields and a pseudo color bar pattern.
13Micronas
Page 14
VDP 31xxBPRELIMINARY DATA SHEET
2.7. Video Sync Processing
Fig. 2–11 shows a block diagram of the front-end sync
processing. To extract the sync information from the
video signal, a linear phase lowpass filter eliminates all
noise and video contents above 1 MHz. The sync is separated by a slicer; the sync phase is measured. A variable window can be selected to improve the noise immunity of the slicer. The phase comparator measures the
falling edge of sync, as well as the integrated sync pulse.
The sync phase error is filtered by a phase-locked loop
that is computed by the FP. All timing in the front-end is
derived from a counter that is part of this PLL, and it thus
counts synchronously to the video signal.
A separate hardware block measures the signal back
porch and also allows gathering the maximum/minimum
of the video signal. This information is processed by the
FP and used for gain control and clamping.
For vertical sync separation, the sliced video signal is integrated. The FP uses the integrator value to derive vertical sync and field information.
The information extracted by the video sync processing
is multiplexed onto the hardware front sync signal (FSY)
and is distributed to the rest of the video processing system. The format of the front sync signal is given in
Fig. 2–12.
The data for the vertical deflection, the sawtooth, and the
East-West correction signal is calculated by the
VDP 31xxB. The data is buffered in a FIFO and transferred to the back-end by a single wire interface.
Frequency and phase characteristics of the analog video signal are derived from PLL1. The results are fed to
the scaler unit for data interpolation and orthogonalization and to the clock synthesizer for line-locked clock
generation. Horizontal and vertical syncs are latched
with the line-locked clock.
video
input
lowpass
1 MHz
&
syncslicer
horizontal
sync
separation
clamp &
signal
meas.
vertical
sync
separation
Fig. 2–11: Sync separation block diagram
phase
comparator
&
lowpass
clamping, colorkey, FIFO_write
Sawtooth
Parabola
Calculation
counter
front-end
timing
FIFO
PLL1
generator
synthesizer
front
sync
clock
syncs
vertical
serial
data
front sync
skew
vblank
field
clock
H/V syncs
vertical
E/W
sawtooth
input
analog
video
FSY
skewskew
F1
LSB
F0 reserved
(not in scale)
F1
F0
MSB
not
used
FV
Parity
V: vertical sync
0 = off
1 = on
F: field #
0 = field 1
1 = field 2
Fig. 2–12: Front sync format
14Micronas
Page 15
PRELIMINARY DATA SHEETVDP 31xxB
2.8. Display Part
In the display part the conversion from digital YCrCb to
analog RGB is carried out. A block diagram is shown in
Figure 2–20. In the luminance processing path, contrast
and brightness adjustments and a variety of features,
such as black level expansion, dynamic peaking and
soft limiting, are provided. In the chrominance path, the
C
signals are converted to 20.25 MHz sampling rate
rCb
and filtered by a color transient improvement circuit. The
YC
signals are converted by a programmable matrix
rCb
to RGB color space.
The display processor provides separate control settings for two pictures, i.e. different coefficients for a
‘main’ and a ‘side’ picture.
The digital OSD insertion circuit allows the insertion of
a 5-bit OSD signal. The color space for this signal is controlled by a partially programmable color look-up table
(CLUT) and contrast adjustment.
The OSD signals and the display clock are synchronized
to the horizontal flyback. For the display clock, a gate
delay phase shifter is used. In the analog backend, three
10-bit digital-to-analog converters provide the analog
output signals.
2.8.1. Luma Contrast Adjustment
The contrast of the luminance signal can be adjusted by
multiplication with a 6-bit contrast value. The contrast
value corresponds to a gain factor from 0 to 2, where the
value 32 is equivalent to a gain of 1. The contrast can be
adjusted separately for main picture and side picture.
2.8.2. Black Level Expander
The black level expander enhances the contrast of the
picture. Therefore the luminance signal is modified with
an adjustable, non-linear function. Dark areas of the picture are changed to black, while bright areas remain unchanged. The advantage of this black level expander is
that the black expansion is performed only if it will be
most noticeable to the viewer.
The black level expander works adaptively. Depending
on the measured amplitudes ‘L
min
’ and ‘L
’ of the low-
max
pass-filtered luminance and an adjustable coefficient
BTLT, a tilt point ‘L
= L
L
t
’ is established by
t
+ BTLT (L
min
max
– L
min
).
Above this value there is no expansion, while all luminance values below this point are expanded according
to:
L
= Lin + BAM(Lin – Lt)
out
A second threshold, L
, can be programmed, above
tr
which there is no expansion. The characteristics of the
black level expander are shown in Fig. 2–13 and Fig.
2–14.
The tilt point L
is a function of the dynamic range of the
t
video signal. Thus, the black level expansion is only performed when the video signal has a large dynamic
range. Otherwise, the expansion to black is zero. This allows the correction of the characteristics of the picture
tube.
L
out
L
t
BAM
BTLT
L
min
L
tr
L
L
tr
BTHR
max
L
in
Fig. 2–13: Characteristics of the black level expander
a)
b)
Fig. 2–14: Black-level-expansion
a) luminance input
b) luminance input and output
L
max
L
t
L
min
L
t
15Micronas
Page 16
PRELIMINARY DATA SHEETVDP 31xxB
2.8.3. Dynamic Peaking
Especially with decoded composite signals and notch filter luminance separation, as input signals, it is necessary to improve the luminance frequency characteristics. With transparent, high-bandwidth signals, it is
sometimes desirable to soften the image.
In the VDP 31xxB, the luma response is improved by ‘dy-
namic’ peaking. The algorithm has been optimized regarding step and frequency response. It adapts to the
amplitude of the high frequency part. Small AC amplitudes are processed, while large AC amplitudes stay
nearly unmodified.
The dynamic range can be adjusted from *14 to
)14 dB for small high frequency signals. There is separate adjustment for signal overshoot and for signal undershoot. For large signals, the dynamic range is limited
by a non-linear function that does not create any visible
alias components. The peaking can be switched over to
“softening” by inverting the peaking term by software.
dB
20
15
10
5
0
–5
–10
–15
–20
024 68 10
CF= 3.2 MHz
S-VHS
MHz
The center frequency of the peaking filter is switchable
from 2.5 MHz to 3.2 MHz. For S-VHS and for notch filter
color decoding, the total system frequency responses
for both PAL and NTSC are shown in figure 2–16.
Transients, produced by the dynamic peaking when
switching video source signals, can be suppressed via
the priority bus.
dB
20
15
10
5
0
–5
–10
–15
–20
024 68 10
MHz
Fig. 2–15: Dynamic peaking frequency response
dB
20
15
10
5
0
–5
–10
–15
–20
024 68 10
CF= 2.5 MHz
MHz
dB
20
15
10
5
0
–5
–10
–15
–20
024 68 10
dB
20
15
10
5
0
–5
–10
–15
–20
024 68 10
CF= 3.2 MHz
CF= 3.2 MHz
PAL/SECAM
MHz
NTSC
MHz
dB
20
15
10
5
0
–5
–10
–15
–20
024 68 10
dB
20
15
10
5
0
–5
–10
–15
–20
024 68 10
Fig. 2–16: Total frequency response for peaking filter and S-VHS, PAL, NTSC
CF= 2.5 MHz
MHz
CF= 2.5 MHz
MHz
16Micronas
Page 17
PRELIMINARY DATA SHEETVDP 31xxB
2.8.4. Digital Brightness Adjustment
The DC-level of the luminance signal can be adjusted by
adding an 8-bit number in the luminance signal path in
front of the softlimiter.
With a contrast adjustment of 32 (gain+1) the signal can
be shifted by "100%. After the brightness addition, the
negative going signals are limited to zero. It is desirable
to keep a small positive offset with the signal to prevent
undershoots produced by the peaking from being cut.
The digital brightness adjustment is separate for main
and side picture.
2.8.5. Soft Limiter
The dynamic range of the processed luma signal must
be limited to prevent the CRT from overload. An appropriate headroom for contrast, peaking and brightness
can be adjusted by the TV manufacturer according to the
CRT characteristics. All signals above this limit will be
‘soft’-clipped. A characteristic diagram of the soft limiter
is shown in Fig. 2–17. The total limiter consists of three
parts:
Part 1 includes adjustable tilt point and gain. The gain
before the tilt value is 1. Above the tilt value, a part
(0...15/16) of the input signal is subtracted from the input
signal itself. Therefore, the gain is adjustable from 16/16
to 1/16, when the slope value varies from 0 to 15. The
tilt value can be adjusted from 0 to 511.
Part 2 has the same characteristics as part 1. The subtracting part is also relative to the input signal, so the
total differential gain will become negative if the sum of
slope 1 and slope 2 is greater than 16 and the input signal is above the both tilt values (see characteristics).
Finally , the output signal of the soft limiter will be clipped
by a hard limiter adjustable from 256 to 511.
2.8.6. Chroma Input
The chroma input signal is a multiplexed C
and CB sig-
R
nal in 8-bit binary offset code. It can be switched between normal and inverted signal and between two’s
complement and binary offset code. The delay in respect to the luminance input can be adjusted in 5 steps
within a range of "2 clock periods.
2.8.7. Chroma Interpolation
A linear phase interpolator is used to convert the chroma
sampling rate from 10.125 MHz (4:2:2) to 20.25 MHz
(4:4:4). All further processing is carried out at the full
sampling rate.
511
400
300
200
100
0
Output
0
tilt 1 [ 0...511]
100200300
Part 1Part 2Hard limiter
0
slope 1 [0...15]
0
2
4
6
8
10
12
14
tilt 2 [0...511]
400500
600700800
2
4
6
8
10
12
14
slope 2 [0...15]
Fig. 2–17: Characteristic of soft limiter a and b and hard limiter
range= 256...511
900
1023
Calculation Example for the
Softlimiter Input Amplitude.
(The real signal processing in
the limiter is 2 bit more than
described here)
Y Input 16...235 (ITUR)
Black Level16 (constant)
Contrast 63
Dig. Brightness 20
BLE off
Peaking off
The intention of this block is to enhance the chroma
resolution. A correction signal is calculated by differentiation of the color difference signals. The differentiation
can be selected according to the signal bandwidth, e.g.
for PAL/NTSC/SECAM or digital component signals,
respectively. The amplitude of the correction signal is
adjustable. Small noise amplitudes in the correction signal are suppressed by an adjustable coring circuit. To
eliminate ‘wrong colors’, which are caused by over and
undershoots at the chroma transition, the sharpened
chroma signals are limited to a proper value automatically.
a)
Cr in
Cb in
t
b)
Ampl.
t
2.8.9. Inverse Matrix
A 6-multiplier matrix transcodes the Cr and Cb signals
to R–Y, B–Y, and G–Y. The multipliers are also used to
adjust color saturation in the range of 0 to 2. The coefficients are signed and have a resolution of 9 bits. There
are separate matrix coefficients for main and side pictures. The matrix computes:
The initialization values for the matrix are computed
from the standard ITUR (CCIR) matrix:
Ǔ
Y
Cb
Cr
1
1
* 0.345
1
0
1.773
R
G
+
ǒ
B
For a contrast setting of CTM+32, the matrix values are
scaled by a factor of 64, see also table 3–1.
2.8.10. RGB Processing
After adding the post-processed luma, the digital RGB
signals are limited to 10 bits. Three multipliers are used
to digitally adjust the white drive. Using the same multipliers an average beam current limiter is implemented.
See also section 2.9.1. ‘CRT Measurement and Con-
trol’.
1.402
* 0.713
0
c)
Cr out
Cb out
a) Cr Cb input of DTI
b) Cr Cb input)Correction signal
c) sharpened and limited Cr Cb
Fig. 2–18: Digital Color Transient Improvement
2.8.11. OSD Color Lookup Table
The VDP 31xxB has five input lines for an OSD signal.
This signal forms a 5-bit address for a color look-up table
t
(CLUT). The CLUT is a memory with 32 words where
each word holds a RGB value.
Bits 0 to 3 (bit 4+0) form the addresses for the ROM part
of the OSD, which generates full RGB signals (bit 0 to 2)
and half-contrast RGB signals (bit 3).
Bit 4 addresses the RAM part of the OSD with 16 freely
programmable colors, addressable with bit 0 to 3. The
programming is done via the I
The amplitude of the CLUT output signals can be adjusted separately for R, G and B via the I2C-bus. The
switchover between video RGB and OSD RGB is done
via the Priority bus.
2
C-bus.
18Micronas
Page 19
PRELIMINARY DATA SHEETVDP 31xxB
2.8.12. Picture Frame Generator
When the picture does not fill the total screen (height or
width too small) it is surrounded with black areas. These
areas (and more) can be colored with the picture frame
generator. This is done by switching over the RGB signal
from the matrix to the signal from the OSD color look-up
table.
The width of each area (left, right, upper, lower) can be
adjusted separately. The generator starts on the right,
respectively lower side of the screen and stops on the
left, respectively upper side of the screen. This means,
it runs during horizontal, respectively vertical flyback.
The color of the complete border can be stored in the
programmable OSD color look-up table in a separate
address. The format is 3 4 bit RGB. The contrast can
be adjusted separately.
The picture frame generator includes a priority master
circuit. Its priority is programmable and the border is
generated only if the priority is higher than the priority at
the PRIO bus. Therefore the border can be underlay or
overlay depending on the picture source.
2.8.13. Priority Codec
2.8.14. Scan Velocity Modulation
The RGB input signal of the SVM is converted to Y in a
simple matrix. Then the Y signal is differentiated by a filter of the transfer function 1–Z
–N
, where N is programmable from 1 to 6. With a coring, some noise can be suppressed. This is followed by a gain adjustment and an
adjustable limiter. The analog output signal is generated
by an 8-bit D/A converter.
The signal delay can be adjusted by ±3.5 clocks in halfclock steps. For the gain and filter adjustment there are
two parameter sets. The switching between these two
sets is done with the same RGB switch signal that is
used for switching between video-RGB and OSD-RGB
for the RGB outputs. (See Fig. 2–19).
2.8.15. Display Phase Shifter
A phase shifter is used to partially compensate the
phase differences between the video source and the flyback signal. By using the described clock system, this
phase shifter works with an accuracy of approximately
1 ns. It has a range of 1 clock period which is equivalent
to ±24.7 ns at 20.25 MHz. The large amount of phase
shift (full clock periods) is realized in the front-end circuit.
The priority decoder has three input lines for up to eight
priorities. The highest priority is all three lines at low level. A 5-bit information is attached to each priority (see
table 3–1 ‘Priority Bus’). These bits are programmable
via the I
2
C-bus and have the following meanings:
– one of two contrast, brightness and matrix values for
main and side picture
– RGB from video signal or color look-up table
– disable/enable black level expander
– disable/enable peaking transient suppression when
signal is switched
– disable/enable analog fast blank input 1
– disable/enable analog fast blank input 2
GRB
N1N2
Coring
Gain1Gain2
Limit
Delay
RGB Switch
Matrix and
Shaping
Modulation
Notch
Differentiator
–Nx
1–Z
Fig. 2–19: SVM block diagram
Coring
adjustment
Gain
adjustment
Limiter
Delay
adjustment
D/A
Converter
Output
19Micronas
Page 20
20Micronas
Fig. 2–20: Digital back-end
dig.
Y in
8
5
dig. OSD in
8
dig.
CrCb in
contrast
expander
blanking
for CRTmeasurement
black
level
prio
Interpol
4:4:4
dynamic
peaking
prio
Cr
DTI
(Cr)
brightness
+ offset
softlimiter
Matrix
R’
Matrix
G’
whitedrive
measurement
luma insert
for CRTmeasurement
Y
R
G
CLUT,
Contrast
Picture
Frame
Generator
whitedrive R
x beamcurr. lim.
whitedrive G
x beamcurr. lim.
clock
display
& clock
control
Phase
Shift
0...1 clock
Phase
Shift
0...1 clock
horizontal
flyback
dig.
Rout
10
dig.
Gout
10
PRIO in
3
PRIO
decoder
DTI
(Cb)
Cb
side picture
select
coefficients
main picture
Matrix
B’
Matrix
saturation
whitedrive B
x beamcurr. lim.
dig.
Phase
Shift
0...1 clock
Bout
PRELIMINARY DATA SHEETVDP 31xxB
10
B
Scan
Velocity
Modulation
SVMout
Page 21
PRELIMINARY DATA SHEETVDP 31xxB
2.9. Analog Back End
The digital RGB signals are converted to analog RGBs
using three video digital to analog converters (DAC) with
10-bit resolution. An analog brightness value is provided
by three additional DACs. The adjustment range is 40%
of the full RGB range.
Controlling the whitedrive/analog brightness and also
the external contrast and brightness adjustments is
done via the Fast Processor, located in the front-end.
Control of the cutoff DACs is via I
2
C-bus registers.
Finally cutoff and blanking values are added to the RGB
signals. Cutoff (dark current) is provided by three 9-bit
DACs. The adjustment range is 60% of full scale RGB
range.
The analog RGB-outputs are current outputs with current-sink characteristics. The maximum current drawn
by the output stage is obtained with peak white RGB. An
external half contrast signal can be used to reduce the
output current of the RGB outputs to 50%.
2.9.1. CRT Measurement and Control
The display processor is equipped with an 8-bit PDMADC for all measuring purposes. The ADC is connected
to the sense input pin, the input range is 0 to 1.5V. The
bandwidth of the PDM filter can be selected; it is
40/80 kHz for small/large bandwidth setting. The input
impedance is more than 1 MΩ.
Cutoff and white drive current measurement are carried
out during the vertical blanking interval. They always use
the small bandwidth setting. The current range for the
cutoff measurement is set by connecting a sense resistor to the MADC input. For the whitedrive measurement,
the range is set by using another sense resistor and the
range select switch 2 output pin (RSW2). During the active picture, the minimum and maximum beam current
is measured. The measurement range can be set by using the range select switch 1 pin (RSW1) as shown in
Fig. 2–21 and Fig. 2–22. The timing window of this measurement is programmable. The intention is to automatically detect letterbox transmission or to measure the actual beam current. All control loops are closed via the
external control microprocessor.
beam current
A
SENSE
D
MADC
RSW1
RSW2
R2
R3
R1
Fig. 2–21: MADC Range Switches
CR + IBRM
black
ultra black
active
measurement
resistor
PICTURE MEAS.
Lines
R1øR2øR3
RSW1=on, RSW2=on
PMSO
Fig. 2–22: MADC Measurement Timing
CR + IBRM + WDRV·WDR
cutoff
R
CG + IBRM
CB + IBRM
TUBE MEASUREMENT
TML
R1
cutoff
G
cutoff
B
white
drive
R
R1øR3
RSW2
=on
R
G
B
R1øR2øR3
RSW1=on, RSW2=on
PICTURE MEAS.
PMST
21Micronas
Page 22
PRELIMINARY DATA SHEETVDP 31xxB
In each field two sets of measurements can be taken:
a) The picture tube measurement returns results for
– cutoff R
– cutoff G
– cutoff B
– white drive R or G or B (sequentially)
b) The picture measurement returns data on
– active picture maximum current
– active picture minimum current
The tube measurement is automatically started when
the cutoff blue result register is read. Cutoff control for
RGB requires one field only while a complete white-drive
control requires three fields. If the measurement mode
is set to ‘offset check’, a measurement cycle is run with
the cutoff/whitedrive signals set to zero. This allows to
compensate the MADC offset as well as input the
leakage currents. During cutoff and whitedrive measurements, the average beam current limiter function (ref.
2.9.3.) is switched off and a programmable value is used
for the brightness setting. The start line of the tube measurement can be programmed via I
2
C-bus, the first line
used for the measurement, i.e. measurement of cutoff
red, is 2 lines after the programmed start line.
The picture measurement must be enabled by the control microprocessor after reading the min./max. result
registers. If a ‘1’ is written into bit 2 in subaddress 25, the
measurement runs for one field. For the next measurement a ‘1’ has to be written again. The measurement is
always started at the beginning of active video.
The vertical timing for the picture measurement is programmable, and may even be a single line. Also the signal bandwidth is switchable for the picture measurement.
Two horizontal windows are available for the picture
measurement. The large window is active for the entire
active line. Tube measurement is always carried out with
the small window. Measurement windows for picture
and tube measurement are shown in Figure 2–23.
tube measurement
picture meas. start
active video
field 1/ 2
picture meas. end
small window for tube
measurement (cutoff, white drive)
large window for active picture
Fig. 2–23: Windows for tube and picture measure-
ments
2.9.2. SCART Output Signal
The RGB output of the VDP 31xxB can also be used to
drive a SCART output. In the case of the SCART signal,
the parameter CLMPR (clamping reference) has to be
set to 1. Then, during blanking, the RGB outputs are automatically set to 50% of the maximum brightness. The
DC offset values can be adjusted with the cutoff parameters CR, CG, and CB. The amplitudes can be adjusted
with the drive parameters WDR, WDG, and WDB.
22Micronas
Page 23
PRELIMINARY DATA SHEETVDP 31xxB
2.9.3. Average Beam Current Limiter
The average beam current limiter (BCL) uses the sense
input for the beam current measurement. The BCL uses
a different filter to average the beam current during the
active picture. The filter bandwidth is approx. 2 kHz. The
beam current limiter has an automatic offset adjustment
that is active two lines before the first cutoff measurement line.
The beam current limiter function is located in the frontend. The data exchange between the front-end and the
back-end is done via a single-wire serial interface.
The beam current limiter allows the setting of a threshold
current. If the beam current is above the threshold, the
excess current is low-pass filtered and used to attenuate
the RGB outputs by adjusting the white-drive multipliers
for the internal (digital) RGB signals, and the analog contrast multipliers for the analog RGB inputs, respectively.
The lower limit of the attenuator is programmable, thus
a minimum contrast can always be set. During the tube
measurement, the ABL attenuation is switched off. After
the white drive measurement line it takes 3 lines to
switch back to BCL limited drives and brightness.
Typical characteristics of the ABL for dif ferent loop gains
are shown in Fig. 2–24; for this example the tube has
been assumed to have square law characteristics.
2.9.4. Analog RGB Insertion
The VDP 31xxB allows insertion of 2 external analog
RGB signals. Each RGB signal is key-clamped and inserted into the main RGB by the fast blank switch. The
selected external RGB input is virtually handled as a
priority bus signal. Thus, it can be overlaid or underlaid
to the digital picture. The external RGB signals can be
adjusted independently as regards DC-level (brightness) and magnitude (contrast).
Which analog RGB input is selected depends on the fast
blank input signals and the programming of a number of
2
I
C-bus register settings (see T able 2–3 and Fig. 2–25).
Both fast blank inputs must be either active-low or active-high.
All signals for analog RGB insertion (RIN1/2, GIN1/2,
BIN1/2, FBLIN1/2, HCS) must be synchronized to the
horizontal flyback, otherwise a horizontal jitter will be visible. The VDP 31xxB has no means for timing correction
of the analog RGB input signals.
Table 2–3: RGB Input Selection
FBFOH1 = 0, FBFOH2 = 0, FBFOL1 = 0, FBFOL2 = 0
FBLIN1FBLIN2FBPOLFBPRIORGB output
000xVideo
beam current
drive
Fig. 2–24: Beam current limiter characteristics:beam current output vs. drive
BCL threshold: 1
The presence of external analog RGB sources can be
detected by means of a fast blank monitor. The status of
the selected fast blank input can be monitored via an I
2
bus register. There is a 2 bit information, giving static and
dynamic indication of a fast blank signal. The static bit is
directly reading the fast blank input line, whereas the dynamic bit is reading the status of a flip-flop triggered by
the negative edge of the fast blank signal.
With this monitor logic it is possible to detect if there is
an external RGB source active and if it is a full screen insertion or only a box. The monitor logic is connected directly to the FBLIN1 or FBLIN2 pin. Selection is done via
2
I
C bus register.
FBFOH1FBPRIO
FBLIN1
Fast
Blank
Monitor
FBFOL1
FBPOL
#
Fast
Blank
Selection
FB
int
2.9.6. Half Contrast Control
Insertion of transparent text pages or OSD onto the video picture is often difficult to read, especially if the video
C
contrast is high. The VDP 31xxB allows contrast reduction of the video background by means of a half contrast
input (HCS pin). This input can be supplied with a fast
switching signal (similar to the fast blank input), typically
defining a rectangular box in which the video picture is
displayed with reduced contrast. The analog RGB inputs
are still displayed with full contrast.
The HCS input is multiplexed with the PORT0 input/output on the same pin, selection is done via I
2
C-bus register. If the HCS input is selected, then the port function of
this pin is disabled and writing data into PORT0 will have
no effect. If the HCS input is not selected, the I
2
C-bus
register bits HCSFOH and HCSPOL must be used to
disable the half contrast function.
HCSPOL
HCS
#
HCS intern
FBLIN2
#
FBFOH2FBMON
FBFOL2
Fig. 2–25: Fast Blank Selection Logic
HCSEN HCSFOH
Fig. 2–26: Half Contrast Switch Logic
2.10. IO Port Expander
The VDP 31xxB provides a general purpose IO port to
control and monitor up to seven external signals. The
port direction is programmable for each bit individually.
2
Via I
C bus register it is possible to write or read each
port pin. Because of the relatively low I
2
C bus speed,
only slow or static signals can be handled.
The port signals are multiplexed with other signals to
minimize pin count. PORT0 is multiplexed with the HCS
input signal, PORT1 is multiplexed with the FSY output
signal, PORT[6:2] are multiplexed with the color bus input COLOR[4:0]. The pin configuration is programmable
2
via I
C bus register. All register bits can be read back, the
default configuration after reset is input on PORT[1:0]
and COLOR[4:0] enabled.
24Micronas
Page 25
PRELIMINARY DATA SHEETVDP 31xxB
t
digital
SVM in
HCS
digital
R in
digital
G in
digital
B in
10
8 bit
DAC
SVM
8
1.88mA
analog
SVM ou
0.94mA
9 bit
DAC
10 bit
DAC
Video
1.5 mA
white drive R
int. brightness *
cutoff R
9 bit
DAC
2.2 mA
blanking
750 µA
analog
R out
3.75mA
9 bit
10
10 bit
DAC
Video
3.75mA
DAC
1.5 mA
white drive G
int. brightness *
cutoff G
9 bit
DAC
2.2 mA
blanking
750 µA
analog
G out
9 bit
DAC
10
10 bit
DAC
Video
3.75mA
1.5 mA
int. brightness *
white drive B
cutoff B
9 bit
DAC
2.2 mA
blanking
750 µA
analog
B out
serial interface
white drive R
white drive G
white drive B
int . brightness
ext. contrast
ext. brightness
ext. brightness *
ext. contrast *
white drive R *
beam current lim.
key
Fig. 2–27: Analog back-end
9 bit
DAC
1.5 mA
white drive R
9 bit
U/I–DAC
3.75mA
clamp
& mux
12
analog
R in
9 bit
DAC
1.5 mA
white drive G
ext. brightness *
9 bit
U/I–DAC
3.75mA
ext. contrast *
white drive G *
beam current lim.
clamp
& mux
ext. contrast *
1212
analog
G in
1.5 mA
white drive B
ext. brightness *
9 bit
U/I–DAC
3.75mA
white drive B *
beam current lim.
clamp
& mux
analog
B in
9 bit
DAC
FBL
prio
12
fast
blank in
V
H
blank &
measurem.
timing
8 bit
ADC
measurm.
Sense
Input
buffer
measurement
I/O
25Micronas
Page 26
VDP 31xxBPRELIMINARY DATA SHEET
2.11. Synchronization and Deflection
The synchronization and deflection processing is
distributed over front-end and back-end. The video
clamping, horizontal and vertical sync separation and all
video related timing information are processed in the
front-end. Most of the processing that runs at the horizontal frequency is programmed on the internal Fast
Processor (FP). Also the values for vertical and East/
West deflection are calculated by the FP software.
The information extracted by the video sync processing
is multiplexed onto the hardware front sync signal (FSY)
and distributed internally to the rest of the video processing system.
The data for the vertical deflection, the sawtooth and the
East/West correction signal is calculated in the front
end. The data is transferred to the back-end by a single
wire interface.
The display related synchronization, i.e. generation of
horizontal and vertical drive and synchronization of horizontal and vertical drive to the video timing extracted in
the front-end, are implemented in hardware in the backend.
2.11.1. Deflection Processing
The deflection processing generates the signals for the
horizontal and vertical drive (see Fig. 2–28). This block
contains two phase-locked loops:
– PLL2 generates the horizontal and vertical timing, e.g.
blanking, clamping and composite sync. Phase and
frequency are synchronized by the front sync signal.
– PLL3 adjusts the phase of the horizontal drive pulse
and compensates for the delay of the horizontal output
stage. Phase and frequency are synchronized by the
oscillator signal of PLL2.
The horizontal drive circuitry uses a digital sine wave
generator to produce the exact (subclock) timing for the
drive pulse. The generator runs at 1 MHz; in the output
stage the frequency is divided down to give drive-pulse
period and width. In standby mode, the output stage is
driven from an internal 1 MHz clock that is derived from
the 5 MHz clock signal and a fixed drive pulse width is
used. When the circuit is switched out of standby
operation, the drive pulse width is programmable. The
horizontal drive uses an open drain output transistor.
The Main Sync (MSY) signal that is generated from
PLL3 is a multiplex of all display-related data
(Fig. 2–29). This signal is intended for use by other processors, e.g. a PIP processor can use this signal to adjust to a certain display position.
2.11.2. Horizontal Phase Adjustment
This section describes a simple way to align PLL phases
and the horizontal frame position.
1. The parameter NEWLIN in the front-end has to be
adjusted. The minimum possible value is 34 (recommended for a standard 4:3 signal).
2. With HDRV, the duration of the horizontal drive pulse
has to be adjusted.
3. With POFS2, the clamping pulse for the analog RGB
input has to be adjusted to the correct position, e.g.
the pedestal of the generator signal.
4. With POFS3, the horizontal position of the analog
RGB signal (from SCART) has to be adjusted.
5. With HPOS, the digital RGB output signal (from VPC)
has to be adjusted to the correct horizontal position.
6. With HBST and HBSO, the start and stop values for
the horizontal blanking have to be adjusted.
Note: The processing delay of the internal digital video
path differs depending on the comb filter option of the
VDP 31xxB. The versions with comb filter have an additional delay of 35 clock cycles. Therefore, the timing of
the external analog RGB signals has to be adjusted (with
POFS2 and POFS3) according to the actual hardware
version of the VDP 31xxB. The hardware version can be
read out via FP subaddress 0xF1.
26Micronas
Page 27
PLL3
VDP 31xxBPRELIMINARY DATA SHEET
H
flyback
MSY
FSY
VDATA
main
sync
generator
front
sync
interface
vertical
serial
data
skew
measure–
ment
phase
comparator
lowpass
blanking, clamping, etc.
display
timing
phase
comparator
&
lowpass
DCO
vertical reset
&
DCO
sinewave
generator
DAC
&
LPF
1:64
&
output
stage
H
drive
Standby clock
PLL2
composite
line
counter
clock & control
E/W
correction
sawtooth
sync
generator
PWM
15 bit
PWM
15 bit
CSY
V
flyback
E/W
ouput
V
output
Fig. 2–28: Deflection processing block diagram
input
analog
video
MSY
M1 M2
timing reference for PICTURE bus
(not in scale)
– chroma multiplex sync
– active picture data after xxx clocks
Fig. 2–29: Main sync format
M1
M2
line
line
line
[0]
not
[8]
used
not
used
not
used
not
used
used
not
V: Vert. blanking
F: Field #
line: Field line #
[7]
F
0 = off
1 = on
0 = Field 1
1 = Field 2
1...N
Parity
V
Parity
27Micronas
Page 28
VDP 31xxBPRELIMINARY DATA SHEET
2.11.3. Vertical and East/West Deflection
The calculations of the vertical and East/West deflection
waveforms is done by the internal Fast Processor (FP).
The algorithm uses a chain of accumulators to generate
the required polynomial waveforms. To produce the
deflection waveforms, the accumulators are initialized at
the beginning of each field. The initialization values must
be computed by the TV control processor and are written
to the front-end once. The waveforms are described as
polynomials in x, where x varies from 0 to 1 for one field.
P: a + b(x–0.5) + c(x–0.5)
2
+ d(x–0.5)3 + e(x–0.5)
4
The initialization values for the accumulators a0..a3 for
vertical deflection and a0..a4 for East/West deflection
are 12-bit values.
The vertical waveform can be scaled according the
average beam current. This is used to compensate the
effects of electric high tension changes due to beam current variations. In order to get a faster vertical retrace
timing, the output impedance of the vertical
D/A-converter can be reduced by 50% during the retrace.
2.11.4. Protection Circuitry
– Picture tube and drive stage protection is provided
through the following measures:
– Vertical flyback protection input: this pin searches for
a negative edge in every field, otherwise the RGB
drive signals are blanked.
– Drive shutoff during flyback: this feature can be se-
lected by software.
– Safety input pin: this input has two thresholds. Be-
tween zero and the lower threshold, normal functioning takes place. Between the lower and the higher
threshold, the RGB signals are blanked. Above the
higher threshold, the RGB signals are blanked and the
horizontal drive is shut off. Both thresholds have a
small hysteresis.
– The main oscillator and the horizontal drive circuitry
are run from a separate (standby) power supply and
are already active while the TV set is powering up.
Fig. 2–30 shows several vertical and East/West deflection waveforms. The polynomial coefficients are also
stated.
Vertical:a,b,c,d
0,1,0,0
0,1,1,0
0,1,0,1
East/West:a,b,c,d,e
0,0,1,0,0
0,0,0,0,1
0,0,1,1,1
Fig. 2–30: Vertical and East/West deflection waveforms
28Micronas
Page 29
PRELIMINARY DATA SHEETVDP 31xxB
2.12. Reset Function
Reset of most VDP 31xxB functions is performed by the
RESET
registers and counters are lost. When the RESET
pin. When this pin becomes active, all internal
pin is
released, the internal reset is still active for 4 µs. After
that time, the initialization of all required registers is performed by the internal Fast Processor. During this initialization procedure (see Fig. 2–31) it is not possible to ac-
cess the VDP 31xxB via the serial interface (I
2
C).
Access to other ICs via the serial bus is possible during
that time.
The 5 MHz clock divider and the 1 MHz standby clock divider are not affected by reset. The clock source for the
horizontal output generator is switched to the standby
clock during reset.
Reset
Internal
Reset
4µs
approx. 60µs
In the standby mode the following functions are still
available (see also 2.11.1.):
The clock source for the horizontal output generator is
switched to the standby clock which is derived from the
5 MHz clock. The duty cycle of HOUT is set to 50%.
Protection modes with safety and horizontal flyback pins
are not available.
The VDP 31xxB has clock and voltage supervision circuits to generate a stable HOUT signal during power-on
and standby . The HOUT signal is disabled until a proper
CLK5 signal (5 MHz clock) is detected. When released,
the HOUT generator runs with the standby clock. Coupling the HOUT generator to the deflection PLL has to
be done by CCU using the EHPLL bit. Fig. 2–32 shows
the signals during power-on and standby.
Initialization
Fig. 2–31: External Reset
2.13. Standby and Power-On
In standby mode the whole signal processing of the VDP
31xxB is disabled and only some basic functions are
working. The standby mode is realized by switching off
the supplies for analog front-end (VSUPF), analog backend (VSUPO) and digital circuitry (VSUPD). The standby supply (VSTBY) still has its nominal voltage.
T o disable all the analog and digital functions, it is necessary to bring the analog and digital supplies below 0.5 V .
Only this guarantees that all the normal functions are
disabled and the standby current for analog and digital
supply is at its minimum.
When switched off, the negative slope of the supply
voltage VSUPD should not be larger than approximately
0.2 V/µs (see Recommended Operating Conditions).
In the standby mode, all registers and counter values in
the VDP 31xxB are lost, they will be re-initialized via the
internal Fast Processor after analog and digital supplies
are switched on again and the RESET
pin is released.
VSTBY
XTAL
1 µs
CLK5
Clock
Release
HOUT
VSUP
RESET
D
standby
mode
Fig. 2–32: Power-On, Standby On/Off
Switching the HOUT signal into standby mode can be
done by the CCU via the EHPLL bit or by the internal voltage supervision. The voltage supervision activates a
power-down signal when the supply for the digital circuits (VSUPD) goes below X4.5 V for more than 50ns.
This power down signal is extended by 50µs after
VSUPD is back again. The power-down signal switches
the clock source for the HOUT generation to the standby
clock and sets the duty cycle to 50%. This is exactly what
the EHPLL bit does.
As the clocks from the deflection PLL and the standby
clock are not in phase, the actual phase (High/Low) of
the HOUT signal may be up to one PLL or standby clock
(X1 µs) longer than a regular one when the clock source
is changed.
29Micronas
Page 30
VDP 31xxBPRELIMINARY DATA SHEET
3. Serial Interface
3.1. I2C-Bus Interface
Communication between the VDP and the external controller is done via I2C-bus. The VDP has two I2C-bus
slave interfaces (for compatibility with VPC/DDP applications) – one in the front-end and one in the back-
end. Both I
tion to slow down the interface if required. Both I
interfaces use one level of subaddress: the I
2
C-bus interfaces use I2C clock synchroniza-
2
C-bus
2
C-bus chip
address is used to address the IC and a subaddress selects one of the internal registers. The I
2
C-bus chip ad-
dresses are given below:
Chip
Address
front-end10001111/0
back-end10001011/0
A6A5A4A3A2A1A0R/W
The registers of the VDP have 8 or 16-bit data size;
16-bit registers are accessed by reading/writing two
8-bit data words.
Figure 3–1 shows I
2
C-bus protocols for read and write
operations of the interface; the read operation requires
an extra start condition and repetition of the chip address
with read command set.
3.2. Control and Status Registers
T able 3–1 gives definitions of the VDP control and status
registers. The number of bits indicated for each register
in the table is the number of bits implemented in hardware, i.e. a 9-bit register must always be accessed using
two data bytes but the 7 MSB will be ‘don’t care’ on write
operations and ‘0’ on read operations. Write registers
that can be read back are indicated in Table 3–1.
Functions implemented by software in the on-chip control microprocessor (FP) are explained in Table 3–3.
A hardware reset initializes all control registers to 0. The
automatic chip initialization loads a selected set of registers with the default values given in Table 3–1.
The register modes given in Table 3–1 are
– w:write only register
– w/r:write/read data register
– r:read data from VDP
– v:register is latched with vertical sync
– h:register is latched with horizontal sync
The mnemonics used in the Micronas VDP demo software are given in the last column.
S
1000 111
WP1 or 2 byte Data
Ack
0111 1100
Ack
Ack
I2C write access
subaddress 7c
2
C read access
S
1000 1111000 111
SDA
SCL
Whigh byte Data
Ack
0111 1100RSAck
Ack
1
SP
0
Ack
Nak
W= 0
R=1
Ack=0
Nak=1
S= Start
I
subaddress 7c
Plow byte Data
P=Stop
Fig. 3–1: I2C-bus protocols
30Micronas
Page 31
PRELIMINARY DATA SHEETVDP 31xxB
Table 3–1: I2C control and status registers of front-end
I2C Sub
address
Number
of bits
ModeFunctionDefaultName
FP INTERFACE
h’358rFP status
bit [0]write request
bit [1]read request
bit [2]busy
h’3616wbit[8:0]9-bit FP read address
bit[11:9]reserved, set to zero
h’3716wbit[8:0]9-bit FP write address
bit[11:9]reserved, set to zero
h’3816w/rbit[11:0]FP data register, reading/writing to this
register will autoincrement the FP read/
write address. Only 16 bit of data are
2
transferred per I
C telegram.
BLACK LINE DETECTOR
h’1216w/rread only register, do not write to this register!
after reading, LOWLIN and UPLIN are reset to 127 to start a new
measurement
bit[6:0]number of lower black lines
bit[7]always 0
bit[14:8]number of upper black lines
bit[15]0/1normal/black picture
FPSTA
FPRD
FPWR
FPDAT
BLKLIN
LOWLIN
UPLIN
BLKPIC
PIN CIRCUITS
h’1F16w/rINTLC & PORT pins:
bit[2:0]0..7output strength for INTLC & PORT Pins
(7 = tristate, 6 = weak ... 0 = strong)
bit[3]0reserved (set to 0)
bit[4]0/1pushpull/tristate for INTLC Pin
bit[5]0/1synchronization/no synchronization with
horizontal MSY for signal INTLC
bit[15:6]reserved (set to 0)
h’208w/rSYNC GENERA TOR CONTROL:
bit[6:0]0reserved (set to 0)
bit[7]0/1positive/negative polarity for INTLC signal
PRIORITY BUS
h’248w/rpriority bus ID register and control
bit [2:0]0..7priority ID, 0 highest
bit [4:3]0..3pad driver strength, 0 (strong) to 3 (weak)
bit [5]0/1reserved (set to 0)
bit [6]0/1source for prio request:
active video/clamp_to_1
bit [7]0/1disable/enable priority interface, if disabled
frontend is disconnected from priority bus!
0
0
0
0
0
0
0
0
0
TRPAD
SNCSTR
SNCDIS
VASYSEL
SYNMODE
INTLCINV
PRIOMODE
PID
PRIOSTR
PIDSRC
PIDE
31Micronas
Page 32
VDP 31xxBPRELIMINARY DATA SHEET
I2C Sub
address
of bits
SYNC GENERATOR
h’2116w/rLINE LENGTH:
bit[10:0]LINE LENGTH register
bit[15:11]reserved (set to 0)
h’2916w/rAVO STOP:
bit[10:0]reserved (set to 0)
bit[11]0/1disable/enable test pattern generator
bit[13:12]luma output mode:
bit[14]0/1reserved (set to 0)
bit[15]0/1chroma output: pseudo color bar/zero
h’2216w/rNEWLINE:
bit[10:0]NEWLINE register
bit [15:11]reserved (set to 0)
LINE LENGTH has to be set to 1295 for
correct adjustment of vertical signals.
This register defines the readout start of
the next line in respect to the value of the
sync counter. Value of this register must
be greater than 31 for correct operation.
1295
50
0
0
0
0
0
NameDefaultFunctionModeNumber
LINLEN
AVSTOP
COLBAREN
LMODE
CMODE
NEWLIN
32Micronas
Page 33
Table 3–2: Backend I2C-control and status registers
VDP 31xxBPRELIMINARY DATA SHEET
I2C sub
address
Number
of bits
ModeFunctionDefaultName
PRIORITY BUS
priority mask register, if bit[x] is set to 1 then the function is
active for the respective signal priority
suppression when signal is switched
h’4b9w vbit [7:0]bit[x] 0/1: disable/enable analog fast blank input0PBFB
h’479w vbit [2:0]picture frame generator priority id
enable and priority – see under ‘PRIORITY BUS’
picture frame color – see under ‘COLOR LOOK-UP TABLE’
SCAN VELOCITY MODULA TION
h’629w vvideo mode coefficients
bit [5:0]gain1
bit [8:6]differentiator delay 1 (0= filter off, 1...6= delay)
h’5e9w vtext mode coefficients
bit [5:0]gain 2
bit [8:6]differentiator delay 2 (0= filter off, 1...6= delay)
h’5a9w vlimiter
bit [6:0]limit value
bit [8:5]not used, set to ”0”
h’569w vdelay and coring
bit [3:0]adjustable delay, in 1/2 display clock steps,
(value 5 : delay of SVMOUT is the same as for
RGBOUT
bit [7:4]coring value
bit [8]not used, set to ”0”
270PFGVB
SVG1
60
SVD1
4
SVG2
60
SVD2
4
0
7
0
SVLIM
SVDEL
SVCOR
100
35Micronas
Page 36
VDP 31xxBPRELIMINARY DATA SHEET
I2C sub
address
h’52
h’4e
h’4a
h’7b9w vpicture measurement start line
h’6b9w vpicture measurement stop line
h’7f9w vtube measurement line
h’258w/rtube and picture measurement control
of bits
DISPLAY CONTROLS
9
9
9
TUBE AND PICTURE MEASUREMENT
w v
w v
w v
cutoff Red
cutoff Green
cutoff Blue
bit [8:0](TML+9)..511first line of picture measurement
bit [8:0](PMST+1)..511 last line of picture measurement
bit [8:0]0..511start line for tube measurement
bit [0]0/1disable/enable tube measurement
bit [1]0/180/40 kHz bandwidth for
bit [2]0/1disable/enable picture measurement
bit [3]0/1large/small picture measurement window,
bit [4]0/1measure / offset check for adc
bit [7:5]reserved
picture measurement
(writing a ’1’ starts one measurement
cycle)
will be disabled from bit[3] in address h’32
0
0
0
23
308
15
0PMC
NameDefaultFunctionModeNumber
CR
CG
CB
PMST
PMSO
TML
TMEN
PMBW
PMEN
PMWIN
OFSEN
h’1316w/rwhite drive measurement control
bit [9:0]0..1023 RGB values for white drive beam current
measurement
bit [10]reserved
bit [11]0/1RGB values for white drive beam current
measurement disabled/enabled
8rmeasurement result registers
h’18
h’19
h’1a
h’1d
h’1c
h’1b
h’1e8rmeasurement adc status and fast blank input status
measurement status register
bit [0]0/1tube measurement active / complete
bit [2:1]white drive measurement cycle
00red
01green
10blue
11reserved
bit [3]0/1picture measurement active / complete
bit [4]0/1fast blank input low / high (static)
bit [5]1fast blank input negative transition since
bit [7:6]reserved
minimum in active picture
maximum in active picture
white drive
cutoff/leakage red
cutoff/leakage green
cutoff/leakage blue,
read pulse starts tube measurement
last read (bit reset at read)
512
0
–
–PMS
WDRV
EWDM
MRMIN
MRMAX
MRWDR
MRCR
MRCG
MRCB
36Micronas
Page 37
VDP 31xxBPRELIMINARY DATA SHEET
I2C sub
address
of bits
NameDefaultFunctionModeNumber
TIMING
h’679w vvertical blanking start
bit [8:0]0..511first line of vertical blanking
305
VBST
h’779w vvertical blanking stop
VBSO
bit [8:0]0..511last line of vertical blanking
25
h’739w vstart of Black Level Expander measurement
AVST
bit [8:0]0..511first line of measurement, stop with first
30
line of vertical blanking
h’5f9w vbit [8:0] free running field period = (value)4) lines0STIMP
HORIZONT AL DEFLECTION
h’7a9w vadjustable delay of PLL2, clamping, and blanking (relative to
–141POFS2
front sync)
adjust clamping pulse for analog RGB input
bit [8:0]–256..+255 " 8 µs
h’769w vadjustable delay of flyback, main sync, csync and analog RGB
0POFS3
(relative to PLL2)
adjust horizontal drive or csync
bit [8:0]–256..+255 "8 µs
h’7e9w vadjustable delay of main sync (relative to flyback)
adjust horizontal position for digital picture
bit [8:0]20 steps+1 µs
h’5b9w/rstart of horizontal blanking
bit [8:0]0..511
h’579w/rend of horizontal blanking
bit [8:0]0..511
PLL2/3 filter coefficients, 1of5 bit code (n+ set bit number)
h’6a
h’6e
h’72
9
9
9
w v
w v
w v
bit [5:0]proportional coefficient PLL3, 2
bit [5:0]proportional coefficient PLL2, 2
bit [5:0]integral coefficient PLL2, 2
–n–1
–n–1
–n–5
h’1516w/rhorizontal drive and vertical signal control register
bit [5:0]0..63horizontal drive pulse duration in ms
(internally limited to 4..61)
bit [6]0/1disable/enable horizontal PLL2 and PLL3
bit [7]0/11: disable horizontal drive pulse during
flyback
bit [8]0/1reserved, set to ’0’
bit [9]0/1enable/disable ultra black blanking
bit [10]0/10: all outputs blanked
1: normal mode
bit [11]0/1enable/disable clamping for analog RGB
input
bit [12]0/1disable/enable vertical free running mode
(FIELD is set to field2, no interlace)
bit [13]0/1enable/disable vertical protection
bit [14]0/1internal/external (under VPC control)
start of vertical and E/W signal
bit [15]0/1disable/enable phase shift of display clock
120HPOS
HBST
1
HBSO
48
PKP3
2
PKP2
1
PKI2
2
HDRV
32
EHPLL
0
EFLB
0
DUBL
0
EBL
1
DCRGB
0
SELFT
0
DVPR
0
XDEFL
0
DISKA
1
37Micronas
Page 38
VDP 31xxBPRELIMINARY DATA SHEET
I2C sub
address
h’108w/routput pin configuration
h’328w/rfast blank interface mode
of bits
OUTPUT PINS
bit [2:0]pin driver strength, MSY and CSY
7 = tristate
6 = minimum strength
0 = maximum strength
bit [4:3]reserved (set to 0)
bit [5]0/1disable/enable internal resistor for
vertical and East/West drive output
bit [7:6]function of CSY pin :
00composite sync signal output
0125 Hz output (field1/field2 signal)
10no interlace (field 2), output = 0
111 MHz horizontal drive clock
MISCELLANEOUS
bit [0]0internal fast blank 1 from FBLIN1 pin
1force internal fast blank 1 signal to high
bit [1]0/1internal fast blank active high/low
bit [2]0/1disable/enable clamping reference for
RGB outputs
bit [3]1full line MADC measurement window,
disables bit [3] in address h’25
bit [4]0/1horizontal flyback input active high/low
bit [6:5]reserved (set to 0)
bit [7]0internal fast blank 1 from FBLIN1 pin
1force internal fast blank 1 signal to low
NameDefaultFunctionModeNumber
0
PSTSY
VEWXR
CSYM
0FBMOD
FBFOH1
FBPOL
CLMPR
FLMW
FLPOL
FBFOL1
h’318w/rfast blank interface mode 2
bit [0]0internal fast blank 2 from FBLIN2 pin
1force internal fast blank 2 signal to high
bit [1]0internal fast blank 2 from FBLIN2 pin
1force internal fast blank 2 signal to low
bit [2]fast blank input priority
0FBLIN1 > FBLIN2
1FBLIN1 < FBLIN2
bit [3]fast blank monitor input select
0monitor connected to FBLIN1 pin
1monitor connected to FBLIN2 pin
11mixed
bit[11]status bit, write 0, this bit is set to 1 to indicate
operation complete.
00
00
01
1
insel
vis
cis
ifc
cbw
fntch
lowp
hpllmd
Comb Filter
h’27comb filter control register
bit[0]0comb coefficients are calculated for luma/chroma
1comb coefficients for luma are used for luma and
chroma
bit[1]0luma comb strength depends on signal amplitude
1luma comb strength is independent of amplitude
bit[2]0reduced comb booster
1max comb booster
bit[4:3]0..3comb strength for chroma signal
bit[6:5]0..3comb strength for luma signal
bit[11:7]0..31 overall limitation of the calculated comb coefficients
h’f8crystal oscillator center frequency adjust, –2048 ... 2047–720dvco
h’f9crystal oscillator center frequency adjustment value for line lock mode,
true adjust value is DVCO – ADJUST.
For factory crystal alignment, using standard video signal:
set DVCO = 0, set lock mode, read crystal offset from ADJUST register
and use negative value for initial center frequency adjustment via DVCO.
bit[2:0]reserved, do not change
bit[3]vertical standard force
bit[8:4]reserved, do not change
bit[9]disable flywheel interlace
bit[11:10]reserved, do not change
to enable vertical free run mode set vfrc to 1 and dflw to 0
3reserved
bit[10:2]reserved, set to 0
bit[11]scaler update
0start scaler update command,
when the registers are updated the bit is set to 1
h’41luma offset register
bit[6:0]luma offset 0..127
ITU-R output format:57
CVBS output format: 4
this register is updated when the scaler mode register is written
h’42active video length for 1-h FIFO
bit[11:0]length in pixels
this register is updated when the scaler mode register is written
h’43scaler1 coefficient, this scaler is compressing the signal.
For compression by a factor c the value c*1024 is required.
bit[11:0]allowed values from 1024..4095
this register is updated when the scaler mode register is written
0scmode
pano
57yoffs
1080fflim
scinc1
1024
h’44scaler2 coefficient, this scaler is expanding the signal.
For expansion by a factor c the value 1/c*1024 is required.
bit[11:0]allowed values from 256..1024
this register is updated when the scaler mode register is written
h’45scaler1/2 nonlinear scaling coefficient
this register is updated when the scaler mode register is written
h’47 –
h’4b
h’4c –
h’50
scaler1 window controls, see table
5 12-bit registers for control of the nonlinear scaling
this register is updated when the scaler mode register is written
scaler2 window controls see table
5 12-bit registers for control of the nonlinear scaling
this register is updated when the scaler mode register is written
scinc2
1024
0scinc
0scw1_0 – 4
0scw2_0 – 4
42Micronas
Page 43
PRELIMINARY DATA SHEETVDP 31xxB
3.2.1. Scaler Adjustment
In case of linear scaling, most of the scaler registers
need not be set. Only the scaler mode, active video
length, and the fixed scaler increments (scinc1/scinc2)
must be written.
The adjustment of the scaler for nonlinear scaling
modes should use the parameters given in Table 3–4.
Table 3–4: Set-up values for nonlinear scaler modes
Table 3–5: Control Registers of the Fast Processor for control of back-end functions
– default values are initialized at reset
FP Subaddress
FunctionDefaultName
FP Display Control Register
h’130White Drive Red (0...1023)700WDR
h’131White Drive Green (0...1023)700WDG
h’132White Drive Blue (0...1023)700WDB
h’139Internal Brightness, Picture (0...511), the center value is 256, the range
256IBR
1)
1)
1)
allows for both increase and reduction of brightness.
h’13cInternal Brightness, Measurement (0...511), the center value is 256, the
256IBRM
brightness for measurement can be set to measure at higher cutoff current. The measurement brightness is independent of the drive values.
h’13aAnalog Brightness for external RGB (0...511), the center value is 256, the
256ABR
range allows for both increase and reduction of brightness.
h’13bAnalog Contrast for external RGB (0...511)350ACT
1)
The white drive values will become active only after writing the blue value WDB, latching of new values is indicated
3.2.2. Calculation of Vertical and East-West
Deflection Coefficients
In T able 3–6 the formula for the calculation of the deflec-
tion initialization parameters from the polynomial coefficients a,b,c,d,e is given for the vertical and East-West
deflection. Let the polynomial be
P : a ) b(x * 0.5) ) c(x * 0.5)2) d(x * 0.5)3) e(x * 0.5)
4
The initialization values for the accumulators a0..a3 for
vertical deflection and a0..a4 for East-West deflection
are 12-bit values. The coefficients that should be used
to calculate the initialization values for different field frequencies are given below, the values must be scaled by
128, i.e. the value for a0 of the 50 Hz vertical deflection
is
a0 + (a * 128 * b * 1365.3 ) c * 682.7 * d * 682.7)ń12
Table 3–6: Tables for the Calculation of Initialization values for Vertical Sawtooth and East-West Parabola
XGround, Digital Circuitry Front-end
XSupply Voltage, Digital Circuitry
XGround, Digital Circuitry Back-end
17PR0IN/OUTLVPicture Bus Priority Control (LSB)
18PR1IN/OUTLVPicture Bus Priority Control
19PR2IN/OUTLVPicture Bus Priority Control (MSB)
20COLOR4
Analog Blue Input
Fast Blank Input
Analog Red Input 2
Analog Green Input 2
Analog Blue Input 2
Fast Blank Input 2
49CLK20OUTLV20 MHz System Clock Output
50HOUTOUTXHorizontal Drive Output
51XTAL1INXAnalog Crystal Input
52XTAL2OUTXAnalog Crystal Output
53VSTBYXStandby Supply Voltage
54CLK5OUTLV5 MHz Clock Output
55GND
F
56ISGNDINGND
XGround, Analog Front-end
F
Signal Ground for Analog Input
57VRTINXReference Voltage Top, Video ADC
58VSUP
F
XSupply Voltage, Analog Front-end
59VOUTOUTLVAnalog Video Output
60CININVRTAnalog Chroma Input
61VIN1INVRTAnalog Video 1 Input
62VIN2INVRTAnalog Video 2 Input
63VIN3INVRTAnalog Video 3 Input
64VIN4INVRTAnalog Video 4 Input
4.3. Pin Descriptions
Pin 1 – Test Input, TEST (Fig. 4–3)
This pin enables factory test modes. For normal opera-
Pin 4 – I
This pin connects to the I
2
C Bus Data, SDA (Fig. 4–12)
2
C bus data line.
tion it must be connected to ground.
Pin 5 – Ground (Digital Shield), DSGND
Pin 2 – Reset Input, RESQ (Fig. 4–3)
A low level on this pin resets the VDP 31xxB.
Pin 6, 7, 20–24 – IO Port Expander, PORT[6:0] (Fig.
4–13)
Pin 3 – I
2
C Bus Clock, SCL (Fig. 4–12)
This pin connects to the I
2
C bus clock line.
These pins provide an I
can be used to read and write slow external signals.
2
C programmable I/O port, which
49Micronas
Page 50
VDP 31xxBPRELIMINARY DATA SHEET
Pin 6 – Half Contrast Switch Input, HCS (Fig. 4–16)
Via this input pin the output level of the analog RGB output pins can be reduced by 3dB.
Pin 7 – Front Sync Output, FSY (Fig. 4–13)
This pin supplies the front sync information
Pin 8 – Composite Sync Output, CSY (Fig. 4–13)
This output supplies a standard composite sync signal
that is compatible to the analog RGB output signals.
Pin 9 – Main Sync Output, MSY (Fig. 4–13)
This pin supplies the main sync information.
Pin 10 – Interlace Output, INTLC (Fig. 4–13)
This pin supplies the interlace information, 0 indicates
first field, 1 indicates second field.
Pin 11 – Vertical Protection Input, VPROT (Fig. 4–14)
The vertical protection circuitry prevents the picture tube
from burn-in in the event of a malfunction of the vertical
deflection stage. During vertical blanking, a signal level
of 2.5V is sensed. If a negative edge cannot be detected,
the RGB output signals are blanked.
Pin 12 – Safety Input, SAFETY (Fig. 4–14)
This is a three-level input. Low level means normal function. At the medium level RGB signals are blanked and
at high level RGB signals are blanked and horizontal
drive is shut off.
Pin 13 – Horizontal Flyback Input, HFLB (Fig. 4–14)
Via this pin the horizontal flyback pulse is supplied to the
VDP 31xxB.
Pin 26, 27 – Range Switch for Measurement ADC,
RSW1, RSW2 (Fig. 4–19)
These pins are open drain pull-down outputs. RSW1 is
switched off during cutoff and whitedrive measurement.
RSW2 is switched off during cutoff measurement only.
Pin 28 – Measurement ADC Input, SENSE (Fig. 4–15)
This is the input of the analog digital converter for the
picture and tube measurement.
This is the ground reference for the measurement A/D
converter.
Pin 30 – Ground (Vertical Sawtooth Output), GND
(Fig.
V
4–20)
This is the ground reference for the vertical outputs.
Pin 31 – Vertical Sawtooth Output, VERT (Fig. 4–20)
This pin supplies the drive signal for the vertical output
stage. The drive signal is generated with 15-bit precision
by the Fast Processor in the front-end. The analog voltage is generated by a 4-bit current-DAC with external resistor and uses digital noise shaping.
Pin 32 – East-West Parabola Output, EW (Fig. 4–20)
This pin supplies the parabola signal for the East-West
correction. The drive signal is generated with 15 bit precision by the Fast Processor in the front-end. The analog
voltage is generated by a 4-bit current-DAC with external resistor and uses digital noise shaping.
Pin 33 – DAC Current Reference, XREF (Fig. 4–21)
External reference resistor for DAC output currents, typical 10 kΩ to adjust the output current of the D/A convert-
ers (see recommended operating conditions). This resistor has to be connected to analog ground as closely
as possible to the pin.
Pin 34 – Scan Velocity Modulation Output, SVMOUT
(Fig. 4–17)
This output delivers the analog SVM signal. The D/A
converter is a current sink like the RGB D/A converters.
At zero signal the output current is 50% of the maximum
output current.
Pin 17, 18, 19 – Picture Bus Priority , PR[2:0] (Fig. 4–5)
The Picture Bus Priority lines carry the digital priority
selection signals. The priority interface allows digital
Pin 35 – Ground (Analog Back-end), GND
O
Pin 36 – Supply Voltage (Analog Back-end), VSUP
O
switching of up to 8 sources to the backend processor.
Switching for different sources is prioritized and can be
done from pixel to pixel.
Pin 37, 38, 39 – Analog RGB Outputs, ROUT, GOUT,BOUT (Fig. 4–17)
This are the analog Red/Green/Blue outputs of the back-
Pin 20...24 – Picture Bus Color Address, COLOR[4:0]
(Fig. 4–16)
The Picture Bus COLOR lines carry the digital RGB color data. They are used as address for the color lookup
table.
end. The outputs sink a current of max. 8mA.
Pin 40 – DAC Reference Decoupling, VRD (Fig. 4–21)
Via this pin the DAC reference voltage is decoupled by
an external capacitance. The DAC output currents depend on this voltage, therefore a pull-down transistor
can be used to shut off all beam currents. A decoupling
Pin 25 – Ground (Digital Shield), DSGND.
capacitor of 3.3µF//100nF is required.
50Micronas
Page 51
PRELIMINARY DATA SHEETVDP 31xxB
Pin 41, 42, 43, 45, 46, 47 – Analog RGB Inputs, RIN1/2,GIN1/2, BIN1/2 (Fig. 4–15)
These pins are used to insert an external analog RGB
signal, e.g. from a SCART connector which can by
switched to the analog RGB outputs with the fast blank
signal. The analog backend provides separate brightness and contrast settings for the external analog RGB
signals.
Pin 44, 48 – Fast Blank Inputs, FBLIN1/2 (Fig. 4–15)
These pins are used to switch the RGB outputs to the external analog RGB inputs.
Pin 49 – Main Clock Output, CLK20 (Fig. 4–4)
This is the 20.25MHz main system clock, that is used by
all circuits in a high-end VDP system. All external timing
is derived from this clock.
Pin 50 – Horizontal Drive Output, HOUT (Fig. 4–18)
This open drain output supplies the the drive pulse for
the horizontal output stage. The polarity and gating with
the flyback pulse are selectable by software.
Pin 51, 52 – Crystal Input and Output, XTAL1, XTAL2
(Fig. 4–7)
These pins are connected to an 20.25 MHz crystal oscillator is digitally tuned by integrated shunt capacitances.
The Clk20 and Clk5 clock signals are derived from this
oscillator. An external clock can be fed into XTAL1. In
this case clock frequency adjustment must be switched
off.
Pin 53 – Standby Supply Voltage, VSTBY
In standby mode, only the clock oscillator and the horizontal drive circuitry are active.
Pin 54 – CCU 5 MHz Clock Output, CLK5 (Fig. 4–10)
This pin provides a clock frequency for the TV microcontroller, e.g. a CCU3000 controller.
Pin 55 – Ground (Analog Front-end), GND
F
Pin 56 – Ground (Analog Signal Input), ISGND (Fig. 4–8)
This is the high quality ground reference for the video
input signals.
Pin 57 – Reference Voltage Top, VRT (Fig. 4–8)
Via this pin, the reference voltage for the A/D converters
is decoupled. The pin is connected with 10 mF/47 nF to
the Signal Ground Pin.
Pin 59 – Analog Video Output, VOUT (Fig. 4–6)
The analog video signal that is selected for the main
(luma, cvbs) adc is output at this pin. An emitter follower
is required at this pin.
Pin 60 – Analog Chroma Input, CIN (Fig. 4–9)
This pin is connected to the S-VHS chroma signal. A re-
sistive divider is used to bias the input signal to the
middle of the converter input range. CIN can only be
connected to the chroma (Video 2) A/D converter. The
signal must be AC-coupled.
Pin 61...64 – Analog Video Input 1–4, VIN1–4 (Fig. 4–11)
These are the analog video inputs. A CVBS or S-VHS
luma signal is converted using the luma (Video 1) AD
converter. The input signal must be AC-coupled.
4.4. Pin Configuration
1
TEST
2
RESQ
3
SCL
SDA
4
CSY
MSY
INTLC
HFLB
PR0
PR1
PR2
RSW2
RSW1
GNDM
GNDV
VERT
EW
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
DSGND
PORT0/HCS
PORT1/FSY
VPROT
SAFETY
GNDDF
VSUPD
GNDDO
COLOR4/PORT2RIN2
COLOR3/PORT3
COLOR2/PORT4
COLOR1/PORT5
COLOR0/PORT6
DSGND
SENSE
64
63
62
61
60
59
58
57
56
55
54
53
52
51
50
49
48
47
46
VDP 31xxB
45
44
43
42
41
40
39
38
37
36
35
34
33
VIN4
VIN3
VIN2
VIN1
CIN
VOUT
VSUPF
VRT
ISGND
GNDF
CLK5
VSTBY
XTAL2
XTAL1
HOUT
CLK20
FBLIN2
BIN2
GIN2
FBLIN
BIN
GIN
RIN
VRD
BOUT
GOUT
ROUT
VSUPO
GNDO
SVMOUT
XREF
Pin 58 – Supply Voltage (Analog Front-end), VSUP
F
Fig. 4–2: 64-pin PSDIP package
51Micronas
Page 52
VDP 31xxBPRELIMINARY DATA SHEET
4.5. Pin Circuits
V
SUPD
GND
D
Fig. 4–3: Input pins RESQ, TEST
P
N
Fig. 4–4: Output pin CLK20
V
–
+
P
SUPF
VRT
Vref
ISGND
Fig. 4–8: Pins VRT , ISGND
V
SUPD
P
V
SUPF
To ADC
N
GND
GND
D
Fig. 4–9: Chroma input CIN
F
V
SUPD
P
N
N
GND
D
Fig. 4–5: Input/Output pins PR[2:0]
Vin’s
VREF
–
+
P
N
Fig. 4–6: Output pin VOUT
V
P
STBY
P
0.5M
f
ECLK
N
N
GND
Fig. 4–7: Input/Output pins XTAL1, XTAL2
V
SUPF
V
OUT
GND
F
VSTBY
P
N
GND
F
Fig. 4–10: Output pin CLK5
V
SUPF
To ADC
F
GND
F
Fig. 4–11: Input pins VIN1–VIN4
GND
D
Fig. 4–12: Pins SDA, SCL
52Micronas
Page 53
PRELIMINARY DATA SHEETVDP 31xxB
V
SUPD
P
N
GNDD
Fig. 4–13: Output pins FSY, MSY, CSY, INTLC,
PORT[6:0]
V
SUPD
PP
BIAS
NN
GNDD
V
SUPO
N
BIAS
N
GNDO
Fig. 4–17: Analog output pins ROUT, GOUT,
BOUT, SVMOUT
V
STDBY
N
GNDD
Fig. 4–18: Output pin HOUT
Fig. 4–14: Input pins SAFETY, VPROT, HFLB
V
SUPO
PP
BIAS
NN
GNDO
Fig. 4–15: Input pins FBLIN1/2, RIN1/2, BIN1/2,
GIN1/2, SENSE
V
SUPD
P
V
SUPO
N
GNDM
Fig. 4–19: Output pins RSW1, RSW2
V
SUPO
PP
GNDV
Fig. 4–20: Output pins VERT, EW
V
SUPO
N
GNDD
Fig. 4–16: Input pins COLOR[4:0], HCS,
PORT[6:0]
VRD
+
–
int. ref.
voltage
Fig. 4–21: Input pins XREF, VRD
ref. current
XREF
GNDO
53Micronas
Page 54
VDP 31xxBPRELIMINARY DATA SHEET
4.6. Electrical Characteristics
4.6.1. Absolute Maximum Ratings
SymbolParameterPin No.Min.Max.Unit
T
T
V
V
V
A
S
SUP
I
O
Ambient Operating Temperature–065°C
Storage Temperature––40125°C
Supply Voltage, all Supply Inputs–0.36V
Input Voltage, all Inputs–0.3V
Output Voltage, all Outputs–0.3V
+0.3V
SUP
+0.3V
SUP
Stresses beyond those listed in the “Absolute Maximum Ratings” may cause permanent damage to the device. This
is a stress rating only . Functional operation of the device at these or any other conditions beyond those indicated in the
“Recommended Operating Conditions/Characteristics” of this specification is not implied. Exposure to absolute maximum ratings conditions for extended periods may affect device reliability.
4.6.2. Recommended Operating Conditions
SymbolParameterPin NameMin.Typ.Max.Unit
T
V
A
SUP
Ambient Operating Temperature–0–65°C
Supply Voltages, all Supply Pins4.755.05.25V
f
XTAL
R
xref
Clock FrequencyXTAL1/2–20.25–MHz
RGB – DAC Current defining Re-
XREF9.51010.5
sistor
NS
VDD
Negative Slope of VDD (power
VSUPD0.2V/µs
down)
4.6.3. Recommended Crystal Characteristics
SymbolParameterMin.Typ.Max.Unit
T
A
f
P
DfP/f
DfP/f
R
R
P
P
Operating Ambient Temperature0–65°C
Parallel Resonance Frequency
with Load Capacitance C
= 13 pF
L
–20.250000–MHz
Accuracy of Adjustment––$20ppm
Frequency Temperature Drift––$30ppm
Series Resistance––25
–3.3–pF
from pins to Ground
(pin names: Xtal1 Xtal2)
DCO Characteristics
C
ICLoadmin
2)
Effective Load Capacitance @ min.
3.64.35pF
DCO-Position, Code 0,
C
ICLoadrng
Effective Load Capacitance Range,
11.712.713.7pF
DCO Codes from 0..255
Remarks on defining the External Load Capacitance:
External capacitors at each crystal pin to ground are required. They are necessary to tune the effective load capacitance of
the PCBs to the required load capacitance C
sults. The nominal free running frequency should match f
capacitor size should be determined in the application. The suggested value is a figure based on experience with various
PCB layouts.
condition: Code DVCO Register = –72
Tunin
2)
Remarks on Pulling Range of DCO:
The pulling range of the DCO is a function of the used crystal and effective load capacitance of the IC (C
The resulting frequency fL with an effective load capacitance of C
1 + 0.5 * [ C1 / (C0 + C
fL = fP * –––––––––––––––––––––––
1 + 0.5 * [ C1 / (C0 + CL ) ]
Leff
) ]
of the crystal. The higher the capacitors, the lower the clock frequency re-
L
MHz. Due to different layouts of customer PCBs the matching
p
+C
Leff
= C
ICLoad
+ C
LoadBoard
is
ICLoad
LoadBoard
).
4.6.4. Characteristics
= 0 to 65 °C, V
at T
at T
A
C
= 60 °C, V
SUPD/F/O
SUPD/F/O
= 5 V, f = 20.25 MHz for typical values
SymbolParameterPin NameMin.Typ.Max.Unit
I
VSUPF
I
VSUPD
I
VSUPO
I
VSTDBY
P
TOT
Current ConsumptionV
Current ConsumptionV
Current ConsumptionV
Current ConsumptionV
Total Power Dissipation–11451200
ILInput / Output Leakage CurrentAll I/O Pins–1–1
= 4.75 to 5.25 V,f = 20.25 MHz for min./max. values
Input Low VoltageSDA, SCL––1.5V
Input High Voltage3.0––V
Output Low Voltage––0.4
Input Capacitance––4pF
Signal Fall Time––300nsCL = 400 pF
Signal Rise Time––300nsCL = 400 pF
Clock FrequencySCL0–400kHz
Low Period of SCL1.3––
High Period of SCL0.6––
Data Set Up Time to SCL highSDA100––ns
DATA Hold Time to SCL low0–0.9
Clamping DAC Resolution–1615steps5 Bit – I-DAC, bipolar
Input Clamping Current per Step0.71.01.3
Clamping DAC Differential Non-
±0.5LSB
mA
VIN
Linearity
Clamping-Capacity220–nFCoupling-Cap. @ Inputs
Chroma – Path
R
CIN
Input Resistance
SVHS Chroma
CIN
VIN1
1.42.02.6
kW
V
CIN
V
CINDC
Full Scale Input Voltage, Chroma1.081.21.32V
Input Bias Level,
–1.5–V
SVHS Chroma
Binary Code for Open
128
PP
Chroma Input
Dynamic Characteristics for all Video Paths (Luma + Chroma)
BWBandwidthVIN1
XTALKCrosstalk, any Two Video Inputs
THDTotal Harmonic Distortion
VIN3
CIN
1012.5MHz–2 dBr input signal level
–56dB1 MHz, –2 dBr signal level
50dB1 MHz, 5 harmonics,
–2 dBr signal level
SINADSignal to Noise and Distortion
Ratio
45dB1 MHz, all outputs,
–2 dBr signal level
INLIntegral Non-Linearity,±1LSBCode Density,
p
DNLDifferential Non-Linearity±0.8LSB
DGDifferential Gain±3%–12 dBr, 4.4 MHz signal on DC-
Full Scale Output Current1.551.8752.25mA
Differential Nonlinearity0.5LSB
Integral Nonlinearity1LSB
Glitch Pulse Charge0.5pAsRamp, output line is
terminated on both ends with
50 Ohms
I
OUT
66Micronas
Rise and Fall Time3nsec10% to 90%, 90% to 10%
Page 67
PRELIMINARY DATA SHEETVDP 31xxB
5. Application Circuit
67Micronas
Page 68
VDP 31xxBPRELIMINARY DATA SHEET
68Micronas
Page 69
PRELIMINARY DATA SHEETVDP 31xxB
69Micronas
Page 70
VDP 31xxBPRELIMINARY DATA SHEET
70Micronas
Page 71
PRELIMINARY DATA SHEETVDP 31xxB
71Micronas
Page 72
VDP 31xxBPRELIMINARY DATA SHEET
6. Data Sheet History
1. Preliminary data sheet: “VDP 31xxB Video Processor Family”, Edition May 15, 1997, 6251-437-1PD.
First release of the preliminary data sheet.
2. Preliminary data sheet: “VDP 31xxB Video Processor Family”, Edition Sept. 25, 1998, 6251-437-2PD.
Second release of the preliminary data sheet.
Major changes:
– section 4.1.: package outline dimensions changed
– section 4.6.: missing values have been defined
– section 5.: application circuit diagram corrected
All information and data contained in this data sheet are without any
commitment, are not to be considered as an offer for conclusion of a
contract, nor shall they be construed as to create any liability . Any new
issue of this data sheet invalidates previous issues. Product availability
and delivery are exclusively subject to our respective order confirmation form; the same applies to orders based on development samples
delivered. By this publication, Micronas GmbH does not assume responsibility for patent infringements or other rights of third parties
which may result from its use.
Further, Micronas GmbH reserves the right to revise this publication
and to make changes to its content, at any time, without obligation to
notify any person or entity of such revisions or changes.
No part of this publication may be reproduced, photocopied, stored on
a retrieval system, or transmitted without the express written consent
of Micronas GmbH.
72Micronas
Loading...
+ hidden pages
You need points to download manuals.
1 point = 1 manual.
You can buy points or you can get point for every manual you upload.