VSP 9437B Color Decoder and Scan-Rate Converter
VSP 9437B Color Decoder and Scan-Rate Converter
VSP 9437B Color Decoder and Scan-Rate Converter
MICRONAS
VSP 94x5B, VSP 94x7B OPTIMUS Color Decoder and Scan-Rate Converter Version Cx
MICRONAS
Micronas
Contents, continued Page 31 31 32 32 33 34 34 36 36 38 38 38 39 39 40 45 45 47 49 50 51 52 52 52 52 54 56 57 57 59 60 60 61 61 62 62 62 63 63 64 64 64 64 65 65 65 Section 2.4.3. 2.4.4. 2.4.5. 2.4.6. 2.4.7. 2.4.7.1. 2.4.8. 2.4.9. 2.4.10. 2.5. 2.5.1. 2.5.1.1. 2.5.2. 2.5.2.1. 2.5.3. 2.5.4. 2.5.5. 2.5.6. 2.5.7. 2.5.8. 2.5.8.1. 2.5.8.2. 2.5.8.3. 2.5.8.4. 2.5.8.5. 2.5.8.6. 2.5.8.7. 2.6. 2.6.1. 2.6.2. 2.6.3. 2.6.4. 2.6.4.1. 2.6.4.2. 2.6.4.3. 2.6.5. 2.6.6. 2.6.7. 2.6.8. 2.6.9. 2.6.9.1. 2.6.9.2. 2.6.9.3. 2.6.10. 2.6.11. 2.6.12. Title Vertical Prescaler Filmmode Detection Motion Detection for Scan-Rate Conversion Global Motion and Global Still Detection Letterbox Detection Visualization of Letterbox Results Preframe Generator Noise Measurement Noise Reduction Output Processing Vertical Postscaler Vertical Panorama Mode Horizontal Postscaler Horizontal Panorama Mode Application Modes Write/Read Positioning Multi-Picture Display PiP Processing Basic Upconversion Concept General Upconversion Parameters Motion Phase (MotPh) and Motion Sequence (MotSeq) Line Scan Pattern (Lsp) and Line Scan Pattern Sequence (LspSeq) Interpolation Type Values (IpolType) SoftBlend Enable Switch (SoftBlendEna) Filmmode Handling Dynamic Operation Table (DynOpTable) Inverse 3-2 Pull Down Display Processing Digital Contrast Improvement (DCI) Adaptive Peaking Color Transition Improvement (CTI) Pixel Mixer Priority Decoder Background and Testpattern Component Window Generator Coarse and Fine Delay YCrCb Control for Digital Output RGB Matrix Oversampling and DAC Output-Data Controller HOUT Generator VOUT Generator BLANK Generator Static Pin Switching VSPB in PiP Operation Only Digital 656 Output
Micronas
Specifications Outline Dimensions Pin Connections and Short Descriptions for VSPB Common Pin Connection and Short Descriptions Differing Pin Connections and Short Descriptions for VSP 941xB and VSP 944xB Pin Circuits Electrical Characteristics Absolute Maximum Ratings Recommended Operating Conditions Characteristics General Characteristics IC Bus Characteristics Application Circuit Application Overview Data Sheet History
Micronas
Color Decoder and Scan-Rate Converter Release Note: Revision bars indicate significant changes to the previous edition. The hardware and software description in this document is valid for the VSP 94x5B/VSP 94x7B version Cx. 1. Introduction The VSPB family supports 15/32 kHz systems and is available with different options. VSP 94xxB has one Table 11: Optimus family for double-scan application
Type VSP 9405B VSP 9415B VSP 9425B VSP 9407B VSP 9417B VSP 9427B Package MQFP80 MQFP80 MQFP144 MQFP80 MQFP80 MQFP144 PiP Digital Input ITU6561) ITU656 ITU656 ITU6561) ITU656 ITU656
Analog Input 7xCVBS/YC, 2xRGB/YUV 7xCVBS/YC, 2xRGB/YUV 9xCVBS/YC, 2xRGB/YUV 7xCVBS/YC, 2xRGB/YUV 7xCVBS/YC, 2xRGB/YUV 9xCVBS/YC, 2xRGB/YUV to DDP 3315C
Digital Output DS6561),2) DS656 ITU601, DS656, RGB/YUV(27bit) DS6561) DS656 ITU601, DS656, RGB/YUV(27bit)
Analog Output 1xYUV/RGB, 3xCVBS 3xCVBS 1xYUV/RGB, 3xCVBS 1xYUV/RGB, 3xCVBS 3xCVBS 1xYUV/RGB, 3xCVBS
1) Input and output can not be used at same time (pin sharing) 2) DS656 is an ITU656 like, double-scan interface for connection
PiP
Analog Input 7xCVBS/YC, 2xRGB/YUV 7xCVBS/YC, 2xRGB/YUV 7xCVBS/YC, 2xRGB/YUV 7xCVBS/YC, 2xRGB/YUV 9xCVBS/YC, 2xRGB/YUV 9xCVBS/YC, 2xRGB/YUV
Digital Output ITU6561) ITU656 ITU6561) ITU656 ITU601, DS656, RGB/YUV(27bit) ITU601, DS656, RGB/YUV(27bit)
Analog Output 1xYUV/RGB, 3xCVBS 3xCVBS 1xYUV/RGB, 3xCVBS 3xCVBS 1xYUV/RGB, 3xCVBS 1xYUV/RGB, 3xCVBS
ITU656
Input and output can not be used at same time (pin sharing) VSP 9425B and 9427B can be used in single-or double-scan applications.
Micronas
SDA 9380
With some restrictions. Please refer to pin description and/or respective application note
1.1. Feature Overview Different application modes FSM: Frame based high performance master with PiP SSC: Split screen ("Double Window") MUP: Multi pictures, several still and 2 live pictures possible PC: PC signal in combination with TV signal (TV in PC or PC in TV) Data acquisition connectivity Up to seven (VSP 9425B/9427B: nine) CVBS inputs, up to two Y/C inputs Up to three CVBS outputs (even when Y/C input) ITU-R 656 compatible digital input RGB/FBL or YUV or YUV-H-V input 9 bit amplitude resolution for CVBS/Y/C A/D converter 8 bit amplitude resolution for RGB/FBL A/D converter Multi-standard color decoder with 4H comb-filter PAL/NTSC/SECAM including all substandard Automatic recognition of chroma standard AGC (Automatic Gain Control) Second multi-standard color decoder for slave channel (VSP 94x7B only) Processing of two input channels independently: Master and slave channel Temporal noise reduction for master and slave channel
Field or frame based temporal noise reduction for luminance and chrominance Pre-scaling of the 1fH signal (master and slave channel) Horizontal scaling factors: 3/2...1...1/28 Vertical scaling factors: 1...1/30 Horizontal and vertical scaling of the 2fH signal (master and slave channel) Horizontal Scaling factors: 3...0.75 5 zone horizontal panorama generator Vertical scaling of the 2fH signal (master channel) Vertical scaling factors: 8...0.92 5 zone vertical panorama generator Detection circuits Global motion and global still detection Film mode and phase detection (PAL, NTSC; 2-2, 3-2 pull down) Measurement of the noise level (blanking) Detection of letter box formats Embedded memory On-chip memory controller Embedded DRAM core for field memory SRAM for delay lines Data format 4:2:2 Data slicer for closed caption ("V-chip") and WSS Flexible clock and synchronization concept Horizontal line-locked or free-running mode
Micronas
Scan-rate-conversion (version dependent) Motion adaptive frame based 100/120 Hz interlaced scan-rate conversion Motion adaptive frame based 50/60 Hz progressive scan-rate conversion Special treatment for film material ("Inverse 3-2 pull down") Large area and line flicker reduction Simple progressive modes: AB, AA* Simple interlaced modes (100/120 Hz): ABAB, AABB, AAAA, BBBB No scan-rate-conversion modes (50/60 Hz): AB, AA, BB Signal manipulations Still field or still frame Insertion of colored background 2D and 3D frames for master and slave channel Snapshot Windowing Temporal overblending between master and slave Vertical chrominance shift for improved VCR picture quality Mosaic-mode generator Test pattern generator Demo mode Contrast, brightness and saturation control
Micronas
data buffer
data buffer
8
h50/ irq siscen xout
122 123 51 39 32
cvbso1 xin
33 35 91
cvbso2 cvbso3
Reset
v50/ blank
111
110
109
40
29
cvbs1
(20.25, 40.5 MHz) 216 MHz clk line-locked
8 7
96
GAIN
clamping signals to ADCs clamped, filterd sync signal from master decoder
xtal Oscillator
Free-running Clocks
cvbs2 Sync
9
AGC generator
97
ADC1 LL-PLL
(36, 72 MHz)
21
CVBS/Y
cvbs3
98
100
GAIN
Comb Filter
22
ADC2 YUV
CVBS/C
cvbs5
102
Source Select
Input Mux
Color Decoder
dgout3
23
cvbs6 1H Delay
104
dgout2
24
cvbs7
106
dgout1
25
cvbs8
AGC generator
94
95
dgout0
114
dbout8
115
dbout7
116
HPrescaler
VPrescaler
dbout5
125
dbout4
126
Data Slicer
dbout3
127
eDRAM
dbout2
128
dbout1
132
rin1
YUV Slave Output main YUV insert
70
GAIN
ADCR Mosaic Mode HPrescaler VPrescaler Temporal Noise Reduction Preframe Generator
Pre Processing
Filmmode Detection
dbout0
RGB
gin1
72
43
drout8 PiPEngine
44
YUV
bin1 Soft-mix
73
GAIN
ADCG
Pre Processing
or bypass
Down Sampling
drout7
45
fbl1
67
Contrast
drout6
46
rin2
78
Source Select
GAIN
Brightness
ADCB
Pre Processing
Saturation
4:4:4
drout5
47
gin2
80
drout4
48
82
GAIN
drout3
52
ADCF DCI
Antialias, Deskew
fbl2
68
drout2
53
drout1 ITU601 Encoder Pattern Generator GAIN Y DAC Curtain Generator PixelMixer OFFSET GAIN U DAC Frame Generator OFFSET GAIN
143 2 54
656clk
15
656io0
62
drout0
656io1
61
ayout
656io2
60
656io3
38
ITU656 Decoder
auout
656io4
37
HPanorama Generator
656io5
31
4:2:2
4:4:4
656io6
30
IC Interface
HPostscaler
CTI LTI
Adaptive Peaking
V DAC OFFSET
140
avout
656io7
28 10
16
138
14
18
129
13
34
tdo
tclk
tms
adr/tdi
Micronas
Reset
63
62
61
24
14
YUV YUV
Data buffer
Data buffer
Micronas
Free-running Clocks Output Sync Controller Sync
AGC generator
cvbs1
52
GAIN
clamping signals to ADCs clamped, filtered sync signal from master decoder
C800 Controller
cvbs2 LL-PLL
(36, 72 MHz)
53
CVBS/Y
4H Delay
cvbs3
54
55
GAIN
Comb Filter
CVBS/C
cvbs5
56
Source Select
Input Mux
Color Decoder
cvbs6
57
cvbs7
58
AGC generator
Mosaic Mode
HPrescaler
VPrescaler
eDRAM
75
i656iclk
76
rin1
YUV Slave Output main insert
39
GAIN
i656i0
77
ADCR Mosaic Mode HPrescaler VPrescaler Temporal Noise Reduction Preframe Generator
Pre Processing
gin1
RGB
i656i1 PiPEngine
78
40
YUV
i656i2
79
bin1 Soft-mix
41
GAIN
ADCG
Pre Processing
or Bypass
Down U Sampling
YUV
i656i3
80
fbl1
37
Contrast
rin2
46
Source Select
GAIN
Brightness
i656i4
1
ADCB
Pre Processing
Saturation
4:4:4
i656i5
2
gin2
47
4:2:2 to 656io
4:2:2 4:4:4
bin2
48
GAIN
ADCF DCI
Antialias, Deskew
fbl2
38
CLAMP grey shaded blocks not available in VSP 94x5B VPanorama Generator HPanorama Generator
656clk
656io0
32
Pattern Generator
656io1
31
656io2
30
656io3
22
ITU656 Decoder
auout
656io4
21
HPanorama Generator
656io5 IC Interface
16
4:2:2
4:4:4
656io6
15
HPostscaler
CTI LTI
Adaptive Peaking
V DAC OFFSET
76
avout
656io7
13 6
10
74
71
19
tclk
tms
adr/tdi
The OPTIMUS contains many blocks which are dedicated to master channel only (e.g. vertical postscaler) which can only be used with master channel. Some blocks are twice implemented (e.g. noise reduction). Some blocks are only once available but can be selected to work in master or slave channel (e.g. dataslicer). VSP 94xxB does not contain dedicated slave blocks. All items mentioned for slave channel in the data sheet are not valid for VSP 94xxB (see Table 22 on page 11). All IC bus registers mentioned are printed in bold and italics (e.g. YCDEL). 2.3. Data Acquisition The Data Acquisition Processing provides two independent data streams (master and slave) for the input processing. They either come from a CVBS, Y/C, RGB or YUV input or from a CCIR 656 compatible digital input signal. For RGB and YUV, interlace and progressive signals up to XGA can be connected. High resolution PC signals (SVGA, XGA etc.) may only be reproduced with limited picture quality (see Table 23 on page 11).
Table 21: Versions available Version 9405B 9415B 9425B 9435B 9445B 9407B 9417B 9427B 9437B 9447B Scan-rate Conversion 50p/60p/100i/120i 50p/60p/100i/120i 50i/60i/50p/60p/100i/120i 50i/60i 50i/60i 50p/60p/100i/120i 50p/60p/100i/120i 50i/60i/50p/60p/100i/120i 50i/60i 50i/60i Output Format Analog, DS656 DS656 Analog, DS656, digital RGB/YUV Analog, ITU656 ITU656 Analog, DS656 DS656 Analog, DS656, digital RGB/YUV Analog, ITU656 ITU656 PiP PiP PiP PiP PiP PiP Package QFP80 QFP80 QFP144 QFP80 QFP80 QFP80 QFP80 QFP144 QFP80 QFP80
10
Micronas
Table 22: Master/Slave building blocks Function Defined for Master Defined for Slave
Color decoder Letterbox Temporal noise reduction Film mode detector Data-slicer Comb-filter CTI/LTI/adaptive peaking Noise measurement (blanking) Noise measurement (picture content) H/V-prescaler H-panorama postscaler V-panorama postscaler Preframe generator Mosaic mode generator Global motion detection Global still detection Digital contrast improvement
Limit values for analog inputs Digital 656 15.6 (Only single-scan possible) 53
2.3.1. Double CVBS Frontend The CVBS and Y/C decoding is done by two CVBSfrontends working in parallel. Normally, the comb-filter is connected to the first frontend, giving the main picture whereas the second frontend generates an uncombed picture for the PiP channel. The input of frontend 1 is selected by COMBUSEM, the input for frontend 2 is selected by COMBUSES (refer to Figure 21). As two CVBS-ADC are not sufficient for any combination of input signals, RGB-ADCs can be used as well for CVBS, Y/C conversion. When using these ADCs, the signal must be switched/connected on the PCB accordingly. At least two solutions are possible: When using Y/C for main channel, PiP channel can be connected to G_ADC. An external device must be used to switch one CVBS output and the G-signal to GIN1. If only one RGB/YUV input is required, one CVBS out can be directly connected to GIN2. When two Y/C inputs are required, Y1 and Y2 can be connected to CVBSIN4 and CVBSIN6, C1 and C2 can be connected to RIN1 and RIN2 (please refer to "Source Select" on page 20).To make use of the Y/C to CVBS adder, C1 and C2 should be additionally connected to CVBSIN5 and CVBSIN7.
Micronas
11
CVBS_ADC1
9
0
CVBS1/Y1 CVBS/C1
CVBS_ADC2
Y UV
adaptive 4H combfilter
Ycomb Ccomb
Y UV
from B_ADC
Fig. 21: Double CVBS frontend Table 24: Input signal combinations COMBUSEM 0 Y_CD1 CVBS1 C_CD1 CVBS/C (YCBYR=0) R_ADC (YCBYR=1) 1 CVBS2 CVBS2 (YCBYR=0) B_ADC (YCBYR=1) 21) 3 Ycomb G_ADC Ccomb G_ADC (YCBYR=0) R_ADC (YCBYR=1) COMBUSES 0 Y_CD2 CVBS1 C_CD2 CVBS/C (YCBYB=0) R_ADC (YCBYB=1) 1 CVBS2 CVBS2 (YCBYB=0) B_ADC (YCBYB=1) 22) 3 Ycomb G_ADC Ccomb G_ADC (YCBYB=0) B_ADC (YCBYB=1)
1) 2)
When using COMBUSEM=2, BGSHIFTM must be set to 1, otherwise 0. When using COMBUSES=2, BGSHIFTS must be set to 1, otherwise 0
12
Micronas
2.3.2. Analog CVBS and Y/C Inputs Source Select The analog CVBS signal can be fed to the inputs CVBS1...7 (or 3x CVBS and 2x Y/C) of VSP 94x7B (amplitude 0.5...1.5 Vpp). In P-MQFP144 package, 9 CVBS inputs (or 5x CVBS and 2x Y/C) are possible and 3 CVBS outputs are available. One signal is selected via CVBSEL1 and fed to first ADC. A second signal is selected via CVBSEL2 and fed to the other ADC. Although every input CVBS1...CVBS9 can handle CVBS/Y or C signals, CVBS4&5 or CVBS6&7 are intended to be used as separate Y/C inputs (YCSEL). After clamping to the back porch (switchable to synctip clamping by CLPSTGY) both signals are AD-converted with an amplitude resolution of 9 bit. The conversion is done using a 20.25 MHz free-running crystal stable clock. Before this the signals are lowpass filtered by antialias filter. Three inputs can be looped back to output CVBSO1-3 (CVBOSEL1, CVBOSEL2, CVBSELO3). A signal addition is performed to output a CVBS signal even when separate Y/C signals are used at input. Inputs that are not used by ADC are roughly clamped to fit in the allowed voltage region. For stand-by operation (power-save mode), A/D and D/A converter can be switched off by STANDBYxxx keeping the sourceselector operational.
CVBSEL1
CVBSEL2
CVBOSEL1
CVBOSEL2
CVBOSEL3
C C C C C C C 1 / 11 1 / 11 1 / 11 1 / 11 1 / 11
CVBS 8 CVBS 9
C C MQFP144 only
Clamping pulse of ADC_CVBS1 or ADC_CVBS2. Shifting of signal to required input voltage range for CVBSO1..3
Filter
Filter
Buffer
Buffer
Buffer
ADC_CVBS1
ADC_CVBS2
CVBSO1
CVBSO2
CVBSO3
Micronas
13
32
40
48
56
64
Table 25: AGC modes AGCMD 00 AGC Operation Mode AGC uses the height of the sync pulse as a reference and additionally reduces amplification when ADC overflows AGC uses the height of the sync pulse as a reference AGC uses only ADC overflows AGC is disabled and the ADC fits to the values given in AGCADJ
01 10 11
upper headroom
100% chroma
75% chroma
burst
256
black
burst
64 0
lower headroom
14
Micronas
2.3.2.2. Clamping The clamp timing for the analog inputs is generated from its corresponding CVBS/sync signal. Clamping can be suppressed for some lines by CLMPLOW and CLMPHIGH to ignore copyprotection information. Both color-decoder generate two sets of clamping signals each (signals 1 and signals 2). Signals 1 are intended to be used for CVBS ADCs, signals 2 are intended to be used for RGBF ADCs. The start and length of each signal is adjustable. For adjustment, please refer to application note. 2.3.2.3. Double Frontend Adjustments CVBS and RGBF ADCs receive gain and clamping signals from the color decoder. For flexibility reasons, these can be selected according to the following figures:
AGCADJ2M
AGCADJ1M
to CVBS ADC2
AGCADJ1S
AGCADJ2S
CLMPSIG1 to CVBS ADC1 0 1 2 3 CLMPSIG2 to RGBF ADC SELSM to Blue ADC BLUETWO CD1: Clamp-Signals 1 CD1: Clamp-Signals 2 CD2: Clamp-Signals 1 CD2: Clamp-Signals 2
to CVBS ADC2
For normal conditions, CLMPSIG1=0 and CLMPSIG2=2 allow to select "signals1" from master and slave color-decoder. To connect CVBS ADC1 with CD2 and CVBS ADC2 with CD1, use CLMPSIG1=2 and CLMPSIG2=0. For "Chrominance on Blue", the clamping for this ADC must be selected separately (BLUETWO), dependent on whether Y is on CD1 or
Micronas
15
2.3.7. Chrominance Filter The demodulation is followed by a lowpass filter for the color difference signals for PAL/NTSC. SECAM requires a modified lowpass function with bell filter characteristic. For SECAM mode, the de-emphasis filter can be adjusted by DEEMPFIR and DEEMPIIR. The bell filter can be adjusted by BELLFIR and BELLIIR. A wide band chroma filter can be selected. This filter is intended for high bandwidth chroma signals, e.g. S-VHS signal or when comb-filter is enabled. The chroma bandwidth can be adjusted by CHRF. The value of CHRF has no linear dependency on effective bandwidth. The proper constellations are shown in Figure 28.
2.3.5. Color Decoder The digital multistandard chroma decoder is able to decode NTSC and PAL signals with a subcarrier frequency of 3.58 MHz and 4.43 MHz (PAL B1)/M/N/602), NTSC M/44) as well as SECAM signals with automatic standard detection. Alternatively a standard can be forced. The demodulation is done with a regenerated color-carrier. For use of non-standard crystals or factory adjustment, the frequency of the free-running regenerated subcarrier can be adjusted between 270 ppm via SCADJ. For this purpose the crystal deviation (SCDEV) can be read out via IC after chroma PLL locking (indicated by SCOUTEN) and can be stored in C ROM for SCADJ. For test purposes, CPLLOF allows a loop opening of the chroma PLL. The delay between Y and C is well aligned and can also be adjusted in steps of 50ns (YCDEL). No picture shifting occurs when switching between different color standards (e.g. SECAM PAL). A delayline is implemented for PAL and SECAM signals. It acts as a simple chrominance comb-filter for NTSC and can be disabled by COMB. This improves the vertical chroma resolution, but cross-color remains. 2.3.6. IF-Compensation With off-air or mistuned reception, any attenuation at higher frequencies or asymmetry around the color subcarrier is compensated. Five different settings (IFCOMP) of the IF-compensation are possible: Flat (no compensation) 6 dB/octave 12 dB/octave 4.4 MHz prefiltering (with or without prefiltering)
Chroma filter
CHRF=9 CHRF=57
CHRF=12 CHRF=14
2.5 3 3.5 4
CHRF=8
1 1.5 2 Frequency (MHz)
Fig. 28: Chroma filter characteristics 2.3.8. Automatic Standard Recognition For adjustment to the specific operational area an automatic norm detection is selectable. Available 50 Hz color standards are PAL B, PAL N and SECAM. Available 60 Hz color standards are NTSC M, PAL M, PAL60 and NTSC44. For each line standard, one or more color standards can be chosen for automatic standard detection. In addition, a standard can be forced as well. Within each line standard, the standard is detected by consequently switching from one to another. This standard detection process can be set to slow or fast behavior (LOCKSP). In slow behavior, 25 fields are used to detect the standard, whereas 15 fields are used in fast behavior. If unsuccessful within this time period the system tries to detect another standard. AMSTD50 selects whether PAL B or SECAM is tried first in the automatic routine. AMSTD60 selects whether NTSC44/PAL60 or NTSC M is tried first. Both bits can also be set for automatic detection, then the last detected chroma standard will be used. For SECAM detection, a choice between different recognition levels is possible (SCMIDL, SCMREL) and the evaluated burst position is selectable (BGPOS).
1 PAL B is representative for PAL B/G/H/I/N 2 PAL60 and NTSC44 are nonstandard signals which are generated by some VCR or DVD player
Color standard (STDET), line standard (LNSTDRD) and color killer status (CKSTAT) can be read out.
16
Micronas
U,V
+0dB
Standard (50 Hz) None PAL N PAL B SECAM Automatic PAL B/SECAM
CSTAND D2 0 0 0 1 1 D1 0 0 1 0 1 D0 0 1 0 0 0
CKILL ACCLIM
attenuation of color-carrier
+6dB
-4dB
SECAM operation
Fig. 29: Color killer adjustment 2.3.10. Color Killer If the chrominance signal is below an adjustable threshold (CKILL (PAL; NTSC) or CKILLS (SECAM)) the color is switched off. To prevent on/off switching, a hysteresis is given by CON or CONS which is the value of switching on the color. COLON switches on the color under any circumstance. The output of the color decoder can be set to UV or CrCb data by CRCB. For NTSC only, the color impression (tint) can be adjusted by the huecontrol between 88 and 90 in steps of 0.7 (HUE).
Micronas
17
TNOTCHOFF 0 1 0 1
5
5 0 5 attenuation [dB] 10 15 20 25 30
NTCHSEL=
x01
x00
5 attenuation [dB]
x10
x11
10 15 20 25 30
0.5
1.5
2.5
3.5
4.5
5.5
0.5
1.5
2.5
3.5
4.5
5.5
frequency [MHz]
frequency [MHz]
5 0 5 attenuation [dB] 10 15 20 25 30
5 0 5
100
10 15 20
011 001
25 30
0.5
1.5
2.5
3.5
4.5
5.5
0.5
1.5
2.5
3.5
4.5
5.5
frequency [MHz]
frequency [MHz]
Fig. 211: Filter characteristics for PAL B/G, NTSC44 and PAL60
18
Micronas
2.3.12. Adaptive Comb-filter As only one comb-filter is included, the selection whether master or slave color decoder uses the combfilter is done by SELCOMB. The comb-filter input can be selected by INCOMB. First or second CVBS ADC or green ADC can be used. DISCOMB disables the comb-filter without changing the vertical or horizontal delay. The benefit is, that on/off switching of comb-filter can be done without picture jumping. When setting YCTCOMB, a Y/C signal is fed through line delays without combing, allowing same vertical delay for Y/C signals also. The origin of C signal is given by INCOMBC (refer to Fig. 21 on page 12). The comb-filter incorporates a detection circuit, whether standard TV sources or unstable non-standard sources (e.g. VCR) are applied. Although the adaption logic does not allow combing for unstable signals, it is recommended to disable comb-filter by DISCOMB when TVMODE indicates a non-standard signal. The 4H adaptive comb-filter is used for high quality luminance/chrominance separation for PAL or NTSC composite video signals. The comb-filter improves the luminance resolution (bandwidth) and reduces interferences like cross-luminance and cross-color. The adaptive algorithm eliminates most of the mentioned errors without introducing new artifacts or noise. The filter uses four line delays to process the information of three video lines. To have a fixed phase relationship of the color subcarrier in the three channels, the digital data is fractionally locked to the color subcarrier. This allows the processing of all color standards and sub-standards 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 two lines. 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 processing delay is always two lines.
Micronas
19
10
15
20
25
30
35
40
F_ADC
Fsig [MHz]
255 229
upper headroom
255 229
upper headroom
80 16 0
255 229
lower headroom
16 0
255 229
lower headroom
upper headroom
upper headroom
80 16 0
lower headroom
16 0
lower headroom
20
SRY = 1 Vpp
SRY = 1 Vpp
Micronas
2.3.13.2. Signal Magnitudes and Gain Control Each ADC can be gain adjusted by AGCADJR, AGCADJG, AGCADJB, AGCADJF.
1.6 1.5 1.4 1.3 Conversion Range [V] 1.2 1.1 1 0.9 0.8 0.7 0.6 0.5 0.4 0 8 16
24
32
40
48
56
64
ADC output=0
0 8 16 24 32 40 48 56 64
AGCADJF (IC)
Table 210: Configurations of input signals Mode YUV, sync on Y YUV, sync on H,V, or CVBS RGB, sync on G RGB, sync on RGB RGB, sync on H,V, or CVBS RGB with fast-blank, synchron to CVBS CLMPVG 80 16 80 80 16 16 CLMPVRB 128 128 16 80 16 16 GOFST 64 0 64 64 0 0 RBOFST 128 128 0 64 0 0 DCLMPF Dont care 0 Dont care Dont care 0 1
Micronas
21
example, for a DVD player or set-top-box. When using H sync from a non CVBS input (e.g. separate H-sync) this must be indicated by HINP. The usage of separate V-sync must be set by VINP. With the readable information of number-of-lines (LPFLD), pixel-per-line (NRPIXEL), H and V polarity (DETHPOL, DETVPOL), the applied PC-signals can be distinguished. The delay of luminance and fastblank can be adjusted by YFDEL, and chrominance can be delay adjusted by UVDEL. If necessary, fastblank can be adjusted fine by FBLDEL.
Table 211: Possible input signals for RGB frontend Input Signal RGB / YUV RGB / YUV RGB RGB YUV
1)
VIN
HINP 0 1 0 1 1
VINP 0 1 0 0 0
ADC2
0 1
from CVBS Source select
ADC1
Sync processing
VINP
ADCR
AGCADJR CLMPVRB
1
DATAR
R Processing
to soft-mix RBOFFSET
ADCG
G Processing
to soft-mix GOFFSET
ADCB
B Processing
to soft-mix RBOFFSET
ADCF
F Processing
to soft-mix
22
Micronas
2.3.15. Digital Prefiltering A digital prefiltering can be enabled. This reduces the bandwidth of very steep input signals, such as a display of characters. A band limitation is required, because the succeeding de-skewing filter performs best below 14 MHz. The filtering is performed in all four channels and frequency characteristic can be selected by AASEL. It can be disabled by AABYP. For signal conversion to 4:2:2, an additional chrominance lowpass can be enabled by CHRSF.
10
RGB-prefiltering
0 attenuation [dB]
10
AASEL=0
AASEL=1
The softmixer circuit consists of a Fast Blank (FB) processing block supplying a mixing factor k (0... 128) to a high quality signal mixer achieving the output function:
20
30
40
10
12
14
16
18
20
Frequency [MHz]
Fig. 220: Digital prefiltering of RGB input 2.3.16. RGB/YPbPr to YCrCb Matrix RGB or YPbPr signals are converted to the YCrCb format by a matrix operation (YUVMAT). In case of YCrCb input the matrix is bypassed (YUVSEL). k="0" means that only the main signal is fed through to the output. k="128" means that only the inserted signal becomes visible. The mixing is done once for the luminance and once for the chrominance in the subsampled domain (4:2:2). The softmixer supports four modes that are selected by MIXOP and SMOP. Table 212: RGB operation modes
Y R 0,299 0,587 0,114 Cb = G 0,147 0,289 0,436 Cr B 0,615 0,515 0,100
MIXOP 00
SMOP 0 1 x x x
Softmix-mode Dynamic Soft-Mix (DECTWO must be set to "1") Static Soft-Mix (DECTWO must be set to "1") Only RGB/YUV path visible Only CVBS path visible (Reserved)
10 11
Fig. 222: YPbPr to YCrCb matrix (BTA) 2.3.18.1. Static Switch Mode In its simplest and most common application the softmixer is used as a static switch between YUVmain and YUVinsert. This is for instance, the adequate way to handle a DVD component signal. By using MIXOP, k is internally set to 0 or 128 respectively.
Micronas
23
For a detailed SCART signal ident analysis by the microcontroller, the fast blank monitor provides additional status information (see Fig. 224): FBSTAT: FB status at register read FBRISE: set by FB rising edge, reset by register read FBFALL: set by FB falling edge, reset by register read
k = MIXGAIN ( 31 FBLOFFST ) + 32
All necessary limitation and rounding operations are built-in to fit the range: 0 k 128. Considering MIXGAIN=3, k is obtained by:
FBLSTAT FBLRISE
0 0 0 0
1 1 0 1
1 0 0 1
0 0 1 1
0 0 0 0
k = 158 3 FBLOFFST
k limited to 0 and 128
FBLFALL FBLACTIVE
Fig. 224: Fast Blank Monitor The mixing is only controlled by FBLOFFST. In the static mixer mode as well as in the previously mentioned static switch mode, the softmixer operates independently of the analog fast blank input. 2.3.18.3. Dynamic Mixer Mode In the dynamic mixer mode, the mixer is controlled by the Fast Blank signal. The VSP 94xxB provides a linear mixing coefficient. PFBL, PG, PR, PB indicate an overflow of the corresponding ADC (upper limit: ADC=511) exceeding 5 clock cycles duration. 2.3.20. Digital 656-Input/-Output The IC decodes a digital 8bit@27 MHz data stream according to ITU.BT656 standard. Four modes are supported: Table 213: 656 modes
MIXGAIN ( FB FBLOFFST 2 ) k = ----------------------------------------------------------------------------------- + 64 2
IMODE 00
656 Operation Full ITU mode (automatic). Information about active picture is taken from data-stream. Full ITU mode (manual). Information about active picture is taken from APPLIPI, NAPPLIPI, ALPFIPI, NALPFIPI. ITU656 only data, H/V-sync according PAL/NTSC. ITU656 only data, H/V-sync according ITU656.
The dynamic mode is used for mixing which is dependent on FB input. FB is the preprocessed digitized fastblank input in the range from 0...127. FBL manipulation is done both for luminance and chrominance FBL signal. Fast blank is delay adjustable by FBLDEL in the range of 2...4 clock cycles. 2.3.19. Fast Blank Activity and Overflow Detection It is important to know whether the FBL input is used or not. Therefore a detection circuit gives information via the IC bus to the microcontroller. The circuit uses the digitized FBL as input. If it is greater than a threshold for one or five clock cycles (FBLCONF), the IC bit FBLACTIVE is set. This bit is reset when it is read by the microcontroller.
01
10 11
24
Micronas
To adjust the input to sources, which deviate from the standard, the field information may be inverted (FPOL) and the chrominance format can be chosen between unsigned and 2s complement format (CFORMAT). The polarity of H an V can be inverted by HPOL and VPOL respectively. The port selection (pin 656ioX or i656iX) is done by ITUPRTSEL. 2.3.21. Data-Slicer Two slicer working in parallel are implemented. One can be selected to slice either CC or WSS625, the other is only capable of WSS525. Depending on SERVICE, Closed Caption data ("Line 21") or WSS (Widescreen signalling) is sliced. Sliced data can be read out from IC interface (DATA_CCWSS and DATAUSWSS). The line number of the sliced data is selectable with SLNCW (CC and WSS625) and SLNRUW (WSS525). Therefore WSS and CC can be processed in different regions (e.g. CC with PAL M). The Closed Caption data is assumed to conform with the ITU standards EIA-608 and EIA-744A. WSS data is assumed to conform with ETS 300 294 (2nd edition, May 1996) for 625 lines or IEC61880 for 525 lines standards. SLSRC selects between slicing of master or slave data. Table 214: Data slicer configuration IC Commands
Configuration each Data Service CC (NTSC) XDSCLS XDSTPE SERVICE SLNCW SLNRUW DATA_CCWSS DATA_USWSS As required As required 0 16 (=line 21) x Data (Not valid) WSS625 (PAL, SECAM) x 0 1 21 (=line 23) x Data (Not valid) WSS525 (NTSC) x 2 1 x 15 (=line 20) (Not valid) Data
Micronas
25
2.3.24. Violence Protection The rating information is sent in the program rating packet of the current (sometimes future) class in the XDS data stream. If only this information is desired the corresponding XDS filter (class 01h, type 05h) should be used to suppress other data. The class/packet bytes (0105h) precede the 2 bytes rating information. Each sequence is closed by the end-of-packet byte (0fh) and a checksum. This checksum complements the byte truncated sum of all bytes to 00h. Except comparison of the received rating with the adjusted user rating threshold the micro-controller should check the parity of each byte and validate the checksum to avoid miss-interpretation of wrong received data. The IC offers some alternatives to blocking the master or slave channel completely by switching it off (see Fig. 226 on page 26). The Mosaic mode (FRCMMOD) hides details of the picture by reduced sharpness and increased aliasing. The picture looks scrambled and is less perceptible.
Warning Message
THIS PROGRAM CONTAINS VIOLENT SCENES
Blue Screen
Mosaic
Fig. 226: Possibilities of master or slave channel blocking ("warning message" from external OSD controller)
26
Micronas
2.3.25. Widescreen Signalling (625 lines WSS) In WSS mode (SERVICE="1"), no content filtering is possible. All sliced data is passed to the output registers. In this case XDSTPE selects the field number of the data to be sliced (usually XDSTPE=0 for first field). In Europe WSS (ETS 300 294) carries for instance information about aspect ratio and film-mode.
Table 215: WSS-625 bit coding (according to ETS 300 294) IIC read
D0
Group
WSS bit
b0
Code
Meaning
[0001] = Full format 4:3 [1000] = Letterbox 14:9 centre
D1 Aspect ratio
b1 [b0 b1 b2 b3] b2
[0100] = Letterbox 14:9 top [1101] = Letterbox 16:9 centre [0010] = Letterbox 16:9 top [1011] = Letterbox > 16:9 centre
D2
D3
b3
[0111] = Full format 4:3 (shoot and protect 14:9 centre) [1110] = Full format 16:9 (anamorphic)
D4
b4
0 1
Camera mode Film mode Standard PAL Motion adaptive coding No helper Modulated helper (Reserved)
D5 Enhanced services D6
b5
0 1
b6
0 1
D7 D0
b7 0 b8 1
D1
Subtitles
b9 [01] = Subtitles on active image area [b9 b10] [10] = Subtitles out of image area
D2
b10 [11] = (Reserved) 0 No surround sound information Surround sound mode (Reserved) (Reserved)
Micronas
27
[00] = 4:3 normal display format [01] = 16:3 normal display format [b1 b2] [10] = 16:9 letter box
[00] = Copying is permitted without restriction 7 [01] = No used [b7 b8] [10] = One generation of copies may be made D7 8 [11] = No copying is permitted [00] = PSP off D0 Word 2 D1 DATA_CCWSS2 Copy Control 10 [11] = PSP on, 4-line split burst on 0 D2 D3 D4 D5 D6 D7 D0 CRCCC D1 DATA_CCWSS3 D2 D3 D4 D5 Not defined D6 D7 18 19 20 11 1 12 13 14 15 16 17 [b15 b16 b17 b18 b19 b20] CRCC error check (Reserved) Analogue pre-recorded packaged medium Not analogue pre-recorded packaged medium 9 [01] = PSP on, split burst off [b9 b10] [10] = PSP on, 2-line split burst on
28
Micronas
2.3.27. Channel Mux Any input signal can be connected to master channel and slave channel independently. SELMASTER and SELSLAVE select whether CD1 (colordecoder 1), CD2, 656 decoder of soft-mixed signal is connected to master and slave. If the softmix output is used, SELSM selects between CD1 and CD2 for combination with the RGB input. Which color decoder is used as master can be found in the Table 217.
Table 217: Master input and reference for LL_PLL and automatic freerun
ARTSYNC ITUSYNC SELMASTER SELSM Signal on Master Reference for AUTOFRRN and NOSIGBM (LL_PLL operation)
0 0 0
00 01 10
x x 0 1
CD1 (parallel / serial) CD2 (parallel / serial) CD1 (parallel / serial) CD2 (parallel / serial) set AUTOFRRN=NOSIGBM=0 (ITU656)
11
SELMASTER
CD1in CD2in
1 0
delay delay
00 01 10 11
MUX
Master out
SELSM
Y
Y2RGB
RGBin
Soft Mix
Y C
00 01 10
MUX
Slave out
656in
11
SELSLAVE
Fig. 227: Channelmux
Micronas
29
2.4.2. Horizontal Prescaler The main application is the conversion of the data coming from the 40.5/20.25 MHz pixel clock domain down to the number of pixels stored in the memory (factor 2/3). Generally the number of incoming pixels can be decimated by a factor between 1 and 64 in a granularity of 2 output pixels. The horizontal scaler reduces the number of incoming pixels by subsampling. To prevent the introduction of alias distortion low pass filters are used for luminance and chrominance processing controlled by HAAPRESC (bypass, weak, strong and automatic). Fig. 230 shows the luminance characteristic. In case of automatic the filter characteristic is calculated in relation to HSCPRESC and HDCPRESC. The horizontal prescaler is controlled by HSCPRESC (fine steps from 1 to 2) and HDCPRESC (integer decimation factors 1, 2, 3, ...). For full-screen display of digital 656 input, the scaler must be bypassed (HSCPRESC=0 and HDCPRESC=0). The start of the horizontal prescaler is defined by the NAPPLIP (Not Active Pixel Per Line Input) register, the amount of pixels is defined by the APPLIP (Active Pixel Per Line Input) register.
VSYNC
Active picture
Fig. 228: Image format before memory 2.4.1. Mosaic Mode Generator The mosaicmode generator scrambles the displayed picture. The main application is the conversion of the fine input resolution to a very crude output resolution. This may be used in combination with violence protection systems (V-chip) or conditional access systems (pay-per-view). The segmentation of the picture suppresses fine details and thus makes the recognition of the picture content very vague. The input picture is divided into very few segments compared to the large amount of input pixels. The mosaicmode generator is enabled by FRCMMOD.
Y-decimation filter
3.75
5 Frequency [MHz]
6.25
7.5
8.75
10
Original
Mosaic Mode
Attenuation (dB)
10 5 0 5 10 15 20 25 30
UV decimation filter
Frequency (MHz)
Fig. 230: Y and C decimation filter characteristic for standard operation (1.5)
30
Micronas
2.4.3. Vertical Prescaler The vertical prescaler is controlled by VSCPRESC (fine steps from 1 to 2) and VDCPRESC (integer decimation factors 1, 2, 3, ...). The number of output lines after the scaling process can be controlled with the use of the ALPFIP (active lines per field input) signal. The vertical scaler allows to shift the picture content in vertical direction. The IC register NALPFIP (not active lines per field input) controls the shift in vertical direction. The delay elements needed for integer decimation are shared with the motion detector. In case of active motion detection (MOTON=1), only weak filtering or line-dropping for master channel is possible. An optional prefiltering can be disabled by VAAPRESC. (VAAPRESC enables or disables an anti alias filter by adding a zero in the Y channel). VPKPRESC allows to adjust the amount of vertical peaking. The chrominance may be shifted one line upwards by VCRPRESC. This may give a better picture for VCR sources. Prescaler can be bypassed by VPREBYP to overcome limited capacity of line delays in slave channel (usable for stockticker mode). 2.4.4. Filmmode Detection Image sequences occur at various picture rates. Source material exists in 24p, 25p, 30p, 50i and 60i Hz formats, whereas video is broadcasted at 50 and 60 Hz, respectively. If the content is shot and broadcasted at 50i Hz or 60i Hz, it is called video mode. If the video is shot at 24p, 25p or 30p Hz and broadcasted as 50i or 60i Hz, it is called film mode. For video mode and film mode different scan rate conversion algorithms are required. Therefore the information about video mode or film mode is necessary to adapt the processing. The information is provided by the FILMMODE signal. Film mode means, that the signal source was progressive e.g. 25p Hz, which was translated into a e.g. 50i Hz interlaced signal (2-2 pull down). Therefore two consecutive fields called A and B have the same motion phase. Normally field An and field Bn belong to the same phase. But it is also possible, depending on the translation process, that field Bn-1 and field An belong to the same motion phase (FILMMODE=1 or 2). The translation process is different for 50i or 60i Hz output signals. For 60i Hz the signal looks like: An Bn An Bn+1 An+1 Bn+2 An+2 Bn+2 An+3 Bn+3 etc. This is also called 3-2 pull down. So always three and two fields belong to the same motion phase (FILMMODE=3, 4, 5, 6 or 7). For video mode FILMMODE = 0. Fig. 231 and Figure 232 on page 32 show the film scanning process for the 2-2 (3-2) pulldown.
Micronas
31
Fa
Pa
A0a
odd lines
Fa
Pa
A0a
odd lines
odd+even lines
B0a
even lines
odd+even lines
B0a
even lines
Fb
Pb
A1b
odd lines
A1a Fb Pb
odd lines
odd+even lines
B1b
even lines
B1b
odd+even lines even lines
Fc
Pc
A2c
odd lines
A2b
odd lines
odd+even lines
B2c
even lines
Fc
Pc
B2c
even lines
Fd
Pd
A3d
odd lines
odd+even lines
A3c
odd lines
odd+even lines
B3d
even lines
B3c Fd Pd
even lines
A4d
odd+even lines odd lines
B4d
even lines
Fig. 232: Scan process from 24p to 60i (3-2 pulldown) 2.4.5. Motion Detection for Scan-Rate Conversion The motion detection calculates a motion value for each pixel. The motion values are stored in the main memory block and used for the scan rate conversion. The motion detection works by comparing different fields of the input signal. 2.4.6. Global Motion and Global Still Detection The result of the global motion detection block are IC readable signals GMOTION and GSTILL. GMOTION (GSTILL) equal zero means, the complete picture is not moving (not still), GMOTION (GSTILL) equal one means, there is motion in the picture or the complete picture is moving (there is a still picture). These values are used internally to switch between different scan rate conversion algorithms. They may additionally be used, to control parameters adaptively per software, e.g. noisereduction. When one of the global motion and still read registers contains updated data which was not read so far, GMDSTATUS is set. GMDSTATUS is reset when read.
32
Micronas
2.4.7. Letterbox Detection A drawback of wide screen 16:9 TV sets are the black bars at the left and the right side on the screen, if displaying a 4:3 source on a 16:9 screen with correct aspect ratio. In case of letter box source material, black bars at the top and bottom also exist. With the help of an expansion algorithm it is possible to expand the letter box picture vertically and horizontally in such a way, that the letter box picture will fill the complete screen without loosing information. To do so, the information about the active part of the letter box picture is necessary. Active part means the information about the first active line and the last active line of the letter box picture. The figure below shows the principle of this idea.
Hardware (940x) LBSLAA measurement part LBELAA LBFORMAT LBSUBTITLE LBTOPTITLE zooming parameters horizontal and/or vertical Resizing
Software
controller part
YUVin
YUVout
2*LBVWSTLO
2* LBVWENDLO
4*LBHWST 4* LBHWEND
Fig. 235: Measurement windows Fig. 233: Handling of letterbox pictures on 16:9 tubes As digital 656input data is already in 13.5 MHz format, no downsampling should be used (LBSUB=0). For CVBS, YUV and RGB signals (if DEC2=1) a downsampling of 1.5 (LBSUB=2) is required. In principle the input picture is separated in one upper and one lower part. The measurement windows are defined by the parameters LBVWSTUP, LBVWENDUP (upper vertical measurement window), LBVWSTLO, LBVWENDLO (lower measurement window) and LBHWST, LBHWEND (horizontal measurement window). Note: A controller software and its description is available upon request.
The WSS (Wide Screen Signal) signal contains some information about the picture format (4:3 or 14:9 or 16:9), but not all existing formats are covered and not all signals contain WSS. Therefore, it is necessary a separate algorithm, which delivers the necessary information. The Fig. 234 on page 33 shows the concept of the letter box detection algorithm. One part of the algorithm is dedicated hardware and located in the VSP 94x5B, another part is software and located in the RAM of the TV microcontroller. The part located in VSP 94x5B is called measurement part. The measurement part delivers 5 signals to the controller part. Based on the delivered information the controller part calculates an expansion and a vertical pan factor and sends these values back to the VSP 94x5B for manipulation of the video signal. The IC bus parameter LBMASLA can be used to switch between the master and slave channel for the letter box analysis.
Micronas
33
2.4.8. Preframe Generator The preframe generators task is to fill the memory with a colored background before storing of decimated pictures into the memory. The parameter FRC_BGND enables the preframe generator. The color is given by the parameters YBORDER, UBORDER and VBORDER. The preframe generator is able to add up to 30 active pixels with background color at the end of every picture line. The number of pixels to be added is calculated with the use of a modulo 16 operation applied to the number of input pixels APPL. Additionally with the parameter MPFBPR (multi picture force background pixels right) up to 3 blocks of 16 colored pixels can be appended to the input picture (or 32 colored pixels if DISPMODEM is "0", "1", "6" or "7". 16 is always valid for slave channel). The parameter MPFBPL (multi picture force background pixels left) with a resolution of 2 pixels allows to overwrite 0...62 pixels of the active picture content from the left of the picture. In vertical direction up to 15 lines can be appended to the active area of the input picture colored with background color. This is controlled via MPFBLB (multi picture force background lines bottom). In vertical direction up to 15 lines of the active area of the input picture can be overwritten with background color. This is controlled via MPFBLT (multi picture force background lines top). Where 0 means that no lines are appended and 15 means that 15 lines are appended with background color. Fig. 237 on page 34 gives an overview of the possible adjustments.
PANATV
PANATV
LBSLAA=0 LBFORMAT=0
this is a letter box
LBSLAA LBFORMAT=1
this is a letter box
LBELAA=0
LBELAA
PANATV
PANATV
LBSLAA LBFORMAT=1
LBELAA
LBELAA SUBTITLE=1
APPL MPFBPL
MPFBPR=0 MPFBPR=1 MPFBPR=2 MPFBPR=3
MPFBLT
MPFBLB
34
Micronas
(decimated)
Memory Column
mod(APPL,16) mod(APPL,32)
Background Generator
frame in memory
APPL (decimated)
mod(APPL,16)
Memory Row
2*ALPF (decimated)
Memory Column
2*ALPF (decimated)
Memory Column
Micronas
35
2.4.10. Noise Reduction The Fig. 239 shows a block diagram of the motion adaptive temporal noise reduction. The structure of the temporal motion adaptive noise reduction is the same for luminance as for chrominance signal. Noise reduction is enabled by NRON.
Ydelay_field Ydelay_frame Yin Ydelay_field Ydelay_frame TNRMD4Y TNRABS TNRCLC UVin UVdelay_field UVdelay_frame TNRNR4C TNRSxC TNRSEL
Motion Detection C
6
TNRNR4Y
Motion Detection Y
6
LUT Y
Yin
Ky
Noise Reduction Y
Yout
TNRCLY
TNRSxY NRON
LUT C
UVin Kuv
Kc
Noise Reduction C
UVout
Depending on the motion in the input signal, the K-factor Ky (Kuv) is adjustable between 0 (no motion) and 15 (motion) by the motion detector. The K-factor for the chrominance filter can be either Ky (output of the luminance motion detector, TNRSEL=0) or Kuv (output of the chrominance motion detector, TNRSEL=1). The delay of the feedback path is a field or frame delay (TNRNR4YM, TNRNR4CM). The motion detector for master channel of luminance and chrominance can be field or frame based (TNRMD4YM). The recursive filtering should be set to the same algorithm (TNRNR4YM, field- or framebased filtering). The chrominance motion detection uses always the delay of the noise reduction (TNRNR4CM). For slave channel, delay of motion detection and noise reduction can not be selected separately for luminance and chrominance. TNRNR4YS selects whether field or frame delay is used.
Table 219: Allowed combinations for Master NR Y Noise Reduction Field based Field based Frame based Frame based C Noise Reduction Field based TNRMD4YM=1 Frame based Field based TNRMD4YM=0 Frame based TNRNR4YM=0 TNRNR4YM=1 Settings Y C uses C Motion Detection TNRNR4CM=1 / TNRSELM=1 TNRNR4CM=0 / TNRSELM=1 Not available TNRNR4CM=1 / TNRSELM=1 TNRNR4CM=0 / TNRSELM=1 TNRNR4CM=0 / TNRSELM=0 C uses Y Motion Detection TNRNR4CM=1 / TNRSELM=0
36
Micronas
Table 220: Allowed combinations for Slave NR Y Noise Reduction Field based Field based Frame based Frame based C Noise Reduction Field based Frame based Not allowed Field based Frame based TNRNR4YS=0 TNRSELS=1 TNRSELS=0 Settings Y TNRNR4YS=1 C uses C Motion Detection TNRSELS=1 C uses Y Motion Detection TNRSELS=0
The output of the motion detector is weighted using the parameters TNRCLC and TNRCLY. The look-up table input value range is separated into 8 segments. It is possible to define a predefined curve characteristic for each segment. The curve characteristics can be programmed by the parameters TNRYSx for luminance and TNRCSx for chrominance. The curve-start is defined by TNRYSS (TNRCSS) at the end of the last segment. The overall curve is now constructed by connecting the end of segment 6 to the beginning of segment 7 and so on. Negative values of Ky (Kuv) are not possible and clipped to zero. A continuous mapping of 64 motion values to 16 Ky (Kuv) values is the result.
TNRSx=0000
TNRSx=0001
TNRSx=0010
TNRSx=0011
TNRSx=0100
TNRSx=0101
TNRSx=0110
TNRSx=0111
TNRSx=1000
segment 4 segment 5 segment 6 segment 7 Ky/Kc segment 0 segment 1 segment 2 segment 3 15 14 13 12 11 10 9 8 7 6 5 4 3 2 0001 1111 1111 0100 0100 0100 0000 0000 1 0 0 4 8 12 20 28 36 48
TNRSx=1001
TNRSx=1010
TNRSx=1011
TNRSSY, TNRSSC
TNRSx=1100
TNRSY , TNRSC 64 motion
TNRSx=1101
TNRSx=1110
TNRSx=1111
Micronas
37
2.5.1.1. Vertical Panorama Mode For the adjustment of the expansion process, the picture is divided into 5 segments. For each of these segments the increment value for the expansion factor can be defined separately. Each end of a segment can be defined individually. For every segment an increment value can be defined (VINC0...VINC4) which indicates the amount of decimation/expansion. One LSB is equivalent to an offset of 0.125 to VSCPRESC per lines. This means that with VINC, VSCPRESC is altered in the range from -32...31.875 per line. The segments (equal or unequal sizes) are distributed among the number of lines available. The first four segments are defined by (VSEG1...VSEG4). The last one goes from VSEG4 until the end of the picture.
31.875 VINC0 VINC1 VINV2 0 VINC3 VINC4 -32 0 VSEG1 VSEG2 VSEG3 VSEG4 max. output lines
256 Interlace output (FMODE=0) 8192 8900 256 Progressive output (FMODE=1) Field-jam mode 8192 16383 8192
240 i 480i/480p
Panorama Lens
7050 58 115 173 230 128 64 0 -64 -128 48 96 144 192 -128 -64 0 64 128 48 96 144 192 128 64 0 -64 -128
38
Micronas
2.5.2. Horizontal Postscaler After the main memory, the display processing is performed using a different clock.The conversion to the display clock is done by an interpolation filter. This can be used for horizontal expansion in the range of 1...4 in steps of 2 pixels (HSCPOSC). Due to increased clock frequency in the backend part, the realized horizontal scaling factor depends on backend clock frequency.
Usually (36 MHz operation), the horizontal expansion factors result as 0.75...16. This ensures that the factor 0.75 gives no loss of resolution (to show a 4:3 picture on a 16:9 tube). When using DS656 output, neither horizontal compression nor horizontal panorama is possible due to 27 MHz clock. Because of the nonlinear characteristic and integer number of pixel, sometimes different HSCPOSC values result in the same decimation factors. Table 223: Horizontal expansion factors
INC_VAL
HSCPOSC
16 1.33 1
16 1.33 1
12 1 0.75
HSEG1
HSEG2
HSEG3
HSEG4
max.
Horizontal Postscaler
4095 3
0.75
1000
2000 HSCPOSC(IC)
3000
4000
Micronas
39
HSCPOSC HSEG1 HSEG2 HSEG3 HSEG4 HINC0 HINC1 HINC2 HINC3 HINC4 HORWIDTH
3999 96 192 288 384 472 492 0 20 40 960 Fig. 246: Stock-ticker application in FSM mode 2. SSC1 mode (Split-Screen): In split-screen mode, two pictures can be shown side by side. Alternatively, a multi-PiP display with two live sources is possible. Both channels are displayed with field based upconversion algorithms. 3. SSC2 mode (Split-Screen): Same functionality like SSC1 mode. In this case only the memory configuration is different. This enables Joint Line Free Display of 50i and 60i input sources at 50/60p output display frequency.
2.5.3. Application Modes A still field can be displayed using FREEZE command. Dependent on the desired picture arrangement, an appropriate display (or application) mode has to be chosen. One of 9 display modes can be chosen by DISPMODE: 1. FSM mode (Full-Screen-Mode): In Full-screenmode, two independent asynchronous input channels (master and slave channel) are processed. The master channel is displayed with a frame-based upconversion algorithm. The slave channel shows a high resolution PiP.
Fig. 247: SSC1 mode 4. SPS mode (SnaP-Shot): In snap-shot-mode, a still field can be hidden in the memory. A switch between running picture and still field can be done. This may be used to store a picture (e.g. displayed phone number). This picture can then be shown at any time later. Before snapshot, a frame-based display is possible, after snapshot a field-based display is possible only. The slave channel shows a high resolution PiP.
By means of PIXPLINS, the slave picture size can be modified to enable stock-ticker mode. In this case, a stock-ticker from one channel is displayed in another channel
5. PCE mode (PC extern mode): In PC extern mode, a PiP is generated, which is synchronized to an external signal. E.g. when a PC or HDTV signal is directly connected to the backend IC, the PiP can be overlaid to this.
40
Micronas
6. PCF mode (PC Full Screen mode): In PC fullscreen mode, a PC signal is shown as master channel. No PiP is available. The display raster is locked to the PC signal or is freerunning to achieve a decoupling between input and display (e.g. to display a XGA signal on a VGA screen). 7. PCP mode (PC + PIP mode): The PC PiP mode is equal to the PCF mode, but the displayed picture size for master is smaller in order to have memory capacity for the slave channel.
ML a)
SL
MS MS
MS MS MS
MS SL MS
ML MS MS f)
MS MS MS MS MS MS MS MS MS MS MS MS SS SS b) SS SS SS SS SL SS SS SS
ML SL MS
MS g) MS
ML SS SS
MS MS MS ML MS c) MS SL MS MS
ML
SL h)
MS MS MS MS SL d) ML SS SS
SS
SS
www.micronas.com
SS ML SS SS SS
SL SS SS SS i)
Fig. 248: PCE mode 8. MUP1 mode (Multipicture mode 1): MUP1 is the recommended multi-picture mode for most applications. It is possible to show up to 2 live pictures. If interlace output, the master live picture should not be decimated in vertical direction to avoid joint-lines. The slave picture size is limited to 256 pixels x 106 lines and is jointline-free. The display is framebased in master and slave with high resolution. 9. MUP2 mode (Multipicture mode 2): Multi-picture display with up to two live and manifold still pictures. The display is field-based without restriction in picture size. Jointlines in live-pictures are not rejected. The display is only field-based.
e)
ML
SL
ML SL SS SS SS SS
k)
ML= master live // MS= master still // SL= slave live // SS= slave still
Micronas
41
This configuration can be achieved by horizontal expansion of slave picture over whole screen by postscaler. A slightly reduced horizontal resolution in slave channel occurs. Master jointlinefree for progressive output. Jointline visible in master channel, when interlace output
FSM (0)
SPS (1) SSC1 (2) MUP1 (3) MUP2 (4) PCE (5) PCF (6) PCP (7) SSC2 (8)
1 live / 1 shot 2 2 1
1 1 2 1
3 2 3 1 3
2 1 2 1 2
42
Micronas
Table 227: Capabilities of display modes Mode Input Master1) 50i Input Slave 50i 60i PC signal 60i 50i 60i PC signal SSC1 50i 50i 60i PC signal 60i 50i 60i PC signal SSC2 50i 50i 60i PC signal 50i 60i PC signal 60i 50i 60i PC signal 50i 60i PC signal 120i 60p, (60i) 100i 50p, (50i) 120i, 60p, (60i) 100i, 50p, (50i) 120i, 60p, (60i) Output Display2)3)4) 100i, 50p, (50i) MC Jointline Free Strong flickering in slave Master channel is joinlinefree only, if NOT decimated or expanded vertically. Strong flickering in slave SC Jointline Free Comment
FSM/SPS/ MUP1
Micronas
43
MC Jointline Free
SC Jointline Free
Comment
MUP2
100i
60p, (60i)
120i
PC signal
50i, 60i
50i, 60i
50i=625 lines / 50 Hz interlaced (normal PAL), 60i=525 lines / 60 Hz interlaced (normal NTSC) 50p=625 lines / 50 Hz progressive, 60p=525 lines / 60 Hz progressive (e.g. progressive YPbPr from DVD) in brackets belong to single-scan version,
2) Values 3) 4)
No single-scan output possible with double-scan input // Please refer to Table 233 on page 53 for upconversion details
44
Micronas
SPS
MC SC
SSC
MC SC
MUP1
MC SC
MUP2
MC SC
PCE
MC SC
PCF
MC SC
PCP
MC SC
Frame rate conversion Motion adaptive Simple frame based Simple field based Image analysis Motion adaptive temporal noise reduction Field Frame
Film mode detector Global motion detector Motion detector Image Scaler DCI V pre-scaler (linear) V post-scaler (nonlinear)
1)
1)
2.5.4. Write/Read Positioning The picture position, where the picture is written into the memory is given by WRPOSX for horizontal and WRPOSY for vertical direction. The accuracy of positioning is one line in vertical direction. The slave can be positioned horizontally in 16 pixel, whereas the master is positioned only in MUP-modes with 16 pixel resolution. All other modes allow only bigger steps. The picture position, where the picture is read out of the memory is given by RDPOSX for horizontal and RDPOSY for vertical direction. The accuracy of reading is one line in vertical direction, whereas in horizontal direction the accuracy is 2 pixel (master) or 32 pixel (slave)
2.5.5. Multi-Picture Display For the programming of a multi picture display it must be considered that the addressing of horizontal positions is restricted to a raster of 16 pixels. Therefore only a few configurations have an exact symmetrical structure. The following figures Fig. 250 and Fig. 2 51 on page 46 show two alternative configurations for 9 x 1/9 and 16 x 1/16 multi picture displays, respectively. The Fig. 252 on page 46 deals with the configurations for 24 x 1/24 and 36 x 1/36 multi picture displays. Configurations with other picture sizes or combinations of different picture sizes are also possible, when the mentioned addressing restrictions are considered. Corresponding considerations must be done for 16:9 picture tubes. In Fig. 250 on page 46 symmetrical borders on the left and right side are achieved for a border width of 32 pixels when the active line length is enlarged to 720 pixels.
Micronas
45
0 3 6
48 208
1 4 7
208 720
2 5 8
208 48
0 6 12 18 24 30
32 96
1 7 13 19 25 31
96
2 8 14 20 26 32
96
3 9 15 21 27 33
96
4 10 16 22 28 34
96
5 11 17 23 29 35
96 64
704
0 3 6
64 192
1 4 7
192 704
2 5 8
192 64
0 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24
32 128 128 128 704 128
128
32
Using 704 active pixels the border width becomes 64 pixels when symmetry is desired.
0 4 8 12
32
160
1 5 9 13
160 704
2 6 10 14
160
3 7 11 15
160 32
0 4 8 12
64 144
1 5 9 13
144 704
2 6 10 14
144
3 7 11 15
144 64
46
Micronas
2.5.6. PiP Processing The PIP engine performs the upconversion of the slave data path. For a multitude of modes joint line free display is possible. In Table 229 and Table 230 on page 48) all supported display modes are listed. Table 229: Supported interlaced display modes DISPMODE FSM (0) SPS (1) MUP1 (3) PCE (5) PCP (7) SSC2 (8) 100 101 110 111 SSC1 (2) 000/001/010 011 100 101 110 111 MUP2 (4) 000/001/011/101/111 010/100/110 STOPMOS 001 010 011 Display Raster AA*B*B, intra field interpolation AABB, field repetition () AABB, field repetition () X BBBB, field repetition AA*B*B, intra field interpolation AABB, field repetition AAAA, field repetition BBBB, field repetition Displayed Fields ABAB, frame repetition AABB, field repetition AAAA, field repetition Joint Line Free X
Micronas
47
A+B, A+B, frame repetition A+A, B+B, line doubling A+A, A+A, line doubling, field repetition A+A*, A+A*, intra field interpolation, field repetition B+B, B+B, line doubling, field repetition B+B*, B+B*, intra field interpolation, field repetition
A+A*, B*+B, intra field interpolation A+A, B+B, line doubling A+A, A+A, line doubling, field repetition A+A*, A+A*, intra field interpolation, field repetition
101 110
B+B, B+B, line doubling, field repetition B+B*, B+B*, intra field interpolation, field repetition
48
Micronas
2.5.7. Basic Upconversion Concept The upconversion creates a temporary progressive output image. This progressive output is used afterwards for vertical scaling. The scaled image now can be interlaced again or remains progressive. The upconversion itself can be divided into three steps. In the first step the decision is made which of the two available motion phases (motion phase from field A or from field B) should be displayed. This process is called motion phase selection. The original lines from the selected field are copied into the progressive output. In a second step the missing lines for the progressive output are created. Several interpolation methods are available. Now, the progressive image is ready to be scaled vertically. After the scaling the decision about the line scan pattern is made. Interlaced outputs or progressive outputs are possible. The scan rate conversion algorithm concept is based on the assumption that the video input signal can be in
IC: DYNOPSMXX
field based switch by global motion detector IC: GFBON
XX = GM = Global Motion XX = GS = GLOBAL STILL XX = V = VIDEO XX = P0-1 = FILM PAL PHASE 0-1 XX = N0-4 = FILM NTSC PHASE0-4
Micronas
49
FRAME/FIELD
FRAME FIELD A odd lines
The figure below describes the data flow in the VSP 94x5B. The input fields are stored in the internal memory. Maximum two fields (three fields in case of inverse 3-2 pull down) are available for upconversion. The generated output fields belong to four different phases in case of interlaced output or two different phases in case of progressive output, respectively. The delay between the input field and the corresponding output fields depends on the OPDEL parameter. If OPDEL is not set correctly, a static jointline may occur in the picture. Two input fields are used to generate one output field or frame. Therefore first an internal progressive frame is generated. The motion phase of this internal progressive frame is programmed by the parameter DYNOPMSXX (MS - Motion Sequence value, XX is the abbreviation as defined in Fig. 252 on page 46).
Content of picture
An
Bn
Input fields
Phase i
Phase i
Output field
B B
The interlaced input signal (e.g. 50 Hz PAL/SECAM or 60 Hz NTSC) is composed of a field A (odd lines) and a field B (even lines). An - Input signal, field A at time n, Bn - Input signal, field B at time n The field information describes the picture content. The output signal, which could contain different picture contents (e.g. field A, field B), can be displayed with the display line-scanning pattern or . Examples: (An, ) - Output signal, field A at time n, displayed as line-scanning pattern , (An, ) - Output signal, field A at time n, displayed as line-scanning pattern , ((A*)n, ) - Output signal, field A raster interpolated into field B at time n, displayed as line- scanning pattern (An Bn-1, +) Output signal, frame AB at time n, displayed as progressive line-scanning pattern +
The interpolation of the missing lines for the internal frame can be programmed by the parameters DYNOPITXX and DYNOPSMXX. The first parameter defines the Interpolation Type (e.g. linear filter) and the second enables the Soft Mix method. Soft Mix means using the motion values from the Motion Detector to switch soft between the programmed Interpolation Type mode and the local fall back Interpolation Type Frame display. The Line Scan Pattern of the generated output fields are programmed using the parameter DYNOPLSXX.
50
mau03
even lines
Micronas
2.5.8.1. Motion Phase (MotPh) and Motion Sequence (MotSeq) The input signal usually contains two different fields, an A field with a line scan pattern (Aa) and a B field with b line scan pattern (Bb). The field content (A or B) called motion phase (called MotPh) and the line scan pattern (a or b) are separately handled. E.g. the content of an input Aa field can be displayed as Aa or can be displayed in a b line scan pattern Ab. The formerly coupling of A/a and B/b is now broken. The continuous output signal can be defined as a sequence of motion phases. The worst case is the
Table 231: MotSeq and LspSeq description (xx is placeholder for the specific dynamic operation case) 100/120 Hz Interlaced 2V/2H Output Phase 0123 Motion Sequence (MotSeq) DYNOPMSxx 0 - MotSeqAAAA 1 - MotSeqBBBB 2 - MotSeqAABB 3 - MotSeqABBA 4 - MotSeqBBAA 5 - MotSeqBAAB 6 - MotSeqABAB 7 - MotSeqBABA Line scan pattern sequence (LspSeq) DYNOPLSxx 0 - LspSeqAAAA 1 - LspSeqBBBB 2 - LspSeqAABB 3 - LspSeqABBA 4 - LspSeqBBAA 5 - LspSeqBAAB 6 - LspSeqABAB 7 - LspSeqBABA AAAA BBBB AABB ABBA BBAA BAAB ABAB BABA 50/60 Hz Progressive 1V/2H 50/60 Hz Interlaced 1V/2H 50/60 Hz Interlaced 1V/1H Phase 02 AA BB AB AB BA BA AA BB (progressive) (progressive)
Micronas
51
2.5.8.4. SoftBlend Enable Switch (SoftBlendEna) In still areas of the input fields the upconversion uses the SoftBlend functionality to switch soft and pixelwise the interpolation type from the adjusted IpolType to the IpolTypeAB. The SoftBlend feature can be enabled by the SoftBlendEna switch. If disabled, the selected IpolType is used for the whole picture. The soft blend switch can be adjusted by a list of parameters including the key word DYNOPSM followed by the indicator of the dynamic operation case (e.g. DYNOPSMGS for the SoftBlendEna for the global still case). 2.5.8.5. Filmmode Handling The IC bus read register FILMMODE consists of 4 bits. The 3 LSBs indicate the current film type and phase, the MSB indicates whether the 3 LSBs were generated synthetically inside the film mode detector (phase flywheel mode on unsecure input sources) or if the film mode detection result was securely detected (see chapter 2.4.4. "Filmmode Detection" on page 31 for details). This signal is used as input for the Upconversion-Modified Filmmode Generator (UMF). The generator is controlled by the IC bus FmForce and FmForceTrig signals and has as output a modified filmmode signal. Three general possibilities exist to modify the incoming FILMMODE signal. Please refer to Table 233 on page 53). FmForce = 15 disables the UMF and uses the original unmodified FILMMODE signal for further processing. It is also possible to discard the original information and to generate (force) an artificial filmmode signal. This is helpful for test purposes or when having film type and phase information available from external. Three different film types can be forced: Video mode (formerly called Camera mode), 2-2 pulldown mode (FM PAL) or 3-2 pulldown mode (FM NTSC). Adjusting 2-2 pulldown mode the two film phases AnBn (FmForce = 1) or BnAn+1 (FmForce = 2) can be adjusted. Forcing a mode requires to set FmForceTrig. Switching to FmForce = 37, the film phases 0, 1, 2, 3 and 4 are generated cyclically starting with the adjusted FmForce. To change the 3-2 pulldown mode film phase again, FmForce must be changed and at the same time FmForceTrig must be set (and released). A usually used modification restricts the FILMMODE signal to selected film types. It is possible to limit the allowed film types only to Video mode, to 2-2 pulldown mode, or only to 3-2 pulldown mode. A combination of two modes can also be selected.
52
Micronas
Table 233: Upconversion modified film mode generator Fm Force 0 1 2 3 4 5 6 7 8 9 10 11 12 13 14 Allow all modes 15 Use unmodified film mode detector result Allow VIDEO only Allow FM PAL only Allow FM NTSC only Allow VIDEO and FM PAL only Allow VIDEO and FM NTSC only Allow FM PAL and FM NTSC only If secure detection result, synchronize phase, otherwise use internal phase generator Force FM NTSC UMF Output Mode Force VIDEO mode Force FM PAL With phase AnBn With phase BnAn+1 Starting with phase 0 Starting with phase 1 Starting with phase 2 Starting with phase 3 Starting with phase 4 Phase
For all modes FmForce = 814 the following rules are valid: Once one of the allowed film types is detected, all excluded film types cannot be reached anymore (until switching to other FmForce values). If the FILMMODE signal indicates an allowed film type and the detection result is secure, the original film phase is used. If the FILMMODE signal indicates any excluded film type, the last detected and allowed film type is hold. If the FILMMODE signal indicates unsecure in any film type, the last detected and allowed film type is hold.
Directly after activating one of the modes FmForce = 814 described above, one of the two scenarios can occur: The current UMF output film type already is one of the allowed film types. In this case the UMF output is transfered seamless to the actual mode. The current UMF output is one of the film types which are not allowed. Now the original FILMMODE signal is used unmodified, as long as the FILMMODE signal does not indicate one of the allowed film types. To avoid undetermined behavior after switching, it is recommended to use a two step switching approach. First switch to FmForce = 0 to force Video mode (to establish a stable state), then switch to your desired mode (e.g. FmForce = 11).
Micronas
53
Table 234: DYNOPYYXX description YY MS IT SM LS GM GS V P0 P1 N0 N1 N2 N3 N4 XX Description Motion Sequence value Interpolation Type value Soft Blend Enable value Line Scan Pattern value Global Motion Fall Back mode Global Still Fall Back mode Video mode 2-2 pulldown mode (FM PAL) (phase 0) 2-2 pulldown mode (FM PAL) (phase 1) 3-2 pulldown mode (FM NTSC) (phase 0) 3-2 pulldown mode (FM NTSC) (phase 1) 3-2 pulldown mode (FM NTSC) (phase 2) 3-2 pulldown mode (FM NTSC) (phase 3) 3-2 pulldown mode (FM NTSC) (phase 4)
54
Micronas
The GMotFlag indicator is the combination of the parameters GFBON and GmFmFbEna and the global motion indicator bit GMOTION (Table 236). Table 236: GMotFlag combination GMOTION 0 1 1 1 1 GFBON x 0 1 1 1 GmFmFbEna x x 0 0 1 UMF x x 0 1...15 x GMotFlag 0 0 1 0 1
In the same way the GStillFlag is combined. See Table 237 for details. Table 237: GStillFlag combination GSTILL 0 1 1 1 1 GStillEna x 0 1 1 1 GsFmFbEna x x 0 0 1 UMF x x 0 1...15 x GStillFlag 0 0 1 0 1
Micronas
55
2.5.8.7. Inverse 3-2 Pull Down For progressive output sequence with single V frequency a special mode for displaying film mode sources without interpolation and in frame resolution can be used. This mode is called inverse 3-2 pull down mode. To enable this feature some restrictions are valid. Vertical expansion or decimation can not be used. For special exceptions, please refer to applicationnote. Vertical locked mode must be used. Horizontal locked mode must be used and LL-PLL must be in locked condition (STABLL=1). The inverse 3-2 pull down mode can be activated by the IC bus register FJMode. The motion sequence (MotSeq), the line scan pattern (LspSeq), the interpolation type value (IpolType), the softmix enable switch (SoftMixEna), and the inverse 32 pull down position switch (FJPos) must be programmed by IC bus in the dynamic operation table (DynOpTable). 2.6. Display Processing The display processing part contains an integrated triple 9-bit DAC and performs digital enhancements and manipulations of the digital video component signal. Fig. 256 shows the block diagram of the display processing part. 2.6.1. Digital Contrast Improvement (DCI) There is a strong demand on picture contrast, but each video display has a limited dynamic range. Especially the flat display panels like LCD and PDP (plasma display panel) have a lower dynamic range compared to CRT. The picture contrast can't be increased by simply increasing the video signal amplitude, because exceeding the display dynamic range causes unwanted effects. An efficient use of display dynamic range depending on the picture contents increases picture contrast and quality. The basic function of DCI is to analyze the picture framewise and adjust the parameters of a dual segment transfer function depending on the analysis results for the best subjective picture quality. Therefore, each image frame is analyzed for three different characteristics. The image average brightness, the dark sample distribution, and the frame peak value. These parameters control the transfer function. The dual segment transfer function consists of two segments with an adaptive pivot point. A lower segment for dark samples and an upper segment for light
56
Micronas
samples. The gain of the lower segment is adaptive to the dark sample distribution. A higher gain results from fewer dark samples and a lower gain from a higher number of dark samples. The gain is limited in the range as given below. The gain of the upper segment is adaptive to the frame peak value. It is computed in the way that the detected peak value lower than the nominal, will be moved to nominal peak value. If the detected peak value is equal or higher than the nominal peak value then, a gain of 1.0 is used (no change). The computed theoretical gain is limited then to a max-
Curtain Generator
Pattern Generator
LTI
Coarse Delay
Master
DCI CTI
3x DAC
ITU656 Encoder
LTI
Slave
CTI
Fig. 256: Block diagram of display processing Fig. 257: DCI basic function
Y_OUT [IRE] 100 90 80 70 60 50 40 30 20 Minimum pivot point Y_IN [IRE] 100 Maximum pivot point 40 IRE Pivot point is adaptive to average brightness Segment_2 gain is adaptive to frame peak value Segment_1 gain is adaptive to dark sample distribution
Each image frame is analyzed for three different characteristics like average brightness, dark sample distribution and peak value. The sensitivity of the average brightness analysis is determined by the setting of SENSWS. A higher value reduces and a lower value increases the sensitivity. The sensitivity is also a function of the analyzed picture size which is defined by analysis window settings. If a desired sensitivity is adjusted and after that the analyzed picture size is changed, then the sensitivity will also be changed. If it is desired to keep the same sensitivity for different analysis window settings, then the SENSWS value has to be matched by linear interpolation to the new size (see the example given below).
7 00 7 20 30 40 50
7 IRE
60 70 80 90
Micronas
57
The contribution of peaks with small size to the total frame peak value is controlled by PEAK_SIZE. A lower value for PEAK_SIZE increases, and a higher value reduces the contribution of peaks in the image.
The sensitivity of the dark sample distribution analysis is determined by the setting of SENSBS. A higher value reduces and a lower value increases the sensitivity. The sensitivity is also a function of the analyzed picture size which is defined by analysis window settings. If a desired sensitivity is adjusted and after that the analyzed picture size is changed, then the sensitivity will also be changed. If it is desired to keep the same sensitivity for different analysis window settings then the SENSBS value has to be matched by linear interpolation to the new size as described for SENSWS. Dark sample distribution analysis considers for the measurement the size of dark areas related to the total size of analysis window so that small dark parts in the image do not influence the measurement too much. The sensitivity to small dark areas is adjustable by DYTC. Lower value for DYTC means high sensitivity and higher value low sensitivity. The basic function of average brightness analysis is the measurement of light sample and dark sample contribution difference. The contribution of light sample is weighted by LSWF value. The LSWF setting determines which picture will be considered as light and which as dark. A lower value for LSWF reduces and a higher value increases the measured result of average brightness. LSWF=0 turns the contribution of light samples off and every picture will be considered as dark. SCANID gives information about interlace/progressive input and should be set equal to FMODE. Image analysis is done frame by frame. Depending on the analysis results a suitable transfer function is used for video processing. The analysis results are filtered with a time constant determined by the settings ABFTC for average brightness, DSFTC for dark sample distribution and PK_FTC for peak analysis. A shorter time constant results from a higher setting and a longer time constant from a lower setting for XX_FTC. ERRORCOMP is used to increase the analysis precision in dark sample distribution part by taking the remainder value in temporal register at the end of analysis into consideration. The value of ERRORCOMP is determined by the settings of SENSBS and DYTC. The equation below should be used to determine the proper value.
58
Micronas
2.6.2. Adaptive Peaking The luminance peaking filter improves the overall frequency response of the luminance channel. It consists of two filters working in parallel. They have high pass (HP) and band pass (BP) characteristics. The peaking filter clock frequency is CLKB36 (usually 36 MHz). The maximum signal frequency of the picture stored in the memory is 6.75 MHz. Due to a peaking after postscaler, the frequency range of the peaking filter varies with the expansion factor of the postscaler.
APK2BP
Peaking
APK1BP
Table 238: Peaking filter frequencies Expansion Factor of Postscaler Corresponding Frequency of Input Signal for Center Frequency Bandpass (BP) 0.75 ... 1 ... 3 2.66 MHz ... 3.55 MHz ... 10.65 MHz Highpass (HP) 6.75 MHz ... 9 MHz ... 27 MHz
Amount of highpass peaking Denoising
Damping
Max.
APK2HP
Peaking
APK1HP
Damping
15
10
gain[dB]
frequency [MHz]
In a first region, adjustable by ATH1BP and ATH1HP for bandpass and highpass, respectively, the signal is damped for to reduce noise (denoising). The second region is adjusted by ATH2BP (ATH2HP). For this region, the amount of peaking is given by APK1BP (APK1HP). The peaking value for the last part is given by APK2BP (APK2HP).
Micronas
59
Table 239: Pixelmixer layer naming conventions Layer Master channel Slave channel Master frame Slave frame Curtain Background and testpattern Suffix M S G F C P
a) CrCb input
The size of the background layer determines the size of the picture. This means, that the background must have at least the size of the picture to be displayed. Every layer is determined by the position of the upper left edge (HORPOSx, VERPOSx) and a stretch in horizontal and vertical direction (HORWIDTHx, VERWIDTHx). Additionally, the frame-size is defined by HORFRAMEx and VERFRAMEx. While in the default case of interlace (FMODE=0), the parameters VERPOSx and VERWIDTHx are directly used, in the case of progressive (FMODE=1) the parameters VERPOSx and VERWIDTHx are multiplied by 2. This is necessary for avoiding additional changes after switching from interlace to progressive or vice versa in order to display all picture elements at the same position.
b) Ampl.
t c) Cr out Cb out
H-SYNC
HORPOSP
VERPOSC
V-SYNC
VERPOSP
VERFRAMEG
Fig. 260: Principles of CTI 2.6.4. Pixel Mixer The aim of the pixel mixer is the combination of the different paths of video sequences to one final video stream being shown by the display unit. Thereby 6 different sources (layer) are possible which are listed in the following table:
VERWIDTHP
VERPOSG
a) CrCb input of CTI b) CrCb input + correction signal c) sharpened and limited CrCb
HORPOSC
HORPOSG/M
HORWIDTHG/M HORPOSF/S
HORFRAMEF HORWIDTHF/S
VERPOSF
VERWIDTHG
VERWIDTHC
G
VERWIDTHF
Master M
VERFRAMEF
master frame
S
slave
Frame
Background Curtain
60
Micronas
2.6.4.1. Priority Decoder For every layer a priority can be chosen (PRIOC, PRIOS, PRIOM, PRIOG, PRIOP, PRIOF). 0 is lowest priority, 15 is highest priority. It is not allowed to give two or more layers same priority. The selectable range is 0, 2, 4, 6, 8, 10, 12, 14. The values between can not be selected but result from the virtual overblending channel.
The master frame and the slave frame can additionally be taken into consideration
(PRIOG=PRIOM+2=PRIOF+4=PRIOS+6 or PRIOF=PRIOS +2=PRIOG+4=PRIOM+6).
Table 241: Suggested priorities for pixel mixer Show PiP PRIOF PRIOS PRIOG PRIOM Fig. 262: Overblending PRIOC PRIOP The blending can be enabled by OBSOFT. The temporal dynamic version is enabled by OBTEMP. In this temporal overblending mode TBLEND specifies how long the soft switching from master components to slave components or vice versa will take. In the static mode (OBTEMP=0), TBLEND gives the proportion of master and slave channel. Table 240: Static and dynamic blending OBTEMP 0 TBLEND 00 01 10 11 1 00 01 10 11 Ratio of Lower/Higher Priority 25/75 50/50 62.5/37.5 75/25 100/0...fast...0/100 100/0...medium...0/100 100/0...slow...0/100 100/0...very slow...0/100
Y U V
Hide PiP 8 6 12 10 2 0
Use Curtain 8 6 12 10 2 14
12 10 8 6 2 0
2.6.4.2. Background and Testpattern Component Displaying the background trivially uses constant values for the Y, U, and V components. However, also nontrivial background images can be generated. How they look like can be seen in the following figure. The used pattern is defined by the IIC-bus parameter PATTERN_MODE having 3 bits. For the trivial background 000 is used.
Micronas
61
close window
open window
All settings are also available in vertical direction. All IC parameters exist for both directions (e.g. WINDHON and WINDVON for horizontal and vertical window enabling). Combinations of both window functions (horizontal and vertical) are also possible.
close window
open window
Fig. 266: Horizontal and vertical windowing 2.6.5. Coarse and Fine Delay This generator is able to realize an automatic closing and opening of the displayed picture. This means that with every picture the displayed curtain, defined by UCUR, VCUR and YCUR will get bigger or smaller. The original picture data will be replaced by the curtain values and vice versa. 4096 different colors are available. The Fig. 264 shows the functionality of the horizontal window function. The window can be closed or opened. Before digital-to-analog conversion an adjustment of the phase of the luminance is performed. A coarse delay from -8 to +7 in steps of 1 pixel CLKB36 (~28 ns) are possible (COARSEDEL). FINEDEL shifts the luminance one CLKB72 (~14 ns) pixel. This can be used to compensate delays, when Y and UV are externally processed differently (e.g. lowpass filtered). 2.6.6. YCrCb Control for Digital Output The VSP 94xxB supports the following picture adjustment parameters on the master and slave signal: 0 contrast 63/32 (DPCON) 15 brightness 48(DPBRT)
open window
close window
0 saturation Cr 63/32 (DPVSAT) 0 saturation Cb 63/32 (DPUSAT) These adjustments should only be used, if there is no other adjustment possible in the system (e.g. flat-panel application). In case of analog display (tube), these adjustments should be done in backend device.
The windowing feature can be enabled by the WINDHON parameter. The WINDHST and the WINDHDR parameter determine, what status (opened or closed) the window has, and what can be done with the window (open or close). With each enabling of the window function by the WINDHON parameter, the status of the window will be as defined by WINDHST and WINDHDR. To change from close to open or vice versa only the WINDHDR parameter has to be toggled. The speed of the window can be defined by the WINDHSP parameter. The Figure 265 shows the functionality of the vertical window function.
62
Micronas
2.6.7. RGB Matrix The yuv_rgb block converts video data from yuv-format to rgb-format by means of a free programmable matrix. This RGB signal is intended to be used as digital 3*9bit RGB signal, but may also be used on analog outputs. C1...C6 are signed integer values in the range from -511...511. The color saturation may be influenced by "S" in the range about 0.5<S<1.5. The Tint can be adjusted by "" in the range of -0.14<<0.14 (resulting in a range of +/- 8).
1 K rb K rr Y R 1 0 0 = 1 K gb K gr 0 S Sa C b G B 0 Sa S Cy 1 K bb K br
RGB-matrix Tint, Saturation
max. 1.9 V
max. 0.95 V
max. 1.9 V
Y R 1 0 1, 4 G = 1 0, 34 0, 71 C b B 1 1, 77 0 Cy
;;;;;;;
OFFSTDUV 0V
8 bits of the luminance D/A converter are used for the entire signal. The 9th bit is used for over- and undershoots caused by the peaking to prevent or reduce clipping artifacts. As the CTI block seldomly produces such overshoots, a full-scale operation can be activated by CHROMAMP. For luminance, full-scale operation can be activated by LUMAMP.
Micronas
max. 0.8 V
;;;;;; ;;;;;;
128 LSB upper headroom for peaking
PKLY
CHROMAAMP =1
PKLU PLLV
63
2.6.9.2. VOUT Generator The VOUT generator has two operation modes, which can be selected by the parameter VOUTFR. In the freerunning-mode (VOUTFR=1) the VOUT signal is generated depending on the LPFOP parameter. In the locked-mode the VOUT signal is synchronized by the incoming V-Sync signal derived from CVBS, delayed by some lines (OPDEL). OPDEL must be adjusted for different input signals and different IC adjustments. During one incoming V-Sync signal, two VOUT pulses have to be generated. The polarity of the VOUT signal is programmable by the parameter VOUTPOL. The VOUT signal is active high for two output lines Table 243: Display line scanning pattern sequence 1
Display sequence 1. to 2. (lines) 312 313 312 312.5 313 312.5 312.5 312.5 625 625.5 2. to 3. (lines) 313 312 312.5 313 312.5 312 312.5 312.5 625 624.5 3. to 4. (lines) 312 313 313 312.5 312 312.5 312.5 312.5 625 625.5 4. to 5.(1.) (lines) 313 312 312.5 312 312.5 313 312.5 312.5 625 624.5
For freerun mode the backend part works stand alone without analyzing the input signal. The clock domains, input data part and output data part of the IC, are not related to each other. If the output processing works in the freerun mode, the output signals of the ODC are generated depending on IC-bus settings. For locked mode the backend part works with a line locked clock. This means that the frontend and the backend of the IC depend on each other. The generation of the controlling signals depends on output signals from the frontend. This mode will be the default and the most used mode for standard TV applications. When no or very weak signal is connected to the CVBS input, the IC can be configured to automatically switch into freerunning mode. This stabilizes the display which may contain OSD information, e.g. during channel-tune. The configuration, whether the IC switches to H-freerun, V-freerun or both can be configured by AUTOFRRN. 2.6.9.1. HOUT Generator The HOUT generator has two operation modes, which can be selected by the parameter HOUTFR. The HOUT signal is active high for 64 clock cycles (CLKB36). In the freerunning-mode the HOUT signal is generated depending on the PPLOP parameter. In the locked-mode the HOUT signal is locked on the incoming H-Sync signal derived from CVBS. The polarity of the HOUT signal is programmable by the parameter HOUTPOL.
2.6.9.3. BLANK Generator The BLANK signal is used to horizontally and vertically mark active picture area. It is enabled by BLANEN and its polarity can be chosen by BLANPOL and VBLANPOL. Referred to hsync, the start is given by BLANDEL and its length is given by BLANLEN, both adjustable in 4 pixel resolution. Referred to vsync, the start is given by VBLANDEL and its length is given by VBLANLEN, both adjustable in 1 lines resolution.The blank information can be supplied to pin "656vio/blank" (656BLANK) or pin "vout50/blank" (V50BLANK).
64
Micronas
2.6.10. Static Pin Switching It is possible to set the pin "h50/irq" to static 0 or 1 by GPH50. It is possible to set the pin "vin" to static 0 or 1 by CPUIRQ2V. In 144 package only, three pins (GP0...2) can be controlled individually by IC commands (GP0, GP1, GP2).
MSB MSB
dgout4
VOUT
V100IN
9 bit output
LSB
0 1 2 3
V100IN
CPUIRQ output
CD2
DP
RGB 4:4:4
G B R
YUV 4:4:4
Y U V
CPUIRQ2V
YUV 4:2:2
Fig. 268: VIN/INTR and VOUT switching 2.6.11. VSP 94xxB in PiP Operation Only
U/V
656
ITU656output (8 bit only)
Fig. 269: Possibilities of digital output connections The IC can be used to produce a PiP only (PCE mode), which is synchronized to external H/V signals. This can be used i.e. to insert a PiP into a PC-signal which is directly connected to the RGB/deflection stage. For this, the vout-pin can be set to input by V100IN and hout to tristate by H100TR. Additionally, the incoming H signal must be connected to any CVBS, GIN or FBLIN pins. The BLANK signal indicates the valid PiP picture in order to switch between the main-signal and the PiP in the backend. 2.6.12. Digital 656 Output The output data format corresponds to ITU656 (8-bit bus at a data rate of 27 MHz). Timing reference codes (SAV, EAV) are inserted according to the specification. The output can be enabled by DPOUT656. The display clock should be set to linelocked-clock (HOUTFR) with 27 MHz (PPLIP) and 720 pixels per line (HORWIDTHP). 656 output data is available at pins 656io0...7. In QFP144 versions, 656 output is available at green output (dgout0...7) additionally. The clock output (pin 656clk) is CLKB72 always (usually 27 or 54 MHz) and can be inverted by CLK656OUTINV.
Micronas
8 bit output
LSB
65
In case of "H-and-V-freerunning mode" the HOUT and VOUT signals are derived from counters running with CLKB. There is no connection to the incoming signal. This mode can be used for stable pictures when no signal is applied (e.g. channel search with OSD insertion). The clock output can be disabled by CLKOUTON. CLKOUTINV inverts the clock. HOUT and VOUT are in line with the sampling clock CLKB27, CLKB36 or CLKB72. Even when clkout is not used in the system, CLKOUTSEL72, CLKOUT72 and CLKOUTSEL must be set properly to obtain correct HOUT, VOUT and BLANK signals. Table 245: Clock output and hout/vout/blank clock reference
CLKOUT SEL72 CLKOUT 72 CLKOUT SEL CLKOUT (HOUT, VOUT, BLANK derived from)
0 0 1
0 0 1
0 1 0
Table 246: Clock output and hout/vout clock reference clock system (FR=free-running; LL=line-locked) Name Clock Nominal Frequency H- and Vlocked Mode FR FR LL H-freerunning V-locked Mode FR FR FR H- and Vfreerunning Mode FR FR FR
CVBS frontend RGB frontend, input processing Output and display processing
20.25 MHz 40.5 MHz 9407: 36 MHz (analog out) 9417: 27 MHz (digital out) 9437: 18 MHz (analog out) 9447: 13.5 MHz (digital out) 9407: 72 MHz 9417: 54 MHz 9437: 36 MHz 9447: 27 MHz 9407: 27 MHz 9417: 20.25 MHz 9437: 13.5 MHz 9447: 10.125 MHz
CLKB72
Oversampling, DAC
LL
FR
FR
CLKB27
LL
FR
FR
66
Micronas
2.7.1. Line-locked Clock Generator The clock generation system derives all clocks from one 20.25 MHz crystal oscillator clock source. Linelocked horizontal sync pulses are generated by a digital phase locked loop. The time constant can be adjusted between fast and slow behavior (KPL, KIL) to accommodate different backend ICs. The PLL control can be frozen up to 15 lines before v-sync (FION) for a duration up to 15 lines (FILE). This may be used to reduce disturbances by h-phase errors which are produced by VCRs. The output frequency for the 100/ 120 Hz version dependent on IICINCR is
nominal 50 Hz operation (analog out)
13.5 18 27 36 MHz
nominal 50 Hz operation (digital out) nominal 100 Hz operation (analog out) nominal 100 Hz operation (digital out)
The number of pixels generated by the PLL is given by PPLIP. For linelocked clock generation the following equation must be fulfilled:
A freerunning frequency is also generated which may be selected alternatively. The freerunning frequency for the double-scan versions dependent on FRINC is
PPLIP = PPLOP
Dependent on ARTSYNC and ITUSYNC, the LL-PLL input is different (see Table 247). Table 247: LL-PLL input
ARTSYNC 0 1 1 ITUSYNC x 0 1 LL_PLL Input CD input (parallel operation) CD output (serial operation) ITU656 input
Normally, IICINCR and FRINC are equal or nearly the same. The display frequency is internally divided by two for the single-scan versions.
Table 248: LL-PLL settings Operation Double-scan (analog out) Double-scan (digital out) Single-scan (analog out) Single-scan (digital out) Input 50 Hz 60 Hz 50 Hz 60 Hz 50 Hz 60 Hz 50 Hz 60 Hz 1728 864 262144 2304 1152 349525 1728 864 262144 PPLIP*4 2304 PPLOP*4 1152 IICINCR 349525 FRINCR 349525 351953 262144 263892 349525 351953 262144 263892 CLKB36 [MHz] 36 36.25 27 27.18 18 18.125 13.5 13.59 fH[kHz] 31.250 31.468 31.250 31.468 15.625 15.734 15.625 15.734
Micronas
67
Byte A has always to be transmitted before byte B can be accessed. All read and write registers are auto increment registers. However, the auto increment function can be disabled by the control bit AUTOINC_OFF in register DAh. If the auto increment function is switched off, the bytes A and B of write registers will be updated (overwritten) cyclically every second data byte. The bytes A and B of read registers will be polled cyclically every second byte. Table 32: 16 bit IC format A7, A6, A5, A4, A3, A2, A1, A0 Byte_A: MSB B7, B6, B5, B4, B3, B2, B1, B0 Byte_B: LSB
ACKNOWLEDGE SLAVE ADDRESS WRITE SLAVE ADDRESS READ SUBADDRESS DATA BYTE A DATA BYTE B STOP
...
STP
Table 35: Read sequence examples S S S SAW SAW SAW A A A SBR SBR SBR A A A S S S SAR SAR SAR A A A D_A D_A D_A NA A A STP D_B D_B NA A STP D_A ... NA STP
The transmitted data is internally stored in registers. The registers are located in different clock and func-
68
Micronas
Table 36: IC bus clock domains Domain CP1 IP1 DP1 OP1 CP2 FP IP2 DP2 OP2 ITU PP C800 MEM MAUS ODC Description CVBS frontend Master Input Processing Master Display Processing Master Output Processing Master CVBS frontend Slave RGB processing Input Processing Slave Display Processing Slave Output Processing Slave ITU656 processing LL-PLL C800 Memory Controller Motion adaptive upconversion Output Data Controller
3.3. Modification of IC Write Registers Modified register data becomes effective After being activated by a store command (nearly all registers). In some cases immediately after writing, if the register is marked by "NTO (=no take over mechanism) There are two types of store commands: Immediately after store command specified for this register domains (FEh) Table 37: Store Commands
S SAW A FEh A IM_high A IM_low A STP
HS
At the next rising edge of the V-sync signal specified for this register domains (FFh) Both store commands should not be used in the same IC telegram.
Micronas
69
Table 310: IC bus register characterization Take-over Mechanism NTO VS1_20 VS2_20 VSSLI_20 VSRGB_40 VSM1_40 VSM2_40 VSS1_40 VSS2_40 VSBM1_36 VSBM2_36 VSBS_36 VS656_27 No take-over mechanism CVBS frontend master CVBS frontend slave Data slicer RGB frontend Input processing master before V-scaler Input processing master behind V-scaler Input processing slave before V-scaler Input processing slave behind V-scaler Master behind memory Master behind v-scaler Slave behind memory ITU656 input / ITU656 output Take-over with V-sync in 27.0 MHz domain Take-over with V-sync in backend 36.0 MHz domain Take-over with V-sync in 40 MHz domain Take-over with V-sync in 20 MHz domain
3.4. Update of IC Read Registers The read process does not make use of store commands. The update of read register data is done By the sync signals as described for the write registers, but the direction of the data flow is opposite ("normal" read registers). The update status of the registers can be checked by read register F7h. Immediately (NTO read registers) With reset after read (RS read registers) RS type registers behave like a RS flip flops. Whenever the corresponding signal has a high level it sets the register bit to "1". After being read by the IC bus master, the whole register will be automatically reset (means value 0) . For example the register NMSTATUSM belongs to the rs typ read registers. NMSTATUSM signalizes a new value for NOISEMEM. So if NMSTATUSM is read as 0 the current noise measurement has not been updated. If the NMSTATUSM is read as 1 a new noise measurement value can be read. All other rs typ read registers work in the same way. The rs typ read registers
will be marked in the overview with the short cut rstyp or will have the additional hint Note: reset automatically when read/write in the detailed IC bus command description. Registers which need a hand-shake mechanism between the IC bus interface and the different blocks are marked with the shortcut HS (Hand shake mechanism). This means that all bits of the registers are used when the last register is written. After IICINCR18-3 is written, IICINCR2-0 must be written to allow these bits to have effect. The registers for the write parameter RMODE are directly connected to the read registers of the parameter RMMIRROR. So it is possible to check the IC bus protocol by writing and reading to the register RMODE and RMMIRROR, respectively.
70
Micronas
After switching on the IC, all bits of the VSP 94x2A are set to defined states. POR is set after reset to pin 24. It stays 1, until it is canceled via software PORCNCL. This can be used to detect a reset on pin 24. During TV operation, it can be used to decide whether to program all registers (e.g. after power failure reset) or only altered ones (normal TV operation). Writing to or reading from a non -existent register is permitted but does not generate a fault by the IC. Two counters (0...15) are available, which are incremented with every vertical pulse of input processing master (FCIM) or output processing master (FCBM). They can be used for software synchronization. 3.6. Important Hints
00h-5Ch 60h-62h
WRITE MASTER WRITE COMMON WRITE SLAVE WRITE COMMON READ MASTER READ SLAVE READ COMMON STORE COMMAND
63h-97h
The signal FJMODE can be found in 57h and 5Eh (same position). Do always write the same values to FJMODE in 57h and FJMODE in 5Eh. The signal LPFOPOFF can be found in BBh and BFh (different position). Do always write the same values to LPFOPOFF in BBh and LPFOPOFF in BFh.
Micronas
71
Table 311: IC bus list in alphabetical order Name AGCADJ1S AGCADJ2M AGCADJ2S AGCADJB AGCADJCV1 AGCADJCV2 AGCADJF AGCADJG AGCADJR AGCFRZEM AGCFRZES AGCMDM AGCMDS AGCPWRESM AGCPWRESS AGCRESM AGCRESS AGCTHDM AGCTHDS ALPFIPI ALPFIPM ALPFIPS AMMON AMSTD50M AMSTD50S AMSTD60M AMSTD60S APENSELM APENSELS APK1BPM APK1BPS Address 6Fh 0Ch 70h A8h DDh E7h A9h A9h A8h 0Ch 70h 0Bh 6Fh 5Fh 63h 0Ch 70h 5Fh 63h A2h 26h 88h 2Dh 5Fh 63h 5Fh 5Fh63h 22h 84h 49h 95h
72
Micronas
Table 311: IC bus list in alphabetical order Name APK1HPM APK1HPS APK2BPM APK2BPS APK2HPM APK2HPS APPLIPI APPLIPM APPLIPS ARSDIS ARTSYNC ATH1BPM ATH1BPS ATH1HPM ATH1HPS ATH2BPM ATH2BPS ATH2HPM ATH2HPS AUTOFRRN AUTOGAP AUTOINC_OFF BELLFIRM BELLFIRS BELLIIRM BELLIIRS BGPOSM BGPOSS BGSHIFTM BGSHIFTS BLANDEL Address 4Ah 96h 49h 95h 4Ah 96h A1h 23h 85h BFh 3Fh 49h 95h 4Ah 96h 49h 95h 4Ah 96h 45h 20h DAh 11h 75h 11h 75h 12h 76h 60h 63h D4h
Micronas
73
Table 311: IC bus list in alphabetical order Name CLPSTGYS CLRANGEM CLRANGES COARSEDEL COLONM COLONS COMBM COMBS COMBUSEM COMBUSES CONADJ CONM CONS CONSM CONSS COR CORONM CORONS CPLLOFM CPLLOFS CPLLRESM CPLLRESS CPUDISABLE CPUIRQ2V CRCBM CRCBS CSC_ONM CSTANDM CSTANDS CVBOSEL1 CVBOSEL2 Address 65h 12h 76h D8h 01h 65h 05h 69h 02h 66h A4h 02h 66h 01h 65h 9Ah 4Ah 96h 01h 65h 0Ch 70h DAh DAh 03h 67h 4Ch 05h 69h 99h 99h
74
Micronas
Table 311: IC bus list in alphabetical order Name CVBOSEL3 CVBSEL1 CVBSEL2 DATA_CCWSS1 DATA_CCWSS2 DATA_USWSS1 DATA_USWSS2 DATA_USWSS3 DATAVCCWSS DATAVUSWSS DBDHPOSM DBDHPOSS DBDPICIM DBDPICIS DC DCI_CORM DCIONM DCLMPF DCR DDR DDR_CC DEC2 DEEMPFIRM DEEMPFIRS DEEMPIIRM DEEMPIIRS DEEMPSTDM DEEMPSTDS DETHPOLM DETHPOLS DETVPOLM Address 99h 98h 98h EAh EAh ECh EBh EBh ECh ECh 33h 8Ah 4Ah 96h 9Ah 4Dh 4Ch A7h 9Ah 9Ah 60h A5h 10h 74h 10h 74h 11h 75h DCh E6h DCh
Micronas
75
Table 311: IC bus list in alphabetical order Name DYNOPSMP1 DYNOPSMV DYTCM EIA770M EIA770S ELINEM EN_656 ENA_DEMOM ENLIMM ENLIMS EPIXELM ERRORCMPM EXTRD F_OFFS F2F1F0 FBLACTIVE FBLCONF FBLDEL FBLOFFST FEMAGM FEMAGS FETHD FHDETM FHDETS FHFRRNM FHFRRNS FIELDBINV FILE FILMMODEM FINEDEL FIOFFOFF Address 5Bh 55h 51h 0Fh 73h 4Dh A3h 4Ch 11h 75h 4Ch 51h C0h 9Fh 9Ah EDh A6h A5h AAh 19h 7Bh B2h 02h 66h 06h 6Ah 45h ACh DFh D8h C1h
76
Micronas
Table 311: IC bus list in alphabetical order Name FION FJMODE FJSELLNV FKOI FKOIHYS FLDINVM FLDINVS FLINEM FLINES FLNSTRDM FLNSTRDS FMATH FMDCTH FMDSON FMDTH FMFORCE FMFORCETRIG FMMEMHIS FMOD FMODE FMOTREGM FMREGION FMRES FMSCALEL FMSCALEU FMSTATUSM FMSYN FMSYNUNS FMTHRON FMTHYON FPOL Address AEh 57h/5Eh 54h AFh AFh 01h 65h 01h 65h 11h 75h 2Ch 2Bh 2Bh 2Ch 57h 57h 2Ch ADh BDh E0h 2Bh 2Bh 2Bh 2Bh E2h 14h 14h 2Bh 2Bh 9Fh
Micronas
77
Table 311: IC bus list in alphabetical order Name HINC4S HINCR_EXT HINPM HINPS HORFRAMEF HORFRAMEG HOROFFS HORPOSF HORPOSG HORPOSM HORPOSNM HORPOSP HORPOSS HORWIDTHF HORWIDTHG HORWIDTHM HORWIDTHNM HORWIDTHP HORWIDTHS HOUTDEL HOUTFR HOUTPOL HOUTTR HPANONM HPANONS HPE1OFF HPE2OFF HPEXOFF HPOL HPOLM HPOLS Address 8Fh ADh 03h 67h CBh D0h 91h/92h CAh CEh 45h 27h C6h 91h CBh CFh 47h 27h C7h 93h BCh BCh D4h C1h 33h 8Ah C0h C0h C0h A3h 02h 66h
78
Micronas
Table 311: IC bus list in alphabetical order Name HPS1OFF HPS2OFF HRES HSCPOSCM HSCPOSCS HSCPRESCM HSCPRESCS HSEG1M HSEG1S HSEG2M HSEG2S HSEG3M HSEG3S HSEG4M HSEG4S HSPPL HSWIN HTESTW HUEM HUES HWID IFCOMPM IFCOMPS IFCOMPSTRM IFCOMPSTRS IICINCR IM1_20 IM2_20 IM656_27 IMBM1_36 IMBM2_36 Address C0h C0h AEh 33h 8Ah 22h 84h 34h/35h 8Bh/8Ch 36h/37h 8Dh/8Eh 38h/39h 8Fh/90h 39h 90h 61h ADh ADh 08h 6Ch AEh 0Eh 72h 0Eh 72h ABh/ACh FEh FEh FEh FEh FEh
Micronas
79
Table 311: IC bus list in alphabetical order Name LIMII LIMIP LIMLR LINLENH50 LINLENH60 LMOFSTM LMOFSTS LNL LNSTDRDM LNSTDRDS LOCKSPM LOCKSPS LPBLACK LPCDELM LPCDELS LPFIPI LPFIPMD LPFLDM LPFLDS LPFOP LPFOPOFF LPPOSTM LPPOSTS LPWHITE LSWFM LTIM LTIS LUMAMP M422 MASLEX MASTERON Address B2h B0h AFh 9Bh 9Bh 03h 67h ACh DCh E6h 0Fh 73h F3h 07h 6Bh A0h 45h DBh E5h BDh/BEh BBh/BFh 01h 65h F3h 4Fh 49h 95h C8h C1h BFh BDh
80
Micronas
Table 311: IC bus list in alphabetical order Name MAXALC MAXAUC MAXGLC MAXGUC MAXHLC MAXHUC MDVFFON MIXGAIN MIXOP MOTONM MOTONS MOTVALON MPFBLBM MPFBLBS MPFBLTM MPFBLTS MPFBPLM MPFBPLS MPFBPRM MPFBPRS MVCHOLD MVCOFA0 MVCOFA1 MVCOFP0 MVCOFP1 MVDIVA MVDIVP MVDIVR MVFIXENA MVFIXVAL MVMODE Address F0h/F1h F2h EFh EEh F1h F0h 2Bh A5h A8h 24h 86h BFh 1Fh 81h 20h 82h 21h 83h 20h 82h 54h 53h 53h 53h 53h 53h 53h 53h 54h 54h 54h
Micronas
81
Table 311: IC bus list in alphabetical order Name PALIDL0M PALIDL0S PALIDL1M PALIDL1S PALIDL2M PALIDL2S PALIDM PALIDS PALINC1M PALINC1S PALINC2M PALINC2S PALREFM PALREFS PATTMODE PB PDGSR PEAK_SIZEM PFBL PG PIXELPLINEM PIXPLINM PIXPLINS PK_FTCM PKCTIBPM PKCTIBPS PKCTIHPM PKCTIHPS PKLU PKLV PKLY Address 0Ah 6Eh 09h 6Dh 12h 76h DCh E6h 12h 76h 12h 76h 0Ah 6Eh D2h EDh BDh 52h EDh EDh 4Eh 13h 77h 52h 49h 95h 49h 95h D7h D8h D7h
82
Micronas
Table 311: IC bus list in alphabetical order Name PLLTCM PLLTCS POR PORCNCL PPLIP PPLIPI PPLOFF PPLOP PR PRIOC PRIOF PRIOG PRIOM PRIOP PRIOS PWTHDM PWTHDS RBOFST RDPNTOFF RDPOSXM RDPOSXS RDPOSYM RDPOSYS READM READM2S READS REFRON REFRPER REFTRIM REFTRIMCV REFTRIMCVRD Address 04h 68h ECh 9Bh AEh 9Eh BBh BDh EDh D3h D3h D3h D3h D2h D3h 03h 67h A9h 16h 16h 79h 17h 79h 16h 77h 79h BFh BFh 9Dh 9Dh 62h
Micronas
83
Table 311: IC bus list in alphabetical order Name SLINEM SLLTHDM SLLTHDS SLLTHDVM SLLTHDVPM SLLTHDVPS SLLTHDVS SLLWIN SLNCW SLNRUW SLOWVAR SLS SLSRC SMMODE SMOP SPIXELM STABLL STABM STABS STANDBYCV STANDBYDAC STANDBYRGB STATOPMSC STATOPMSCENA STATSIZE STDETM STDETS STOPMOS SUBTITLE SVALFI SVALFR Address 4Dh 0Bh 6Fh 11h 0Fh 73h 75h B2h 60h 60h 20h F6h 9Ch 54h AAh 4Ch F6h DDh E7h A5h 15h A5h 57h 57h DFh DCh E6h C0h F3h 2Dh 2Dh
84
Micronas
Table 311: IC bus list in alphabetical order Name SVALLI SWGM SWITCHTO43 SYNCFTHDM SYNCFTHDS SYNCGAINM SYNCGAINS SYNCOMB TBLEND TFDPPM TFDT TFLDDON TFON THEM THES THFI0 THFI1 THFI2 THFI3 THFR0 THFR1 THFR2 THFR3 THLI0 THLI1 THLI2 THRGM THRMOV THRSELM THRSELS TINT Address 2Fh 2Dh F3h 00h 64h 5Fh 63h 9Ah D2h E3h/E4h 2Dh 2Dh 2Eh 49h 95h 2Eh 2Fh 30h 31h 2Eh 2Fh 30h 31h 2Fh 30h 31h 2Dh 2Eh 07h 6Bh 15h
Micronas
85
Table 311: IC bus list in alphabetical order Name UENINV UFRAMEM UFRAMES UPBLACK UPDATERATEM UPDATESS UPWHITE USATADJ UVCODE UVCORM UVCORS UVDEL V100IN V50BLANK V656DEL VAAPRESCM VAAPRESCS VBAGR VBLANDEL VBLANLEN VBLANPOL VBORDERM VBORDERS VCRDETHD VCRPRESCM VCRPRESCS VCUR VDCPRESCM VDCPRESCS VDELAY_BE VDETIFSM Address C5h 4Bh 97h F3h 20h 14h F3h A7h C1h 02h 66h A6h C1h 9Bh C1h 25h 87h CFh D5h/D6h D6h D4h 1Fh 81h 98h 25h 87h CAh 26h 88h DAh 0Fh
86
Micronas
Table 311: IC bus list in alphabetical order Name VDETIFSS VDETITCM VDETITCS VDG VDOUBLEM VERFRAMEF VERFRAMEG VEROFFS VERPOSF VERPOSG VERPOSM VERPOSP VERPOSS VERRESM VERRESS VERSION VERWIDTHF VERWIDTHG VERWIDTHM VERWIDTHP VERWIDTHS VFLYMDM VFLYMDS VFLYWHLM VFLYWHLMDM VFLYWHLMDS VFLYWHLS VFRAMEM VFRAMES VINC0M VINC1M Address 73h 10h 74h 99h 3Ah CCh D1h 94h CCh D0h 46h C8h 92h 13h 77h F6h CDh D1h 48h C9h 94h DDh E7h 0Ch 04h 68h 70h 4Bh 97h 3Bh 3Ch
Micronas
87
Table 311: IC bus list in alphabetical order Name VSS2_40STAT VSSLI_20 VSSLI_20STAT VTHRH50M VTHRH50S VTHRH60M VTHRH60S VTHRL50M VTHRL50S VTHRL60M VTHRL60S WINDHDR WINDHON WINDHSP WINDHST WINDVDR WINDVON WINDVSP WINDVST WRITEM WRITES WRITES2M WRPOSXM WRPOSXS WRPOSYM WRPOSYS XDSCLS XDSTPE Y2RGB YBAGR YBORDERM Address F7h FFh F7h 0Ah 6Eh 00h 64h 09h 6Dh 00h 64h C7h C7h C7h C7h C6h C6h C6h C6h 13h 77h 13h 13h 77h 14h 78h 9Ch 9Ch AAh CDh 1Fh
88
Micronas
Table 311: IC bus list in alphabetical order Name YBORDERS YCBYB YCBYR YCDELM YCDELS YCSELM YCSELS YCTOCOMB YCUR YFDEL YFRAMEM YFRAMES YUVMAT YUVSEL Address 81h 98h 98h 07h 6Bh 03h 67h 98h C8h A6h 4Bh 97h 15h AAh
Micronas
89
90
Nov. 28, 2002; 6251-576-3PD
Data Byte B A6 A5
VTHRH60M COLONM UVCORM LMOFSTM CPLLOFM LPPOSTM SECNTCHM VINPM ACCFIXM ACCFRZM HPOLM YCSELM NOSIGBM PLLTCM CKILLM FHFRRNM DISALLRES M VSHIFTM PALIDL1M PALIDL0M AGCMDM VFLYWHLM SCMIDLM ACCLIMM CLMPD2SM SECACCM SECDIVM SECINC1M ENLIMM CLRANGEM CLMPD1SM SECINC2M ISHFTM NTCHSELM NOTCHOFF M SCMRELM VLPM TRAPBLUM TRAPREDM CPLLRESM VTHRL50M VTHRH50M AGCADJ1M CLMPST1SM CLMPST2SM IFCOMPM SATNRM NSREDM LPCDELM FLINEM
A4
A3
A2
A1
A0
B7
B6
VTHRL60M FLDINVM FHDETM HINPM
B5
B4
B3
B2
B1
B0
00h 01h 02h 03h 04h 05h 06h 07h 08h 09h 0Ah 0Bh 0Ch 0Dh 0Eh 0Fh 10h 11h 12h 13h 14h 15h 16h 17h
DISCHCHM
CLMPD1M CLMPD2M
FMSYNUNS
Micronas
18h 19h
Micronas
Nov. 28, 2002; 6251-576-3PD
Data Byte B A6 A5 A4 A3
TNRYS1M TNRYS5M TNRCS1M TNRCS5M TNRCSSM UBORDERM GPPO GMSTTHV
A2
A1
A0
B7
TNRYS2M TNRYS6M TNRCS2M TNRCS6M TNRCLYM VBORDERM
B6
B5
B4
B3
TNRYS3M TNRYS7M TNRCS3M TNRCS7M TNRCLCM MPFBLBM
B2
B1
B0
1Ah 1Bh 1Ch 1Dh 1Eh 1Fh 20h 21h 22h 23h 24h 25h 26h 27h 28h 29h 2Ah 2Bh 2Ch 2Dh 2Eh 2Fh 30h 31h 32h 33h 34h 35h
NMCHAN
SLOWVAR
AUTOGAP
UPDATERATEM
VAAPRESCM VPKPRESCM VERBYPM HORPOSNM GMSTTH[1] GMSTTH[0] GSTHUM MDVFFON FMMEMHIS TFLDDON DTFDT[1] THRGM THRMOV FMDSON FMDCTH FMATH
FMRES
FMTHYON
FMTHRON
FMSCALEL FMDTH
FMSCALEU
FMREGION
SVALFR
AMMON TFON
SWGM THFI0
TFDT
THFR1
CDELHPOS M
91
92
Nov. 28, 2002; 6251-576-3PD
Data Byte B A6 A5 A4 A3 A2 A1 A0
HINC2M HINC3M HINC4M
B7
B6
B5
B4
B3
B2
B1
B0
36h 37h 38h 39h 3Ah 3Bh 3Ch 3Dh 3Eh 3Fh 40h 41h 42h 43h 44h 45h 46h 47h 48h 49h 4Ah 4Bh 4Ch 4Dh 4Eh 4Fh 50h 51h 52h
Micronas
Micronas
Nov. 28, 2002; 6251-576-3PD
Data Byte B A6 A5
MVCOFA1 SMMODE MVFIXENA DYNOPITV DYNOPLSGS FMFORCETR FJMODE IG DYNOPITGM DYNOPITN0 DYNOPITN2 DYNOPITN4 MVFIXVAL DYNOPSMV DYNOPFJV DYNOPMSP0 DYNOPLSP0 INITLINESEL STATOPMSC DYNOPITGS DYNOPITN1 DYNOPITN3 DYNOPITP1 DYNOPSMG S
A4
A3
A2
MVCOFP0
A1
A0
MVCOFP1
B7
B6
B5
MVDIVA GMFMFBEN A
B4
B3
MVDIVP
B2
B1
MVDIVR
B0
53h 54h 55h 56h 57h 58h 59h 5Ah 5Bh 5Ch 5Dh 5Eh 5Fh 60h 61h 62h 63h 64h 65h 66h 67h 68h 69h 6Ah 6Bh 6Ch 6Dh 6Eh
MVVISENA
FJSELLNV
MVCHOLD
OPPHASEFR DYNOPLSV NEGLINESEL FMFORCE DYNOPSMG M DYNOPFJGM DYNOPMSGS DYNOPMSN1 DYNOPMSN3 DYNOPMSP1
FRINC[18:3] FJMODE INCOMBC MVPM HSPPL REFTRIMRD MVPS SYNCFTHDS CONSS CONS PWTHDS VFLYWHLMDS COMBS CKILLSS VPOLS HUES NTSCREFS PALREFS THRSELS YCDELS CSTANDS CRCBS CHRFS MVPGS BELLIIRS [2] VTHRH60S COLONS UVCORS LMOFSTS CPLLOFS LPPOSTS SECNTCHS VINPS ACCFIXS ACCFRZS HPOLS YCSELS NOSIGBS PLLTCS CKILLS FHFRRNS DISALLRESS SATNRS VSHIFTS PALIDL1S PALIDL0S VTHRL50S VTHRH50S NSREDS LPCDELS FLINES BELLFIRS[2] DEEMPIIRS [2] DEEMPFIRS [2] AMSTD50S MVPGM BELLIIRM[2] SLNCW BELLFIRM[2] DEEMPIIRM[ 2] DEEMPFIRM[ 2] AMSTD50M SLNRUW VSLPF REFTRIMCVRD AMSTD60S VTHRL60S FLDINVS FHDETS HINPS CLPSTGYS COMBUSES CLMPST1S CLMPST2S DISCHCHS CLMPD1S CLMPD2S SYNCGAINS REFTRIMRGBRD AMSTD60M FRZLIMLR FRFIX FRINC[2:0] H50SKEW BGSHIFTM AGCTHDM REMDEL2 REMDEL1
AGCPWRES S
BGSHIFTS
AGCTHDS
93
94
Nov. 28, 2002; 6251-576-3PD
Data Byte B A6 A5
SCADJS AGCADJ2S
A4
A3
A2
A1
A0
B7
AGCMDS VFLYWHLS SCMIDLS ACCLIMS CLMPD2SS SECACCS
B6
B5
AGCADJ1S
B4
B3
B2
B1
B0
6Fh 70h 71h 72h 73h 74h 75h 76h 77h 78h 79h 7Ah 7Bh 7Ch 7Dh 7Eh 7Fh 80h 81h 82h 83h 84h 85h 86h 87h 88h 89h 8Ah 8Bh
CPLLRESS
SECDIVS
SECINC1S ENLIMS
CLRANGES
Micronas
Micronas
Nov. 28, 2002; 6251-576-3PD
Data Byte B A6 A5 A4 A3 A2 A1 A0
HINC1S HINC2S HINC3S HINC4S
B7
B6
B5
B4
B3
B2
B1
B0
8Ch 8Dh 8Eh 8Fh 90h 91h 92h 93h 94h 95h 96h 97h 98h 99h 9Ah 9Bh 9Ch 9Dh 9Eh 9Fh A0h A1h A2h A3h A4h A5h A6h A7h A8h
95
96
Nov. 28, 2002; 6251-576-3PD
Data Byte B A6 A5 A4 A3 A2 A1
AGCADJF SELMASTER SELSLAVE SELSM YUVSEL
A0
B7
B6
B5
B4
B3
RBOFST SMOP
B2
B1
B0
SKEWSEL
A9h AAh ABh ACh ADh AEh AFh B0h B1h B2h B3h B4h B5h B6h B7h B8h B9h BAh BBh BCh BDh BEh BFh C0h C1h C2h C3h
Y2RGB
BLUESEL
BLUETWO
LPFOP[7:0] LPFOPOFF VLEROFF UVCODE HPS1OFF V100IN HPE2OFF DIGOUTEN HPEXOFF M422 ARSDIS VLEXOFF CHRSFM JLCRES HPS2OFF NSHAP MASLEX VLS1OFF DWO
Micronas
C4h C5h
Micronas
Nov. 28, 2002; 6251-576-3PD
Data Byte B A6 A5
WINDVST WINDHST
A4
WINDVDR WINDHDR
A3
WINDVON WINDHON LUMAMP CHROMAMP
A2
HORPOSP HORWIDTHP
A1
A0
B7
B6
B5
B4
B3
B2
B1
B0
C6h C7h C8h C9h CAh CBh CCh CDh CEh CFh D0h D1h D2h D3h D4h D5h D6h D7h D8h D9h DAh DBh DCh DDh DEh DFh E0h E1h
PKLU PKLV
97
98
Nov. 28, 2002; 6251-576-3PD
Data Byte B A6
AM60_OM GAINSEG1FRCM GAINSEG2FRCM NRPIXELS LNSTDRDS AGCADJCV2 INTS SCDEVS PALDETS STABS
A5
A4
A3
A2
A1
A0
B7
B6
B5
B4
LBSTATUS
B3
B2
B1
B0
E2h E3h E4h E5h E6h E7h E8h E9h EAh EBh ECh EDh EEh EFh F0h F1h F2h F3h F4h F5h F6h F7h F8h F9h FAh FBh
Micronas
FCh FDh
Micronas
Nov. 28, 2002; 6251-576-3PD
Data Byte B A3
IMBM2_36 VSBM2_36
A2
IMBM1_36 VSBM1_36
A1
IMDCI_36 VSDCI_36
A0
IMBS_36 VSBS_36
B7
IMSLI_20 VSSLI_20
B6
IMS2_40 VSS2_40
B5
IMS1_40 VSS1_40
B4
IMM2_40 VSM2_40
B3
IMM1_40 VSM1_40
B2
IM656_27 VS656_27
B1
IM2_20 VS2_20
B0
IM1_20 VS1_20
FEh FFh
Note: Bits written with grey background are intended not to be user adjustable and should be set to the default value written in this data sheet or according to an updated list available from Micronas.
99
3.9. IC Command Description 3.9.1. Master Channel Table 313: Master channel
Subadd R/W Take Over Name A7 A6 A5 A4 A3 A2 A1 A0 B7 B6 B5 B4 B3 B2 B1 B0 Color Decoder Master 00h W VS1_20 SYNCFTHDM x x SYNCF threshold 00: 4 lines 01: 3 lines 10: 2lines 11:1 line x x x x x x x Vertical Sync gating: Closing 60 Hz Closing=262+4*VTHRH60M 0000000: Closing in line 262 1111111: Closing in line 770 x x x x x x x Vertical Sync gating: Opening 60 Hz Opening=4*VTHRL60M 0000000: Opening in first line 1111111: Opening in line 508 Color switched on at level above CKILLS (SECAM) at level=CKILLS+CONS 000: Min value 010: Default 111: Max value x Forces color on 0: Color depends on color decoder status 1: Color always on x Opens the closed loop 0: Normal operation 1: Chroma PLL opened x Additional filtering of luminance 0: No filtering 1: Filtering x Fix ACC to nominal value 0: ACC is working 1: ACC is set to fixed value according to PALREFM/NTSCREFM x Freeze ACC 0: ACC is working 1: ACC is frozen at current value x Mode selection 0: Interlace input 1: Progressive input Description
100
Nov. 28, 2002; 6251-576-3PD
VTHRH60M
VTHRL60M
01h
VS1_20
CONSM
COLONM
CPLLOFM
LPPOSTM
ACCFIXM
ACCFRZM
Micronas
FLINEM
Micronas
Nov. 28, 2002; 6251-576-3PD
CLPSTGYM
DISCHCHM
CLMPD1M
02h
VS1_20
CONM
UVCORM
SECNTCHM
HPOLM
FHDETM
COMBUSEM
101
102
Nov. 28, 2002; 6251-576-3PD
x Measurement duration CD1, signals Granularity: 200 ns 0000: 0 s 0111: 1.4 s 1111: 3 s Selection of Peak-White threshold 00: 448 01: 470 10: 500 11: 511
03h
VS1_20
PWTHDM
CRCBM
Choice of UV or CrCb output 00: UV color space 01: CrCb color space 10: Modified CrCb color space (SECAM only) x x Luminance offset in color decoder during visible picture 00: No offset (NTSC) 01: - 7.5 IRE 10: + 7.5 IRE (PAL, SECAM) 11: -3.7 IRE A 7.5 IRE offset is added during blanking in display processing. When chosing 10, the luminance offset is equal to the offset of the CVBS input as in both picture and blanking the same 7.5 IRE offset is used. x Vertical pulse detection 0: From sync signal (CVBS, Y, or G)) 1: From separate V-input pin When set to 0, no V polarity detection possible x Y/C select 0: CVBS input 1: Y/C input x No signal behavior 0: Noisy screen when out of sync 1: Colored background insertion instead
LMOFSTM
VINPM
YCSELM
NOSIGBM
HINPM
Synchronization input 0: Synchronization from CVBS front-end (CVBS or Y/C) 1: Synchronization via RGB front-end (green or fbl ADC) When set to 0, no H polarity detection possible x x x x x x Measurement start: CD1, Signals1 000000: 0 s 011100: 5.6 s 111111: 12.8 s
CLMPST1M
Micronas
Micronas
Nov. 28, 2002; 6251-576-3PD
CHRFM
PLLTCM
CLMPST2M
05h
VS1_20
COMBM
CSTANDM
CKILLM
06h
VS1_20
CKILLSM
FHFRRNM
103
104
Nov. 28, 2002; 6251-576-3PD
THRSELM
YCDELM
DISALLRESM
SATNRM
NSREDM
LPCDELM
08h
VS1_20
HUEM
Hue control (tint) 10000000: -89 00000000: 0 01111111: +88 x x x x x x x x Field detection window shift 00000000: No shift 11111111: Shifted by 2048 ACC reference adjustment (NTSC) 00000000: Low reference value 10010001: Nominal value 11111111: High reference value
VSHIFTM
09h
VS1_20
NTSCREFM
Micronas
Micronas
Nov. 28, 2002; 6251-576-3PD
VTHRL50M
0Ah
VS1_20
PALREFM
PALIDL0M
VTHRH50M
0Bh
VS1_20
SLLTHDM
SCADJM
AGCMDM
AGCADJ1M
0Ch
VS1_20
AGCRESM
AGCFRZEM
105
106
Nov. 28, 2002; 6251-576-3PD
VFLYWHLM
CPLLRESM
CLMPST1SM
0Dh
VS1_20
CLMPHIGHM
SCMIDLM
CLMPST2SM
0Eh
VS1_20
IFCOMPSTRM
SECACCLM
CLMPLOWM
Micronas
Micronas
Nov. 28, 2002; 6251-576-3PD
IFCOMPM
0Fh
VS1_20
SLLTHDVPM
EIA770M
VDETIFSM
LOCKSPM
ADLCKM
ADLCKSELM
ADLCKCCM
CLMPD2SM
107
108
Nov. 28, 2002; 6251-576-3PD
x Clamping duration CD1, signals 1 Granularity: 200 ns 0000: 0 s 0111: 1.4 s 1111: 3 s Deemphase filter FIR component 0000:16 0101: 21 1111: 31 DEEMPFIRM[3] is in 5Fh
10h
VS1_20
DEEMPFIRM[2:0]
DEEMPIIRM[1:0]
Deemphase filter IIR component 000: 5 001: 6 010: 7 011: 8 100: 9 101: 10 110: (reserved) 111: (reserved) DEEMPIIRM[2] is in 5Fh x x x Vertical detection integration time constant 000: 400 clock cycles 001: 375 clock cycles 010: 350 clock cycles 011: 300 clock cycles 100: 250 clock cycles 101: 225 clock cycles 110: 200 clock cycles 111: Automatic x Secam acceptance 0: Disabled 1: Enabled x Secam divider 0: Divide by 4 1: Divide by 2 x x Secam increment 1 00: 2 01: 3 10: 4 11: 5 x x Secam increment 2 00: 1 01: 2 10: 3 11: 4
VDETITCM
SECACCM
SECDIVM
SECINC1M
SECINC2M
Micronas
Micronas
Nov. 28, 2002; 6251-576-3PD
11h
VS1_20
DEEMPSTDM
BELLFIRM[1:0]
BELLIIRM[1:0]
SLLTHDVM
Slicing level threshold V 000: No offset 001: 4 010: 8 011: 12 101: Adaptive (limited to +-4) 110: Adaptive (limited to +-8) 111: Adaptive (limited to +-12) x x Force line standard at CVBS/RGB front-end 00: Automatic 01: Force 50 Hz 10: Force 60 Hz 11: (Reserved) x Enable limiter 0: Disabled 1: Enabled
FLNSTRDM
ENLIMM
109
110
Nov. 28, 2002; 6251-576-3PD
NOTCHOFFM
VLPM
12h
VS1_20
PALDELM
TNOTCHOFFM
BGPOSM
PALINC1M
PALINC2M
PALIDL2M
CLRANGEM
Micronas
Micronas
Nov. 28, 2002; 6251-576-3PD
TRAPBLUM
TRAPREDM
13h
VSM2_40
INTPROGM
Interlaced or progressive input signal for master channel 0: Interlaced input source 1: Progressive input source (e.g. VGA) x Freeze master picture 0: Live 1: Frozen (no writing of master data) x Vertical resolution master channel for frame based MUP-Mode 0: Field resolution 1: Frame resolution x x Write mode master channel 00: All incoming fields are stored 01: Only A fields are stored 10: Only B fields are stored 11: (Reserved) For DISPMODE=0001 (Snap Shot): 0X, 1X: Writing all fields only to live channel x Write slave data to master memory 0: Slave data is written to slave memory 1: Slave data is written to master memory x x Pixels per line master channel 00: Defined by DISPMODE 01: 448 pixels/line 10: 768 (MOTVALON=0) or 704 (MOTVALON=1) pixels/line 11: 896 pixels/line
FREEZEM
VERRESM
WRITEM
WRITES2M
PIXPLINM
111
112
Nov. 28, 2002; 6251-576-3PD
14h
VSM2_40
WRPOSYM
UPDATESS
FMSYN
FMSYNUNS
15h
VSM2_40
STANDBYDAC
Standby mode DAC 0: DACs active 1: DACs in standby mode x x YUV-matrix 00: YCbCr 01: YPbPr (CCIR) 10: YPbPr (BTA) 11: (Reserved) x x x x x x x Tint control 1000000: Max negative tint 0000000: No tint 0111111: Max positive tint
YUVMAT
TINT
Micronas
Micronas
Nov. 28, 2002; 6251-576-3PD
RDPOSXM
READM
17h
VSBM1_36
RDPOSYM
RSHIFTM
RSHIFTS
NMSENSEM
113
114
Nov. 28, 2002; 6251-576-3PD
Temporal Noise Reduction Master Channel 19h W VSM2_40 FEMAGM x x x x x Fine error characteristic 00000: Smallest gain 10000: Default (equal to B11 version) 11111: Largest gain x x Secam Dr adjustment 00: 191 01: 194 10: 197 11: 200 x x Secam Db adjustment 00: -55 01: -58 10: -61 11: -64 x Motion detector works on absolute values: 0: Absolute values not calculated 1: Absolute values calculated x Temporal noise reduction 0: Disabled 1: Enabled x Chrominance motion values from: 0: luminance motion detector 1: separate chrominance motion detector x Temporal noise reduction of luminance: 0: Frame based 1: Field based x Motion detection of temporal noise reduction of luminance: 0: Frame based 1: Field based x Temporal noise reduction and motion detection of chrominance: 0: Frame based 1: Field based TNR curve characteristic of luma segment 0 0001: Default x x x x TNR curve characteristic of luma segment 1 1111: Default
SDRM
SDBM
TNRABSM
NRONM
TNRSELM
TNRNR4YM
TNRMD4YM
TNRNR4CM
1Ah
VSM2_40
TNRYS0M TNRYS1M
Micronas
Micronas
Nov. 28, 2002; 6251-576-3PD
TNRCLCM
115
116
Nov. 28, 2002; 6251-576-3PD
UBORDERM
VBORDERM
MPFBLBM
20h
VSM2_40
MPFBPRM
MPFBLTM
GP0
NMCHAN
Micronas
Micronas
Nov. 28, 2002; 6251-576-3PD
AUTOGAP
UPDATERATEM
21h
VSM2_40
FRCBGNDM
MPFBPLM
GMSTTHV
Horizontal Prescaler Master Channel 22h W VSM1_40 FRCMMODM x Mosaic mode generator 0: Disabled 1: Enabled x Active pixel enable select 0: Count clock cycles (recommended for CVBS/RGB input) 1: Count active pixels (recommended for ITU656 input) x x x x x x x x x x x x Control signal for HSCALE in horizontal pre-scaler Subsampling factor by prescaler is (int) 0: 1 (int) 2048: 1.5 (720 pixels) (int) 2371: 1.578 (->684 pixels) (int) 4095: 2 (540 pixels) Horizontal antialiasing filter 00: Filter bypassed 01: Force characteristic weak 10: Force characteristic strong 11: Automatic characteristic (weak or strong) Note: For normal CVBS/RGB full-screen, filter should be set to weak or automatic characteristic. For ITU656 full-screen input, filter should be bypassed. Strong characteristic is for split-screen and PiP only.
APENSELM
HSCPRESCM
23h
VSM1_40
HAAPRESCM
117
118
Nov. 28, 2002; 6251-576-3PD
APPLIPM
24h
VSM1_40
MOTONM
GP2
GP1
NAPPLIPM
Vertical Prescaler Master Channel 25h W VSM1_40 VAAPRESCM x Vertical lowpass filter (pre-scaler) 0: Disabled 1: Enabled x x x x x Vertical peaking 00000: Maximum vertical peaking (enhancement) 10000: Vertical peaking has no effect (flat) 11111: Maximum attenuation (damping)
VPKPRESCM
Micronas
Micronas
Nov. 28, 2002; 6251-576-3PD
NALPFIPM
26h
VSM2_40
VPREBYPM
VDCPRESCM
ALPFIPM
27h
VSM2_40
HORPOSNM
HORWIDTHNM
VSCPRESCM
Global Motion Detection Master Channel 28h W VSM2_40 GMSTTH[1] GMTHUM x x x x x x x x GMD stock ticker segment threshold (int) 0: Default GMD spatial hysteresis: upper threshold (int) 68: Default
119
120
Nov. 28, 2002; 6251-576-3PD
Film Mode Detection Master Channel 2Bh W VSM2_40 MDVFFON x Motion detection vertical filter for frame difference 0: Disabled 1: Enabled x FMD still detection on/off Forces camera mode, if still sequence is d 0: Disabled 1: Enabled x x x x x FMD threshold for dc level (int) 7: Default]
FMDSON
FMDCTH FMRES
FMD reset 0: Not forced 1: Forced to camera mode x FMD temporal hysteresis on/off 0: History length = 2 * (FMMEMHIS+1) 1: History length = 2 * (FMMEMHIS+1), camera-> film mode History length = 1* (FMMEMHIS+1), film -> camera mode x FMD trash counter on/off If trash counter > 120, the film mode detector switches automatically to camera mode. 0: Disabled 1: Enabled
FMTHYON
FMTHRON
Micronas
Micronas
Nov. 28, 2002; 6251-576-3PD
FMSCALEU
FMREGION
2Ch
VSM2_40
Motion Detection Master Channel 2Dh W VSM2_40 TFLDDON x Temporal field delay on 0: Two bit of field delayed motion values 1: One bit current motion value and one bit field delayed
THRGM SVALFI
x x x
Threshold of frame difference in MD for global motion detection: (int) 8: Default Sensitivity factor of field difference 00 : Factor 1(maximum) 01 : Factor 2 10 : Factor 4 11 : Factor 8 (minimum) x x Sensitivity of frame difference 00 : Factor 1(maximum) 01 : Factor 2 10 : Factor 4 11 : Factor 8 (minimum) x x Automatic movie mode detection In case of movie mode, the motion detection will be automatically switched to 00 : Disabled 01 : Disabled 10 : Only frame difference 11 : No motion
SVALFR
AMMON
121
122
Nov. 28, 2002; 6251-576-3PD
TFDT
2Eh
VSM2_40
DTFDT[1]
THLI0 FRAFION
THFR1
Micronas
THFI1
Micronas
Nov. 28, 2002; 6251-576-3PD
Noise Measurement in Picture Content 32h W VSM1_40 GAPM x x x x x x Threshold for homogenous areas 000000: 0 111111: 63 x x Fixes sensitivity of measurement 00: NOISE_SUM_REG=NOISE_SUM*0.5 01: NOISE_SUM_REG=NOISE_SUM 10: NOISE_SUM_REG=NOISE_SUM*2 11: NOISE_SUM_REG=NOISE_SUM*4 x x x x x x x x Offset for eliminating standard noise 00000000: 0 11111111: 255
SENSITIVM
OFFSET
Horizontal Post Scaler Master Channel 33h W VSBM2_36 HPANONM x Horizontal panorama mode 0: Panorama disabled 1: Panorama enabled x Disable border detection (postscaler) 0: Border detection active 1: Border detection not active x Chrominance delay 0: No delay 1: Half-pixel delay x x x x x x x x x x x x Horizontal scaling factor for post scaler (int) 1024: Upsampling factor is 4 (int) 2910: Upsampling factor is 1.407 (int) 4095: Upsampling factor is 1
DBDHPOSM
CDELHPOSM
HSCPOSCM
123
124
Nov. 28, 2002; 6251-576-3PD
HINC0M
35h
VSBM2_36
HSEG1M[4:0] HINC1M
36h
VSBM2_36
HSEG2M[10:5]
HINC2M
37h
VSBM2_36
HSEG2M[4:0] HINC3M
38h
VSBM2_36
HSEG3M[10:5]
HINC4M
39h
VSBM2_36
HSEG3M[4:0] HSEG4M
Micronas
Micronas
Nov. 28, 2002; 6251-576-3PD
VDOUBLEM
VSCPOSCM
3Bh
VSBM2_36
VSEG1M[9:5]
VINC0M
3Ch
VSBM2_36
VSEG1M[4:0] VINC1M
3Dh
VSBM2_36
VSEG2M[9:5]
Beginning of segment 2 for vertical panorama mode (int) 0: 0 lines behind picture start (int) 1023: 1023 lines behind picture start (VDOUBLE=0) (int) 1023: 1023*2 lines behind picture start (VDOUBLE=1) x x x x x x x x x Vertical post-scaler increment 2 100000000: Picture becomes bigger 000000000: No action 011111111: Picture becomes smaller (See 3Bh) x x x x x x x x x Vertical post-scaler increment 3 100000000: Picture becomes bigger 000000000: No action 011111111: Picture becomes smaller Invert skew signal from input PLL 0: No inversion 1: Inversion
VINC2M
3Eh
VSBM2_36
VSEG2M[4:0] VINC3M
3Fh
VSBM2_36
INVSKEW
125
126
Nov. 28, 2002; 6251-576-3PD
ITUSYNC
SECDELM
PALDETIDLM
VINC4
40h
VSBM2_36
VOFPOSC[7:3]
VSEG3M
41h
VSBM2_36
VOFPOSC[2:0] VSEG4M
Output Data Controller Master Channel 42h W VSBM2_36 DPBRT x x x x x x Brightness 000000: + 48 LSB 110000: no offset 111111: - 15 LSB x x x x x x Contrast 000000: 0 100000: 1 111111: 63/32
DPCON
Micronas
Micronas
Nov. 28, 2002; 6251-576-3PD
43h
VS1_20
PWADJCNTM
MINVM
44h
VS2_20
PWADJCNTS
MINVS
x Measured sync amplitude 00000000: Smallest sync 11111111: Largest sync Automatic freerun when sync-separartion not stable 00: Disabled (keep H/V locked, if selected) 01: Vertical freerun when not stable 10: Horizontal freerun when not stable 11: Horizontal and vertical freerun when not stable Depends on color decoder which is selected to be master with SELMASTER and SELSM
45h
VSBM2_36
AUTOFRRN
LPFIPMD
Lines per field method 0: Back-end 1: Front-end x Vertical ODC line counting 0: Field delay 1: Frame delay x Back-end field inversion 0: No inversion 1: Inversion x x x x x x x x x x x Horizontal position inside active picture area (int) 32: Most left display position (int) 4095: Most right display position Values smaller than 32 are not usable Secam v-delay 0: Zero delay 1: Delay v-channel by 1 pixel
VINMTHD
FIELDBINV
HORPOSM
46h
VSBM2_36
SECDELS
127
128
Nov. 28, 2002; 6251-576-3PD
VERPOSM
47h
VSBM2_36
HORWIDTHM
48h
VSBM2_36
NOFHSYNC
VERWIDTHM
Picture Improvement Master Channel 49h W VSBM2_36 PKCTIBPM x x Peaking factor for CTI (bandpass part) 00: 2 (CTI bp off) 01: 16 10: 24 11: 32 x x Peaking factor for CTI (highpass part) 00: 2 (CTI hp off) 01: 16 10: 24 11: 32 x Luminance transition improvement 0: Disabled 1: Enabled x x 1st adaptive peaking factor (bandpass part) 0000: 0.5 0100: 2.5 1111: 8
PKCTIHPM
LTIM
APK1BPM[1:0]
Micronas
Micronas
Nov. 28, 2002; 6251-576-3PD
ATH1BPM
ATH2BPM
THEM
4Ah
VSBM2_36
APK1HPM[1:0]
APK2HPM
ATH1HPM
ATH2HPM
DBDPICIM
APK1BPM[3:2]
129
130
Nov. 28, 2002; 6251-576-3PD
Pixel Mixer Master Channel 4Bh W VSBM2_36 YFRAMEM UFRAMEM VFRAMEM x x x x x x x x x x x Luminance value for the master frame (4MSB) 0001: Default value (yields value 0001 00000=32) Chrominance value for the master frame (4MSB) 0000: Default value (yields value 0000 00000=0) x Chrominance value for the master frame (4MSB) 0000: Default value (yields value 0000 00000=0)
Dynamic Contrast Improvement Master Channel 4Ch W VSDCI_36 SPIXELM x x x x x Start pixel number for analysis window START= SPIXEL x 8 (int) 2: 16 pixels x x x x x x x End pixel number for analysis window END = EPIXEL x 8 + 512 (int) 54: 944 pixels x Enable split-screen demo mode 0: Disabled 1: Enabled x Scanning mode for DCI 0: Interlaced 1: Progressive x Color saturation compensation 0: Disabled 1: Enabled x Digital contrast improvement (DCI) 0: Disabled 1: Enabled The analysis continues also if DCI_ONM = 0, but it has no effect to the output. 4Dh W VSDCI_36 SLINEM x x x x Start line number for analysis window START = SLINE x 8 (int) 1: 8 lines x x x x x x End line number for analysis window END = ELINE x 8 + 128 (int) 55: 568 lines
EPIXELM
ENA_DEMOM
SCAN_IDM
CSC_ONM
DCIONM
ELINEM
Micronas
Micronas
Nov. 28, 2002; 6251-576-3PD
FREEZE_ANLM
4Eh
VSDCI_36
PIXELPLINEM AB_FTCM
4Fh
VSDCI_36
SENSWSM LSWFM
50h
VSDCI_36
SENSBSM DSFTCM
51h
VSDCI_36
ERRORCMPM DYTCM
52h
VSDCI_36
PK_FTCM PEAK_SIZEM
Filter time constant for frame peak value (int) 16: Default x Peak area size. Range [0...9] (internally limited to max.9] (int) 4: Default
131
132
Nov. 28, 2002; 6251-576-3PD
MVCOFP0
MVCOFP1
MVDIVA
MVDIVP
MVDIVR
Micronas
54h
VSBM1_36
MVMODE
Method selection for creation the motion value result 0: Accumulator method 1: New method w/o accumulator
Micronas
Nov. 28, 2002; 6251-576-3PD
SMMODE
MVFIXENA
MVFIXVAL GMFMFBENA
GSFMFBENA
GSTILLENA
MVVISENA
FJSELLNV
MVCHOLD
55h
VSBM1_36
DYNOPMSV
133
134
Nov. 28, 2002; 6251-576-3PD
DYNOPSMV
DYNOPFJV
DYNOPMSP0
DYNOPITP0
DYNOPSMP0
DYNOPFJP0
Micronas
Micronas
Nov. 28, 2002; 6251-576-3PD
DYNOPLSGS
OPPHASEFR
DYNOPLSV
DYNOPLSP0
135
136
Nov. 28, 2002; 6251-576-3PD
x Dynamic operation table entry: Line scan pattern sequence when 2-2-pull-down (PAL) film mode phase 1 active 000: LspSeqAAAA 001: LspSeqBBBB 010: LspSeqAABB 011: LspSeqABBA 100: LspSeqBBAA 101: LspSeqBAAB 110: LspSeqABAB 111: LspSeqBABA Dynamic operation table entry: Line scan pattern sequence when 2-3-pull-down (NTSC) film mode phase 0 active 000: LspSeqAAAA 001: LspSeqBBBB 010: LspSeqAABB 011: LspSeqABBA 100: LspSeqBBAA 101: LspSeqBAAB 110: LspSeqABAB 111: LspSeqBABA
57h
VSBM1_36
DYNOPLSN
FMFORCETRIG
Force the actual adjusted FM phase (FmForce) if strictly force of FM PAL or FM NTSC is selected (FmForce = 1/2/3/4/5/6/7) As long as the trigger is set the phase is forced to the selected value On I2C_FmForce = 0/8/9/10/11-15 this parameter has no effect 0: Phase forcing is disabled 1: Phase forcing is enabled x x Field jam mode selector 00: Field jam disabled 01: Field jam enabled but always soft mix mode is activated 10: Field jam enabled and forced 11: Field jam enabled with adaptive behavior to film mode generator X Control signal for the line select generator output (int) 0: LineSel is NOT altered (int) 1: LineSel is inverted
FJMODE
NEGLINESEL
Micronas
Micronas
Nov. 28, 2002; 6251-576-3PD
INITLINESEL
STATOPMSC
STATOPMSCENA
58h
VSBM1_36
DYNOPMSGM
137
138
Nov. 28, 2002; 6251-576-3PD
DYNOPSMGM
DYNOPFJGM
DYNOPMSGS
DYNOPITGS
DYNOPSMGS
DYNOPFJGS
Micronas
Micronas
Nov. 28, 2002; 6251-576-3PD
DYNOPITN0
DYNOPSMN0
DYNOPFJN0
DYNOPMSN1
DYNOPITN1
139
140
Nov. 28, 2002; 6251-576-3PD
DYNOPFJN1
5Ah
VSBM1_36
DYNOPMSN2
DYNOPITN2
DYNOPSMN2
DYNOPFJN2
DYNOPMSN3
Micronas
Micronas
Nov. 28, 2002; 6251-576-3PD
DYNOPSMN3
DYNOPFJN3
5Bh
VSBM1_36
DYNOPMSN4
DYNOPITN4
DYNOPSMN4
DYNOPFJN4
141
142
Nov. 28, 2002; 6251-576-3PD
DYNOPITP1
DYNOPSMP1
DYNOPFJP1
5Ch
GCMON
5Dh
NTO
FRINC[18:3]
5Eh
NTO
FJMODE FRZLIMLR
FRFIX
Micronas
FRINC[2:0]
Micronas
Nov. 28, 2002; 6251-576-3PD
AMSTD60M
SYNCGAINM
AGCPWRESM
H50SKEW
AGCTHDM
60h
VS1_20
MVPM
MVPGM
SLNCW
143
144
Nov. 28, 2002; 6251-576-3PD
BGSHIFTM
REMDEL2
REMDEL1
61h
VS656_27
HSPPL
VSLPF
62h
NTO
REFTRIMRD
REFTRIMCVRD
REFTRIMRGBRD
x Reference value RGB ADC 0000: Narrow 1111: Wide Note: Contains fused value only when REFTRIMEN=0.
Micronas
Micronas
Nov. 28, 2002; 6251-576-3PD
MVPGS
AMSTD60S
SYNCGAINS
AGCPWRESS
BGSHIFTS
AGCTHDS
145
146
Nov. 28, 2002; 6251-576-3PD
VTHRH60S
VTHRL60S
65h
VS2_20
CONSS
COLONS
CPLLOFS
LPPOSTS
ACCFIXS
ACCFRZS
FLINES
FLDINVS
CLPSTGYS
Micronas
Micronas
Nov. 28, 2002; 6251-576-3PD
CLMPD1S
66h
VS2_20
CONS
UVCORS
SECNTCHS
HPOLS
FHDETS
COMBUSES
CLMPD2S
147
148
Nov. 28, 2002; 6251-576-3PD
CRCBS
LMOFSTS
VINPS
YCSELS
NOSIGBS
HINPS
68h
VS2_20
VFLYWHLMDS
CHRFS
Micronas
Micronas
Nov. 28, 2002; 6251-576-3PD
CLMPST2S
69h
VS2_20
COMBS
CSTANDS
CKILLS
6Ah
VS2_20
CKILLSS
FHFRRNS
6Bh
VS2_20
VPOLS
THRSELS
149
150
Nov. 28, 2002; 6251-576-3PD
DISALLRESS
SATNRS
NSREDS
LPCDELS
6Ch
VS2_20
HUES
VSHIFTS
6Dh
VS2_20
NTSCREFS
PALIDL1S
VTHRL50S
Micronas
Micronas
Nov. 28, 2002; 6251-576-3PD
PALIDL0S
VTHRH50S
6Fh
VS2_20
SLLTHDS
SCADJS
AGCMDS
AGCADJ1S
70h
VS2_20
AGCRESS
AGCFRZES
AGCADJ2S
VFLYWHLS
151
152
Nov. 28, 2002; 6251-576-3PD
CLMPST1SS
71h
VS2_20
CLMPHIGHS
SCMIDLS
CLMPST2SS
72h
VS2_20
IFCOMPSTRS
SECACCLS
CLMPLOWS
Vertical start of clamping pulse 0000: Line 0 0011: Line 6 1111: Line30 x x x x x ACC limitation 00000: Limit at high color-carrier 01000: Limit at -24 dB 11111: Limit at low color-carrier
ACCLIMS
Micronas
Micronas
Nov. 28, 2002; 6251-576-3PD
73h
VS2_20
SLLTHDVPS
EIA770S
VDETIFSS
LOCKSPS
ADLCKS
ADLCKSELS
ADLCKCCS
CLMPD2SS
CLMPD1SS
153
154
Nov. 28, 2002; 6251-576-3PD
DEEMPIIRS[1:0]
VDETITCS
SECACCS
SECDIVS
SECINC1S
SECINC2S
SCMRELS
Micronas
Micronas
Nov. 28, 2002; 6251-576-3PD
BELLFIRS[1:0]
BELLIIRS[1:0]
SLLTHDVS
FLNSTRDS
ENLIMS
ISHFTS
155
156
Nov. 28, 2002; 6251-576-3PD
VLPS
76h
VS2_20
PALDELS
TNOTCHOFFS
BGPOSS
PALINC1S
PALINC2S
CLRANGES
NTCHSELS
Micronas
Micronas
Nov. 28, 2002; 6251-576-3PD
TRAPREDS
Memory Controller Slave Channel 77h W VSS2_40 INTPROGS x Interlaced or progressive input signal for master channel 0: Interlaced input source 1: Progressive input source (e.g. VGA) x Freeze master picture 0: Live 1: Frozen (no writing of master data) x Vertical resolution master channel for frame based MUP-mode 0: Field resolution 1: Frame resolution x x Write mode master channel 00: All incoming fields are stored 01: Only A fields are stored 10: Only B fields are stored 11: Not defined x Read master memory data to slave 0: Slave data is read from slave memory 1: Slave data is read from master memory x x Pixels per line slave channel 00: Defined by DISPMODE 01: 448 pixels/line 10: 768 pixels/line 11: 896 pixels/line x x x x x x Horizontal Position of master picture in the memory 000000: Left border position Effective values: WRPOSXS/2 * 32 pixel, WRPOSXS* 16 pixel (MUP-modes), WRPOSXS/8 * 128 pixel (DISPMODE=0000, MOTVALON=1) Vertical position of master picture in the memory 00000000: Upper border position Resolution: 1 line
FREEZES
VERRESS
WRITES
READM2S
PIXPLINS
WRPOSXS
78h
VSS2_40
WRPOSYS
157
158
Nov. 28, 2002; 6251-576-3PD
RDPOSXS
READS
Noise Measurement Slave Channel 7Ah W VSS1_40 NMLINES x x x x x x x x x Line for noise measurement 0d: Line 2 1d: Line 3 311d: Line 1 (PAL) 261d: Line 1 (NTSC) Note: Lines 3-260 are not standard dependent x x Noise measurement sensitivity 00: *1 01: *2 10: *4 11: *8 x x Noise measurement analyze window position 00: 6.3 s 01: 12.6 s 10: 18.9 s 11: 23.7 s
NMSENSES
NMPOSS
Temporal Noise Reduction Slave Channel 7Bh W VSS2_40 FEMAGS x x x x x Fine error characteristic 00000: Smallest gain 10000: Default (equal to B11version) 11111: Largest gain x x x Secam Dr adjustment 00: 191 01: 194 10: 197 11: 200
SDRS
Micronas
Micronas
Nov. 28, 2002; 6251-576-3PD
TNRABSS
NRONS
TNRSELS
TNRNR4YS
7Ch
VSS2_40
7Dh
VSS2_40
TNR curve characteristic of luma segment 4 0100: Default TNR curve characteristic of luma segment 5 0100: Default TNR curve characteristic of luma segment 6 0000: Default TNR curve characteristic of luma segment 7 0000: Default TNR curve characteristic of chroma segment 0 0001: Default
7Eh
VSS2_40
TNRCS0S
TNRCS1S
TNRCS2S
159
160
Nov. 28, 2002; 6251-576-3PD
TNRCLYS
TNRCLCS
Preframe Generator Slave Channel 81h W VSS2_40 YBORDERS x x x x Y border value of display Granularity: 16 0000: 0 0001: 16 1111: 240 x x x x U border value of display Granularity: 16 0000: 0 0001: 16 0111: 112 1000: -128 1111: -16 x x x x V border value of display Granularity: 16 0000: 0 0001: 16 0111: 112 1000: -128 1111: -16
UBORDERS
VBORDERS
Micronas
Micronas
Nov. 28, 2002; 6251-576-3PD
82h
VSS2_40
MPFBPRS
MPFBLTS
DPVSAT
83h
VSS2_40
FRCBGNDS
MPFBPLS
DPUSAT
Horizontal Prescaler Slave Channel 84h W VSS1_40 FRCMMODS x Mosaic mode generator 0: Disabled 1: Enabled x Active pixel enable select 0: Count clock cycles (recommended for CVBS/RGB input) 1: Count active pixels (recommended for ITU656 input) x x x x x x x x x x x x Control signal for HSCALE in horizontal pre-scaler Subsampling factor by prescaler is (int) 0: 1 (int) 2048: 1.5 (720 pixels) (int) 2371: 1.578 (684 pixels) (int) 4095: 2 (540 pixels)
APENSELS
HSCPRESCS
161
162
Nov. 28, 2002; 6251-576-3PD
HDCPRESCS
APPLIPS
86h
VSS1_40
MOTONS
NAPPLIPS
Vertical Prescaler Slave Channel 87h W VSS1_40 VAAPRESCS x Vertical lowpass filter (pre-scaler) 0: Disabled 1: Enabled x x x x x Vertical peaking 00000: Maximum vertical peaking (enhancement) 10000: Vertical peaking has no effect (flat) 11111: Maximum attenuation (damping) x Shift of chrominance signal 0: No shift 1: One line upward (e.g. for VCR)
VPKPRESCS
VCRPRESCS
Micronas
Micronas
Nov. 28, 2002; 6251-576-3PD
88h
VSS2_40
VPREBYPS
VDCPRESCS
ALPFIPS
89h
VSS2_40
VSCPRESCS
Horizontal Postscaler Slave Channel 8Ah W VSBS_36 HPANONS x Horizontal panorama mode 0: Panorama disabled 1: Panorama enabled x Disable border detection (postscaler) 0: Border detection active 1: Border detection not active x Chrominance delay 0: No delay 1: Half-pixel delay x x x x x x x x x x x x Horizontal scaling factor for post scaler (int) 1024: Upsampling factor is 4 (int) 2910: Upsampling factor is 1.40 (int) 4095: Upsampling factor is 1 Beginning of segment 1 for horizontal panorama mode Granularity: 2 pixels (int) 0: 0 pixel behind picture start (int) 2047: 4094 pixel behind picture start
DBDHPOSS
CDELHPOSS
HSCPOSCS
8Bh
VSBS_36
HSEG1S[10:5]
163
164
Nov. 28, 2002; 6251-576-3PD
8Ch
VSBS_36
HSEG1S[4:0] HINC1S
8Dh
VSBS_36
HSEG2S[10:5]
HINC2S
8Eh
VSBS_36
HSEG2S[4:0] HINC3S
8Fh
VSBS_36
HSEG3S[10:5]
HINC4S
90h
VSBS_36
HSEG3S[4:0] HSEG4S
Output Data Controller Slave Channel 91h W VSBS_36 HOROFFS [10:6] x x x x x Horizontal offset to compensate slave processing delay (int) 64: Default x x x x x x x x x x x Horizontal position inside active picture area (int) 0: Most left display position (int) 4095: Most right display position
Micronas
HORPOSS
Micronas
Nov. 28, 2002; 6251-576-3PD
93h
VSBS_36
HORWIDTHS
94h
VSBS_36
VEROFFS VERWIDTHS
Picture Improvement Slave Channel 95h W VSBS_36 PKCTIBPS x x Peaking factor for CTI (bandpass part) 00: 2 (CTI bp off) 01: 16 10: 24 11: 32 x x Peaking factor for CTI (highpass part) 00: 2 (CTI hp off) 01: 16 10: 24 11: 32 x Luminance transition improvement 0: disabled 1: enabled x x 1st adaptive peaking factor (bandpass part) 0000: 0.5 0100: 2.5 1111: 8 x x x 2nd adaptive peaking factor (bandpass part) 000: 1 001: 2 (peaking bp off) 011: 4 111: 8
PKCTIHPS
LTIS
APK1BPS[1:0]
APK2BPS
165
166
Nov. 28, 2002; 6251-576-3PD
ATH2BPS
THES
96h
VSBS_36
APK1HPS[1:0]
APK2HPS
ATH1HPS
ATH2HPS
DBDPICIS
Micronas
Micronas
Nov. 28, 2002; 6251-576-3PD
Comb filter
98h W VS1_20 CVBSEL1 x x x x Input select for ADC1 0000: CVBS1 0001: CVBS2 0010: CVBS3 0011: CVBS4 or Y1 0100: CVBS5 or C1 0101: CVBS6 or Y2 0110: CVBS7 or C2 0111: Y1 + C1 1000: Y2 + C2 1001: CVBS8 (QFP144 versions only) 1010: CVBS9 (QFP144 versions only) 1111: Disabled x x x x Input select for ADC2 0000: CVBS1 0001: CVBS2 0010: CVBS3 0011: CVBS4 or Y1 0100: CVBS5 or C1 0101: CVBS6 or Y2 0110: CVBS7 or C2 0111: Y1 + C1 1000: Y2 + C2 1001: CVBS8 (QFP144 versions only) 1010: CVBS9 (QFP144 versions only) 1111: Disabled
CVBSEL2
167
168
Nov. 28, 2002; 6251-576-3PD
CLMPSIG2
VCRDETHD
YCBYR
YCBYB
YCTOCOMB
99h
VS1_20
CVBOSEL1
Micronas
Micronas
Nov. 28, 2002; 6251-576-3PD
CVBOSEL3
VDG
HDG
9Ah
VS1_20
DDR
F2F1F0 DT
169
170
Nov. 28, 2002; 6251-576-3PD
NOSEL
DCR
SYNCOMB
VPK
9Bh
VS1_20
LINLENH50
LINLENH60
REFTRIMEN
V50BLANK
PORCNCL
RESETPC1
RESETPC2
Micronas
Micronas
Nov. 28, 2002; 6251-576-3PD
DISCOMB
RESMODE
SLICER/ANALOG 9Ch W VS1_20 XDSCLS x x x x x XDS-Primary-filter (class) 00000: Transparent (all sliced data, both fields) 1xxxx: Current selected (only second field) x1xxx: Future selected (only second field) xx1xx: Channel selected (only second field) xxx1x: Miscellenious selected (only second field) xxxx1: Public Services selected (only second field) x Signal select for PIN 656VIO 0: 656vin or 656vout (dependent on operation mode) 1: Blank signal output x x x XDS-secondary-filter (classtype) / [WSS field] 000: ALL (no filtering) [field 1 only] 001: 05h (program rating) [field 2 only] 010: 01h, 04h (time information only)[both fields] 011: 40h (out of band only) 100: 01h,02h,03h,04h,0Dh,40h (VCR information) 101: 01h, 04h,05h (time information only and PR)[both fields] 110: 05h,40h (out of band only and PR) 111: 01h,02h,03h,04h,05h,0Dh,40h (VCR information and PR) x x x IRQpin selection 000: Horizontal sync (2 s) 001: Interrupt, when new data arrived (pos. polarity)(2 s) 010: Interrupt, when new data arrived (neg. polarity)(2 s) 011: Equivalent to DATAV for both registers (pos. pol.) 100: Equivalent to DATAV for both registers (neg. pol.) 101: Vertical sync (2 s) 110: Selected line for slicing 111: Cvbs field at output x Closed caption or WSS 0: Closed caption 1: WSS x x Input for comb filter 00: ADC 1 01: ADC 2 10: ADCG / ADCF (dependent on ADCSEL)
656BLANK
XDSTPE
IRQCON
SERVICE
INCOMB
171
172
Nov. 28, 2002; 6251-576-3PD
9Dh
NTO
REFTRIM
REFTRIMCV
REFTRIMRGB
ITU Input/Output Interface 9Eh W VS656_27 OMODE x x Output format: 00: Full ITU656 01: ITU656 only data, H- and V-blank as outputs, according to ITU656 10: ITU656 only data, H- and V-blank as inputs, according to ITU656 11: (Reserved) x Clock for ITUO 0: 656clk is clock input 1: 656clk is output equal to pin clkout x x x x x x x x x Pixels per line ITU Granularity: 2 pixel (int) 432: Default CbYCrY-phase shift 00: No phase shift 01: 1 clk 10: 2 clk 11: 3 clk
CLK656OUT
PPLIPI
9Fh
VS656_27
NAPIPPHI
F_OFFS
Offset of active field at interlaced mode (line offset): 00: NALPFIPI+1 (A), NALPFIPI (B) 01: NALPFIPI (A), NALPFIPI+1 (B) 01: 1 H delay in field A 11: 1 H delay in field B x x x x x Ancillary data line number if ADINS=0: Tansmitter address is: 111(+5 bits of ADLINE), if ADINS=1: ADLINE defines the line, which should contain the ancillary data. x Field polarity 0: Field A=0, Field B=1 1: Field A=1, Field B=0
ADLINE
FPOL
Micronas
Micronas
Nov. 28, 2002; 6251-576-3PD
ADINS
VSREF
A0h A1h
W W
VS656_27 VS656_27
LPFIPI APPLIPI x x x x x x
x x
x x
x x
A3h
VS656_27
VSIGNAL
CFORMAT
HPOL
VPOL
EN_656
173
174
Nov. 28, 2002; 6251-576-3PD
CONADJ
CHRSFR
AASEL
A5h
VSRGB_40
CLKF2PAD
FBLDEL
GOFST
MIXGAIN
STANDBYRGB
Micronas
Micronas
Nov. 28, 2002; 6251-576-3PD
DEC2
A6h
VSRGB_40
YFDEL
UVDEL
RGBSEL
FBLCONF
A7h
VSRGB_40
USATADJ
VSATADJ
V saturation adjustment 000000: 0 000001: 1/32 100000: 1 111111: 63/32 x Select ADC for sync signal conversion 0: Use ADC_G 1: Use ADC_FBL x Bypass RGB/YUV antialiasing filter 0: Use filter 1: Bypass x Clamping value G ADC 0 : 16 1 : 80 x Clamping value fast blank input 0 : Enable clamping 1 : Disable clamping (DC coupling)
ADCSEL
AABYP
CLMPVG
DCLMPF
175
176
Nov. 28, 2002; 6251-576-3PD
AGCADJB
MIXOP
CLMPVRB
A9h
VSRGB_40
AGCADJG
AGCADJF
RBOFST
SKEWSEL
AAh
VSRGB_40
FBLOFFST
SELMASTER
Micronas
Micronas
Nov. 28, 2002; 6251-576-3PD
SELSM
YUVSEL
SMOP
Y2RGB
BLUESEL
BLUETWO
LL-PLL Processing ABh W NTO/HS IICINCR[18:3] x x x x x x x x x x x x x x x x Set HDTO frequency Granularity=103 Hz 33981d (minimum: nominal pixel clock= 3.5 MHz) 349525d (nominal pixel clock= 36 MHz) 388362d (maximum: nominal pixel clock= 40 MHz) Switch clkf20 and clkf40 to pads cvbs1 or bin2 00: No clock 01: Cvbs1 is output of clkf40 10: Bin2 is output of clkf20 11: Cvbs1 is output of clkf40 and bin2 is output of clkf20 x Test-bit for HPLL 0: Normal mode 1: Test mode x x x x Increment freeze duration 0: No freeze 15: Increment is frozen for 15 lines x Dynamic time constant control 0: Linear mode 1: Non linear mode
ACh
NTO/HS
CLKT1
HDTOTEST
FILE
LNL
177
178
Nov. 28, 2002; 6251-576-3PD
LIMHI
KOIH
HTESTW HSWIN[2:0]
SETSTABLL
Micronas
KD2
Micronas
Nov. 28, 2002; 6251-576-3PD
LMOD
FMOD
AEh
NTO
HRES
HWID
FION
PPLIP
AFh
NTO
FREQSELL
Amplifier current setting of oscillator pad 00: 100 A 01: 590 A 10: 235 A 11: 1730 A x Power down of crystal oscillator amplifier 0: Normal mode 1: Power down mode x Power down of crystal oscillator shaper 0: Normal operation 1: Power down active x Testmode control of crystal oscillator 0: Normal operation (shaper active) 1: External clock input (shaper replaced)
OSCPD
SHAPERDIS
TSTSHABRI
179
180
Nov. 28, 2002; 6251-576-3PD
FKOI
FKOIHYS
Micronas
Micronas
Nov. 28, 2002; 6251-576-3PD
B0h
NTO
LIMIP
B1h
NTO
KPNL[3:0]
181
182
Nov. 28, 2002; 6251-576-3PD
FETHD
Micronas
Micronas
Nov. 28, 2002; 6251-576-3PD
B3h
NTO
Letterbox Detection B4h W VSM1_40 LBSUB x x Subsampling mode 0x: Others (factor 1) 10: 20.25 MHz source (factor 1.5) 11: 40.5 MHz source (factor 3) x Reset of gradient method 0: No reset 1: Reset x Stability flag 0: Continuous format update 1: Format update only once x Sensitivity to 4:3 switch 0: Off 1: On x No gradient found 0: Disabled 1: Enabled x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x Threshold for darkness-brightness, histogram, activity (int)30: Default Histogram stability delay (int)10: Default Threshold for gradient detected (int) 50: Default Vertical measure window lower end (int) 150: Default, [in lines (*2) related to VSYNC] Histogram white (int) 50: Default Horizontal measure window end (int) 180: Default, [in active pixels (*4) related to HSYNC]
LBGRADRST
LBSTABILITY
LB43SENS
LBNGFEN
LBTHDNBNHA LBHSDEL B5h W VSM1_40 LBGRADDET LBVWENDLO B6h W VSM1_40 LBHIWHITE LBHWEND
183
184
Nov. 28, 2002; 6251-576-3PD
LBVWSTLO LBFS
LBVWENDUP B9h W VSM1_40 LBGSDEL LBGFBDEL LBVWSTUP BAh W VSM1_40 LBASDEL LBVISUON
LBACTIVITY LBTHDNBNG
Output Data Controller BBh W VSBM2_36 PPLOFF x x x Synchronization offset (For switching from hor. freerun mode to locked mode) Granularity: 4 pixel 000: 0 010: 8 111: 28
Micronas
Micronas
Nov. 28, 2002; 6251-576-3PD
NAPPLOP
BCh
VSBM2_36
VOUTFR
HOUTFR
NOSYNC
RMODE
OPDEL HOUTDEL
BDh
VSBM2_36
GFBON
FMODE
PDGSR
185
186
Nov. 28, 2002; 6251-576-3PD
SLAVEON
LPFOP[8] PPLOP
BEh
VSBM2_36
OPDEL
LPFOP[7:0]
Memory Controller BFh W VSBM1_36 DISPMODE x x x x Display mode 0000: FSM-mode 0001: SPS-mode 0010: SSC1-mode 0011: MUP1-mode 0100: MUP2-mode 0101: PCE-mode 0110: PCF-mode 0111: PCP-mode 1000: SSC2-mode x Motion values on (Only active for DISPMODE=0000) 0: Motion values are not stored 1: Motion values are stored x Refresh on 0: No memory refresh 1: Memory refresh active
MOTVALON
REFRON
Micronas
Micronas
Nov. 28, 2002; 6251-576-3PD
LPFOPOFF
ARSDIS
JLCRES
MASLEX
C0h
VSBS_36
STOPMOS
EXTRD
P3DIS
P4DIS
187
188
Nov. 28, 2002; 6251-576-3PD
VLEROFF
HPS1OFF
HPE2OFF
HPEXOFF
VLEXOFF
HPS2OFF
VLS1OFF
Formatter C1h W VSBM2_36 CHROMSIGN656 x Chrominance format for 656 output 0: (R-Y), (B-Y) output 1: -(R-Y), -(B-Y) output x Fieldoffset for ITU656 NTSC signals 0: Disabled 1: Enabled x Enable (single or double-scan) digital DP656 output 0: Disable output 1: Enable output x Shift UV subsampling at digital output 0: Take first UV couple 1: Take second UV couple x Stability signal of LL_HPLL 0: STABLL is generated accoding to SETSTABLL 1: STABLL is forced to 1 (hout synchronization enabled)
FIOFFOFF
DPOUT656
SHIFTUV
FSWFTL
Micronas
Micronas
Nov. 28, 2002; 6251-576-3PD
V656DEL
CLK656OUTINV
HOUTTR
UVCODE
V100IN
DIGOUTEN
M422
CHRSFM
NSHAP
DWO
YUV_RGB C2h W VSBM2_36 C1[10:2] C2[10:2] C3h W VSBM2_36 C3[10:2] x x x x x x x x x x x x x x x x x x x x x x x x Matrix coefficient C1 (2c) 0: Default Matrix coefficient C2 (2c) 179: Default Matrix coefficient C3 (2c) -44: Default
189
190
Nov. 28, 2002; 6251-576-3PD
UENINV
WINDVST
WINDVDR
WINDVON
HORPOSP
Micronas
Micronas
Nov. 28, 2002; 6251-576-3PD
WINDHST
WINDHDR
WINDHON
HORWIDTHP
C8h
VSBM2_36
YCUR LUMAMP
VERPOSP
C9h
VSBM2_36
UCUR CHROMAMP
VERWIDTHP
CAh
VSBS_36
VCUR HORPOSF
191
192
Nov. 28, 2002; 6251-576-3PD
HORWIDTHF
CCh
VSBS_36
VERFRAMEF
VERPOSF
CDh
VSBS_36
YBAGR VERWIDTHF
CEh
VSBM2_362
UBAGR HORPOSG
CFh
VSBM2_36
VBAGR HORWIDTHG
D0h
VSBM2_36
HORFRAMEG
VERPOSG
Vertical position of master frame (int) 0: top (int) 1023: bottom Vertical master frame size (int) 0: 0 lines (int) 31: 31 lines
D1h
VSBM2_36
VERFRAMEG
VERWIDTHG
Vertical width of master frame hole (int) 0: 0 lines (int) 1023: lines
Micronas
Micronas
Nov. 28, 2002; 6251-576-3PD
OBTEMP
OBSOFT
PATTMODE
TBLEND
FRAMEDIMM
FRAMEDIMS
Frame dimension slave 0: 2-dim. 1: 3-dim. Priority curtain 000: 0 001: 2 111: 14
D3h
VSBM2_36
PRIOC
PRIOS
Priority slave 000: 0 110: 12 111: 14 x x x Priority slave frame 000: 0 101: 10 111: 14
PRIOF
193
194
Nov. 28, 2002; 6251-576-3PD
PRIOG
Output sync controller D4h W VSBM2_36 BLANDEL x x x x x x x x Delay in pixels from hsync to active edge of blank signal: Blank_start=4*BLANDEL 00000000: No delay 00000001: 4 pixel delay 11111111: 1020 pixel delay x Vertical blank signal polarity 0: Positive 1: Negative x Output clock select 0: Clkout_o depends on CLKOUTSEL 1: Ckout_o is identical to clkb72 x CLKOUT inversion 0: No inverted CLKOUT 1: Inverted CLKOUT x HOUT polarity: 0: High active 1: Low active x VOUT polarity: 0: High active 1: Low active x Blank polarity: 0: Blank is high active 1: Blank is low active x Output clock select 0: Clkout_o is identical to clkb27 1: Clkout_o is identical to clkb36 Note: HSYNC, VSYNC, BLANK are transferred to selected clock x Output clock (pin clkout) 0: Disabled 1: Enabled Output clock select 0: CLKOUT depends on CLKOUTSEL 1: CLKOUT is identical to clkb72
VBLANPOL
CLKOUT72
CLKOUTINV
HOUTPOL
VOUTPOL
BLANPOL
CLKOUTSEL
CLKOUTON
Micronas
D5h
VSBM2_36
CLKOUTSEL72
Micronas
Nov. 28, 2002; 6251-576-3PD
Delay block D6h W VSBM2_36 VBLANDEL[4:0] x x x x x Vertical delay in lines from vsync to active edge of blank signal: Blank_start=4*VBLANDEL 00000000: No delay 11111111: 1020 lines delay x x x x x x x x x x Vertical length in lines from start of active blank signal: Blank_length=4*VBLANLEN 00000000: No line 11111111: 1020 lines Voltage level for Y DAC output 00000000: 0.4 V 10000000: 1.0 V 11111111: 1.9 V Note: Including peaking overshoots. 0.9V for white max. x x x x x x x x Voltage level for U DAC output 00000000: 0.4 V 10000000: 1.0 V 11111111: 1.9 V Luminance coarse delay output Granularity: 1 CLKB36 (27.8 ns for TV signal) 000: -4 CLKB36 100: No delay 111: +3 CLKB36 x Luminance fine delay output 0: No delay 1: +1 CLKB72 (13.9 ns for TV signal) x x x x x x x x Voltage level for U DAC output 00000000: 0.4 V 10000000: 1.0 V 11111111: 1.9 V
VBLANLEN
D7h
VSBM2_36
PKLY
PKLU
D8h
VSBM2_36
COARSEDEL
FINEDEL
PKLV
C800 D9h DAh W W NTO NTO C800 VDELAY_BE x x x x x x x x x x x x x x x x x x C800 (reserved) 00: vertical synchronized takeover, no sychronisation of FE and BE 01: Update of BE register with the next BE v after update of the FE registers 10: Update of BE register like VDELAY_BE=1 plus one additional BE field delay 11: Update of BE register like VDELAY_BE=1 plus two additional BE fields delay
195
196
Nov. 28, 2002; 6251-576-3PD
CPUIRQ2V
CPUDISABLE
AUTOINC_OFF
NRPIXELM
Pixel number of input signal Granularity: 4 00000000: 384 or less 11111111: 1404 or more PIXEL=4*NRPIXEL+384 Detected polarity of HSync 0: Negative 1: Positive
DCh
VS1_20
DETHPOLM
DETVPOLM
Detected polarity of V sync 0: Negative 1: Positive x x x Detected color standard 000: Non standard or standard not detected 001: NTSC M 010: PAL M 011: NTSC44 100: PAL60 101: PAL N 110: SECAM 111: PAL B/G
STDETM
Micronas
Micronas
Nov. 28, 2002; 6251-576-3PD
PALIDM
CKSTATM
LNSTDRDM
INTM
SCDEVM
DDh
VFLYMDM
VLENGTHM
AGCADJCV1
PALDETM
STABM
DEh
VSM1_40
NOISEMEM
NOISE
197
DFh
VSM2_40
FCIM
198
Nov. 28, 2002; 6251-576-3PD
FILMMODEM
E0h E1h
R R
VSM2_40 VSM2_40
x x
x x
x x
x x
x x
x x
x x
x x
x x
x x
x x
x x
GMOTIONM
E2h
NTO/RSTYP
AM50_OM
AM60_OM
LBSTATUS
NOISESTATUS
Micronas
Micronas
Nov. 28, 2002; 6251-576-3PD
FMSTATUSM
NMSTATUSM
E3h
VSDCI_36
TFDPPM[8:4]
GAINSEG1FRCM
Read registers slave channel E5h R VS1_20 LPFLDS x x x x x x x x Nr. of lines per field (input signal) 00000000: 256 lines or less 11111111: 766 lines or more LINES=2*LPFLD+256 x x x x x x x x Pixel number of input signal Granularity: 4 00000000: 384 or less 11111111: 1404 or more PIXEL=4*NRPIXEL+384 Detected polarity of H Sync 0: Negative 1: Positive x Detected polarity of V Sync 0: Negative 1: Positive
NRPIXELS
E6h
VS1_20
DETHPOLS
DETVPOLS
199
200
Nov. 28, 2002; 6251-576-3PD
SCOUTENS
PALIDS
CKSTATS
LNSTDRDS
INTS
SCDEVS
E7h
VS1_20
VFLYMDS
VLENGTHS
AGCADJCV2
PALDETS
Micronas
STABS
Micronas
Nov. 28, 2002; 6251-576-3PD
E9h
NTO/RSTYP
AM50_OS
AM60_OS
NMSTATUSS
Read Registers Common Channel EAh R VSSLI_20 DATA_CCWSS2 DATA_CCWSS1 EBh R VSSLI_20 DATA_USWSS3 DATA_USWSS2 ECh R VSSLI_20 DATA_USWSS1 POR x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x Second CC or WSS DATA Byte (A7=MSB, A0=LSB) First CC or WSS DATA Byte(B7=MSB, B0=LSB) Third US-WSS DATA Byte (A7=MSB, A0=LSB) Second US-WSS DATA Byte(B7=MSB, B0=LSB) First US-WSS DATA Byte (A7=MSB, A0=LSB) Reset indication A reset at pin 24 (reset) sets POR. POR is reset with PORCNCL (9Bh) 0: No reset appeared 1: Reset appeared x TV mode detection 0: Comb filter input is nonstandard signal (VCR) 1: Comb filter input is standard signal (TV) x Field number of sliced data (US-WSS) 0: First field 1: Second field x New data indication (US WSS) 0: Data read via IC or no new data available 1: New data received and available in DATAA and DATAB x Field number of sliced data (CC or WSS) 0: First field 1: Second field x New data indication (CC or WSS 0: Data read via IC or no new data available 1: New data received and available in DATAA and DATAB
TVMODE
SLFLDUSWSS
DATAVUSWSS
SLFLDCCWSS
DATAVCCWSS
201
202
Nov. 28, 2002; 6251-576-3PD
FBFALL
FBRISE
PFBL
PG
PB
PR
FBLACTIVE
R R R
x x
x x
x x
x x
x x
x x
x x
x x
x x
x x
F1h
VSM1_40
MAXALC MAXHLC
Micronas
F2h
VSM1_40
GRADSLAA
Micronas
Nov. 28, 2002; 6251-576-3PD
LBSUBTITLE
LBTOPTITLE
GRADISSTABLE TOPTITLE SUBTITLE NOGRADFOUND SWITCHTO43 UPWHITE LPWHITE UPBLACK LPBLACK F4h R VSM1_40 LBSLAA LBELAA F5h R VSM1_40 GRADELAA
203
204
Nov. 28, 2002; 6251-576-3PD
SLS
REV
RMMIRROR CHIPID
STABLL
F7h
NTO
ADR_RDY
FIELDCD1
FIELDCD2
VSRGB_40STAT
VSBM2_36STAT
Micronas
VSBM1_36STAT
Micronas
Nov. 28, 2002; 6251-576-3PD
VSBS_36STAT
VSSLI_20STAT
VSS2_40STAT
VSS1_40STAT
VSM2_40STAT
VSM1_40STAT
VS656_27STAT
VS2_20STAT
VS1_20STAT
F8h
VSBM2_36
FCBM SHIFTACT
F9h
VS656_27
ADATA0 ADATA1
FAh
VS656_27
ADATA2 ADATA3
205
206
Nov. 28, 2002; 6251-576-3PD
Command Registers FDh FEh W W C800 IMRGB_40 x C800 (reserved) Immediate take-over 40.5 MHz domain (RGB) 0: No immediate take-over 1: Immediate take-over x Immediate take-over 36 MHz dom. (back-end master 2) 0: No immediate take-over 1: Immediate take-over x Immediate take-over 36 MHz dom. (back-end master 1) 0: No immediate take-over 1: Immediate take-over x Immediate take-over 36 MHz domain (back-end master) 0: No immediate take-over 1: Immediate take-over x Immediate take-over 36 MHz domain (back-end slave) 0: No immediate take-over 1: Immediate take-over x Immediate take-over 20.25 MHz domain (data slicer) 0: No immediate take-over 1: Immediate take-over x Immediate take-over 40.5 MHz domain (input slave 2) 0: No immediate take-over 1: Immediate take-over x Immediate take-over 40.5 MHz domain (input slave 1) 0: No immediate take-over 1: Immediate take-over x Immediate take-over 40.5 MHz domain (input master 2) 0: No immediate take-over 1: Immediate take-over x Immediate take-over 40.5 MHz domain (input master 1) 0: No immediate take-over 1: Immediate take-over x Immediate take-over 27 MHz domain (ITU) 0: No immediate take-over 1: Immediate take-over
IMBM2_36
IMBM1_36
IMDCI_36
IMBS_36
IMSLI_20
IMS2_40
IMS1_40
IMM2_40
IMM1_40
Micronas
IM656_27
Micronas
Nov. 28, 2002; 6251-576-3PD
IM1_20
FFh
VSRGB_40
VSBM2_36
VSBM1_36
VSDCI_36
VSBS_36
VSSLI_20
VSS2_40
VSS1_40
VSM2_40
VSM1_40
VS656_27
VS2_20
207
208
Nov. 28, 2002; 6251-576-3PD
Micronas
0.18 0.05 60 41
61
40
0.3 0.05
0.65
+ 0.1
80
21
1 17.2 0.15
20
SPGS706000-7(P80)/1E
Fig. 41: 80-Pin Plastic Metric Quad Flat Pack (MQFP80) Weight approximately 0.96 g Dimensions in mm
109
17.2 0.15
14 0.1
144
37
1 31.2 0.1
36 3.7 0.2
SPGS706000-7(P144)/1E
Fig. 42: 144-Pin Plastic Metric Quad Flat Pack (MQFP144) Weight approximately 5.5 g Dimensions in mm
Micronas
31.2 0.1
28 0.1
209
For VSP 941x/4x, the pin connections differ for pins: 1, 2, 3, 75, 76, 77, 78, 79 ,80 (see Section 4.2.2. on page 215). 4.2.1. Common Pin Connection and Short Descriptions Pin No. MQFP 80-pin 1 2 MQFP 144-pin 1 VDDDACY AYOUT S O Leave open or connect to vss and disable DAC Pin Name Type Connection (If not used) Short Description
3 4 5 6 7 8
3 4 5 10 13 14
S S S I/O I I/O Connect to vss and disable blank Leave open Leave open
DAC (Y) Supply voltage for digital (0 V digital) Supply voltage for digital (1.8 V digital) I2C-Bus data Testmode select (Connected to vdd33) Separate V input for 656 / BLANK output
9 10 11 12 13 14 15 16 17 18 19 20 21 22 23
15 16 19 20 28 29 30 31 32 33 34 35 37 38 39
656CLK 656IO7 VSSP2 VDDP2 SCL V2) 656IO6 656IO5 HOUT H503) ADR / TDI V504) 656IO4 656IO3 VOUT
Digital input / output clock Digital input / output (MSB) Supply voltage for digital (0 V pad) Supply voltage for digital (3.3 V pad) I2C-Bus clk
Connect to vss Leave open Leave open Leave open Leave open
Vertical pulse for RGB input Digital input / output Digital input / output Horizontal output (Single or double scan, dependent on version) Hout 50 Hz (with skew) I2C address / test data in
Vout 50 Hz Digital input / output Digital input / output Vertical output (Single or double scan, dependent on version)
210
Micronas
Pin Name
Type
Short Description
RESET VDDP3 VSSP3 CLKOUT VDDD3 VSSD3 656IO2 656IO1 656IO0 VSSD4 VDDD4 VDDAFBL VSSAFBL FBL1 FBL2 RIN1 GIN1 BIN1 VDDARGB VSSARGB VDD33RGB VSS33RGB RIN2 GIN2 BIN2 VSSD55) VDDAC1 VSSAC1 CVBS1 CVBS2
I S S O S S I/O I/O I/O S S S S I I I I I S S S S I I I S S S I I Connect to vss Connect to vss Connect to vss Connect to vss Connect to vss Connect to vss Connect to vss Connect to vss Connect to vss Connect to vss Connect to vss Leave open Leave open Leave open Leave open
Reset input (Reset active low) Supply voltage for digital (0 V pad) Supply voltage for digital (3.3 V pad) Output clock (27 MHz nom.) Supply voltage for DRAM (1.8 V digital) Supply voltage for digital (0 V digital) Digital input / output Digital input / output Digital input / output (LSB) Supply voltage for digital (0 V digital) Supply voltage for digital 1.8 V digital Supply voltage for FBL (1.8 V) Supply voltage for FBL (0 V) Fast Blank input 1 (H1) (Analog input) Fast Blank input 2 (H2) (Analog input) R or V in1 (Analog input) G or Y in1 (Analog input) B of U in1 (Analog input) Supply voltage for RGB (1.8 V) Supply voltage for RGB (0 V) Supply voltage RGB (3.3 V) Supply voltage RGB (0 V) R or V in2 (Analog input) G or Y in2 (Analog input) B of U in2 (Analog inpu) Supply voltage for digital (0 V) Supply voltage CVBS1 (1.8 V) and digital core supply Supply voltage CVBS1 (0 V) CVBS input (Analog input) CVBS input (Analog input)
Micronas
211
Pin No. MQFP 80-pin 54 55 56 57 58 MQFP 144-pin 98 100 102 104 106 94 95 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 107 108 111 110 109 112 113 117 118 119 122 123 129 130 131 138
Pin Name
Type
Short Description
CVBS3 CVBS4 CVBS5 CVBS6 CVBS7 CVBS8 CVBS9 VDD33C VSS33C CVBSO3 CVBSO2 CVBSO1 VDDAC2 VSSAC2 VDDD1 VSSD1 VDDAPLL XOUT XIN TCLK VDDP1 VSSP1 656HIN/CLKF20
I I I I I I I S S O O O S S S S S O I I S S I/O
Connect to vss Connect to vss Connect to vss Connect to vss Connect to vss Connect to vss Connect to vss
CVBS input (Analog input) CVBS input or Y1 (Analog input) CVBS input or C1 (Analog input) CVBS input or Y2 (Analog input) CVBS input or C2 (Analog input) CVBS input (Analog input) CVBS input (Analog input) Supply voltage CVBS (3.3 V) Supply voltage CVBS (0 V)
CVBS output 3 (Analog output) CVBS output 2 (Analog output) CVBS output 1 (Analog output Supply voltage CVBS2 (1.8 V) Supply voltage CVBS2 (0 V) Supply voltage for digital (1.8 V digital) Supply voltage for digital (0 V digital) Supply voltage for PLL (1.8 V) Crystal connection 2 Crystal connection 1 Testclock Supply voltage for digital (3.3 V pad) Supply voltage for digital (0 V pad)
75 76
139 140
VDDDACV AVOUT
V output
77 78
141 142
VSSDACV VDDDACU
S S
212
Micronas
Pin Name
Type
Short Description
AUOUT
U output
80
VSSDACU VDDP4 VSSP4 VSSPDB1 VSSP3 VDDP5 VSSP5 VDDPOR VDDP6 VSSP6 VSSP7 VDDP7 VSSP8 VDDP8 (reserved) (reserved) GP2 GP1 GP0 (reserved) (reserved) (reserved) (NC) (NC) (NC) (NC) (NC) (NC)
DAC (U) Supply voltage for digital (3.3 V) Supply voltage for digital (0 V) Bulk supply voltage (0 V) Supply voltage for digital (0 V) Supply voltage for digital (3.3 V) Supply voltage for digital (0 V) Supply voltage for digital (1.8 V) Supply voltage for digital (3.3 V) Supply voltage for digital (0 V) Supply voltage for digital (0 V) Supply voltage for digital (3.3 V) Supply voltage for digital (0 V) Supply voltage for digital (3.3 V) Leave open Leave open Leave open Leave open Leave open Leave open Leave open Leave open (Reserved) (Reserved) General purpose pin 2 General purpose pin 1 General purpose pin 0 (Reserved) (Reserved) (Reserved) (Not connected) (Not connected) (Not connected) (Not connected) (Not connected) (Not connected)
Micronas
213
Pin No. MQFP 80-pin MQFP 144-pin 103 105 54 53 52 48 47 46 45 44 43 25 24 23 22 21 9 8 7 6 132 128 127 126 125 124 116 115 114 91
Pin Name
Type
Short Description
(NC) (NC) DROUT0 DROUT1 DROUT2 DROUT3 DROUT4 DROUT5 DROUT6 DROUT7 DROUT8 DGOUT0 DGOUT1 DGOUT2 DGOUT3 DGOUT4 DGOUT5 DGOUT6 DGOUT7 DGOUT8 DBOUT0 DBOUT1 DBOUT2 DBOUT3 DBOUT4 DBOUT5 DBOUT6 DBOUT7 DBOUT8 SISCEN O O O O O O O O O O O O O O O O O O O O O O O O O O O I Leave open Leave open Leave open Leave open Leave open Leave open Leave open Leave open Leave open Leave open Leave open Leave open Leave open Leave open Leave open Leave open Leave open Leave open Leave open Leave open Leave open Leave open Leave open Leave open Leave open Leave open Leave open
(Not connected) (Not connected) Digital out red Digital out red Digital out red Digital out red Digital out red Digital out red Digital out red Digital out red Digital out red Digital out green/656out0 Digital out green/656out1 Digital out green/656out2 Digital out green/656out3 Digital out green/656out4 Digital out green/656out5 Digital out green/656out6 Digital out green/656out7 Digital out green Digital out blue Digital out blue Digital out blue Digital out blue Digital out blue Digital out blue Digital out blue Digital out blue Digital out blue Single-scan enable
214
Micronas
Pin Name
Type
Short Description
TDO
Leave open
This pin is not used and not bonded in VSP 94x2A. All VDDPx, VSSx and VDDDx must be connected within their group with low resistance. Analog supplies are internally connected to digital supplies via antiparallel diodes.
4.2.2. Differing Pin Connections and Short Descriptions for VSP 941xB and VSP 944xB Pin No. MQFP 80-pin 1 2 3 75 Pin Name Type Connection
(If not used)
Short Description
I I I I
76 77 78 79 80
I I I I I
Micronas
215
CVBSO3 CVBSO2 CVBSO1 VDDAC2 VSSAC2 VDDD1 VSSD1 VDDAPLL XOUT XIN TCLK VDDP1 VSSP1 656HIN/CLKF20 VDDDACV AVOUT VSSDACV VDDDACU AUOUT VSSDACU
60 59 58 57 56 55 54 53 52 51 50 49 48 47 46 45 44 43 42 41 61 40 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 1 2 3 4 5 6 7 8 9 39 38 37 36 35 34 33 32
GIN1 RIN1 FBL2 FBL1 VSSAFBL VDDAFBL VDDD4 VSSD4 656IO0 656IO1 656IO2 VSSD3 VDDD3 CLKOUT VSSP3 VDDP3 RESET VOUT 656IO3 656IO4
31 30 29 28 27 26 25 24 23 22
21 10 11 12 13 14 15 16 17 18 19 20
VDDACY AYOUT VSSDACY VSSD2 VDDD2 SDA TMS 656VIN/BLANK 656CLK 656IO7
V50/BLANK ADR/TDI H50/IRQ HOUT 656IO5 656IO6 V/INTR SCL VDDP2 VSSP2
216
Micronas
VSSAC1 CVBS1 CVBS2 CVBS3 CVBS4 CVBS5 CVBS6 CVBS7 VDD33C VSS33C
VDDAC1 VSSD5 BIN2 GIN2 RIN2 VSS33RGB VDD33RGB VSSARGB VDDARGB BIN1
CVBSO3 CVBSO2 CVBSO1 VDDAC2 VSSAC2 VDDD1 VSSD1 VDDAPLL XOUT XIN TCLK VDDP1 VSSP1 656HIN/CLKF20 I656ICLK I656I0 I656I1 I656I2 I656I3 I656I4
60 59 58 57 56 55 54 53 52 51 50 49 48 47 46 45 44 43 42 41 61 40 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 1 2 3 4 5 6 7 8 9 39 38 37 36 35 34 33 32
GIN1 RIN1 FBL2 FBL1 VSSAFBL VDDAFBL VDDD4 VSSD4 656IO0 656IO1 656IO2 VSSD3 VDDD3 CLKOUT VSSP3 VDDP3 RESET VOUT 656IO3 656IO4
31 30 29 28 27 26 25 24 23 22
21 10 11 12 13 14 15 16 17 18 19 20
I656I5 I656I6 I656I7 VSSD2 VDDD2 SDA TMS 656VIN/BLANK 656CLK 656IO7 V SCL VDDP2 VSSP2 H50 HOUT 656IO5 656IO6
V50 ADR/TDI
Micronas
217
SISCEN VDDAC1 VSSAC1 CVBS8 CVBS9 CVBS1 CVBS2 CVBS3 (NC) CVBS4 (NC) CVBS5 (NC) CVBS6 (NC) CVBS7 VDD33C VSS33C
VDDD5 VSSD5 VSSP6 VDDP6 VDDPOR (RESERVED) (RESERVED) (RESERVED) BIN2 (NC) GIN2 (NC) RIN2 VSS33RGB VDD33RGB VSSARGB VDDARGB BIN1
108107106105104103102101100 99 98 97 96 95 94 93 92 91 90 89 88 87 86 85 84 83 82 81 80 79 78 77 76 75 74 73 CVBSO3 CVBSO2 CVBSO1 VDDAC2 VSSAC2 DBOUT8 DBOUT7 DBOUT6 VDDD1 VSSD1 VDDAPLL VSSP7 VDDP7 XOUT XIN DBOUT5 DBOUT4 DBOUT3 DBOUT2 DBOUT1 TCLK VDDP1 VSSP1 DBOUT0 (RESERVED) VSSP8 VDDP8 (RESERVED) (RESERVED) 656HIO/CLKF20 VDDDACV AVOUT VSSDACV VDDDACU AUOUT VSSDACU 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139 140 141 142 143 144 1 2 3 4 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 33 34 35 36 72 71 70 69 68 67 66 65 64 63 62 61 60 59 58 57 56 GIN1 (NC) RIN1 (NC) FBL2 FBL1 VSSAFBL VDDAFBL VDDD4 VSSD4 656IO0 656IO1 656IO2 VSSD3 VDDD3 (RESERVED) VSSP5 VDDP5 DROUT0 DROUT1 DROUT2 CLKOUT VSSP3 VDDP3 DROUT3 DROUT4 DROUT5 DROUT6 DROUT7 DROUT8 VSSP3 VDDP3 RESET VOUT 656IO3 656IO4
55 54 53 52 51 50 49 48 47 46 45 44 43 42 41 40 39 38 37
VDDDACY AYOUT VSSDACY VSSD2 VDDD2 DGOUT8 DGOUT7 DGOUT6 DGOUT5 SDA VDDP4 VSSP4 TMS 656VIO/BLANK 656CLK 656IO7 (RESERVED) TDO VSSP2 VDDP2 VSSP2 DGOUT0 DGOUT1 DGOUT2 DGOUT3 DGOUT4 VDDP2 SCL 656IO5 656IO6 VIN/INTR HOUT
218
Micronas
IC selectable
Analog Output
Analog Output
VSP 941xA VSP 944xA VSP 941xB VSP 944xB Analog output
Micronas
219
VSSP PIN
VDDP
OUT
PIN
VSSB
Fig. 48: Supply Pins (Ground): VSSDACY, VSSDACU, VSSDACV, VSS33C, VSS33RGB, VSSP1 ... VSSP8, VSSPDB1
Fig. 412: Digital Output Pins: H50, V50, CLKOUT, HOUT, VOUT, DGOUT0 ... DGOUT8, DROUT0 ... DROUT8, DBOUT0 ... DBOUT8
VDDP PIN
VDDP
PIN
IN
VSSB
Fig. 49: Supply Pins (Power 3.3 V): VDDDACY, VDDDACU, VDDACV, VDD33C, VDD33RGB, VDDP1 ... VDDP8, VDDPOR
REF (int.)
OSCCLK
VDDP
IN
XIN
XOUT
OUT PIN
VDDP
VSS PIN
OUT
VSSB
500
IN
Fig. 411: Supply Pins (Power 1.8 V and Ground): VDDAC1, VSSAC1, VDDAC2, VSSAC2, VDDARGB,VSSARGB, VDDAFBL, VSSAFBL, VDDAPLL, VDDD1, VSSS1, VDDD2, VSSS2, VDDD3, VSSS3, VDDD4, VSSS4, VDDD5, VSSS5
PIN
220
Micronas
VDDDACx
VDD
PIN
300k
500
1V
Fig. 418: Analog Input Pins: CVBS1...CVBS9 (if cvbsx is not connected to any ADC)
VDD
VDD
PIN
500 500
OUT
IN
PIN
Fig. 419: Analog Output Pins: CVBSO1...CVBSO3 Fig. 417: Analog Input Pins: RIN1, RIN2, GIN1, GIN2, BIN1, BIN2, FBL1, FBL2, CVBS1...CVBS9 (if cvbsx is connected to any ADC)
Micronas
221
Parameter Ambient Operating Temperature Storage Temperature Case Operating Temperature Input Voltage 1) Output Voltage 2) Supply Voltages1 Supply Voltages2 Total Power Dissipation QFP803) Total Power Dissipation QFP1443)
Pin Name
Max. +70 +125 +115 VDD2+0.3 VDD2+0.3 24) 5) 3.64) 5) 1.2 1.2
Unit C C C V V V V W W
Not valid for VDD1 supply pins Not valid for VDD1 supply pins Package limit VDD2 (3.3V nom.) must always be higher than VDD1 (1.8V nom.) - 0.3 (even during power-up) The deviation among all VDD1 or VDD2 supplies may never exceed 0.3 V.
Stresses beyong 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.
222
Micronas
4.5.2. Recommended Operating Conditions In the operating conditions, the functions given in the circuit description are fulfilled. Symbol TA Parameter Ambient Operating temperature1) Pin Name Min. 0 Typ. +25 Max. +70 Unit C
3.3 V Power Supply VDDxx Supply voltages2) VDDP1, VDDP2, VDDP3, VDDACY, VDDACU, VDDACV, VDD33C, VDD33RGB 3.14 3.3 3.47 V
1.8 V Power Supply VDDxx Supply voltages2) VDDAC1, VDDAC2, VDDARGB, VDDAFBL, VDDAPLL; VDDD1; VDDD2;VDDD3; VDDD4 1.71 1.8 1.89 V
CVBS/RGB Frontend Vi,CVBS Vi,RGB Vi,FBL Analog CVBS input voltage Analog RGB input voltage Analog FBL input voltage Analog chroma input voltage (burst) Input coupling capacitors CVBS Input coupling capacitors RGB/FBL Source resistance Reset Input Rise time tRES tRES Active time reset (after power-on) Active time reset (during normal operation, if required) RESET 0 1.3 100 tbd s s ns CVBS1, CVBS2, CVBS3, CVBS4, CVBS5, CVBS6, CVBS7, CVBS8, CVBS9, RIN1, RIN2, GIN1, GIN2, BIN1, BIN2, FBL1, FBL2 0.6 0.5 0.5 1.2 1.2 1.2 0.3 100 47 0.1 1.8 1.5 1.5 V V V V nF nF k
Digital To Analog Converters RL CL Load resistance Load capacitance AYOUT, AUOUT, AVOUT 10 15 k pF
Micronas
223
Symbol
Parameter
Pin Name
Min.
Typ.
Max.
Unit
Crystal Specification fxtal fmax/fxtal f/fxtal CL RS C1 C0 CL,EXT Frequency (fundamental)3) Maximum permissible frequency deviation4) Recommended permissible frequency deviation4) Load capacitance Series resistance Motional capacitance Parallel capacitance External load capacitance to ground XIN, XOUT 20.248 -100 -40 20 20.25 0 13 tbd 7 13 20.252 100 40 25 30 MHz ppm ppm pF fF pF pF
All Digital Inputs Vin,L Vin,H Input voltage low Input voltage high TMS, ADR/TDI, V, TCLK, RESET, 656VIN/BLANK, 656HIN, 656IO[0...7], 656CLK I656I[0...7], I656ICLK 2.0 0.8 V V
1) Favourable PCB design required. Two layer boards recommended. 2) 5% 3) Values outside this range may cause color decoding failures. 4) after (subcarrier) adjustment // including temperature and aging deviations
224
Micronas
4.5.3. Characteristics Min./Max. values at TA= 0 to 70 C, fCLOCK = 20.25 MHz, VSUP3,3 V = 3.14 to 3.47 V, VSUP1.8 V = 1.71 to 1.89 V Typical values at TA= 25 C, fCLOCK = 20.25 MHz, VSUP3.3 V = 3.3 V, VSUP1.8 V = 1.1.8 V 4.5.3.1. General Characteristics Symbol Parameter Pin Name Min. Typ. 65 0.85 0.45 Max. 470 90 1.2 tbd Unit mA mA W W STANDBYxx=1 Test Conditions
IDDtot 1.8 V Average total supply current IDDtot 3.3 V Average total supply current Ptot PtotPD Total power dissipation Total power dissipation in power-save-mode
Digital Inputs CI Input capacitance Input leakage current TMS, ADR/ TDI, V, TCLK, RESET, 656VIN/ BLANK, 656HIN/, 656IO[0...7], 656CLK, 656I[0...7], I656ICLK 656IO[0...7], I656I[0...7] 656CLK, I656ICLK -1 7 1 pF A Incl. leakage current of SDA output stage Except for current of below specified pullup or pulldown pins.
set-up-time hold-time input clock frequency Low time High time Rise time Fall time
ns ns MHz ns ns ns ns
Digital Outputs VOH VOL Output voltage high Output voltage low 2.4 CLKOUT, HOUT, VOUT, 656CLK, H50, DBOUT[0..8], DROUT[0..8], DGOUT[0..8], VIN/INT, V50 Vdd2 0.4 V V @-12mA @8mA
Micronas
225
Symbol tLH
Min. -
Typ. -
Unit ns ns
DBOUT[0..8], DROUT[0..8], DGOUT[0..8], HOUT, VOUT, H50, V50, VIN/INT tHL Fall time CLKOUT, 656CLK DBOUT[0..8], DROUT[0..8], DGOUT[0..8] HOUT, VOUT, H50, V50, VIN/INT fclkout Output frequency CLKOUT 656CLK Duty cycle tHO Hold-time CLKOUT 656CLK 656IO[0...7], 656VIO, 656HIO -
6 1.6 2.5
ns ns ns
10.12 5 27 40 3
50
4 81 60 60
ns MHz MHz % ns
@20pF
Referred to 656CLK, CLK656INV=1 Referred to 656CLK, CLK656INV=0 Referred to CLKOUT, CLKOUTINV=1 Referred to CLKOUT, CLKOUTINV=0 Referred to 656CLK, CLK656INV=1 Referred to 656CLK, CLK656INV=0 Referred to CLKOUT, CLKOUTINV=1 Referred to CLKOUT, CLKOUTINV=0 Pulldown always active Pulldown always active
3+ Tclk/2 DBOUT[0..8], 3 DROUT[0..8], DGOUT[0..8], HOUT, VOUT 3+ Tclk/2 tDO Delay-Time 656IO[0...7], 656VIO, 656HIO 0 3+ Tclk/2 3 0 3+ Tclk/2 3 -59.5 -11.7 -122 -25.8 -235 -55.5
ns ns ns ns ns ns ns A A
DBOUT[0..8], DROUT[0..8], DGOUT[0..8] HOUT, VOUT IPD Pulldown-current (@Vdd) I656ICLK, 656CLK 656VIO/ BLANK, VIN/ INT, ADR/ TDI, TCLK, 656HIO
226
Micronas
Symbol IPU
Min. 12.4
Typ. 21.4
Max. 36.4
Unit A
Analog CVBS Front-end (2 x 9 bit ADC) Input leakage current CI Input capacitance Input clamping error CT BW Acvbso Crosstalk between CVBS inputs Bandwidth CVBS output amplification CVBS1, CVBS2, CVBS3, CVBS4, CVBS5, CVBS6, CVBS7, CVBS8, CVBS9 CVBSO1, CVBSO2, CVBSO3 -100 -1 -50 7 0.9 7 100 1 1.1 nA pF LSB dB MHz Settled state fsig<5 MHz -3 dB Clamping inactive
Analog RGBF Front-end (4 x 8 bit ADC) Input leakage current CI CVBS input capacitance Input clamping error CT BW Crosstalk between RGB inputs Bandwidth RIN1, RIN2, BIN1, BIN2, GIN1, GIN2, FBL1, FBL2 -100 -1 -50 10 7 100 1 nA pF LSB dB MHz -3 dB Settled state Clamping inactive
Digital To Analog Converters ( 3 x 9 bit DAC) UOL UOH Full range output voltage Full range output voltage Output matching -3 0.4 1.9 3 V V % Nominal conditions PKLY/U/V=min Nominal conditions PKLY/U/V=max
Color Decoder/Synchronization and Luminance Processing fHf Horizontal PLL pull-inrange ACC range AGC range fSC Chroma PLL pull-in-range -30 -7.5 4.9 500 +6 +2 % dB dB Hz Nominal crystal frequency Based on 15625 kHz
The listed characteristics are ensured over the operating range of the integrated circuit. Typical characteristics specify mean values expected over the production spread. If not otherwise specified, typical characteristics apply at TA = 25 C and the given supply voltage.
Micronas
227
Unit
Test Conditions
Fast I2C Bus (All Values are Referred to Min(VIH) and Max(VIL)) Cb tR, tF tBUF fSCL tLOW tHIGH tSU;STA tHD;STA tSU;DAT tHD;DAT tSU;STO Capacitive load/bus line SDA/SCL rise/fall times Inactive time before start of transmission I2C clock frequency SCL low time SCL high time Set-up time start condition Hold time start condition Set-up time DATA Hold time DATA Set-up time stop condition SDA SCL SDA/SCL 20+$ 1300 0 1300 600 600 600 100 0 600 900 400 400 300 pF ns ns kHz ns ns ns ns ns ns ns $=0.1 Cb/pF
I2C Bus pins VIHr VIL Threshold rise Threshold fall SDA, SCL 2.08 1.8 V V
t HIGH t LOW
tR
t SU;STO
t BUF
tHL tWL
tHO
Dataout Dataout
tDO
228
Micronas
5. Application Circuit
L1 10 H +1V8 C39 10 F L2 10 H +1V8 C38 10 F C37 100nF C36 100nF C35 100nF C34 100nF C33 100nF 20.25MHz C32 100nF C31 100nF
+3.3V
L3 10H 34 33 28 29 5 4 66 67 42 43 68 64 65 50 51 35 36 71 19 7 74 8 C29 47nF C28 47nF C27 47nF C25 47nF C24 47nF C23 47nF C22 -- / 47 nF
C21 100nF C20 100nF C19 100nF C18 100nF C17 100nF C16 100nF C15 100nF
vddd4 vssd4 vddd3 vssd3 vddd2 vssd2 vddd1 vssd1 vddargb vssargb vddapll vddac2 vssac2 vddac1 vssac1 vddafbl vssafbl tclk adr/tdi tms IC1
vddp3 vssp3 vddp2 vssp2 vddp1 vssp1 vdd33c vss33c vdd33rgb vss33rgb vdddacy vssdacy vdddacu vssdacu
25 26 12 11 72 73 59 60 44 45 1 3 78 80 75 C41 100nF C40 100nF C42 100nF C44 100nF C43 100nF C48 10 F C45 100nF L4 10 H C47 100nF C46 100nF C49 10 F
+3.3 V
+3.3 V
J1
656HIN
656ICLK 656IN7 656IN6 656IN5 656IN4 656IN3 656IN2 656IN1 656IN0 656OCLK 656OUT7 656OUT6 656OUT5 656OUT4 656OUT3 656OUT2 656OUT1 656OUT0 CLKOUT HOUT VOUT
BLANK
J3
656VIN
J2
I2C Address B2h B0h
C30 100nF
656hin/clkf20 656vin/blank rin2 gin2 bin2 fbl2 rin1 gin1 bin1 fbl1 vin/intr cvbs7 cvbs6 cvbs5 cvbs4 cvbs3 cvbs2 cvbs1 scl sda reset xin 70 9 10 15 16 21 22 30 31 32 27 17 23 2 79 76 61 62 63 18 20
46 47 48 38 39 40 41 37 14 58 57 56 55 54 53 52 13 6 24
656io6 656io5 656io4 656io3 656io2 656io1 656io0 clkout hout vout ayout auout avout cvbso3 cvbso2 cbbso1 h50/irq v50/blank xout 69
Cx
MQFP80
J4
VIN CVBS7 CVBS6 CVBS5 CVBS4 CVBS3 CVBS2 CVBS1
HIN1/FBL1
R1...R7: 7x 75
Q1 20M25 C5 22pF* SCL (3.3V) *values are PCB and crystal dependent SDA (3.3V) C6 22pF*
+5V R20 51
R19 51
RESET
T3 T4 T5 -- / 3*BC807
buffer not necessary when short connection to backend-processor
Micronas
229
L1 10 H +1V8 C39 10 F L2 10 H +1V8 C38 10 F C37 100nF C36 100nF C35 100nF C34 100nF C33 100nF 20.25MHz C32 100nF C31 100nF
+3.3V
34 33 28 29 5 4 66 67 42 43 68 64 65 50 51 35 36 71 19 7 74 8 C29 47nF C28 47nF C27 47nF C25 47nF C24 47nF C23 47nF C22 -- / 47 nF
C21 100nF C20 100nF C19 100nF C18 100nF C17 100nF C16 100nF C15 100nF
vddd4 vssd4 vddd3 vssd3 vddd2 vssd2 vddd1 vssd1 vddargb vssargb vddapll vddac2 vssac2 vddac1 vssac1 vddafbl vssafbl tclk adr/tdi tms IC1
vddp3 vssp3 vddp2 vssp2 vddp1 vssp1 vdd33c vss33c vdd33rgb vss33rgb vss i656iclk i656i7 i656i6 i656i5 i656i4 i656i3 i656i2 i656i1 i656i0 656clk
stepping
25 26 12 11 72 73 59 60 44 45 49 75 3 2 1 80 79 78 77 76 9 10 15 16 21 22 30 31 32 27 17 23 61 62 63 18 20 C44 100nF C43 100nF C45 100nF C47 100nF C46 100nF
L3 10 H +3.3 V C49 10 F
L4 10 H +3.3 V C48 10 F
J1
656HIN
656ICLK 656IN7 656IN6 656IN5 656IN4 656IN3 656IN2 656IN1 656IN0 656OCLK 656OUT7 656OUT6 656OUT5 656OUT4 656OUT3 656OUT2 656OUT1 656OUT0 CLKOUT HOUT VOUT CVBSO3 CVBSO2 CVBSO1 H50/INT V50/BLANK
BLANK
J3
656VIN
J2
I2C Address B2h B0h
C30 100nF
656hin/clkf20 656vin/blank rin2 gin2 bin2 fbl2 rin1 gin1 bin1 fbl1 vin/intr cvbs7 cvbs6 cvbs5 cvbs4 cvbs3 cvbs2 cvbs1 scl sda reset xin 70
46 47 48 38 39 40 41 37 14 58 57 56 55 54 53 52 13 6 24
656io7 656io6 656io5 656io4 656io3 656io2 656io1 656io0 clkout hout vout cvbso3 cvbso2 cbbso1 h50/irq v50/blank xout 69
Cx
MQFP80
J4
VIN CVBS7 CVBS6 CVBS5 CVBS4 CVBS3 CVBS2 CVBS1
HIN1/FBL1
R1...R7: 7x 75
Q1 20M25 C5 22pF* SCL (3.3V) *values are PCB and crystal dependent SDA (3.3V) C6 22pF*
RESET
230
Micronas
L1 10 H +1V8 C34 10 F L2 10 H +1V8 C33 10 F C32 100nF C31 100nF C30 100nF C29 100nF C28 100nF C27 100nF
90 89 64 63 58 59 5
36 135 134 121 120 87 C52 100nF C51 100nF C50 100nF C49 100nF C48 100nF C47 100nF C46 100nF C45 100nF C43 100nF C42 100nF C41 100nF C40 100nF C39 100nF C54 100nF C53 100nF
L3 10 H +3.3 V C55 10 F
J1
656HIN
C24 100nF
BLANK
J3
656VIN
J2
B2h I2C Address B0h
C23 47nF C22 47nF C21 47nF C20 47nF C18 47nF C18 47nF R20 10k
J4
VIN CVBS9 CVBS8 CVBS7 CVBS6 CVBS5 CVBS4 CVBS3 CVBS2 CVBS1
HIN1/FBL1
C16 100nF C15 100nF C14 100nF C13 100nF C12 100nF C11 100nF C10 100nF C9 100nF C8 100nF
88 vssp6 55 4 vssd2 vddp5 117 56 vddd1 vssp5 118 11 vssd1 vddp4 12 74 vddargb vssp4 75 49 vssargb vddp3 119 50 vddapll vssp3 112 41 vddac2 vddp3 113 42 vssac2 vssp3 92 27 vddac1 vddp2 IC1 93 26 vssp2 vssac1 20 65 vddafbl VSP9425B vddp2 66 19 vssafbl VSP9427B vssp2 130 86 vddpor vddp1 MQFP144 137 131 vssp1 reseved 136 107 reseved stepping vdd33c 108 Cx 133 vss33c reseved 85 76 vdd33rgb reseved 77 84 vss33rgb reseved 83 1 vdddacy reseved 3 57 reseved vssdacy 142 17 vdddacu reseved 105 144 vssdacu nc 139 103 vdddacv nc 141 101 vssdacv nc 99 43 nc drout8 44 81 drout7 nc 79 45 nc drout6 46 71 nc drout5 69 47 nc drout4 129 48 drout3 tclk 34 52 drout2 adr/tdi 13 53 drout1 tms 138 54 656hio/clkf20 drout0 114 14 dbout8 656vio/blank 115 15 dbout7 656clk 116 16 dbout6 656io7 124 30 656io6 dbout5 125 31 656io5 dbout4 126 37 656io4 dbout3 127 38 656io3 dbout2 128 60 656io2 dbout1 132 61 656io1 dbout0 62 6 dgout8 656io0 7 78 dgout7 rin2 80 8 dgout6 gin2 82 9 dgout5 bin2 68 21 dgout4 fbl2 22 70 dgout3 rin1 23 72 dgout2 gin1 24 73 dgout1 bin1 67 25 dgout0 fbl1 29 51 clkout vin/intr 95 32 cvbs9 hout 94 39 vout cvbs8 106 2 ayout cvbs7 143 104 auout cvbs6 140 102 cvbs5 avout 109 100 cvbso3 cvbs4 110 98 cvbso2 cvbs3 111 97 cbbso1 cvbs2 96 33 h50/irq cvbs1 35 28 scl v50/blank 18 10 sda tdo 91 40 reset siscen xin xout 123 122 Q1 20M25 C5 22pF* C6 22pF*
L4 10 H +3.3 V C44 10 F
DROUT8 DROUT7 DROUT6 DROUT5 DROUT4 DROUT3 DROUT2 DROUT1 DROUT0 DBOUT8 DBOUT7 DBOUT6 DBOUT5 DBOUT4 DBOUT3 DBOUT2 DBOUT1 DBOUT0 656OUT7 656OUT6 656OUT5 656OUT4 656OUT3 656OUT2 656OUT1 656OUT0 DGOUT8 DGOUT7 DGOUT6 DGOUT5 DGOUT4 DGOUT3 DGOUT2 DGOUT1 DGOUT0 CLKOUT HOUT VOUT
CVBSO3 CVBSO2 CVBSO1 H50/IRQ V50/BLANK +5V R20 51 R21 51 C52 33 F C53 33 F C54 33 F Y100 U100 V100
SCL (3.3V)
R19 51
J5
single-scan double-scan
T3 T4 T5 -- / 3*BC807
buffer not necessary when short connection to backend-processor
Micronas
Micronas
231
RGB
DVD
YUV
Camcorder
YC CVBS
VSP 9405B VSP 9407B VSP 9435B VSP 9437B VSP 9425B VSP 9427B OPTIMUS
BLANK
RGB
CVBS
HD, VD, EW
CVBS, YC ITU656
CVBS
still-picture storage
HW
RGB H, V
RGB
DVD
YUV
Camcorder
YC CVBS
VSP 9415B VSP 9445B VSP 9417B VSP 9447B VSP9425B VSP9427B OPTIMUS
RGB
DDP 3315C
H, V
HD, VD, EW
CVBS
still-picture storage
HW
Fig. 55: Application overview with digital outputs of VSP 941xB, (VSP 942xB)
232
Micronas
Micronas
233
Micronas GmbH Hans-Bunte-Strasse 19 D-79108 Freiburg (Germany) P.O. Box 840 D-79008 Freiburg (Germany) Tel. +49-761-517-0 Fax +49-761-517-2174 E-mail: [email protected] Internet: www.micronas.com Printed in Germany Order No. 6251-576-3PD
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.
234
Micronas
This datasheet has been downloaded from: www.DatasheetCatalog.com Datasheets for electronic components.