Part Number Hot Search : 
A6053 A618ERU IRF78 1733L 04BAU LT1236 DT74FCT LV640MU
Product Description
Full Text Search
 

To Download VPX3214 Datasheet File

  If you can't view the Datasheet, Please click here to try to view without PDF Reader .  
 
 


  Datasheet File OCR Text:
 PRELIMINARY DATA SHEET
MICRONAS INTERMETALL
VPX 3220 A, VPX 3216 B, VPX 3214 C Video Pixel Decoders
MICRONAS
Edition July 1, 1996 6251-368-2PD
VPX 3220 A, VPX 3216 B, VPX 3214 C
PRELIMINARY DATA SHEET
Contents Page 5 5 5 5 6 6 6 6 6 7 7 7 7 7 8 8 8 9 9 10 11 11 12 13 13 13 14 14 15 15 15 15 16 16 16 Section 1. 1.1. 1.2. 1.3. 2. 2.1. 2.1.1. 2.1.2. 2.1.3. 2.1.4. 2.1.5. 2.2. 2.2.1. 2.2.2. 2.2.3. 2.2.4. 2.2.5. 2.2.6. 2.2.7. 2.2.8. 2.2.9. 2.3. 2.3.1. 2.3.2. 2.3.3. 2.3.4. 2.4. 2.4.1. 2.4.2. 2.4.3. 2.4.4. 2.4.4.1. 2.5. 2.5.1. 2.5.2. Title Introduction Difference between VPX 3220 A and VPX 3216 B Difference between VPX 3216 B and VPX 3214 C System Architecture Functional Description Analog Front-End Input Selector Clamping Automatic Gain Control Digitally Controlled Clock Oscillator Analog-to-Digital Converters Color Decoder IF-Compensation Demodulator Chrominance Filter Frequency Demodulator Burst Detection Color Killer Operation Delay Line/Comb Filter Luminance Notch Filter YCbCr Color Space Component Processing Horizontal Resizer Skew Correction Contrast, Brightness, and Noise Shaping CbCr Upsampler Color Space Stage Color Space Selection Compression 24 8 Bits Inverse Gamma Correction Alpha Key Alpha Key as Static Control Signal Output Pixel Format Output Ports Output Port Formats
2
MICRONAS INTERMETALL
PRELIMINARY DATA SHEET
VPX 3220 A, VPX 3216 B, VPX 3214 C
Contents, continued Page 18 18 18 18 18 18 18 18 20 20 23 24 24 26 27 27 27 27 27 28 29 29 35 41 43 43 43 43 43 43 44 44 44 44 44 44 44 44 45 45 45 45 Section 3. 3.1. 3.1.1. 3.1.2. 3.1.3. 3.2. 3.2.1. 3.2.2. 3.2.3. 3.2.4. 3.3. 3.4. 3.4.1. 3.4.2. 4. 4.1. 4.2. 4.3. 4.4. 4.5. 4.6. 4.7. 4.8. 4.9. 5. 5.1. 5.2. 5.2.1. 5.2.2. 5.2.3. 5.2.4. 5.2.5. 5.2.6. 5.3. 5.4. 5.4.1. 5.4.2. 5.4.3. 5.4.4. 5.4.5. 5.4.6. 5.4.7. Title Video Timing Video Reference Signals HREF and VREF HREF VREF Odd/Even Operational Modes Open Mode Forced Mode Scan Mode Transition Behavior Windowing the Video Field Video Data Transfer Synchronous Output Asynchronous Output Serial Interface A Overview I2C-Bus Interface Reset and IC Address Selection Protocol Description FP Control and Status Registers I2C Initialization I2C Control and Status Registers FP Control and Status Registers Initial Values on Reset JTAG Boundary-Scan, Test Access Port (TAP) General Description TAP Architecture TAP Controller Instruction Register Boundary Scan Register Bypass Register Device Identification Register Master Mode Data Register Exception to IEEE 1149.1 IEEE 1149.1-1990 Spec Adherence Instruction Register Public Instructions Self-test Operation Test Data Registers Boundary-Scan Register Device Identification Register Performance
MICRONAS INTERMETALL
3
VPX 3220 A, VPX 3216 B, VPX 3214 C
PRELIMINARY DATA SHEET
Contents, continued Page 49 49 50 53 54 55 57 57 59 59 60 60 60 60 61 62 63 64 65 66 68 69 70 71 73 74 74 75 77 77 79 80 Section 6. 6.1. 6.2. 6.3. 6.4. 6.5. 6.6. 6.6.1. 6.6.2. 6.6.3. 6.6.4. 6.6.5. 6.6.6. 6.6.7. 6.6.8. 6.6.9. 6.6.10. 6.6.10.1. 6.6.11. 6.6.12. 6.6.12.1. 6.6.12.2. 6.6.12.3. 6.6.12.4. 6.6.13. 6.6.13.1. 6.6.13.2. 6.6.14. 1. 2. 3. 4. Title Specifications Outline Dimensions Pin Connections and Short Descriptions Pin Descriptions Pin Configuration Pin Circuits Electrical Characteristics Absolute Maximum Ratings Recommended Operating Conditions Power Consumption Characteristics, Reset Input Characteristics of RES and OE Recommended Crystal Characteristics XTAL Input Characteristics Characteristics, Analog Video Inputs Characteristics, Analog Front-End and ADCs Characteristics of the JTAG Interface Timing of the Test Access Port TAP Characteristics, I2C-Bus Interface Digital Video Interface Characteristics, Synchronous Mode, 13.5 MHz Data Rate, "Single Clock" Characteristics, Synchronous Mode, 20.25 MHz Data Rate, "Single Clock" Characteristics, Synchronous Mode, 13.5 MHz Data Rate, "Double Clock" Characteristics, Asynchronous Mode Characteristics, TTL Output Driver TTL Output Driver Type A TTL Output Driver Type B Characteristics, Enable/Disable of Output Signals Introduction for Addendum New Output Timing - NewVACT Low Power Mode Data Sheet History
4
MICRONAS INTERMETALL
PRELIMINARY DATA SHEET
VPX 3220 A, VPX 3216 B, VPX 3214 C
- VBI bypass mode for Teletext, Closed Caption, and Intercast - 44-pin plastic package (PLCC, TQFP) - total power consumption under 1 W - I2C serial control, selectable power-up default state - on-chip clock generation - IEEE 1149.1 (JTAG) boundary scan interface VPX 3220 A, VPX 3216 B, and VPX 3214 C are pin and software compatible, but differ slightly in the feature set. 1.1. Difference between VPX 3220 A and VPX 3216 B VPX 3220 A performs low-pass filtering before resampling the data, whereas VPX 3216 B does not. For more info, see Fig. 1-1 and refer to section 2.3. 1.2. Difference between VPX 3216 B and VPX 3214 C The VPX 3214 C is based on the VPX 3216 B but without color space conversion. VPX 3214 C supports only YCbCr 4:2:2. 1.3. System Architecture The block diagram in Fig. 1-1 illustrates the signal flow through the VPX. A sampling stage performs 8-bit A/D conversion, clamping, and AGC. The color decoder separates the luma and chroma signals, demodulates the chroma, and filters the luminance. A sync slicer detects the sync edge and computes the skew relative to the sample clock. The component processing stage resizes the YCbCr samples, adjusts the contrast and brightness, and interpolates the chroma. The color space stage contains a dematrix, a -1 correction, a DPCM-like encoder, and an alpha key generator. The format stage arranges the samples into the selected byte format and (in the case of asynchronous output) buffers the data for output.
H/V Sync
Video Pixel Decoder Family Release Notes: Revision bars indicate significant changes to the previous edition. 1. Introduction The Video Pixel Decoder (VPX) is a full-feature video acquisition IC for consumer video and multimedia applications. All of the processing necessary to convert an analog video signal into a digital component stream has been integrated onto a single 44-pin IC. Its notable features include: - single chip multistandard color decoding NTSC/PAL/ SECAM/S-VHS, NTSC with chroma comb filter. - two 8-bit video A/D converters with clamping and automatic gain control (AGC) - four analog inputs with integrated selector for 3 composite video sources (CVBS), or 2 YC sources (SVHS), or 2 composite video sources and one YC source. - automatic standard detection - horizontal and vertical sync detection for all standards - hue, brightness, contrast, and saturation control - horizontal resizing between 32 and 1056 pixel/line - vertical resizing by line dropping - high quality anti-aliasing filter (VPX 3220 A only) - ITU-R601 level compatible - YCbCr (4:4:4, 4:2:2, or 4:1:1) or -corrected RGB 4:4:4 (15, 16, or 24 bits) compressed Video (DPCM 8 bit) (VPX 3214 C supports only YCrCb 4:2:2) - alpha key generation (only VPX 3220 A, and VPX 3216 B) - 8-bit or 16-bit synchronous output mode - asynchronous output mode via FIFO with status flags
Sync
Skew CVBS/Y Chroma & Luma Filter Horizontal Resizer Contrast & Brightness Chroma Upsample Luma Filter
MUX
VPX 3220 A only
Chroma Demod.
MUX
YCbCr
Chroma
Line Store
Port
MUX
Cb Cr
Alpha Key
Format & FIFO & MUX
2 x A/D
Port
Y
YUV -> RGB Inverse Gamma DPCM, & Alpha Key
YCbCr/ RGB
A
B
Clock
Sampling
Color Decoder
Component Processing
Color Space
Output MUX
Fig. 1-1: Block diagram of the VPX MICRONAS INTERMETALL 5
VPX 3220 A, VPX 3216 B, VPX 3214 C
2. Functional Description 2.1. Analog Front-End This block provides the analog interfaces to all video inputs and mainly carries out analog-to digital conversion for the following digital video processing. A block diagram is given in Fig. 2-2. Most of the functional blocks in the front-end are digitally controlled (clamping, AGC, and clock-DCO). The control loops are closed by the Fast Processor (`FP') embedded in the decoder. 2.1.1. Input Selector Up to four analog inputs can be connected. They all must be AC-coupled. Two of them (VIN2 and VIN3) are for input of composite video or S-VHS luma signal. These inputs are clamped to the sync back porch and are amplified by a variable gain amplifier. One input (CIN) is for connection of S-VHS carrier-chrominance signal. This input is internally biased and has a fixed gain amplifier. The fourth one (VIN1) can be used for both functions (see Fig. 2-2). For possible combinations and types of input signals, see Fig. 2-1. CVBS 3 2 0 S-VHS 0 1 2
PRELIMINARY DATA SHEET
CVBS VIN1 VIN2 VIN3 CIN n n n
Luma n n n
Chroma n
n
Fig. 2-1: Combinations and types of input signals
2.1.2. Clamping The composite video input signals are AC-coupled to the IC. The clamping voltage is stored on the coupling capacitors and is generated by digitally controlled current sources. The clamping level is the back porch of the video signal. S-VHS chroma is also AC-coupled. The input pin is internally biased to the center of the ADC input range. 2.1.3. Automatic Gain Control A digitally working automatic gain control adjusts the magnitude of the selected baseband by +6/-4.5 dB in 64 logarithmic steps to the optimal range of the ADC.
CVBS/Y
VIN3 AGC +6/-4.5 dB VIN2 input mux clamp DAC level gain
reference generation
CVBS/Y
ADC output mux
8
digital CVBS or Y to color decoder
CVBS/ Y/C
VIN1
C
CIN
bias/ clamp
ADC
8
digital chroma
select
level DAC freq. DVCO 150 ppm
frequ. doubler frequ. divider
system clocks
20.25 MHz Fig. 2-2: Analog front-end 6 MICRONAS INTERMETALL
PRELIMINARY DATA SHEET
VPX 3220 A, VPX 3216 B, VPX 3214 C
2.2.1. IF-Compensation With off-air or mistuned reception, any attenuation at higher frequencies or asymmetry around the color subcarrier is compensated. Three different settings of the IF-compensation are possible: - flat (no compensation)
2.1.4. Digitally Controlled Clock Oscillator The clock generation is also a part of the analog frontend. The crystal oscillator is controlled digitally by the control processor; the clock frequency can be adjusted within 150 ppm if the recommended crystal is used.
2.1.5. Analog-to-Digital Converters Two ADCs are provided to digitize the input signals. Each converter runs with 20.25 MHz and has 8-bit resolution. An integrated bandgap circuit generates the required reference voltages for the converters. The two ADCs are of a 2-stage subranging type.
- 6 dB/octave - 12 dB/octave
2.2. Color Decoder In this block, the entire luma/chroma separation and multistandard color demodulation is carried out. The color demodulation uses an asynchronous clock, thus allowing a unified architecture for all color standards. Both luma and chroma are processed to an orthogonal sampling raster. Luma and chroma delays are matched. The total delay of the decoder is adjustable by a FIFO memory. Therefore, even when the display processing delay is included, a processing delay of exactly 64 sec can be achieved. The color decoder output is YCrCb in a 4:2:2 format. Fig. 2-3: Frequency response of chroma IF-compensation
2.2.2. Demodulator The entire signal (which might still contain luma) is now quadrature-mixed to the baseband. The mixing frequency is equal to the subcarrier for PAL and NTSC, thus achieving the chroma demodulation. For SECAM, the mixing frequency is 4.286 MHz giving the quadrature baseband components of the FM modulated chroma. After the mixer, a lowpass filter selects the chroma components; a downsampling stage converts the color difference signals to a multiplexed half-rate data stream. The subcarrier frequency in the demodulator is generated by direct digital synthesis; therefore, substandards such as PAL 3.58 or NTSC 4.43 can also be demodulated.
MICRONAS INTERMETALL
7
VPX 3220 A, VPX 3216 B, VPX 3214 C
2.2.3. 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 a bell-filter characteristic. At the output of the lowpass filter, all luma information is eliminated. The lowpass filters are calculated in time multiplex for the two color signals. Three bandwidth settings (narrow, normal, broad) are available for each standard. The filter passband can be shaped with an extra peaking term at 1.25 MHz.
dB 0
PRELIMINARY DATA SHEET
2.2.4. Frequency Demodulator The frequency demodulator for demodulating the SECAM signal is implemented as a CORDIC-structure. It calculates the phase and magnitude of the quadrature components by coordinate rotation. The phase output of the CORDIC processor is differentiated to obtain the demodulated frequency. After a programmable deemphasis filter, the Dr and Db signals are scaled to standard CrCb amplitudes and fed to the crossover-switch.
dB
0 -1
-10
PAL/ NTSC
-2 -3 -4 -5
-20 normal -30 narrow -40
broad
-6 -7 -8 -9 -10 -11 MHz 0.01 0.1 1.0 MHz
-50 0 1 2 3 4 5
0
dB
Fig. 2-5: Frequency response of SECAM deemphasis
SECAM
-10
-20
2.2.5. Burst Detection In the PAL/NTSC-system, the burst is the reference forthe color signal. The phase and magnitude outputs of the CORDIC are gated with the color key and used for controlling the phase-lock-loop (APC) of the demodulator and the automatic color control (ACC) in PAL/NTSC. The ACC has a control range of +30...-6 dB. For SECAM decoding, the frequency of the burst is measured. Thus, the current chroma carrier frequency can be identified and is used to control the SECAM processing. The burst measurements also control the color killer operation.
-30
-40
-50 0 1 2 3 4 5
MHz
Fig. 2-4: Frequency response of chroma filters
8
MICRONAS INTERMETALL
PRELIMINARY DATA SHEET
VPX 3220 A, VPX 3216 B, VPX 3214 C
CVBS Luma Chroma
Chroma Process.
2.2.6. Color Killer Operation The color killer uses the burst-phase, -frequency measurement to identify a PAL/NTSC or SECAM color signal. For PAL/NTSC, the color is switched off (killed) as long as the color subcarrier PLL is not locked. For SECAM, the killer is controlled by the toggle of the burst frequency. The burst amplitude measurement is used to switch-off the color if the burst amplitude is below a programmable threshold. Thus, color will be killed for very noisy signals. The color amplitude killer has a programmable hysteresis. 2.2.7. Delay Line/Comb Filter The color decoder uses one fully integrated delay line. Only active video is stored. The delay line application depends on the color standard: - NTSC: - PAL: combfilter or color compensation color compensation
Notch filter Chroma Process.
Y CrC b
Y CrC b
a) conventional
b) S-VHS
CVBS
Notch filter
Y
Chroma Process.
1H Delay
CrC b
c) compensated
CVBS
1H Delay
Notch filter
Y
Chroma Process.
CrC b
- SECAM: crossover-switch In the NTSC compensated mode, Fig. 2-6 c), the color signal is averaged for two adjacent lines. Therefore, cross-color distortion and chroma noise is reduced. In the NTSC combfilter mode, Fig. 2-6 d), the delay line is in the composite signal path, thus allowing reduction of cross-color components, as well as cross-luminance. The loss of vertical resolution in the luminance channel is compensated by adding the vertical detail signal with removed color information.
d) Comb Filter Fig. 2-6: NTSC color decoding options
CVBS
8
Notch filter
Y
Chroma Process.
1H Delay
CrC b
a) conventional
Luma
Y
Chroma
Chroma Process.
1H Delay
CrC b
b) S-VHS Fig. 2-7: PAL color decoding options
CVBS
Notch filter
Y
Chroma Process.
1H Delay
MUX
CrC b
Fig. 2-8: SECAM color decoding
MICRONAS INTERMETALL
9
VPX 3220 A, VPX 3216 B, VPX 3214 C
2.2.8. Luminance Notch Filter If a composite video signal is applied, the color information is suppressed by a programmable notch filter. The position of the filter center frequency depends on the
PRELIMINARY DATA SHEET
subcarrier frequency for PAL/NTSC. For SECAM, the notch is directly controlled by the chroma carrier frequency. This considerably reduces the cross-luminance. The frequency responses and the delay characteristics of all three systems are shown below.
10
dB 100 90
nsec
0
80 70
-10
60 50
-20
40 30
-30
20 10
-40 0 2 4 6 8 10
MHz
0 0 2 4 6 8 10
MHz
PAL notch filter
dB 10 0 100 90 80 70 -10 60 50 -20 40 30 -30 20 10 -40 0 2 4 6 8 10 MHz 0
nsec
MHz 0 2 4 6 8 10
SECAM notch filter
10
dB 100 90
nsec
0
80 70
-10
60 50
-20
40 30
-30
20 10
-40 0 2 4 6 8 10
MHz
0 0 2 4 6 8 10
MHz
NTSC notch filter Fig. 2-9: Frequency responses and time delay characteristics for PAL, SECAM, and NTSC
10
MICRONAS INTERMETALL
PRELIMINARY DATA SHEET
VPX 3220 A, VPX 3216 B, VPX 3214 C
2.3. Component Processing Recovery of the YCbCr components by the decoder is followed by horizontal resizing and skew compensation. Contrast enhancement with noise shaping can also be applied to the luminance signal. The CbCr samples are interpolated to create a 4:4:4 format. Fig. 2-10 illustrates the signal flow through the component processing stage. The YCbCr 4:2:2 samples are separated into a luminance path and a chrominance path. The Luma Filtering and Chroma Filtering blocks apply FIR lowpass filters with selectable cutoff frequencies. These filters are available only in VPX 3220 A. The Resize and Skew blocks alter the effective sampling rate and compensate for horizontal line skew. The YCbCr samples are buffered in a FIFO for continuous read out at a fixed clock rate. In the luminance path, the contrast and brightness can be varied and noise shaping applied. In the chrominance path, interpolation is used to generate a 24-bit/pixel output stream (4:4:4 format).
2.2.9. YCbCr Color Space The color decoder outputs luminance and two chrominance signals at a sample clock of 20.25 MHz. Active video samples are flagged by a separate reference signal. The number of active samples is 1056 for all standards (525 lines and 625 lines). The representation of the chroma signals is the ITUR-601 digital studio standard. In the following equations, the RGB signals are already gamma-weighted. -Y = 0.299*R + 0.587*G + 0.114*B 0.701*R - 0.587*G - 0.114*B
- (R-Y) =
- (B-Y) = -0.299*R - 0.587*G + 0.886*B In the color decoder, the weighting for both color difference signals is adjusted individually. The default format will have the following specification: - Y = 224*Y + 16 (pure binary), - Cr = 224*(0.713*(R-Y)) + 128 (offset binary), - Cb = 224*(0.564*(B-Y)) + 128 (offset binary).
VPX 3220 A only
Yin Luma Filter
Resize Skew
Luma Phase Shift
Contrast & Brightness
Yout
Active Video Reference
Sequence Control
Chroma Phase Shift
Latch
F I F O
16 bit
CbCrin Chroma Filter
Resize Skew
Cb Cr Upsampler
Cbout Crout
Fig. 2-10: Component processing stage MICRONAS INTERMETALL 11
VPX 3220 A, VPX 3216 B, VPX 3214 C
2.3.1. Horizontal Resizer The horizontal resizer alters the sampling raster of the video signal, thereby varying the number of pixels in the active portion of the video line. The number of pixels per line is selectable within the range from 1056 to 32 in increments of 2 pixels. In the digital domain, this is done by lowpass filtering (VPX 3220 A only), followed by a programmable phase shift with an allpass filter. The VPX 3220 A is equipped with a battery of 32 FIR filters to cover the four octave operating range of the resizer. Fig. 2-13 shows the magnitude response of the entire filter set. All filters exhibit a minimum stop band attenuation of at least 35 dB. Figures 2-11 and 2-12 illustrate the performance of the filters in detail. Filter selection is performed by an internal processor based on the selected resizing factor. This automated selection is optimized for best visual performance but can be fine tuned to satisfy different needs. It is also possible to override the internal selection completely. In that case, filters are selected over I2C bus. The Resize and Skew block performs programmable phase shifting with subpixel accuracy. In the luminance path, a linear interpolation filter provides a phase shift between 0 and 31/32 in steps of 1/32. This corresponds to an accuracy of 1.6 ns. The chrominance signal can be shifted between 0 and 3/4 in steps of 1/4. Figs. 2-14 through 2-17 show the the transfer function of the two skew filters.
PRELIMINARY DATA SHEET
Fig. 2-11: Resizer filters for the upper octave
Fig. 2-12: Resizer filters for the lower three octaves
Fig. 2-13: Magnitude response of resizer filter bank (VPX 3220 A only) 12 MICRONAS INTERMETALL
PRELIMINARY DATA SHEET
VPX 3220 A, VPX 3216 B, VPX 3214 C
clocks
2 1 0 -1 -2 -3 -4 -5 -6 -7 -8
dB
parameter: , 32 steps
0, 1.0 0.1, 0.9 0.2, 0.8 0.5 0.4, 0.6 0.3, 0.7
2.5 2.3 2.1 1.9 1.7 1.5 1.3 1.1 0.9 0.7 MHz 0.5
parameter: , 32 steps
1.0 0.9 0.8 0.7 0.6 0.5 0.2 0.3 0.4
0
0.1
MHz 0 2 4 6 8 10
0
2
4
6
8
10
Fig. 2-14: Luminance skew filter magnitude frequency response
Fig. 2-15: Luminance skew filter group delay characteristics
2 1 0 -1 -2 -3 -4 -5 -6 -7 -8
dB
parameter: , 4 steps
0, 1.0
5.0 4.6 4.2 4.0 3.8 3.4 3.0 2.6 0.25 0.5 MHz 2.2 2.0 1.8 1.4 1
clocks
parameter: , 4 steps
1.0 0.8 0.5 0.2 0
MHz 0 1 2 3 4 5
0
1
2
3
4
5
Fig. 2-16: Chrominance skew filter magnitude frequency response
Fig. 2-17: Chrominance skew filter group delay characteristics
2.3.2. Skew Correction The VPX delivers orthogonal pixels with a fixed clock even in the case of non-broadcast signals with substantial horizontal jitter (VCRs, laser disks, certain portions of the 6 o'clock news...). This is achieved by highly accurate sync slicing combined with post correction. Immediately after the analog input is sampled, a horizontal sync slicer tracks the position of sync. This slicer evaluates, to within 1.6 ns., the skew between the sync edge and the edge of the pixelclock. This value is passed as a skew on to the phase shift filter in the resizer. The skew is then treated as a fixed initial offset during the resizing operation.
niques: simple rounding, 1-bit error diffusion, or 2-bit error diffusion.
Rounding
1 bit Err. Diff.
2 bit Err. Diff.
Contrast
Select
Brightness
I2C Registers
2.3.3. Contrast, Brightness, and Noise Shaping Iout = c * Iin + b c = 0...63/32 in 64 steps b = -127...128 in 256 steps
Fig. 2-18: Contrast and brightness adjustment 2.3.4. CbCr Upsampler Simple interpolation is used to convert the 4:2:2 video samples up to the 4:4:4 format. The CbCr samples are upsampled and then band limited with the linear phase FIR kernel. The passband of this filter covers the entire chroma spectrum present in analog composite and S-VHS signals. 13
A selectable gain and offset can be applied to the luminance samples. Both the gain and offset factors can be set externally via I2C serial control. Fig. 2-18 gives a functional description of this circuit. First, a gain is applied, yielding a 10-bit luminance value. The conversion back to 8-bit is done using one of three selectable techMICRONAS INTERMETALL
VPX 3220 A, VPX 3216 B, VPX 3214 C
2.4. Color Space Stage The color space stage (Fig. 2-19) of the VPX 3220 A and VPX 3216 B optionally performs a series of conversions in the color space and component format. Generation of an alpha key signal, compression using quantized differential coding, and inverse gamma correction are programmable options. Beginning with the 24-bit/pixel YCbCr input signal, two other component formats (4:2:2 and 4:1:1) can be generated by simple downsampling of the chroma. Alternatively, the 24-bit YCbCr can be dematrixed to produce 24-bit RGB. The RGB components can either be output directly or further quantized to yield other quantization formats such as 16-bit (R:5 G:6 B:5) or 15-bit (R:5 G:5 B:5) The table below summarizes the supported output signal formats.
PRELIMINARY DATA SHEET
2.4.1. Color Space Selection 10 1.403 1 *0.344 *0.714 1 1.773 0 Y R Cb + G B Cr
An optional dematrix stage converts the YCbCr 4:4:4 data into RGB using the matrix equations specified in the ITUR 601 recommendation (shown above). The saturation control in the color decoder is first selected to produce Cb and Cr, the ITUR studio chrominance norm. In the dematrix computation, the full 8-bit resolution is maintained.
Components YCbCr
Sampling Format 4:4:4 4:2:2 4:1:1 4:4:4 (compressed) 4:4:4 4:4:4 4:4:4
Quantization Format 888 888 888 888 888 565 555
Bits/ Pixel 24 16 12 8 24 16 15
RGB
YCbCr 24 bit / pixel 4:4:4 !4:2:2 4:4:4 !4:1:1 Downsampling Compression Dematrix YCbCr 8 bit / pixel RGB 24 bit / pixel YCbCr 16 bit / pixel YCbCr 12 bit / pixel
S e l e c t
-1
888 !565 888 !555 Quantization
RGB 16 bit / pixel RGB 15 bit / pixel
Alpha Key
Fig. 2-19: The color space stage 14 MICRONAS INTERMETALL
PRELIMINARY DATA SHEET
VPX 3220 A, VPX 3216 B, VPX 3214 C
2.4.3. Inverse Gamma Correction Today, most broadcast video sources anticipate the display on conventional CRTs by predistorting the RGB signals with a gamma function (shown below) I' = cI + I0 2.2 c, I0 = constants I {R, G, B}...linear intensity
2.4.2. Compression 24 ! 8 bits A variant of the time-honored DPCM coding technique is available to compress the 24-bit YCbCr 4:4:4 signal to an 8-bit per pixel signal. The technique combines differential coding, companding, and adaptive subsampling of the chrominance. For the most natural image material, the resulting bandwidth savings are purchased at a modest loss of amplitude resolution, which appears mostly as high frequency noise. Signals encoded in this form are readable by decoders, which are embedded in commercially available ICs (RAMDACs, back-end analog encoders, etc...). Different techniques are used to code the luminance and the two chroma signals. For the luma, the difference between 8-bit luma value and a computed reference is companded to a 5-bit value for transmission. The computed reference is simply the 8-bit value of the nearest horizontal neighbor as it appears at the decoder. Each decoded luminance sample is therefore used as a prediction for the next pixel. This, in turn, requires that the encoder contains almost a complete decoder as a subset. The chrominance samples are encoded in a similar fashion. The samples of each chrominance component are ordered into non-overlapping groups of four. For each group, one of the four samples is selected as a representative value. For each representative pixel, the relative position and companded differential amplitude are computed for transmission. The position data is relative to the beginning of the group and is encoded as a 2-bit word. The difference between the 8-bit value of the sample and the decoded reference value of the previous group is companded to a 5-bit word.
However, for video processing in a computer, linear space (no gamma distortion) is often the representation of choice. The VPX provides two options for gamma removal. Both conform to the basic formula: I = I'(1/) These two -1 functions are realized as fixed entries in ROM. The first table compensates for a = 1.4. The second table compensates for a = 2.2. 2.4.4. Alpha Key A 1-bit threshold select signal can be generated for every pixel in the YCbCr 4:4:4 signal. Using six registers, an upper and a lower threshold is separately defined for each of the Y, Cb, and Cr components. These six register values define a cube in YCbCr space. Equality is always included in comparison. For each pixel, an alpha bit is generated, which signals whether the pixel lies inside or outside this cube. A 3-point horizontal median filter is available to mitigate the effects of impulse noise.The alpha signal is fed out through the alpha pin, which is in turn multiplexed with JTAG TDO function (see chapter 5, sections 5.1. and 5.3.). When there is no JTAG activity, the TDO pin is used for the alpha signal. Polarity of this signal (high active or low active) can be programmed using I2C. 2.4.4.1. Alpha Key as Static Control Signal The alpha pin can also be used as a static control signal. When doing so, all comparators have to be set to their respective maximal or minimal values. YMIN = 00 YMAX = FF UMIN = 80 UMAX = 7F VMIN = 80 VMAX = 7F
In this case, the alpha signal will always be correct and the output state (high or low) can be selected through the polarity bit (keyinv bit in FORMAT register).
MICRONAS INTERMETALL
15
VPX 3220 A, VPX 3216 B, VPX 3214 C
2.5. Output Pixel Format The output formatting stage (Fig. 2-20) receives the video samples from the color component stage, performs the necessary bit packing, buffers the data for transmission, and channels the output via one or both 8-bit ports. Data transfer can be either synchronous to an internally generated pixel clock or asynchronous with FIFO and status signals. Format section controls: - byte formats (bit order) - number of ports (A only or both A and B) - clock speed (single or double). The video samples (and alpha key) arrive from the color component stage at one of two pixel transport rates: 13.5 MHz or 20.25 MHz. This clock rate is selectable via I2C command. However, the use of the 13.5 MHz clock assumes that the resizer is reducing the number of active samples per line to a maximum of 768 pixels. 2.5.1. Output Ports
PRELIMINARY DATA SHEET
The two 8-bit ports produce TTL level signals coded in binary offset. The ports can be tristated either via the output enable pin (OE) or via I2C commands. 2.5.2. Output Port Formats The format of output data depends on three parameters: the selected signal format, the number of active ports, and the output clock rate. For a given clock rate and number of active ports, a subset of these output formats is supported. Figures 2-21 and 2-22 illustrate this dependency. All single port transfers use port A only.
1
Alpha Key Output Multiplex
Output FIFO
Bus Shuffle
Alpha Key Video Samples
1
1
8
8
Port 1 OE
24
24
24
8
8
Port 2
Clock Generation
I2C reg
Syncr / Asyncr
PIXCLK
FE HF Fig. 2-20: Output formatting stage 16 MICRONAS INTERMETALL
PRELIMINARY DATA SHEET
VPX 3220 A, VPX 3216 B, VPX 3214 C
Double Clock
(Port A only) 0 Ya7 ...... ...... ...... ...... Ya0 U a0 Y b0 Va0
Single Clock
(Port A only) 7 0, Ua1, Ua0
T1 1 2 T2 1 2 T1 1 2 T2 1 2 1 2
Ya4 ..... Ya0 Yb4 ..... Yb0 Yc4 ..... Yc0 Yd4 ..... Yd0
T1 T2 T3 T4
YCbCr 4:1:1 Compressed
Ua4, Ua3, Ua2 0, Va1 Va0 Va4, Va3, Va2
YCbCr 4:2:2 (Mode 1)
Ua 7 Yb7 Va7
Ua 7
...... ...... ...... ......
U a0 Ya0 Va0 Y b0
YCbCr 4:2:2 (Mode 2) Note: All single port transfers use Port A only Note: U, V Cb, Cr
Ya7 Va7 Yb7
RGB 555+
R7 ..... R3
G7 , G6
G5 ... G3
B7 .... B3
Fig. 2-21: Byte formats for single port transfers
RGB 565
R7 ..... R3 G4 ... G2
G7 ... G5 B7 .... B3
1 2
Port A
Ya7 ...... Ya0
Port B
Ua7 Ua6 Va7 Va6 Ua5 Ua4 Va5 Va4 Ua3 Ua2 Va3 Va2 Ua1 Ua0 Va1 Va0 0...0 0...0 0...0 0...0
T1 T2 T3 T4
YCbCr 4:1:1
Yb7 ...... Yb0 Yc7 ...... Yc0 Yd7 ...... Yd0
Ya7 ...... Ya0
Ua7 ...... Ua0 Va7 ...... Va0
YCbCr 4:2:2 RGB 5 5 5 + RGB 5 6 5
T1 T2
Yb7 ...... Yb0
R7....R3
G 7 , G6 G7 ... G5
G5 ... G3 G4 ... G2
B7 .... B3
Single Clock
R7....R3 B7 .... B3
Ya7 ...... Ya0
Ua7 ...... Ua0 Ua7 ...... Ua0 G7 ..... G0 G7 ..... G0
YCbCr 4:4:4
1 2 1 2
Va7 ...... Va0 R7 ..... R0 B7 ..... B0
RGB 8 8 8
Double Clock
Fig. 2-22: Byte formats for double port transfers MICRONAS INTERMETALL 17
VPX 3220 A, VPX 3216 B, VPX 3214 C
3. Video Timing 3.1. Video Reference Signals HREF and VREF The VPX generates two video reference signals; a horizontal reference (HREF) and a vertical reference (VREF). These two signals are generated by programmable hardware and can be either free running or synchronous to the analog input video. The video line standard (625/50 or 525/60) can be either inferred from the analog input video or forced via I2C command from the external controller. The polarity of the two signals is individually selectable. The circuitry which produces the VREF and HREF signals has been designed to provide a stable, robust set of timing signals, even in the presence of erratic behavior at the analog video input. Depending on the selected operating mode, the period of the HREF and VREF signals are guaranteed to remain within a fixed range. These video reference signals can therefore be used to synchronize the external components of a video subsystem (for example the neighboring ICs of a PC add-in card). 3.1.3. Odd/Even
PRELIMINARY DATA SHEET
Information on whether the current field is odd or even, is supplied through the relationship between the edge (either leading or trailing) of VREF and level of HREF. This relationship is fixed and shown in Figs. 3-2 and 3-3. The same information can be supplied to the FIELD/PREF pin. The polarity of the signal is programmable.
3.2. Operational Modes The relationship between the video timing signals (HREF and VREF) and the analog input video is determined by the selected operational mode. Three such modes are available: the Open Mode, the Forced Mode, and the Scan Mode. These modes are selected via I2C commands from the external controller. 3.2.1. Open Mode In the Open Mode, both the HREF and the VREF signal track the analog video input. In the case of a change in the line standard (i.e. switching between the video input ports), HREF and VREF automatically synchronize to the new input. When no video is present, both HREF and VREF float to the idling frequency of their respective PLLs. During changes in the video input (drop-out, switching between inputs), the performance of the HREF and VREF signals is not guaranteed. 3.2.2. Forced Mode In the Forced Mode, VREF and HREF follow the input video signal within certain tolerances. Dedicated hardware is used to monitor the frequency of the analog timing. At the moment when the video signal exceeds the allowed timing tolerances, generation of the timing signals is taken over by free running hardware. If the input video is still present, the VPX continually attempts to resynchronize to it. For each of the two video line standards (625/50 and 525/60), there exist normative values for the period of both the HREF and VREF signals. Many analog input signals deviate significantly from these norms (example, consumer VCRs in their shuttle modes). In the Forced Mode, monitoring hardware is used to impose an upper boundary on the deviation. The maximum allowed horizontal deviation is $24 s. The upper boundary for vertical deviation is $11% of the number of lines in the selected line standard (625/50: $35 lines, 525/60: $30 lines) During the free-running operation, video output data is suppressed. If the VPX successfully resynchronizes, video output resumes. The specific method used to suppress the output video depends on the transfer mode (synchronous or asynchronous). MICRONAS INTERMETALL
3.1.1. HREF Fig. 3-1 illustrates the timing of the HREF signal relative to the analog input. The active period of HREF is fixed and is always equal to the length of the active portion of a video signal. Therefore, regardless of the video line standard, HREF is active for 1056 periods of the 20.25 MHz system clock. The total period of the HREF signal is expressed as nominal and depends on the video line standard.
Analog Video Input
VPX Delay
HREF 52 s nominal
Fig. 3-1: HREF relative to Input Video
3.1.2. VREF Figs. 3-2 and 3-3 illustrate the timing of the VREF signal relative to field boundaries of the two TV standards. The length of the VREF pulse is programmable in the range between 2 and 9 video lines. 18
PRELIMINARY DATA SHEET
VPX 3220 A, VPX 3216 B, VPX 3214 C
625
1
2
3
4
5
6
7
Input CVBS (50 Hz) 3 Input CVBS (60 Hz) 4 5 6 7 8 9 10
HREF 541 tCLK20 541 tCLK20
VREF 2 .. 9 H > 1 tCLK20 ODD/EVEN
Fig. 3-2: VREF timing for ODD fields
312
313
314
315
316
317
318
319
320
Input CVBS (50 Hz)
265 Input CVBS (60 Hz)
266
267
268
269
270
271
272
273
HREF 69 tCLK20 VREF 2 .. 9 H > 1 tCLK20 ODD/EVEN 69 tCLK20
Fig. 3-3: VREF timing for EVEN fields
MICRONAS INTERMETALL
19
VPX 3220 A, VPX 3216 B, VPX 3214 C
3.2.3. Scan Mode In the Scan Mode, the HREF and VREF signals are always generated by free running hardware. They are therefore completely decoupled from the analog input. The output video data is always suppressed. The purpose of the Scan Mode is to allow the external controller to freely switch between the analog inputs while searching for the presence of a video signal. Information regarding the video (standard, source, etc...) can be queried via I2C read. In the Scan Mode, the video line standard of the VREF and HREF signals can be changed via I2C command. The transition always occurs at the first frame boundary after the I2C command is received. Fig. 3-4, below, demonstrates the behavior of the VREF signal during the transition from the 525/60 system to the 625/50 system (the width of the vertical reference pulse is exaggerated for illustration). 3.2.4. Transition Behavior During normal operation, the timing characteristics of the input video can change in response to a number of phenomena: power up/reset, unplugging of the video jack, switching between selected video inputs, etc... The effect of these changes on the video timing signals is dependent on the current operational mode. Table 3-1 summarizes this dependency. In the Forced Mode, it can often occur that the VPX must resynchronize to an analog input signal after a period in
PRELIMINARY DATA SHEET
free running sync generation. In such a case, it is likely that the internal sync generators are out of phase with the time base of the analog input. Maintaining a stable sync signal requires that the transition between time bases occur over several field periods. Fig. 3-5 illustrates the transition between an internal free running vertical sync and a vertical sync of the analog input. The top two lines in this figure show the vertical time base of the analog input signal relative to that of the VREF generated from the free running clock. Both the analog input and free running syncs conform to the same line standard, but the field polarities are out of phase and the offset between field syncs (given by error) is greater than the allowed 20 lines. In the Forced Mode, vertical resynchronization takes place on field boundaries (as opposed to frame boundaries) and begins immediately after the appearance of the analog input. In the first field after the appearance of this analog video, the period between VREF pulse is shortened by 20 lines (rec-) and the field polarity of the VREF is repeated. For each subsequent field, the phase error is reduced by rec- until the two signals are again in phase. Because the resynchronization occurs on field boundaries and because the internally generated sync can be either lengthened or shortened, the maximum value of error is 313/2[157 lines. With a maximum correction of 20 lines per field, field locking requires a maximum of 8 fields.
I2C Command to switch video timing standard
Selected timing standard becomes active
time
VREF f odd 16.683 ms 33.367 ms f even f odd 20.0 ms 40.0 ms f even f odd
(525/60) Fig. 3-4: Transition between timing standards 20
(625/50)
MICRONAS INTERMETALL
PRELIMINARY DATA SHEET
VPX 3220 A, VPX 3216 B, VPX 3214 C
Feven
Input Signal : Vertical Timing
Fodd field Fodd Feven field
Fodd
Free running vertical sync
error
Fodd rec- error - rec-
Fodd 1
Feven 1 ...
First frame after switch to tracking mode
field - rec-
2rec-
Feven 1 error - (3rec-)
Second frame after switch to tracking mode
Fodd 2
Feven 2
field - rec-
2rec-
Fig. 3-5: Synchronization to analog input
MICRONAS INTERMETALL
21
VPX 3220 A, VPX 3216 B, VPX 3214 C
Table 3-1: Transition Behavior as a Function of Operating Mode
PRELIMINARY DATA SHEET
Transition Behavior as a Function of Operating Mode
Transition Power up / Reset Mode Forced Behavior VREF, HREF: comes up free running (video timing standard read from internal initialization tables) Output ports: suppressed not applicable
Open, Scan video no video Open
VREF, HREF: floats to steady state frequency of internal PLL Output ports: still enabled but with undefined data. VREF, HREF: switches immediately to free running Output ports: suppressed until video restored. no visible effect on any data or control signals - timing signals continue unchanged in free running mode, - data ports remain suppressed VREF, HREF: track the input signal No change in timing standard: VREF, HREF: slowly resynchronize. When resynchronization is complete, the timing control switches back from free running to monitored tracking Output ports: re-enabled. Change in the timing standard: - no visible effect on any data or control signals
Forced
Scan
no video video
Open Forced
Scan video video (same timing standard)
VREF, HREF: no change, continues in free running mode Output ports: remain suppressed. VREF, HREF: track the input video immediately Output Ports: Data available immediately after color decoder locks to input. VREF, HREF: brief period in free running mode while the timing is resynchronized Output Ports: suppressed during resynchronization. no outwardly visible effect on any data or control signals. - timing signals continue unchanged in free running mode, - data ports remain disabled. same as above
Open
Forced
Scan
video video (different timing standard)
Open
Forced
VREF, HREF: switches immediately to free running Output ports: suppressed same as the case no video video
Scan
22
MICRONAS INTERMETALL
PRELIMINARY DATA SHEET
VPX 3220 A, VPX 3216 B, VPX 3214 C
from field #2. For example: On an interlace monitor, line #23 from field #1 is displayed directly above line #23 from field #2. There are a few restrictions to the vertical definition of the windows. Windows must not overlap vertically, but can be adjacent. Windows must begin after line #6 (i.e. line #7 is the first one allowed) of their respective fields. The number of lines out cannot be greater than the number of lines in (no vertical zooming). The combined height of the two windows cannot exceed the number of lines in the input field.
1 2 D D D 1 2 264 265 D D D 1 2
3.3. Windowing the Video Field For each input video field, two non-overlapping windows can be defined. The dimensions of these two windows are supplied via I2C commands. The presence of two windows allows separate processing parameters such as filter responses and the number of pixels per line to be selected. External control over the dimensions of the windows is performed by I2C writes to a window definition table (WinDefTab). For each window, a corresponding WinDefTab is defined in a table of I2C registers. Data written to these tables does not become active until the the corresponding latch bit is set in a control register. A 2-bit flag specifies the field polarity over which the window is active. Vertically, as can be seen in Fig. 3-6, each window is defined by a beginning line, a number of lines to be read-in, and a number of lines to be output. Each of these values is specified in units of video lines. The option, to separately specify the number of input lines and the number of output lines, enables vertical compression. In the VPX, vertical compression is performed via simple line dropping. A nearest neighbor algorithm selects the subset of the lines for output. The presence of a valid line is signaled by a reference signal. The specific signal which is used for the blanking depends on the transfer mode (synchronous/asynchronous). The numbering of the lines in a field of interlace video is dependent on the line standard. Figs. 3-7 and 3-8 illustrate the mapping of the window dimensions to the actual video lines. The indices on the left are the line numbers relative to the beginning of the frame. The indices on the right show the numbering used by the VPX. As seen here, the vertical boundaries of windows are defined relative to the field boundary. Spatially, the lines from field #1 are displayed above identically numbered
Line 1 begin
5 6 7 8
5 6 7 8
268 269 270 271
5 6 7 8
15 16 17 18
D D D
15 16 17 18
278 279 280 281
D D D
15 16 17 18
D D D 257 258 259 260 261 262 263 257 258 259 260 261 262 263 520 521 522 523 524 525
D D D 257 258 259 260 261 262
Field 1
Field 2
Fig. 3-7: Mapping for 525/60 line systems
1 2 D D D 1 2 314 315 D D D 1 2
5 6 7 8
5 6 7
318 319 320 321
5 6 7
22 23
D D D
8
22 23 24 25
335 336 337 338
D D D
8
22 23 24 25
begin
Window 1
# lines in, # lines out
24 25 D D D 308 309
D D D 308 309 310 311 312 313 621 622 623 624 625 308 309 310 311 312
# lines in, # lines out
Window 2
310 311 312 313
Field 1
Field 2
Fig. 3-6: Vertical dimensions of windows MICRONAS INTERMETALL
Fig. 3-8: Mapping for 625/50 line systems 23
VPX 3220 A, VPX 3216 B, VPX 3214 C
Horizontally, the windows are defined by a starting point and a length. The starting point and the length are both given relative to the number of pixels in the active portion of the line (Fig. 3-9). There are some restrictions in the horizontal window definition. The total number of active pixels (NPixel) must be an even number. The maximum value for NPixel depends on the selected transport clock. For a 20.25 MHz transport clock, the maximum value for NPixel is 1056. For a 13.5 MHz transport clock, the maximum value is 800. HLength should also be an even number. Obviously, the sum of HBegin and HLength may not be greater than NPixel. Window boundaries are defined by writing the dimensions into the associated WinDefTab and then setting the corresponding latch bit in the control word. Window definition data is latched at the beginning of the next video frame. Once the WinDefTab data has been latched, the latch bit in the control word is reset. By polling the info-word, the external controller can know when the window boundary data has been read. Multiple window definitions within a single frame time are ignored and can lead to error.
52.15 sec 64 sec
PRELIMINARY DATA SHEET
In both modes, data arrives at the output FIFO in an uninterrupted burst with a fixed transport rate. The transport rate is selected by the external controller to be either 13.5 MHz or 20.25 MHz. The duration of the burst is measured in clock periods of the transport clock and is equal to the number of pixels per output line. The control signals on the three pins: PIXCLK, FE/VACT, and HF/FSY, LLC regulate the data transfer. Their function is dependent on the transfer mode (sync., or async.). For the synchronous mode, the signals at these pins are PIXCLK (internal), VACT, and LLC (respectively). For the asynchronous mode, the signals at these pins are PIXCLK (external), FE, and HF. 3.4.1. Synchronous Output In the synchronous transfer mode, data is transferred synchronous to an internally generated PIXCLK. The frequency of the PIXCLK is equal to the selected transport rate. In the single clock mode, data can be latched onto the falling edge of PIXCLK. In double clock mode, output data must be latched onto both clock edges. The double clock mode is supported for the 13.5 MHz transport rate only. The available transfer bandwidths at the ports are therefore 13.5 MHz, 20.25 MHz (single clock), and 27.0 MHz (double clock). The video data is output in a continuous stream. The PIXCLK is free running. The VACT signal flags the presence of valid output data. Fig. 3-10 illustrates the relationship between the video port data, VACT, and PIXCLK. Whenever a line of video data should be suppressed (line dropping, switching between analog inputs), it is done by suppression of the VACT signal. Fig. 3-11 illustrates the temporal relationship between the VACT and the HREF signals as a function of the number of pixels per output line and the horizontal dimensions of the window. The duration of the active period of the HREF (Fig. 3-11, points B, D) is fixed. Table 3-2 lists the positions of the VACT edges (points A, C) relative to those of HREF. The LLC signal is provided as an additional support for the 13.5 MHz single clock mode. The LLC provides a 2x PIXCLK signal (27 MHz) for interface to external components which rely on the Philips transfer protocols. In the single clock 13.5 MHz mode, the pixel data can be latched onto alternate rising edges of the LLC.
Window
H Begin
H Length N Pixel
Fig. 3-9: Horizontal Dimensions of Sampling Window
3.4. Video Data Transfer The VPX supports two methods of transfer for the sampled video data: a synchronous mode and an asynchronous mode. Both modes support all the byte formats shown in Figs. 2-21 and 2-22, as well as both alternative transport rates.
24
MICRONAS INTERMETALL
PRELIMINARY DATA SHEET
VPX 3220 A, VPX 3216 B, VPX 3214 C
Table 3-2: Relationship of the HREF to the VACT in synchronous transfer mode Resizing 20.25 MHz Transport Rate npix/line = 1056 none npix/line < 1056 npix/line v 1056 Window begin > 0 Window end < 1055 13.5 MHz Transport Rate npix/line = 704 704 < npix/line v768 npix/line < 704 npix/line v 704 Window begin > 0 Window end < 1055 none A=B A=B A>B A>B CD C=D A>B A>B CPort Data VACT
3 2 1 0
D1
D2
Dn-3
Dn-2
Dn-1
Dn
3
2
1
0
PIXCLK (single clock) PIXCLK (double clock) Fig. 3-10: Timing for synchronous output
Port Data PIXCLK (single edge.)
D1
D2
Dn-3
Dn-2
Dn-1
Dn
VACT A C
HREF B Fig. 3-11: Relation between HREF and VACT signals MICRONAS INTERMETALL 25 D
VPX 3220 A, VPX 3216 B, VPX 3214 C
3.4.2. Asynchronous Output In the asynchronous mode, data is strobed from the VPX by an external clock supplied to the PIXCLK pin. A 32-pixel FIFO buffers the video samples for transfer. Two FIFO status signals (HF and FE) arbitrate the transfer. The `half full' signal (HF) indicates that the number of samples present in the FIFO has exceeded some programmable threshold (defined over the range of 031). The FE signal indicates that the FIFO is empty. Some implementations of the asynchronous mode require a more detailed understanding of the rates at which the data is written to and read from the 32 pixel output FIFO. On the input side of the FIFO, sampled video data from the VPX-core arrives as a continuous burst with a pixel rate equal to that of the transport clock (20 MHz or 13 MHz burst rate). On the output side, the rate at which the FIFO is emptied is dependent on the speed of the PIXCLK and the selected clocking mode. In the asynchronous mode, the PIXCLK is always a single-edge clock.
PRELIMINARY DATA SHEET
FIFO fullness level PIXCLK=2*internal transfer rate HF if full-level is 8 FE Port Data
7
8
7
7
6
6
5
2
1
1
0
1
2
3
2
2
1
1
0
Fig. 3-12: Timing for Asynchronous Output
26
MICRONAS INTERMETALL
PRELIMINARY DATA SHEET
VPX 3220 A, VPX 3216 B, VPX 3214 C
SCL and SDA float. External pull-up devices must be adapted to fulfill the required rise time for the fast-mode. For bus loads up to 200 pF, the pull-up device could be a resistor; for bus loads between 200 pF and 400 pF, the pull-up device can be a current source (3 mA max.) or a switched resistor circuit. 4.3. Reset and IC Address Selection
4. Serial Interface A 4.1. Overview Communication between the VPX and the external controller is performed serially via the I2C-bus (pins SCL and SDA). There are basically two classes of registers in the VPX. The first class of registers are the directly addressable I2C registers. These are registers embedded directly in the hardware. Data written to these registers is interpreted combinatorially directly by the hardware (as in any register driven state machine). These registers are all a maximum of 8 bits wide. The second class of registers are the `FP RAM registers': the RAM memory of the on-board microcontroller (INTERMETALL's Fast Processor). Data written into this class of registers is read and interpreted by the FP's micro-code. Internally, these registers are 12 bits wide. Communications with these registers requires I2C packets with 16-bit data payloads. Communication with both classes of registers (I2C and FP RAM) is performed via I2C. But the format of the I2C telegram depends on which type of register is being addressed. 4.2. I2C-Bus Interface
The VPX can respond to one of two possible chip addresses. The address selection is made at reset by an externally supplied level on the PREF pin. This level is latched onto the inactive going edge of RES. 4.4. Protocol Description Once the reset is complete, the IC is selected by asserting a the device address in the address part of a I2C transmission. A device address pair is defined as a write address (86 hex or 8e hex) and a read address (87 hex or 8f hex). Writing is done by sending the device write address first, followed by the subaddress byte and one or two data bytes. For reading, the read address has to be transmitted first by sending the device write address (86 hex or 8e hex), followed by the subaddress, a second start condition with the device read address (87 hex or 8f hex) and reading one or two bytes of data. The I2C-bus device addresses are
A6 A5 0 0 A4 0 0 A3 0 0 A2 0 1 A1 1 1 A0 1 1 R/W 1/0 1/0 hex 86/87 8e/8f
The VPX has an I2C-bus slave interface and uses I2C clock synchronization to slow down the interface if required. The I2C-bus interface uses one level of subaddressing. First, the bus address selects the IC, then a subaddress selects one of the internal registers. The I2C interface of the VPX conforms to the I2C-bus specification for the fast-mode. It incorporates slope control for the falling edges of the SDA and SCL signals. If the power supply of the VPX is switched off, both pins Write to Hardware Control Registers
S 10000110 ACK sub-addr
1 1
The registers of the VPX have 8 or 16-bit data size; 16-bit registers are accessed by reading/writing two 8-bit data bytes with the high byte first. The order of the bits in a data/address/subaddress byte is always MSB first.
ACK
send data-byte
ACK
P
Read from Hardware Control Registers
S 10000110 ACK sub-addr ACK S 10000111 ACK receive data-byte NAK P
Note: S = P= ACK = NAK =
I2C-Bus Start Condition I2C-Bus Stop Condition Acknowledge-Bit (active low on SDA from receiving device) No Acknowledge-Bit (inactive high on SDA from receiving device)
Before accessing the address or data registers for the FP interface (FPRD, FPWR, FPDAT), make sure that the busy bit of FP is cleared (FPSTA). MICRONAS INTERMETALL 27
VPX 3220 A, VPX 3216 B, VPX 3214 C
Figure 4-1 shows I2C bus protocols for read and write operations of the interface. The read operation requires an extra start condition after the subaddress and repetition of the read chip address, followed by the read data bytes. The following protocol examples use device address hex 86/87.
PRELIMINARY DATA SHEET
SDA S SCL Fig. 4-1: I2C bus protocol
1 0
P
(MSB first)
4.5. FP Control and Status Registers In addition to the I2C subaddress space, a second class of address space is defined for direct communication with the on-board -controller. These registers are accessed via indirect addressing through I2C registers (see Fig. 4-2). Due to the internal architecture of the VPX 3220 A, the IC cannot react immediately to all I2C requests which interact with the embedded processor (FP). The maximum response timing is approx. 20 ms (one TV field) for the FP processor if TV standard switching is active. If the addressed processor is not ready for further transmissions on the I2C bus, the clock line SCL is pulled low. This puts the current transmission into a wait state. After a certain period of time, the VPX releases the clock and the interrupted transmission is carried on. 0
I2C subaddress space
FP subaddress space
0
Read Address Write Address Data Status
FP controller
ff
ff
Fig. 4-2: FP register addressing
Write to FP
S 10000110 ACK FPWR ACK send FP-addressbyte high ACK send FP-addressbyte low ACK P
S
10000110
ACK
FPDAT
ACK
send data-byte high
ACK
send data-byte low
ACK
P
Read from FP
S 10000110 ACK FPRD ACK send FP-addressbyte high ACK send FP-addressbyte low ACK P
S
10000110
ACK
FPDAT
ACK
S
10000111
ACK
receive data-byte high
ACK
receive data-byte low
NAK
P
28
MICRONAS INTERMETALL
PRELIMINARY DATA SHEET
VPX 3220 A, VPX 3216 B, VPX 3214 C
4.7. I2C Control and Status Registers The following tables give definitions for the VPX control and status registers. The number of bits indicated for each register in the table is the number of bits implemented in the hardware, i.e. a 9-bit register must always be accessed using two data bytes, but the 7 MSB will be don't care on write operations and 0 on read operations. Write registers that can be read back are indicated in the following table. A hardware reset initializes all control registers to 0. The automatic chip initialization loads a selected set of values from one of four internal ROM tables. The mnemonics used in the Intermetall VPX demo software are given in the last column.
4.6. I2C Initialization In order to completely specify the operational mode of the VPX, appropriate values must be loaded into both the I2C and FP registers. For both the I2C and FP registers, this data is loaded from internal ROM. The length of this set-up procedure is approximately 200 sec after the leading edge of RES#. Initialization is basically a two step procedure: first, the I2C registers are initialized, and afterwards, the FP runs its own initialization routine. There are two different setups for the I2C initialization available. The selection is made with the pin signal PIXCLK. On the active inactive edge of the RES# signal, the state of the PIXCLK pin is latched and used as an index to the selected ROM table.
I2C-Register Table
I2C Reg. Address Number of Bits Mode Function Name
Chip Identification
00 8 r Manufacture ID in accordance with JEDEC Solid State Products Engineering Council, Washington DC INTERMETALL Code EChex 16-bit Part number (01: LSBs, 02: MSBs) VPX 3220 A 4680hex VPX 3216 B 4260hex VPX 3214 C 4280hex I2C_ID0
01 / 02
8/8
r
I2C_ID1, I2C_ID2
Fast Processor (FP)
26 12 / 16 wd FP read address bit [7:0] : bit [15:8] : 27 12 / 16 wd address reserved (must be set to zero) FPWR addr FPRD addr
FP write address bit [7:0] : bit [15:8] : address reserved (must be set to zero)
Registers 26hex and 27hex use the same hardware by subaddressing. 28 12 / 16 w FP data bit [11:0] : bit [15:12] : 29 3/8 r FP status bit [0] : bit [1] : bit [2] : bit [7:3] : write request read request busy reserved (return ones) data reserved (must be set to zero) FPSTA FPDAT data
The control register modes are - w: write/read register - r: read-only register - d: register is double latched - v: register is latched with vsync - A: register is available only in VPX 3220 A; VPX 3216 B returns valid ACK, although no internal action is performed The mnemonics used in the Intermetall VPX demo software are given in the last column.
MICRONAS INTERMETALL
29
VPX 3220 A, VPX 3216 B, VPX 3214 C
PRELIMINARY DATA SHEET
I2C-Register Table
I2C Reg. Address Number of Bits Mode Function Name
Analog Front-end
33 8 w Input Selector Luma ADC: bit [1:0] 00 VIN3 01 VIN2 10 VIN1 11 reserved (no luma input selected) Input Selector Chroma ADC: bit [2] 0/1 select VIN1/CIN Clamping Modes: bit [3] 0/1 clamp on/off for chroma ADC bit [5:4] bit [6] bit [7] reserved (must be set to zero) 1 1 stand-by luma ADC stand-by chroma ADC AFEND vis
cs
dclc
Href, Vref
D8 8 w HREF and VREF control bit [0] : reserved (must be set to zero) bit [1] : HREF Polarity 0 active high 1 active low bit [2] : VREF Polarity 0 active high 1 active low bit [5:3] : VREF Pulse width. binary value + 2 000 pulse width = 2 111 pulse width = 9 bit [6] : PREF select 0 Odd/Even flag 1 PIntr (programmable interrupt signal) bit [7] : PREF polarity 0 polarity unchanged 1 invert polarity hpol REFSIG
vpol
vlen
prefsel
prefpol
Chroma Processing
20 2/8 w IF compensation: bit [1:0] 00 01 10 11 12 dB reserved 6 dB/oct 0 dB/oct reserved (must be set to zero) IFC
bit [7:2]
The control register modes are - w: write/read register - r: read-only register - d: register is double latched - v: register is latched with vsync - A: register is available only in VPX 3220 A; VPX 3216 B returns valid ACK, although no internal action is performed The mnemonics used in the Intermetall VPX demo software are given in the last column.
30
MICRONAS INTERMETALL
PRELIMINARY DATA SHEET
VPX 3220 A, VPX 3216 B, VPX 3214 C
I2C-Register Table
I2C Reg. Address Number of Bits Mode Function Name
Color Space Converter
E0 8 w Alpha Keyer: Ymax bit [7:0] : Ymax (Integer) E1 8 w Alpha Keyer: Ymin bit [7:0] : Ymin (Integer) E2 8 w Alpha Keyer: Cb max bit [7:0] : Cb max (2's complement) E3 8 w Alpha Keyer: Cb min bit [7:0] : Cb min (2's complement) E4 8 w Alpha Keyer: Cr max bit [7:0] : Cr max (2's complement) E5 8 w Alpha Keyer: Cr min bit [7:0] : Cr min (2's complement) E6 8 w Contrast Brightness 1 bit [7:0] : Brightness Level (binary offset) E7 8 w Contrast Brightness 2 bit [5:0] : Contrast Level .... linear scale factor for luminance [5] integer part [4:0] fractional part default = 1.0 bit [7:6] : Noise Shaping .... Control for 10 bit to 8 bit conversion 00: 9-bit to 8-bit via1-bit rounding 01: 9-bit to 8-bit via truncation 10: 9-bit to 8-bit via 1-bit error diffusion 11: 10-bit to 8-bit via 2-bit error diffusion
The control register modes are - w: write/read register - r: read-only register - d: register is double latched - v: register is latched with vsync - A: register is available only in VPX 3220 A; VPX 3216 B returns valid ACK, although no internal action is performed The mnemonics used in the Intermetall VPX demo software are given in the last column.
(VPX 3220 A and VPX 3216 B)
YMAX ymax
(VPX 3220 A and VPX 3216 B)
YMIN ymin
(VPX 3220 A and VPX 3216 B)
UMAX umax
(VPX 3220 A and VPX 3216 B)
UMIN umin
(VPX 3220 A and VPX 3216 B)
VMAX vmax
(VPX 3220 A and VPX 3216 B)
VMIN vmin CBM_BRI brightness CBM_CON contrast
noise
MICRONAS INTERMETALL
31
VPX 3220 A, VPX 3216 B, VPX 3214 C
PRELIMINARY DATA SHEET
I2C-Register Table
I2C Reg. Address Number of Bits Mode Function Name
Color Space Converter
E8 8 w Format Selection, Alpha Keyer and Contrast Brightness bit [7, 5, 2:0] : unused in VPX 3214 C bit [2:0] : Format Selector: 000 YUV 4:2:2, YUV 4:2:2 ITUR 001 YUV 4:4:4, 010 YUV 4:1:1 011 YUV 4:1:1 DPCM 100 RGB 888 - 24 bit 101 RGB 888 (Invers Gamma) - 24 bit 110 RGB 565 (Invers Gamma) - 16 bit 111 RGB 555 (Invers Gamma) + Alpha Key - 15+1 bit bit [3] : Select data format of Cb, Cr video output data stream 0 2's complement (-128 ... 127) 1 binary offset (0 ... 255) bit [4] : Contrast Brightness: Clamping Level 0 clamping level = 32, 1 clamping level = 16 bit [5] : Gamma: Round Dither Enable (=1) bit [6] : Alpha Key Polarity 0 active high 1 active low bit [6] : Programmable output pin in VPX 3214 C, connected to TDO bit [7] : Alpha Key Median Filter 0 Median Filter is disable 1 Median Filter is enable EA 8 w Diverse settings bit [2:0] : bit [3] : bit [4] : bit [5] : 0 1 reserved (must be set to zero). connect LLC2 to ALPHA/TDO pin LLC2 polarity Output FIFO Pointer Reset with posedge of VACTintern Output FIFO Pointer Reset with VRF=0. reserved (must be set to zero) FFRES median format FORMAT
twosq
clamp
dither keyinv
bit [7:6] :
The control register modes are - w: write/read register - r: read-only register - d: register is double latched - v: register is latched with vsync - A: register is available only in VPX 3220 A; VPX 3216 B returns valid ACK, although no internal action is performed The mnemonics used in the Intermetall VPX demo software are given in the last column.
32
MICRONAS INTERMETALL
PRELIMINARY DATA SHEET
VPX 3220 A, VPX 3216 B, VPX 3214 C
I2C-Register Table
I2C Reg. Address Number of Bits Mode Function Name
Output Multiplexer
F0 8 w Output FIFO FIFO Control: (only available in Asynchronous Mode) bit [4:0] : FIFO Flag - Half Full Level (interface signal HF) bit [7:5] : Bus Shuffler 000 Out[23:0] = In[23:0] 001, 010 Out[23:0] = In[7:0, 23:8] 011 Out[23:0] = In[15:0, 23:16] 100 Out[23:0] = In[15:8, 23:16, 7:0] 101, 110 Out[23:0] = In[7:0, 15:8, 23:16] 111 Out[23:0] = In[23:16, 7:0, 15:8] Meaning: In[23:0] : Data from Color Space Stage Out[23:0] : Data to Output FIFO F1 8 w vact Output Multiplexer bit [1:0]: Port Mode 00 parallel_out, 'single clock' OFIFO hfull
shuf
OMUX mode
Port A = FifoOut[23:16] Port B = FifoOut[15:8]; 01 'double clock' (only available with a transport rate of 13.5 MHz) Port A = FifoOut[23:16] / FifoOut[15:8], Port B = FifoOut[7:0]; 10,11 reserved ASYNCHRONOUS MODE: Clock Slope (if Clock Source = external) 1 negative edge triggered 0 positive edge triggered. SYNCHRONOUS MODE: Data Reset 1 set output ports to 0 during VACT(/FE#) = 0. slope
vact
bit [2] :
vact
bit [3] :
Clock Source 1 Internal Source (Synchronous Mode) - PIXCLK is output 0 External Mode (Asynchronous Mode) - PIXCLK is input
clkio
direct
bit [5:4] : delay signal 'active video' (signal FE) with respect to video output data. Only available in Synchronous Mode. 00 no delay (default) 01 one clock cycle 10 two clock cycles 11 three clock cycles bit [6] : 1 disable FIFO-Empty FE low pass filter Only available in Asynchronous Mode. enable HLEN counter
delay
direct
bit [7] :
1
hlen
The control register modes are - w: write/read register - r: read-only register - d: register is double latched - v: register is latched with vsync - A: register is available only in VPX 3220 A; VPX 3216 B returns valid ACK, although no internal action is performed The mnemonics used in the Intermetall VPX demo software are given in the last column.
MICRONAS INTERMETALL
33
VPX 3220 A, VPX 3216 B, VPX 3214 C
PRELIMINARY DATA SHEET
I2C-Register Table
I2C Reg. Address Number of Bits Mode Function Name
Output Multiplexer
F2 8 w direct Output Enable bit [0] : 1 0 1 0 Enable Video Port A Disable / High Impedance Mode Enable Video Port B Disable / High Impedance Mode OENA aen
direct
bit [1] :
ben
direct direct
bit [2] : reserved (must be set to zero) bit [3] : 1 0 1 Enable Controls (HREF, VREF, PREF, HF#, FE#, ALPHA) Disable / High Impedance Mode Enable LLC-Clock to HF-Pad (if transport rate is 13 MHz and internal clock source is used) Enable FSY-Data to HF-Pad (if transport rate is 20 MHz and internal clock source is used) Synchronize HREF, VREF with PIXCLK disable OEQ pin function DRIVER_A stra1 stra2 zen
direct
bit [4] :
llcen
direct
bit [5] :
1
fsyen
direct direct F8 6/8 w
bit [6] : bit [7] :
1 1
hvsynbyq
Pad Driver Strength - TTL Output Pads Typ A bit [2:0] : bit [5:3] : bit [7:6] : Driver strength of Port A[7:0] Driver strength of PIXCLK, HF# and FE# additional PIXCLK driver strength strength = bit [5:3] | {bit [7:6], 0}
F9
6/8
w
Pad Driver Strength - TTL Output Pads Typ B bit [2:0] : bit [5:3] : bit [7:6] : Driver strength of Port B[7:0] and C[7:0] Driver strength of HREF, VREF, PREF and ALPHA reserved (must be set to zero)
DRIVER_B strb1 strb2
The control register modes are - w: write/read register - r: read-only register - d: register is double latched - v: register is latched with vsync - A: register is available only in VPX 3220 A; VPX 3216 B returns valid ACK, although no internal action is performed The mnemonics used in the Intermetall VPX demo software are given in the last column.
34
MICRONAS INTERMETALL
PRELIMINARY DATA SHEET
VPX 3220 A, VPX 216 B, VPX 3214 C
Warning: The FP subaddress space accesses the RAM of the fast processor. It is therefore very sensitive to unintended access. In particular, the user must be sure not to overwrite reserved areas.
4.8. FP Control and Status Registers The tables below list the registers which are currently defined. Electrically, all of the registers in the FP subaddress space are both readable and writeable. Functionally, they are intended for either read or write (as shown in the `mode' column)
FP-Register Table
FP Reg. Address Number of Bits Mode Function Name
Load Table for Window #1
88 12 w Vertical Begin bit [8:0] : Vertical Begin (field line number) minimum line number 7 maximum line number determined by current TV line standard sharpness control .... regulates the subjective sharpness by selecting filters to admitting horizontal alias / blurring maximum blurring ..... more blurring default filter setting more aliasing ..... maximum aliasing set filters for pass-thru
WinLoadTab1
vbeg1
A
bit [11:9] 111 110 101 000 001 010 011 100
89
12
w
Vertical Lines In bit [8:0] : bit [9] bit [11:10] : 11 10 01 00 Number of input lines reserved (must be set to zero) field flag Window disabled Window enabled in ODD fields only Window enabled in EVEN fields only Window enabled in both fields vlinei1
8A
12
w
Vertical Lines Out bit [8:0] : bit [11:9] Number of output lines reserved (must be set to zero) vlineo1
8B
12
w
Horizontal Begin bit [10:0] : bit [11] Horizontal start of window reserved (must be set to zero) hbeg1
8C
12
w
Horizontal Length bit [10:0] : bit [11] Horizontal length of window reserved (must be set to zero) hlen1
8D
12
w
Number of Pixels bit [10:0] : bit [11] Number of active pixels per line reserved (must be set to zero) npix1
The control register modes are - w: write/read register - r: read-only register - A: register or register field has function only in VPX 3220 A The mnemonics used in the Intermetall VPX demo software are given in the last column.
MICRONAS INTERMETALL
35
VPX 3220 A, VPX 3216 B, VPX 3214 C
PRELIMINARY DATA SHEET
FP-Register Table
FP Reg. Address Number of Bits Mode Function Name
Load Table for Window #2
8E 12 w Vertical Begin bit [8:0] : Vertical Begin (field line number) minimum line number 7 maximum line number determined by current TV line standard sharpness control ...regulates the subjective sharpness by selecting filters to admitting horizontal alias / blurring maximum blurring ..... more blurring default filter setting more aliasing ..... maximum aliasing set filters for pass-thru
WinLoadTab2
vbeg2
A
bit [11:9] 111 110 101 000 001 010 011 100
8F
12
w
Vertical Lines In bit [8:0] : bit [9] bit [11:10] : 11 10 01 00 Number of input lines reserved (must be set to zero) field flag Window disabled Window enabled in ODD fields only Window enabled in EVEN fields only Window enabled in both fields vlinei2
90
12
w
Vertical Lines Out bit [8:0] : bit [11:9] Number of output lines reserved (must be set to zero) vlineo2
91
12
w
Horizontal Begin bit [10:0] : bit [11] Horizontal start of window reserved (must be set to zero) hbeg2
92
12
w
Horizontal Length bit [10:0] : bit [11] Horizontal length of window reserved (must be set to zero) hlen2
93
12
w
Number of Pixels bit [10:0] : bit [11] Number of active pixels per line reserved (must be set to zero) npix2
The control register modes are - w: write/read register - r: read-only register - A: register or register field has function only in VPX 3220 A The mnemonics used in the Intermetall VPX demo software are given in the last column.
36
MICRONAS INTERMETALL
PRELIMINARY DATA SHEET
VPX 3220 A, VPX 216 B, VPX 3214 C
FP-Register Table
FP Reg. Address Number of Bits Mode Function Name
Control Word
F0 12 wr w Register for control and latching bit [0] : Transport Rate 0 20.25 MHz. 1 13.5 MHz. Latch Transport Rate 1 latch (reset automatically) Sync timing mode 00 Open 01 Forced 1x Scan Latch Timing Mode 1 latch (reset automatically) Latch Window #1 1 latch (reset automatically) Latch Window #2 1 latch (reset automatically) Odd/Even mode 0 toggles always 1 follows odd/even property of input video signal reserved (must be set to zero) InfoWord 12 r Internal status register bit [2:0] : bit [5:3] : reserved Current active TV standard xxx see table of 3-bit code of TV standards Line Standard of currently active TV standard 0 525 / 60 1 625 / 50 reserved acttv do not overwrite CMDWD settr
w
bit [1] :
lattr
w
bit [3:2] :
settm
w
bit [4] :
lattm
w
bit [5] :
latwin1
w
bit [6] :
latwin2
wr
bit[8] :
disoef
bit [11:9]
Info Word
F1
bit [6] :
actls
bit [11:7]
The control register modes are - w: write/read register - r: read-only register - A: register or register field has function only in VPX 3220 A
The mnemonics used in the Intermetall VPX demo software are given in the last column.
MICRONAS INTERMETALL
37
VPX 3220 A, VPX 3216 B, VPX 3214 C
The FP RAM locations which manage the TV coding standard (selection/recognition) all use a 3-bit code for the eight supported standards. This code (shown below) is assumed in the register descriptions which follow. 000 001 010 011 100 101 110 111 PAL B,G,H,I NTSC M SECAM NTSC 44 PAL M PAL N PAL 60 NTSC Comb (625/50) (525/60) (625/50) (525/60) (525/60) (625/50) (525/60) (525/60)
PRELIMINARY DATA SHEET
FP-Register Table
FP Reg. Address Number of Bits Mode Function Name
TV Standard - Write
F2 12 w writeable control register for managing the TV coding standard bit [0] : Manual / Automatic Select 0 Automatic 1 Manual TV standard for manual selection xxx see table above Latch the TV standard manually 1 latch (reset automatically) Composite / S-VHS select 0 Composite 1 S-VHS Threshold for standard search results 1111 perfect score (maximum score) 0000 'no video' (minimum score) 1111 bit [11:10]
The control register modes are - w: write/read register - r: read-only register - A: register or register field has function only in VPX 3220 A The mnemonics used in the Intermetall VPX demo software are given in the last column.
TVstndWr
mansel
bit [3:1] :
settv
bit [4] :
lattv
bit [5] :
svhssel
bit [9:6] :
score
default
reserved (must be set to zero)
38
MICRONAS INTERMETALL
PRELIMINARY DATA SHEET
VPX 3220 A, VPX 216 B, VPX 3214 C
FP-Register Table
FP Reg. Address Number of Bits Mode Function Name
TV Standard - Read
F3 12 r Readable control register for managing the TV coding standard bit [0] : VACT suppress 0 enabled 1 suppressed Status of recognition routine 0 idle 1 running TV standard detected (by recognition routines) xxx see table above 'No video' flag 0 TV standard shown in bit [4:2] present 1 no video at selected input High score from video recognition routine (confidence level) 1 1 1 1 maximum confidence 0 0 0 0 minimum confidence TV line standard (for TV standard from bit [4:2] above) 0 525/60 1 625/50 reserved
TVstndRd
bit [1] :
bit [4:2] :
bit [5] :
bit [9:6] :
bit [10] :
bit [11] :
Vertical Standard
E7 12 w Writeable control register for vertical locking bit [0]: vertical standard lock enable 0 disabled 1 enabled expected number of lines per field vsdt
bit [11:1]
Color Processing
1C A0 NTSC tint angle, $512 = $/4 ACC reference; also used to control color saturation ACCref = 0: ACC turned off ACCref = 1: minimal color saturation ie. color switched off ACC multiplier value for SECAM Dr chroma component to adjust Cr level ACC multiplier value for SECAM Db chroma component to adjust Cb level amplitude color killer level kilvl = 0: killer disabled tint ACCref
A3 A4 A8
ACCr ACCb kilvl
The control register modes are - w: write/read register - r: read-only register - A: register or register field has function only in VPX 3220 A The mnemonics used in the Intermetall VPX demo software are given in the last column.
MICRONAS INTERMETALL
39
VPX 3220 A, VPX 3216 B, VPX 3214 C
PRELIMINARY DATA SHEET
FP-Register Table
FP Reg. Address Number of Bits Mode Function Name
Automatic Gain Control
B2 12 w sync amplitude reference AGCref = 0: AGC disabled Write 0 to FP register B5 after writing 0 to AGCref to disable the AGC start value for AGC gain while vertical lock or AGC is inactive AGC gain value AGCref
BE 20
12 12
w r
sgain gain
DVCO
58 59 12 12 w r crystal oscillator center frequency adjust, -2048..2047 crystal oscillator center frequency adjustment value for line lock mode. true adjust value is DVCO - ADJUST. For factory crystal alignment: set DVCO=0, set lock mode, read crystal offset from ADJUST register and use negative value for initial center frequency adjustment via DVCO. line locked mode lock command/status write: 100 0 4095/0 enable lock disable lock locked / unlocked dvco adjust
26
12
w
xlg
read:
Horizontal PLL
4B 12 w gain of the horizontal PLL bit [4:0] bit [9:5] bit [11:10]
The control register modes are - w: write/read register - r: read-only register - A: register or register field has function only in VPX 3220 A The mnemonics used in the Intermetall VPX demo software are given in the last column.
gain for the integrating part of PLL control gain for the proportional part of PLL control reserved
if1 if2
40
MICRONAS INTERMETALL
PRELIMINARY DATA SHEET
VPX 3220 A, VPX 216 B, VPX 3214 C
4.9. Initial Values on Reset PIXCLK LOW on Reset
Type I2C I2C I2C I2C I2C I2C I2C I2C I2C I2C I2C I2C I2C I2C I2C I2C Name OFIFO AFEND IFC YMAX YMIN UMAX UMIN VMAX VMIN CBM_BRI CBM_CON FORMAT Address F0 33 20 E0 E1 E2 E3 E4 E5 E6 E7 E8 Data 0A 0D 03 FF 00 7F 80 7F 80 00 20 F8 Brightness to 0 Contrast to 1.0, noise shaping 9 to 8 bit via 1 bit rounding YUV 422, Cr,Cb in binary offset, con/bri clamp to 16dec, Gamma dither enabled, Alpha active low, Alpha median filter enabled single clock, PIXCLK input, posedge triggered, HLEN counter disabled Port A, PIXCLK, HF# and FE# strength to 2 Port B, HREF, VREF, PREF and ALPHA strength to 4 All outputs disabled
Table of Initial Values
Description Half full level to 0Ahex (10dec), bus shuffler off Video input 2, chroma ADC from Chroma input, clamp off for chroma ADC IF compensation 0 dB/oct Open up all comparators, so that Alpha Key is always true (set)
OMUX DRIVER_A DRIVER_B OENA
F1 F8 F9 F2
00 12 24 00
PIXCLK HIGH on Reset
I2C I2C I2C I2C I2C I2C I2C I2C I2C I2C I2C I2C I2C I2C I2C I2C OFIFO AFEND IFC YMAX YMIN UMAX UMIN VMAX VMIN CBM_BRI CBM_CON FORMAT F0 33 20 E0 E1 E2 E3 E4 E5 E6 E7 E8 0B 0D 03 FF 00 7F 80 7F 80 00 20 F8 Brightness to 0 Contrast to 1.0, noise shaping 9- to 8-bit via 1-bit rounding YUV 422, Cr,Cb in binary offset, con/bri clamp to 16dec, Gamma dither enabled, Alpha active low, Alpha median filter enabled single clock, PIXCLK output, HLEN counter disabled Port A, PIXCLK, HF# and FE# strength to 2 Port B, HREF, VREF, PREF and ALPHA strength to 4 All outputs enabled: synchronize HREF, VREF with PIXCLK Half full level to 0Bhex (11dec), bus shuffler off Video input 2, chroma ADC from Chroma input, clamp off for chroma ADC IF compensation 0 dB/oct Open up all comparators, so that Alpha Key is always true (set)
OMUX DRIVER_A DRIVER_B OENA
F1 F8 F9 F2
08 12 24 5F
MICRONAS INTERMETALL
41
VPX 3220 A, VPX 3216 B, VPX 3214 C
PRELIMINARY DATA SHEET
PIXCLK LOW or HIGH on Reset
Type Name Address hex 1C 4B DVCO ADJUST WinLoadTab1 58 59 88 89 8A 8B 8C 8D WinLoadTab2 8E 8F 90 91 92 93 ACCREF KILVL AGCREF SGAIN VSDT CMDWD A0 A8 B2 BE E7 F0 Data dec 0 664 0 0 12 1 1 0 704 704 17 500 500 0 704 704 2070 30 768 27 523 114
Table of Initial Values
Description
FP FP FP FP FP FP FP FP FP FP FP FP FP FP FP FP FP FP FP FP FP FP
TINT
Neutral tint HPLL: if1 = 24 if2 = 20
Transport rate 20.25 MHz, sync timing mode Open, both windows latched, VACT enabled Manual TV standard select, composite signal
FP
TVstndWr
F2
979
42
MICRONAS INTERMETALL
PRELIMINARY DATA SHEET
VPX 3220 A, VPX 3216 B, VPX 3214 C
5.2.2. Instruction Register The instruction register chooses which one of the data registers is placed between the TDI and TDO pins when the select data register state is entered in the TAP controller. When the select instruction register state is active, the instruction register is placed between the TDI and TDO. Instructions The following instructions are incorporated: - bypass - sample/preload - extest - master mode - ID code
5. JTAG Boundary-Scan, Test Access Port (TAP) The design of the Test Access Port, which is used for Boundary-Scan Test conforms to standard IEEE 1149.1-1990, with one exception. Also included is a list of the mandatory instructions supported, as well as the optional instructions. This is only a brief overview of some of the basics, as well as any optional features which are incorporated. The IEEE 1149.1 document may be necessary for a more concise description. Finally, an adherence section goes through a checklist of topics and describes how the design conforms to the standard. The implementation of the instructions HIGHZ and CLAMP conforms to the supplement P1149.1/D11 (October 1992) to the standard 1149.1-1990.
5.1. General Description The TAP in the VPX is incorporated using the four signal interface. The interface includes TCK, TMS, TDI, and TDO. The optional TRESET signal is not used. This is not needed because the chip has an internal power-onreset which will automatically steer the chip into the TEST-LOGIC-RESET state. The goal of the interface is to provide a means to test the boundary of the chip. There is no support for internal or BIST(built-in self test). The one exception to IEEE 1149.1 is that the TDO output is shared with the ALPHA signal. This was done because of I/O restrictions on the chip (see section 5.3. "Exceptions to IEEE 1149.1" for more information).
- HIGHZ - CLAMP 5.2.3. Boundary Scan Register The boundary-scan register (BSR) consists of boundary-scan cells (BSCs) which are distributed throughout the chip. These cells are located at or near the I/O pad. It allows sampling of inputs, controlling of outputs, and shifting between each cell in a serial fashion to form the BSR. This register is used to verify board interconnect. Input Cell The input cell is constructed to achieve capture only. This is the minimal cell necessary since Internal Test (INTEST) is not supported. The cell captures either the system input in the CAPTURE-DR State or the previous cells output in the SHIFT-DR State. The captured data is then available to the next cell. No action is taken in the UPDATE-DR State. See Figure 10-11 of IEEE 1149.1 for reference. Output Cell The output cell will allow both capture and update. The capture flop will obtain system information in the CAPTURE-DR State or previous cells information in the SHIFT-DR state. The captured data is available to the next cell. The captured or shifted data is downloaded to the update flop during the UPDATE-DR state. The data from the update flop is then multiplexed to the system output pin when the EXTEST instruction is active. Otherwise, the normal system path exists where the signal from the system logic flows to the system output pin. See Fig. 10-12 of IEEE 1149.1 for reference.
5.2. TAP Architecture The TAP function consists of the following blocks: TAPcontroller, instruction register, boundary-scan register, bypass register, optional device identification register, and master mode register.
5.2.1. TAP Controller The TAP Controller is responsible for responding to the TCK and TMS signals. It controls the transition between states of this machine. These states control selection of the data or instruction registers and the actions which occur in these registers. These include capture, shifting, and update. See Fig. 5-1 of IEEE 1149.1 for TAP state diagram.
MICRONAS INTERMETALL
43
VPX 3220 A, VPX 3216 B, VPX 3214 C
Tristate Cell Each group of output signals which are tristatable is controlled by a boundary scan cell (output cell type). This allows either the normal system signal or the scanned signal to control the tristate control. In the VPX, there are four such tristate control cells which control groups of output signals (see section "Output Driver Tristate Control" for further information). Bidirect Cell The bidirect cell is comprised of an input cell and a tristate cell as described in the IEEE standard. The signal PIXCLK is a bidirectional signal.
PRELIMINARY DATA SHEET
this chip at the end of the chain or bring the VPX TDO out separately and not have it feed another chip in a chain. 5.4. IEEE 1149.1-1990 Spec Adherence This section defines the details of the IEEE1149.1 design for the VPX. It describes the function as outlined by IEEE1149.1, section 12.3.1. The section of that document is referenced in the description of each function. 5.4.1. Instruction Register (section 12.3.1.b.i of IEEE 1149.1-1990) The instruction register is three bits long. No parity bit is included. The pattern loaded in the instruction register during CAPTURE-IR is binary "101" (MSB to LSB). The two LSBs are defined by the spec to be "01" (bit 1 and bit 0) while the MSB (bit 2) is set to "1". 5.4.2. Public Instructions
5.2.4. Bypass Register This register provides a minimal path between TDI and TDO. This is required for complicated boards where many chips may be connected in serial.
5.2.5. Device Identification Register This is an optional 32-bit register which contains theINTERMETALL identification code (JEDEC controlled), part and revision number. This is useful in providing the tester with assurance that the correct part and revision are inserted into a PCB.
(Section 12.3.1.b.ii of IEEE 1149.1-1990) A list of the public instructions is as follows: Instruction EXTEST SAMPLE/PRELOAD Code (MSB to LSB) 000 001 010 011 100 110 100 - 111
5.2.6. Master Mode Data Register ID CODE This is an optional register used to control an 8-bit test register in the chip. This register supports shift and update. No capture is supported. This was done so the last word can be shifted out for verification. MASTER MODE HIGHZ CLAMP 5.3. Exception to IEEE 1149.1 There is one exception to IEEE 1149.1. The exception is to paragraphs 3.1.1.c., 3.5.1.b, and 5.2.1.d (TESTLOGIC-RESET state). Because of pin limitations on the chip, a pin is shared for two functions. When the circuit is in the TEST-LOGIC-RESET state, the ALPHA signal is driven out the TDO/ALPHA pin. When the circuit leaves the TEST-LOGIC-RESET state, the TDO signal is driven on this line. As long as the circuit is not in the TEST-LOGIC-RESET state, all the rules for application of the TDO signal adhere to the IEEE1149.1 spec. Since the VPX uses the JTAG function as a boundaryscan tool, the VPX does not sacrifice test of this pin since it is verified by exercising JTAG function. The designer of the PCB must make careful note of this fact, since he will not be able to scan into chips receiving the ALPHA signal via the VPX. The PCB designer may want to put 44 BYPASS
The EXTEST and SAMPLE/PRELOAD instructions both apply the boundary scan chain to the serial path. The ID CODE instruction applies the ID register to the serial chain. The BYPASS, the HIGHZ, and the CLAMP instructions apply the bypass register to the serial chain. The MASTER MODE instruction is a test data instruction for public use. It provides the ability to control an 8-bit test register in the chip. 5.4.3. Self-test Operation (Section 12.3.1.b.iii of IEEE 1149.1-1990). There is no self-test operation included in the VPX design which is accessible via the TAP. MICRONAS INTERMETALL
PRELIMINARY DATA SHEET
VPX 3220 A, VPX 3216 B, VPX 3214 C
5.4.5. Boundary-Scan Register (Section 12.3.1.b.v of IEEE 1149.1-1990) The boundary-scan chain has a length of 38 shift registers. The scan chain order is specified in the section "Pin Connections". 5.4.6. Device Identification Register
5.4.4. Test Data Registers (Section 12.3.1.b.iv of IEEE 1149.1-1990). The VPX includes the use of four test data registers. They are the required bypass and boundary scan registers, the optional ID code register and the master mode register. The bypass register is, as defined, a 1-bit register accessed by codes 100 through 111, inclusive. Since the design includes the ID code register, the bypass register is not placed in the serial path upon power-up or TestLogic-Reset. The master mode is an 8-bit test register which is used to force the VPX into special test modes. This is reset upon power-on-reset. This register supports shift and update only. It is not recommended to access this register. The loading of that register can drive the IC into an undefined state.
(Section 12.3.1.b.vi of IEEE 1149.1-1990) The manufacturer's identification code for-INTERMETALL is "6C"(hex). The general implementation scheme uses only the 7 LSBs and excludes the MSB, which is the parity bit. The part number is "4680"(hex). The version code starts from "1"(hex) and changes with every revision. The version number relates to changes of the chip interface only. 5.4.7. Performance (Section 12.3.1.b.vii of IEEE 1149.1-1990) See section "Specification" for further information.
The Device Identification Register
Version Part Number 7F Manufacturer ID
00100100011010000000000011011001
31 28 27 12 11 8 7 1 0
2
4
6
8
0
0
d
9
MICRONAS INTERMETALL
45
VPX 3220 A, VPX 3216 B, VPX 3214 C
TAP State Transitions
$F
PRELIMINARY DATA SHEET
TDO could be used as Alpha keyer or LLC2 clock signal (see Pin Description).
1 Test-Logic-Reset 0
0
Shift DR 1
0
$1
Exit1 DR 0
1
$3
0
Pause DR 1
0
$0
0
Exit2 DR 1
0
$5
State Code
Update DR TDO inactive TMS=1 TMS=0
TMS=1
TDO active
State transitions are dependend on the value of TMS, synchronized by TCK.
46
IIIIIII IIIIIII IIIIIII IIIIIII IIIIIII IIIIIII IIIIIII IIIIIII IIIIIII IIIIIII
IIIIII IIIIII IIIIII IIIIII IIIIII IIIIII IIIIII IIIIII IIIIII IIIIII
EEEEEEE EEEEEEE EEEEEEE
$C
$7
$4
Run / Idle
1
Select Data Reg 0
$6
1
Select Instr. Reg 0
$E
1
1
Capture DR 0
$2
1
Capture IR 0
$A
Shift IR 1
0
$9
Exit1 IR
1
$B
Pause IR 1
$8
Exit2 IR 1
$D
Update IR TMS=0
IIIII IIIII
MICRONAS INTERMETALL
PRELIMINARY DATA SHEET
VPX 3220 A, VPX 3216 B, VPX 3214 C
--************************************************************* -- -- This is the BSDL for the 44-Pin Version of the VPXA design. -- --************************************************************* Library IEEE; Use work.STD_1149_1_1990.ALL; Entity VPXA_44 is Generic (Physical_Pin_Map:string := "UNDEFINED"); Port( TDI,TCK,TMS: TDO,HREF,VREF,PREF: A: PVDD,PVSS: PIXCLK: OEQ: HFQ,FEQ: B: SDA,SCL: VSS,XTAL2,XTAL1,VDD: RESQ: AVDD,AVSS,VRT,ISGND: CIN,VIN1,VIN2,VIN3: ); Attribute Pin_Map of VPXA_44 : Entity is Physical_Pin_Map; constant Package_44 : Pin_Map_String := "TDI : 1"& "TCK : 2"& "TDO : 3"& "HREF : 4"& "VREF : 5"& "PREF : 6"& "A : (7,8,9,10,14,15,16,17)" & "PVDD : 11 " & "PIXCLK : 12 " & "PVSS : 13 " & "OEQ : 18 " & "HFQ : 19 " & "FEQ : 20 " & "B : (21,22,23,24,25,26,27,28)," & "SDA : 29 " & "SCL : 30 " & "VSS : 31 " & "XTAL2 : 32 " & "XTAL1 : 33 " & "VDD : 34 " & "RESQ : 35 " & "AVDD : 36 " & "CIN : 37 " & "AVSS : 38 " & "VIN1 : 39 " & "VIN2 : 40 " & "VRT : 41 " & "VIN3 : 42 " & "ISGND : 43 " & "TMS : 44 " ; Attribute Attribute Attribute Attribute Tap_Scan_In of TDI Tap_Scan_Mode of TMS Tap_Scan_Out of TDO Tap_Scan_Clock of TCK : signal is true; : signal is true; : signal is true; : signal is (10.0e6,Both); --map pins to signals in bit; out bit; out bit_vector(7 downto 0); linkage bit; inout bit; in bit; out bit; out bit_vector(7 downto 0); inout bit; linkage bit; in bit; linkage bit; in bit --define ports
--define JTAG Controls
--max frequency and levels TCK can be stopped at. --define instr. length
Attribute Instruction_Length Attribute Instruction_Opcode "EXTEST
of VPXA_44: entity is 3; of VPXA_44: entity is (000)," &
--External Test
MICRONAS INTERMETALL
47
VPX 3220 A, VPX 3216 B, VPX 3214 C
PRELIMINARY DATA SHEET
"SAMPLE "IDCODE "MASTERMODE "HIGHZ "CLAMP" "BYPASS Attribute Register_Access "BOUNDARY "BYPASS "IDCODE[32] "MASTERMODE[8]
(001)," & (010)," & (011)," & (100)," & (110)," & (100,101,110,111),"; of VPXA_44: entity is (EXTEST,SAMPLE)," & (BYPASS, HIGHZ, CLAMP)," & (IDCODE)," & (MASTERMODE) ";
--Sample/Preload --ID Code --Master Mode (internal Test) -- Highz -- Clamp --Bypass --instr. vs register --control
Attribute INSTRUCTION_Capture of VPXA_44: entity is "101"; Attribute IDCODE_Register of VPXA_44: entity is "0001" & "0100011010000000" & "0000" & "1101100" & "1"; of VPXA_44: entity is "BC_1,BC_4";
--captured instr.
--initial rev --part numb. 4680 --7F Count --INTERMETALL Code-Parity --Mandatory LSB --BC_1 for output cell --BC_4 for input cell --Boundary scan length --Boundary scan defin. disval rslt )," & )," & )," & )," & )," & )," & )," & )," & )," & )," & )," & )," & )," & )," & )," & )," & )," & )," & )," & )," & )," & )," & )," & )," & )," & )," & )," & )," & )," & )," & )," & )," & )," & )," & )," & )," & )," & ),";
Attribute Boundary_Cells
Attribute Boundary_Length
of VPXA_44: entity is 38;
Attribute Boundary_Register of VPXA_44: entity is -- num cell port function safe ccel " 37 (BC_4, VIN3, input, X " 36 (BC_4, VIN2, input, X " 35 (BC_4, VIN1, input, X " 34 (BC_4, CIN, input, X " 33 (BC_4, RESQ, input, X " 32 (BC_1, *, internal, X " 31 (BC_4, SCL, input, X " 30 (BC_1, SCL, output3, X, 30, " 29 (BC_4, SDA, input, X " 28 (BC_1, SDA, output3, X, 28, " 27 (BC_1, B(0), output3, X, 19, " 26 (BC_1, B(1), output3, X, 19, " 25 (BC_1, B(2), output3, X, 19, " 24 (BC_1, B(3), output3, X, 19, " 23 (BC_1, B(4), output3, X, 19, " 22 (BC_1, B(5), output3, X, 19, " 21 (BC_1, B(6), output3, X, 19, " 20 (BC_1, B(7), output3, X, 19, " 19 (BC_1, *, control, X " 18 (BC_1, FEQ, output3, X, 16, " 17 (BC_1, HFQ, output3, X, 16, " 16 (BC_1, *, control, X " 15 (BC_4, OEQ, input, X " 14 (BC_1, A(0), output3, X, 7, " 13 (BC_1, A(1), output3, X, 7, " 12 (BC_1, A(2), output3, X, 7, " 11 (BC_1, A(3), output3, X, 7, " 10 (BC_1, CLKIO, control, X "9 (BC_4, PIXCLK,input, X "8 (BC_1, PIXCLK,output3, X, 10, "7 (BC_1, *, control, X "6 (BC_1, A(4), output3, X, 7, "5 (BC_1, A(5), output3, X, 7, "4 (BC_1, A(6), output3, X, 7, "3 (BC_1, A(7), output3, X, 7, "2 (BC_1, PREF, output3, X, 16, "1 (BC_1, VREF, output3, X, 16, "0 (BC_1, HREF, output3, X, 16, End VPXA_44;
--clock health --open collector --open collector
1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1,
Z Z Z Z Z Z Z Z Z Z Z Z
--control
--control
1, 1, 1, 1,
Z Z Z Z
1, 1, 1, 1, 1, 1, 1, 1,
Z Z Z Z Z Z Z Z
--bidirect --control
48
MICRONAS INTERMETALL
PRELIMINARY DATA SHEET
VPX 3220 A, VPX 3216 B, VPX 3214 C
6. Specification 6.1. Outline Dimensions
2.35 1+0.2 x 45 6 7 1.6 2 17.4+0.25 6 16.5 0.1 0.711 2 1 40 39 0.457 2.35 8.6 0.254 0.05 0.1 16.5 0.1 10 x 0.8 = 8 0.1 0.8 0.05 44 1 12 0.25 34 10 x 0.8 = 8 0.1 33 0.8 0.05 10 0.1 10 0.1 SPGS1234/1 10 x 1.27 = 12.7 0.1 1.27 0.1 10 x 1.27 = 12.7 0.1 1.27 0.1 1.2 x 45
5
17 18 17.4
+0.25
29 28 1.9 1.5 4.05 4.75 0.15
Fig. 6-1: 44-Pin Plastic Leaded Chip Carrier Package (PLCC44) Weight approximately 2.5 g Dimensions in mm
11 12 12 0.25 22
23
1.4 0.05 max. 1.6 0.1
Fig. 6-2: 44-Pin Plastic Thin-Quad-Flat-Pack (PTQFP44F) Weight approximately 0.35 g Dimensions in mm
MICRONAS INTERMETALL
49
VPX 3220 A, VPX 3216 B, VPX 3214 C
6.2. Pin Connections and Short Descriptions NC = not connected; leave vacant LV = if not used, leave vacant S.T.B. = shorted to BAGNDI if not used Pin No.
PLCC 44-pin PTQFP 44-pin
PRELIMINARY DATA SHEET
DVSS = if not used, connect to DVSS X = obligatory; connect as described in circuit diagram AHVSS = connect to AHVSS Pin Name Type Short Description
Connection
(if not used)
1 2 3
39 40 41
NC NC NC
TDI TCK TDO
IN IN (+Pullup) OUT
Boundary-Scan-Test Data Input Boundary-Scan-Test Clock Input Boundary-Scan-Test Data Output if TAP is active (see remarks on Boundary-Scan Test) If Test Access Port (TAP) is in Test-LogicReset State: Alpha Key Signal (I2C Reg. EAhex bit[3] = 0) If Test Access Port (TAP) is in Test-LogicReset State: LLC/2 = 13 MHz clock signal (I2C Reg. EAhex bit[3] = 1) Horizontal Reference Vertical Reference Programmable Interrupt ODD/EVEN Frame Identifier I2C-Initialization Control by positive edge of RES: PREF = 0 : I2C device address 0 PREF = 1 : I2C device address 1 (for more information see I2C description) Port 1 - Video Data Output Port 1 - Video Data Output Port 1 - Video Data Output Port 1 - Video Data Output Supply Voltage Pad Circuits Pixel Clock I/O Synchronous mode Asynchronous mode I2C-Initialization Control by positive edge of RES: PIXCLK = 0 : I2C ROM table 0 PIXCLK = 1 : I2C ROM table 1 (for more information see I2C description) Supply Voltage Pad Circuits
ALPHA
OUT
LLC2
OUT
4 5 6
42 43 44
NC NC NC
HREF VREF PREF ODD/EVEN I2C-ADDR
OUT OUT OUT OUT IN
7 8 9 10 11 12
1 2 3 4 5 6
NC NC NC NC
A7 A6 A5 A4 PVDD
OUT OUT OUT OUT SUPPLY OUT IN IN
NC
PIXCLK I2C-INIT
13
7
PVSS
SUPPLY
50
MICRONAS INTERMETALL
PRELIMINARY DATA SHEET
VPX 3220 A, VPX 3216 B, VPX 3214 C
Pin Connections and Short Descriptions, continued Pin No.
PLCC 44-pin PTQFP 44-pin
Connection
(if not used)
Pin Name
Type
Short Description
14 15 16 17 18 19
8 9 10 11 12 13
NC NC NC NC VSS NC
A3 A2 A1 A0 OE HF FSY LLC
OUT OUT OUT OUT IN OUT OUT OUT
Port 1 - Video Data Output Port 1 - Video Data Output Port 1 - Video Data Output Port 1 - Video Data Output Output Ports Enable Asynchronous Mode: FIFO half full, active low Synchronous Mode (20.25 MHz): Front Sync Synchronous Mode (13.5 MHz): 2 x PIXCLK = 27 MHz
20
14
NC
FE VACT
OUT OUT OUT OUT OUT OUT OUT OUT OUT OUT OUT (Pulldown/IN) OUT (Pulldown/IN) IN SUPPLY SUPPLY OSC OUT OSC IN SUPPLY AIN SUPPLY
Asynchronous Mode: FIFO empty, active low Synchronous Mode: active video
21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38
15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32
NC NC NC NC NC NC NC NC NC NC
B7 B6 B5 B4 B3 B2 B1 B0 SDA SCL RES VSS VDD XTAL2 XTAL1 AVDD
Port 2 - Video Data Output Port 2 - Video Data Output Port 2 - Video Data Output Port 2 - Video Data Output Port 2 - Video Data Output Port 2 - Video Data Output Port 2 - Video Data Output Port 2 - Video Data Output I2C Data I2C Clock Reset input Supply Voltage for digital circuitry Supply Voltage for digital circuitry Crystal Crystal Supply Voltage for analog circuitry Chroma Input (SVHS) Supply Voltage for analog circuitry
NC
CIN AVSS
MICRONAS INTERMETALL
51
VPX 3220 A, VPX 3216 B, VPX 3214 C
PRELIMINARY DATA SHEET
Pin No.
PLCC 44-pin PTQFP 44-pin
Connection
(if not used)
Pin Name
Type
Short Description
39 40 41 42 43 44
33 34 35 36 37 38
NC NC
VIN1 VIN2 VRT
AIN AIN Reference AIN SUPPLY IN (Pull-up)
Video 1 or Luminance (SVHS) Input Video 2 Input Reference Voltage Top (ADC) Video 3 Input Signal Ground Boundary-Scan-Test Mode Select
NC
VIN3 ISGND
NC
TMS
52
MICRONAS INTERMETALL
PRELIMINARY DATA SHEET
VPX 3220 A, VPX 3216 B, VPX 3214 C
Pins 21 to 28 - Video Port B (Fig. 6-8) The output characteristics of these pins belong to the characteristics of TTL output driver type B. Pin 29 - I2C Data SDA (Fig. 6-7) This pin connects to the I2C-bus data line. Pin 30 - I2C Clock SCL (Fig. 6-7) This pin connects to the I2C-bus clock line. Pin 31 - Reset Input RES (Fig. 6-5) A low level on this pin resets the circuit. Pin 32 - Ground, Digital Circuitry VSS Pin 33 - Supply Voltage, Digital Circuitry VDD Pins 34, 35 - XTAL1 Crystal Input and XTAL2 Crystal Output (Fig. 6-11) These pins are connected to a 20.25 MHz crystal oscillator which is digitally tuned by integrated shunt capacitances. An external clock can be fed into XTAL1. In this case clock frequency adjustment must be switched off. Pin 36 - Supply Voltage, Analog Circuitry AVDD Pin 37 - Chroma Input CIN (Fig. 6-10, Fig. 6-14) This pin is connected to the S-VHS chroma signal. A resistive divider is used to bias the input signal to the middle of the converter input range. CIN can only be connected to the chroma (Video 2) AD converter. The signal must be AC-coupled. Pin 38 - Ground, Analog Front-end AVSS Pins 39, 40, 42 - Video Input 1-3 VIN1,VIN2,VIN3 (Fig. 6-12) These are the analog video inputs. A CVBS, S-VHS luma signal is converted using the luma (Video 1) AD converter. The VIN1 input can also be switched to the chroma (Video 2) ADC. The input signal must be ACcoupled. Pin 41 - Reference Voltage Top VRT (Fig. 6-13) Via this pin, the reference voltage for the AD converters is decoupled. The pin is connected with 10 F/47 nF to the Signal Ground Pin. Pin 43 - Signal Ground for Analog Input ISGND This is the high-quality ground reference for the video input signals.
6.3. Pin Descriptions (Pin Numbers for PLCC44) Pins 44, 1 - JTAG Input Pins TMS, TDI (Fig. 6-6) Mode Select and Data Input signal for the JTAG Test Access Port (TAP). These inputs have small pull-ups and input stages with Schmitt trigger characteristics. Pin 2 - JTAG Input Pin TCK (Fig. 6-5) Clock input pin for JTAG Test Access Port (TAP). This input has an input stage with Schmitt trigger characteristics and no pull-up. Pin 3 - JTAG Output Pin TDO (Fig. 6-8) Data output for JTAG Test Access Port (TAP), and output pin for the ALPHA key signal, if the TAP is in Test-LogicReset state. The output circuit belongs to the characteristics of TTL output driver type B. Pins 4 to 6 - Reference Signals HREF, VREF, and PREF (Fig. 6-8) These signals are internally generated sync signals. Their output characteristics belong to the output driver type B. Pins 7 to 10, 14 to 17 - Video Port A (Fig. 6-8) The output characteristics of these pins belong to the characteristics of output driver type A. Pin 11 - Supply Voltage, Pad Circuitry PVDD Pin 12 - Pixel Clock PIXCLK (Fig. 6-9) This signal is either input or output depending on the selected mode. In synchronous mode it has the characteristics of TTL output driver type A. In asynchronous mode it has TTL Schmitt trigger input characteristics. PIXCLK is the reference clock for the video data transmission ports A[7:0] and B[7:0]. Moreover, the state of the PIXCLK signal at the inactive going edge of RES determines which I2C_INIT table will be loaded (see section 4.9.) Pin 13 - Ground, Pad Circuitry PVSS Pin 18 - Output Enable Input Signal (Fig. 6-5) The output enable input signal has TTL Schmitt trigger input characteristics. It controls the tristate condition of both video ports. Pins 19, 20 - HF, FE, (Fig. 6-8) These pins have different functionality depending on which video data output mode is selected. The output circuits belong to the characteristics of TTL output driver type A.
MICRONAS INTERMETALL
53
VPX 3220 A, VPX 3216 B, VPX 3214 C
6.4. Pin Configuration
TDI TCK TDO (ALPHA, LLC2) HREF VREF PREF (ODD/EVEN)
6 5 4 3 2
PRELIMINARY DATA SHEET
TMS ISGND VIN3 VRT VIN2
1 44 43 42 41 40
A7 A6 A5 A4 PVDD PIXCLK PVSS A3 A2 A1 A0
7 8 9 10 11 12 13 14 15 16 17
39 38
VPX 3220 A, VPX 3216 B
Top View
37 36 35 34 33 32 31 30 29
VIN1 AVSS CIN AVDD XTAL1 XTAL2 VDD VSS RES SCL SDA
18 19 20 21 22 23 24 25 26 27 28
OE HF (FSY, LLC) FE (VACT) B7 B6 B4 B5
B0 B1 B2 B3
Fig. 6-3: 44-pin PLCC package.
TDI TCK TDO (ALPHA, LLC2) HREF VREF PREF (ODD/EVEN) TMS ISGND VIN3 VRT VIN2
44 43 42 41 40 39 38 37 36 35 34
A7 A6 A5 A4 PVDD PIXCLK PVSS A3 A2 A1 A0
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22
33 32
VPX 3220 A, VPX 3216 B
Top View
31 30 29 28 27 26 25 24 23
VIN1 AVSS CIN AVDD XTAL1 XTAL2 VDD VSS RES SCL SDA
OE HF (FSY, LLC) FE (VACT) B7 B6
B0 B1 B2 B3 B4 B5
Fig. 6-4: 44-pin PTQFP package.
54
MICRONAS INTERMETALL
PRELIMINARY DATA SHEET
VPX 3220 A, VPX 3216 B, VPX 3214 C
PVDD P
6.5. Pin Circuits
IN N Fig. 6-5: TCK, OE, RES PVSS
OUT
Fig. 6-8: A[7:0], B[7:0], HREF, VREF, PREF, HF, FE, TDO Pon PVDD P PVDD P IN / OUT Fig. 6-6: JTAG Inputs TMS, TDI PVSS Fig. 6-9: Input/Output PIXCLK Pin N
VRT VIN1, VIN2, VIN3, CIN
Fig. 6-7: I2C Interface SDA, SCL
The characteristics of the Schmitt Triggers are dependent of the supply of VDD/VSS.
off
Fig. 6-10: Unselected Video Inputs
MICRONAS INTERMETALL
55
VPX 3220 A, VPX 3216 B, VPX 3214 C
PRELIMINARY DATA SHEET
AVDD XTAL2
0.5M
P fECLK N AVSS
AVDD VIN1 N To ADC2 CIN N AVSS bias AVDD VIN1 N To ADC2
XTAL1
Fig. 6-11: Crystal Oscillator
AVDD VIN1 VIN2 VIN3 N N N clamping Fig. 6-12: Video Inputs ADC1 AVSS To ADC1 CIN N clamping AVSS
clamping or bias is selectable via I2C reg. 33hex bit[3]
Fig. 6-14: Video Inputs ADC2
-
AVDD P Pin
BIAS
+
ADC Reference AVSS Fig. 6-13: Reference Voltage VRT
56
MICRONAS INTERMETALL
PRELIMINARY DATA SHEET
VPX 3220 A, VPX 3216 B, VPX 3214 C
6.6. Electrical Characteristics 6.6.1. Absolute Maximum Ratings Symbol TA TS TJ VSUB Parameter Ambient Temperature Storage Temperature Junction Temperature Supply Voltage, all Supply Inputs Input Voltage of PIXCLK, TMS, TDI Input Voltage Input Voltage Signal Swing TCK SDA, SCL A[7:0], B[7:0], PIXCLK, HREF, VREF, PREF, HF, FE, TDO Pin Name Min. 0 -40 0 -0.3 PVSS - 0.5 PVSS - 0.5 VSS - 0.5 PVSS - 0.5 Max. 65 125 125 6 PVDD + 0.5 1) 6 6 PVDD + 0.5 1) Unit C C C V V V V V
Maximum | VDD - AVDD | Maximum | VSS - PVSS | Maximum | VSS - AVSS | Maximum | PVSS - AVSS |
0.5 0.1
V V
1) Note: external voltage exceeding PVDD+0.5V should not be applied to these pins even when they are three-stated.
Stresses beyond those listed in the "Absolute Maximum Ratings" may cause permanent damage to the device. This is a stress rating only. Functional operation of the device at these or any other conditions beyond those indicated in the "Recommended Operating Conditions/Characteristics" of this specification is not implied. Exposure to absolute maximum ratings conditions for extended periods may affect device reliability.
MICRONAS INTERMETALL
57
VPX 3220 A, VPX 3216 B, VPX 3214 C
PRELIMINARY DATA SHEET
Limitations due to Package Characteristics (test conditions at TA = 65 C and Tj = 125 C)
Symbol RthJC RthA Pmax Parameter Thermal Resistance Junction-Case of PTQFP44 Thermal Resistance Ambient of PTQFP44 Maximum Power Radiation of PTQFP44 due to the thermal resistance of the package Thermal Resistance Junction-Case of PLCC44 without internal heat sink Thermal Resistance Ambient (still air) of PLCC44 without internal heat sink Maximum Power Radiation of PLCC44 without internal heat sink due to the thermal resistance of the package Thermal Resistance Junction-Case of PLCC44 with internal heat sink Thermal Resistance Ambient (still air) of PLCC44 with internal heat sink Maximum Power Radiation of PLCC44 with internal heat sink due to the thermal resistance of the package 8 11 Min. Typ. 5 Max. Unit K/W Test Conditions
68 890
K/W mW
still air still air, no cooling
RthJC RthA Pmax
K/W
55
K/W
1089
mW
still air, no cooling
RthJC RthA Pmax
K/W
44
K/W
1370
mW
still air, no cooling
58
MICRONAS INTERMETALL
PRELIMINARY DATA SHEET
VPX 3220 A, VPX 3216 B, VPX 3214 C
6.6.2. Recommended Operating Conditions Symbol ASUP DSUP PSUP fOSC Parameter Analog Supply Voltage Digital Supply Voltage Pad Supply Voltage Clock Frequency Pin Name AVDD VDD PVDD XTAL1, XTAL2 Min. 4.75 4.75 3.0 Typ. 5.0 5.0 3.3 20.25 Max. 5.25 5.25 3.6 Unit V V V MHz
6.6.3. Power Consumption
Symbol IDD Parameter supply current VPX 3220 A between VDD and VSS between AVDD and AVSS between PVDD and PVSS IDD supply current VPX 3216 B between VDD and VSS between AVDD and AVSS between PVDD and PVSS 35 86 44 53 application dependent mA mA mA 115 35 135 44 155 53 mA mA mA Min. Typ. Max. Unit Test Conditions
application dependent
The diagrams below illustrate some of the possible output modes and their impact on the power consumption. These values are worst case numbers in terms of number of active output drivers. Only the video data interface A[7:0] and B[7:0], and the clock signals PIXCLK have to be considered. As a first order approximation, the remaining signals have no impact on the power consumption.
1.4 1.1
1089 mW: PLCC
1370 mW: PLCC + heatsink
Total Power Consumptioin [W]
1.2
PVDD = 5.0 V
1.3
Total Power Consumptioin [W]
1.0
0.9
890 mW: TQFP
1.1
PVDD = 3.3 V
1089 mW: PLCC
0.8
27MHz 20MHz 13MHz 27MHz 20MHz 13MHz
1.0
27MHz 20MHz 13MHz 27MHz 20MHz 13MHz
0.7
0.9 10
20
30
40
50
60
70
80
0.6 10
20
30
40
50
60
70
Cload [pF] Based on a worst case scenario of 18 active output pins, no static loads, and a typical power consumption.
Cload [pF]
MICRONAS INTERMETALL
PVDD = 3.3 V 80
PVDD = 5.0 V
VPX 3220 A
VPX 3216 B
59
VPX 3220 A, VPX 3216 B, VPX 3214 C
6.6.4. Characteristics, Reset at TA = 0 to 65 C, VSUP = 4.75 to 5.25 V, f = 20.25 MHz for min./max. values at TC = 60 C, VSUP = 5 V, f = 20.25 MHz for typical values
Symbol tRES EXT tRES INT tRES INT2 Parameter External Reset Hold Time Internal Reset Hold Time Internal Register Setup after Reset (I2C Initialization) Min. 50 3.2 200 Typ. Max.
PRELIMINARY DATA SHEET
Unit ns s s
Test Conditions
xtal osc. is working
6.6.5. Input Characteristics of RES and OE
Symbol VIL VIH VTRHL VTRLH Parameter Input Voltage LOW Input Voltage HIGH Trigger Level at Transition High to Low Trigger Level at Transition Low to High Min. -0.5 2.0 - 1.2 1.6 Typ. Max. 0.8 6 Unit V V V V Test Conditions
6.6.6. Recommended Crystal Characteristics
Symbol TA fP fP/fP fP/fP Parameter Operating Ambient Temperature Resonance Frequency Min. 0 - Typ. - 20.250 Max. 65 - 20 30 Unit C MHz CL = 13 pF, TA = 25 C TA = 25 C over operating temperature range with respect to frequency at 25 C Test Conditions
Accuracy of Adjustment Frequency Temperature Drift
- -
- -
ppm ppm
C0 C1 Rr
Shunt Capacitance Motional Capacitance Series Resistance
3 18
- -
7 - 30
pF fF
6.6.7. XTAL Input Characteristics
Symbol VI Parameter Clock Input Voltage, XTAL1 Min. 1.3 Typ. Max. Unit VPP Test Conditions capacitive coupling of XTAL1, XTAL2 open
60
MICRONAS INTERMETALL
PRELIMINARY DATA SHEET
VPX 3220 A, VPX 3216 B, VPX 3214 C
6.6.8. Characteristics, Analog Video Inputs
Symbol Parameter Pin Name VIN1 VIN2 VIN3 CIN Min. Typ. Max. Unit Test Conditions
VVIN CIN CCP CCP
Analog Input Voltage
0
2.5
V
Input Capacitance
13
pF
VIN = 1.5 V
Input Coupling Capacitor Video Inputs Input Coupling Capacitor Chroma Input
VIN1-3
680
nF
CIN
1
nF
MICRONAS INTERMETALL
61
VPX 3220 A, VPX 3216 B, VPX 3214 C
6.6.9. Characteristics, Analog Front-End and ADCs
Symbol VVIN VVIN VVINCL VCIN VVINCL VCINB RCIN Parameter Full Scale Input Voltage, Video 1 Full Scale Input Voltage, Video 1 Video 1 Input Clamping Level, CVBS Full Scale Input Voltage, Chroma Video 2 Input Clamping Level, CVBS Video 2 Input Bias Level, SVHS Chroma Video 2 Input Resistance SVHS Chroma Binary Code for Open Chroma Input QCL ICL VVRT BW BW XTALK THD SNDR Input Clamping Current Resolution Input Clamping Current per step Reference Voltage Top Video 1 Bandwidth Video 2 Bandwidth Crosstalk, any Two Video Inputs Distortion Video Signal to Noise and Distortion Ratio Video Integral Non-Linearity, static Video Differential Non-Linearity Video Differential Gain Video Differential Phase 0.5 VIN1-3, CIN 41 VRT VIN1 CIN VIN1-3, CIN -16 - CIN, VIN1 1.08 Pin Name VIN1, VIN2, VIN2 VIN3 Min. 1.8 0.5 Typ. 2.0 0.6 1.0 Max. 2.2 0.7 Unit VPP VPP V
PRELIMINARY DATA SHEET
Test Conditions min. AGC Gain max. AGC Gain Binary Level = 68 LSB min. AGC Gain
1.2 1.2
1.32
VPP V Binary Level = 68 LSB
1.5
-
V
1.4
2
2.6
k
128
15
steps A V MHz MHz dB 10 F/10 nF, 1 G Probe -3 dB for full-scale signal -3 dB for full-scale signal at 1 MHz at 1 MHz, 5th harmonics at 1 MHz, only one output
0.7 2.5
1 2.6 10 10 -56 -50 45
1.3 2.8
-42
dB dB
INL
1 0.8 3 3
LSB
Code Density
DNL DG DP
LSB % deg
Code Density 300 mVPP, 4.4 MHz on ramp 300 mVPP, 4.4 MHz on ramp
Dependency between SNR and Power Supply
45 44 SNR [dB] 43 42 41 40 39 38 2.5 3.0 3.5 4.0 4.5 5.0 5.5 6.0 PVDD [V]
Both ADCs are working and routed to A[7:0], and B[7:0]. All Interfaces are working with maximum driver strength Bandwidth measurement is performed up to 5 MHz.
62
MICRONAS INTERMETALL
PRELIMINARY DATA SHEET
VPX 3220 A, VPX 3216 B, VPX 3214 C
6.6.10. Characteristics of the JTAG Interface TCK Clock signal of the Test-Access Port. It is used to synchronize all JTAG functions. When JTAG operations are not being performed, this pin should be driven to VSS. The input stage of the TCK uses a TTL Schmitt Trigger. TMS, TDI Test Mode Selection and Test Data Input. Both signals are inputs with a TTL compatible input specification. To comply with JTAG specification they use pull-ups at their input stage. The input stage of the TMS and TDI uses a TTL Schmitt Trigger. TDO Test Data Output. This signal is multiplexed with the function ALPHA. The output specification conforms to the specification of the TTL output driver type B. TDO I = 4 mA 50 pF 800 800
Fig. 6-15: TDO Test Circuit
Symbol VOL VOH
Parameter Output Voltage LOW Output Voltage HIGH
Min.
Typ.
Max. 0.6
Unit V V
Test Conditions
2.4
-
PVDD
A special VDD, VSS supply is used only to support the digital output pins. This means inherently that in case of tristate conditions, external sources should not drive these signals above the voltage PVDD which supplies the output pins. VIL VIH VIH CYCL H L CI Input Voltage LOW Input Voltage HIGH for input pin TCK Input Voltage HIGH for input pin TDI, TMS JTAG Cycle Time TCK High Time TCK Low Time Input Capacitance of Pins TCK of Pins TDI and TMS CO IIH II IO Output Capacitance (Pin TDO) Input Pull-up Current (Pins TDI and TMS) Input Leakage Current (Pin TCK) Output Leakage Current (Pin TDO) pF pF pF mA A A VI = VSS VSS VI VDD TAP controller is in TESTRESET state -0.5 2.0 - 0.8 6 V V
2.0
-
PVDD + 0.3 - - -
V
100 50 50
- - -
ns ns ns
Schmitt Trigger Hysteresis This specification defines the Schmitt Trigger Hysteresis of the inputs TCK, TMS, and TDI. VTRHL VTRLH Trigger Level at Transition High to Low Trigger Level at Transition Low to High 1.2 1.6 V V
MICRONAS INTERMETALL
63
VPX 3220 A, VPX 3216 B, VPX 3214 C
6.6.10.1. Timing of the Test Access Port TAP
CYCL L H
PRELIMINARY DATA SHEET
TCK
tS tH
TDI, TMS
tD tON tOFF
TDO
Fig. 6-16: Timing of Test Access Port TAP
Symbol tS tH tD tON tOFF
Parameter TMS, TDI Setup Time TMS, TDI Hold Time TCK to TDO Propagation Delay for Valid Data TDO Turn-on Delay TDO Turn-off Delay
Min.
Typ. 3
Max.
Unit ns
Test Conditions
3 35
4 40
4 45
ns ns
35 35
40 40
45 45
ns ns
64
MICRONAS INTERMETALL
PRELIMINARY DATA SHEET
VPX 3220 A, VPX 3216 B, VPX 3214 C
6.6.11. Characteristics, I2C Bus Interface
Symbol Parameter Pin Name SDA, SCL Min. Typ. Max. Unit Test Conditions
VITF VITR VITH VOL VIH Il tF tR fSCL ts th
Input Trigger Level High to Low Input Trigger Level Low to High Input Trigger Hysteresis Output Low Voltage
1.5
0.3*VDD
2.0
V
2.5
0.6*VDD
3.0
V
0.5 -
- -
- 0.4 0.6 20 1 300 1000 400
V V V pF A ns ns kHz ns ns VssvVivVdd CL=400 pF Il = 3 mA Il = 6 mA
Input Capacitance Input Leakage Current Signal Fall Time Signal Rise Time Clock Frequency Setup Time PREF to RES Hold Time PREF to RES SCL PREF
- -1 - - 0 10 10
- - - - -
The state of PREF and PIXCLK pins are sampled at the high (inactive) going edge of RES in order to determine two power-on parameters (see Fig. 6-17). PREF determines the I2C address:
VIOH RES VIOL VIOH
ts th +0:0
PREF=0: Address 1000 011bin PREF=1: Address 1000 111bin PIXLCK determines the internal ROM table which is used to initialize some of I2C and FP registers (see section 4.9.)
PREF
VIOL
PIXCLK
ts th
VIOH VIOL
Fig. 6-17: I2C Selection: Slave Address (PREF) and Init Table (PIXCLK)
MICRONAS INTERMETALL
65
VPX 3220 A, VPX 3216 B, VPX 3214 C
6.6.12. Digital Video Interface
PRELIMINARY DATA SHEET
The following timing specifications refer to the timing diagrams of sections 6.6.12.1., 6.6.12.2., 6.6.12.3., and 6.6.12.4. For pin driver specific values (driver types A and B) see 6.6.13.
Symbol OE: see 6.6.5. PIXCLK: Synchronous Mode tCLK13 tCLK20 kPIXCLK tH2 Cycle Time at 13.5 MHz internal Data Rate Cycle Time at 20.25 MHz internal Data Rate Duty Cycle H / (L + H ) Output Signal Hold Time for A [7:0] B [7:0] ALPHA tH3 Output Signal Hold Time of VACT 15 16 16 3 16 17 17 4 18 19 19 6 ns ns ns ns 74 49.4 ns ns Parameter Min. Typ. Max. Unit Test Conditions
50
%
LLC (is only available in synchronous output mode at a transport rate of 13.5 MHz.) tLLC H tH1 Cycle Time Pulse width 'HIGH' Output Signal Hold Time for PIXCLK 12 7 37 18 10 24 12 ns ns ns
66
MICRONAS INTERMETALL
PRELIMINARY DATA SHEET
VPX 3220 A, VPX 3216 B, VPX 3214 C
Symbol
Parameter
Min.
Typ.
Max.
Unit
Test Conditions
PIXCLK: Asynchronous Mode VIL VIH VTRHL VTRLH CYCL H L tD Input Voltage LOW Input Voltage HIGH for input pin PIXCLK Trigger Level at Transition High to Low Trigger Level at Transition Low to High Cycle Time Minimum Pulse width 'HIGH' Minimum Pulse width 'LOW' Delay PIXCLK(input) to A [7:0] B [7:0] neg. edge of FE pos. edge of HF ALPHA 11 20 20 tbd 20 ns ns ns ns ns 35 - - - - -0.5 2.0 - 0.8 PVDD + 0.3 V V
1.2 1.6
V V ns ns ns
A special PVDD, PVSS supply is used only to support the digital output pins. This means, inherently, that in case of tristate conditions, external sources should not drive these signals above the voltage PVDD which supplies the output pins. All timing specifications are based on the following assumptions: - the load capacitance of the fast pins (output driver type A) is CA = 30 pF, - the load capacitance of the remaining pins (output driver type B) is CB = 50 pF; - no static currents are assumed; - the driving capability of the pads is STR = 4, which means that 5 of 8 output drivers are enabled. The typical case specification relates to: - the ambient temperature is TA = 25 C, which relates to a junction temperature of TJ = 70 C; - the power supply of the pad circuits is PVDD = 3.3 V, and the power supply of the digital parts is VDD = 5.0 V. The best case specification relates to: - a junction temperature of TJ = 0 C; - the power supply of the pad circuits is PVDD = 3.6 V, and the power supply of the digital parts is VDD = 5.25 V. The worst case specification relates to: - a junction temperature of TJ = 125 C; - the power supply of the pad circuits is PVDD = 3.0 V, and the power supply of the digital parts is VDD = 4.75 V. Rise times are specified as a transition between 0.6 V to 2.4 V. Fall times are defined as a transition between 2.4 V to 0.6 V.
MICRONAS INTERMETALL
67
VPX 3220 A, VPX 3216 B, VPX 3214 C
PRELIMINARY DATA SHEET
6.6.12.1. Characteristics, Synchronous Mode, 13.5 MHz Data Rate, "Single Clock"
LLC
PIXCLK
A[7:0], B[7:0], ALPHA
VACT
Data and VACT valid!
Detailed Timing
tLLC 2.4 V
LLC
tH1 tFA tFA tRA
1.5 V 0.6 V
2.4 V
PIXCLK
tH2 tRA/tFA tRA
1.5 V 0.6 V
A[7:0]
2.4 V 1.5 V 0.6 V tRB/tFB
B[7:0], ALPHA
tRA tH3 tFA
2.4 V 1.5 V 0.6 V
2.4 V
VACT
1.5 V 0.6 V
0 ns
18.5 ns
37 ns
55.5 ns
74 ns
92.5 ns
111 ns
68
MICRONAS INTERMETALL
PRELIMINARY DATA SHEET
VPX 3220 A, VPX 3216 B, VPX 3214 C
6.6.12.2. Characteristics, Synchronous Mode, 20.25 MHz Data Rate, "Single Clock"
PIXCLK
A[7:0], B[7:0], ALPHA
VACT
Detailed Timing
tFA tCLK20
tRA
2.4 V
PIXCLK
tH2 tRA/tFA
1.5 V 0.6 V
2.4 V
A[7:0]
tRB/tFB
1.5 V 0.6 V
B[7:0], ALPHA
tRA tH3 tFA
2.4 V 1.5 V 0.6 V
2.4 V
VACT
1.5 V 0.6 V
0 ns
25 ns
50 ns
75 ns
100 ns
MICRONAS INTERMETALL
69
VPX 3220 A, VPX 3216 B, VPX 3214 C
PRELIMINARY DATA SHEET
6.6.12.3. Characteristics, Synchronous Mode, 13.5 MHz Data Rate, "Double Clock"
PIXCLK
A[7:0]
Byte 1
Byte 2
Byte 1
Byte 2
Byte 1
Byte 2
Byte 1
Byte 2
ALPHA
VACT
Detailed Timing
tCLK13 tFA tRA 2.4 V
PIXCLK
tH2 tRA/tFA tH2
1.5 V 0.6 V
A[7:0]
2.4 V 1.5 V 0.6 V tRB/tFB 2.4 V
ALPHA B[7:0]
tRA tH3 tFA
1.5 V 0.6 V
2.4 V
VACT
1.5 V 0.6 V
0 ns
18.5 ns
37 ns
55.5 ns
74 ns
92.5 ns
111 ns
70
MICRONAS INTERMETALL
PRELIMINARY DATA SHEET
VPX 3220 A, VPX 3216 B, VPX 3214 C
negative slope of PIXCLK, depending on the setting of the I2C reg. F1hex bit[2]. In asynchronous mode, the PIXCLK is always a single edge clock. If luma and chroma data should be transferred via A-port (double clock mode), then each data requires a complete clock cycle of PIXCLK. A complete pixel (luma and chroma) needs two complete clock cycles.
6.6.12.4. Characteristics, Asynchronous Mode
If the digital video interface is in asynchronous mode, then the data transfer is controlled by an external clock signal. Therefore, the interface signal PIXCLK is used as an input signal. The video data refers to the positive or
PIXCLK (in)
pos. edge triggered
PIXCLK (in)
neg. edge triggered
A[7:0], B[7:0], ALPHA
FE
Detailed Timing
CYCL H L 2.4 V
PIXCLK (in)
pos. edge triggered
L H
1.5 V 0.6 V
2.4 V
PIXCLK (in)
neg. edge triggered
tD tRA/tFA
1.5 V 0.6 V
2.4 V
A[7:0]
tRB/tFB
1.5 V 0.6 V
B[7:0], ALPHA
tRA tD* tFA
2.4 V 1.5 V 0.6 V
2.4 V
FE
0 ns 25 ns 50 ns 75 ns 100 ns
1.5 V 0.6 V
MICRONAS INTERMETALL
71
VPX 3220 A, VPX 3216 B, VPX 3214 C
Start and End of an Asynchronous Transfer Mode
internal clock
PRELIMINARY DATA SHEET
INTERNAL SIGNALS
VACT
video data
input pointer 0 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21
output pointer 0
if half full level (I2C Reg. F0hex) is 15 PIN SIGNALS INTERNAL SIGNALS FE HF PIXCLK
Note: The positive slope of FE and the negative slope of HF is determined by internal timing! There is no relation to any pin signal.
input pointer n
output pointer n-15 n-14 n-13 n-12 n-11 n-10 n-9 n-8 n-7 n-6 n-5 n-4 n-3 n-2 n-1 n
PIXCLK (input)
PIN SIGNALS
Video Data A[7:0], B[7:0]
if half full level (I2C Reg. F0hex) is 15 HF FE
72
MICRONAS INTERMETALL
PRELIMINARY DATA SHEET
VPX 3220 A, VPX 3216 B, VPX 3214 C
6.6.13. Characteristics, TTL Output Driver The drivers of the output pads are implemented as a parallel connection of 8 tristate buffers of the same size. The buffers are enabled depending on the desired driver strength. This opportunity offers the advantage of adapting the driver strength to on-chip and off-chip constraints, e.g. to minimize the noise resulting from steep signal transitions. The driving capability/strength is controlled by the state of the two I2C registers F8hex and F9hex.
F8 Pad Driver Strength - TTL Output Pads Type A bit [2:0] : Driver strength of Port A[7:0] bit [5:3] : Driver strength of PIXCLK, HF and FE bit [7:6] : additional PIXCLK driver strength strength = bit [5:3] | {bit[7:6], 0}
strength = 7
strength w 6
strength w 5
strength w 4
strength w 3
strength w 2
strength w 1 F9 Pad Driver Strength - TTL Output Pads Type B bit [2:0] : Driver strength of Port B[7:0] strength w 0 bit [5:3] : Driver strength of HREF, VREF, PREF and ALPHA/TDO
Fig. 6-18: Block diagram of the output stages
MICRONAS INTERMETALL
73
VPX 3220 A, VPX 3216 B, VPX 3214 C
6.6.13.1. TTL Output Driver Type A
Symbol TA VDD, AVDD PVDD tRA tFA IOH(0) IOL(0) IOH(7) IOL(7) CO Rise time Fall time Output High Current (strength = 0) Output Low Current (strength = 0) Output High Current (strength = 7) Output Low Current (strength = 7) High-Impedance Output Capacitance Parameter Min. 65 4.75 Typ. RT 5.0 Max. 0 5.25
PRELIMINARY DATA SHEET
Unit C V
Test Conditions Ambient Temperature Supply
3.0 2 2 -1.37 1.75 -11 14
3.3 5 5 -2.25 3.5 -18 28 5
3.6 10 10 -2.87 4.5 -25 36 8
V ns ns mA mA mA mA pF
Pad Supply Cl = 30 pF, strength = 5 Cl = 30 pF, strength = 5 VOH = 0.6 V VOH = 2.4 V VOH = 0.6 V VOH = 2.4 V
6.6.13.2. TTL Output Driver Type B
Symbol TA VDD, AVDD PVDD tRB tFB IOH(0) IOL(0) IOH(7) IOL(7) CO Rise time Fall time Output High Current (strength = 0) Output Low Current (strength = 0) Output High Current (strength = 7) Output Low Current (strength = 7) High-Impedance Output Capacitance Parameter Min. 65 4.75 Typ. RT 5.0 Max. 0 5.25 Unit C V Test Conditions Ambient Temperature Supply
3.0 6 6 -0.63 0.81 -5 6.5
3.3 12 12 -1.13 1.81 -9 14.5 5
3.6 25 25 -1.38 2.38 -12 19 8
V ns ns mA mA mA mA pF
Pad Supply Cl = 50 pF, strength = 5 Cl=50 pF, strength = 5 VOH = 2.4 V VOH = 0.6 V VOH = 2.4 V VOH = 0.6 V
74
MICRONAS INTERMETALL
PRELIMINARY DATA SHEET
VPX 3220 A, VPX 3216 B, VPX 3214 C
RESET State: If the TAP-controller is not in the EXTEST mode, then the RESET-state defines the state of all digital outputs. The only exception is made for the data output of the boundary scan interface TDO. If the circuit is in reset condition (RES = 0), then all output interfaces are in tristate mode. I2C Control: The tristate condition of groups of signals can also be controlled by setting the I2C-Register F2hex. If the circuit is neither in EXTEST mode nor RESET state, then the I2C-Register F2hex defines whether the output is in tristate condition or not. The I2C-Register #F1 uses different bits for different groups of outputs (see "I2C-Register Table"). Output Enable Input OE: The output enable signal OE only effects the video output ports. If the previous three conditions do not cause the output drivers to go into high impedance mode, then the OE signal defines the driving conditions of the video data ports.
6.6.14. Characteristics, Enable/Disable of Output Signals In order to enable the output pins of the VPX to achieve the high impedance/tristate mode, various controls have been implemented. The following paragraphs give an overview of the different tristate modes of the output signals. It is valid for all output pins, except the XTAL2 (which is the oscillator output) and the VRT pin (which is an analog reference voltage). BS (Boundary-Scan) Mode: The tristate control by the test access port TAP for boundary-scan has the highest priority. Even if the TAPcontroller is in the EXTEST or CLAMP mode, the tristate behavior is only defined by the state of the different boundary scan registers for enable control. If the TAP controller is in HIGHZ mode, then all output pins are in tristate mode independently of the state of the different boundary scan registers for enable control.
EXTEST active
RESET -
I2C -
OE# -
Driver Stages Output driver stages are defined by the state of the different boundary-scan enable registers. Output drivers are in high impedance mode. Output drivers are in high impedance mode. PIXCLK is working. Output drivers HREF, VREF, PREF, FE, HF are working. Output drivers of ALPHA, A[7:0], B[7:0], and C[7:0] are in high impedance mode. Outputs ALPHA, A[7:0], B[7:0], and C[7:0] are working
inactive inactive inactive inactive
active inactive inactive inactive
- =0 =1 =1
- - - =1
inactive
inactive
=1
=0
Remark: EXTEST mode is an instruction conforming to the standard for Boundary-Scan Test IEEE 1149.1 - 1990
MICRONAS INTERMETALL
75
VPX 3220 A, VPX 3216 B, VPX 3214 C
Output Enable by Pin OE
PRELIMINARY DATA SHEET
OE
tOFF
tON
Signals A[7:0], B[7:0], ALPHA
Symbol VIL VIH VTRHL VTRLH tON tOFF
Parameter Input Voltage LOW Input Voltage HIGH for Input pins OE, RES Trigger Level at Transition High to Low Trigger Level at Transition Low to High Output Enable OE of A[7:0], B[7:0], ALPHA Output Disable OE of A[7:0], B[7:0], ALPHA
Min. -0.5 2.0
Typ.
Max. 0.8
Unit V V
Test Conditions
-
6
1.2 1.6 6 8
V V ns ns
76
MICRONAS INTERMETALL
PRELIMINARY DATA SHEET
VPX 3220 A, VPX 3216 B, VPX 3214 C
tems require that the inactive period of HREF also has a fixed length: they use the inactive going edge of HREF to reset their counters, count afterwards a certain amount of clocks and then strobe the preprogrammed number of data almost regardless of the state of VACT signal. That's why this new timing mode was introduced. In this mode signal at VACT pin has an unpredictable behavior and NewVACT signal is available at the HREF pin carrying all the information. It goes inactive, stays inactive for the programmable number of transport rate clocks. This inactive phase is at least 8 clocks long and can be extended in clock units to the maximum length of 23 by writing the field [3:0] of the OFIFO register (I2C address 0xF0). After that NewVACT goes active exactly before the first valid video data, so it still can be used as qualifier for the start of data. It stays active for the rest of the line regardless of the number of valid video data, so it can not be used as the end-qualifier. The system using the data has to count properly and strobe only the valid data. After reset, the VPX operates in its usual output timing mode. There are two registers controlling the new mode. The FP register is used to switch it on and off and I2C register is used to control the length of the HREF inactive period.
Video Pixel Decoder Family Addendum 1. Introduction for Addendum VPX 3214C has two additional features compared to the VPX 3220A and VPX 3216B: - another output timing mode called NewVACT and - low power mode. 2. New Output Timing - NewVACT The VPX family operates with a system and sampling clock of 20.25 MHz. When the oscillator is not locked to the line frequency of the processed video signal, the number of samples per video scan line can vary from line to line. The HREF signal marks the active video line and has a fixed width of 1056 clocks. The inactive part of the HREF can therefore vary in length. The same principle applies to the VACT signal, the difference being that the active length of VACT equals the number of output pixels times transport rate of either 20.25 or 13.5 MHz. This behavior of HREF and VACT signals is well suited for the systems using state machines to handle these signals and data delivered from VPX. On the other hand this behavior causes problems in case the system uses plain counters to decide when to strobe the data. These sys-
Symbol tHNVL tHNVH tHV
Parameter Hold Time of inactive going NewVACT after PIXCLK Hold Time of active going NewVACT after PIXCLK Hold Time of VREF change after PIXCLK
Min.
Typ. 20
Max.
Unit ns
Test Conditions
15
ns
10
ns
NewVACT-Timing (13.5/20.25MHz)
PIXCLK HREF VREF DATA evenfield changes oddfield changes 1. data 2. data ......
MICRONAS INTERMETALL
77
VPX 3220 A, VPX 3216 B, VPX 3214 C
PRELIMINARY DATA SHEET
Detailed Timing - inactive going NewVACT and both VREF edges in Even Field
2.4 V
PIXCLK
tHNVL
1.5 V 0.6 V
2.4 V
NewVACT (on HREF pin)
tHV
1.5 V 0.6 V
2.4 V
VREF
1.5 V 0.6 V
Detailed Timing - active going NewVACT and both VREF edges in Odd Field
2.4 V
PIXCLK
tHNVH
1.5 V 0.6 V
2.4 V
NewVACT (on HREF pin)
tHV
1.5 V 0.6 V
2.4 V
VREF
1.5 V 0.6 V
I2C Reg. Address F0
Number of Bits 8
Mode
Function
Name
w
Output FIFO FIFO Control: (only available in Asynchronous Mode) bit [4:0] : FIFO Flag - Half Full Level (interface signal HF) NewVACT Control: (only available in Synchronous Mode) bit [3:0] : Additional length of NewVACT inactive period. Total length in clocks equals 8 + bit[3:0] bit [4] : reserved (must be set to zero) bit [7:5] : Bus Shuffler 000 Out[23:0] = In[23:0] 001, 010 Out[23:0] = In[7:0, 23:8] 011 Out[23:0] = In[15:0, 23:16] 100 Out[23:0] = In[15:8, 23:16, 7:0] 101, 110 Out[23:0] = In[7:0, 15:8, 23:16] 111 Out[23:0] = In[23:16, 7:0, 15:8] Meaning: In[23:0] : Data from Color Space Stage Out[23:0] : Data to Output FIFO
OFIFO hfull
shuf
The control register modes are - w: write/read register - r: read-only register - d: register is double latched - v: register is latched with vsync - A: register is available only in VPX 3220 A; VPX 3216 B returns valid ACK, although no internal action is performed The mnemonics used in the Intermetall VPX demo software are given in the last column.
78
MICRONAS INTERMETALL
PRELIMINARY DATA SHEET
VPX 3220 A, VPX 3216 B, VPX 3214 C
scan line in which VPX is switched into low power mode. During the low power mode all the I2C and FP registers are preserved, so that VPX restores its normal operation as soon as low power mode is turned off without need for any reinitialization. On the other hand all the I2C and FP registers can be read / written as usual. The only exception is the third level (value of 3 in I2C register 0xAA) of low power. In that mode, I2C speeds above 100 kbit/sec are not allowed. In modes 1 and 2, I2C can be used up to the full speed of 400 kbit/sec.
3. Low power mode In order to accommodate power consumption critical applications, low power mode is introduced. It can be turned on and off through the I2C register 0xAA. There are three levels of low power. When any of them is turned on, VPX waits for at least one complete video scan line in order to complete all internal tasks and then goes into three-state mode. The exact moment is not precisely defined, so care should be taken to deactivate the system using VPX data before the end of the video
I2C Reg. Address AA
Number of Bits 8
Mode
Function
Name
w
Low power bit [1:0] : Low power 00 active mode 01 outputs three-stated; clock divided by 2; I2C full speed 10 outputs three-stated; clock divided by 4; I2C full speed 11 outputs three-stated; clock divided by 8; I2C only up to 100 kbit/sec lowpow
The control register modes are - w: write/read register - r: read-only register - d: register is double latched - v: register is latched with vsync - A: register is available only in VPX 3220 A; VPX 3216 B returns valid ACK, although no internal action is performed The mnemonics used in the Intermetall VPX demo software are given in the last column.
MICRONAS INTERMETALL
79
VPX 3220 A, VPX 3216 B, VPX 3214 C
4. Data Sheet History 1. Data sheet "VPX 3220 A, VPX 3216 B Video Pixel Decoder", Aug. 25, 1995, 6251-368-1PD: First preliminary release of the data sheet. 2. Data sheet "VPX 3220 A, VPX 3216 B, VPX 3214 C Video Pixel Decoders", July 1, 1996, 6251-368-2PD: Second preliminary release of the data sheet. Major changes: - VPX 3214 C has been included - Fig. 6-1: package dimensions changed
PRELIMINARY DATA SHEET
MICRONAS INTERMETALL 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: docservice@intermetall.de Internet: http://www.intermetall.de Printed in Germany Order No. 6251-368-2PD
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 dates are exclusively subject to our respective order confirmation form; the same applies to orders based on development samples delivered. By this publication, MICRONAS INTERMETALL GmbH does not assume responsibility for patent infringements or other rights of third parties which may result from its use. Reprinting is generally permitted, indicating the source. However, our prior consent must be obtained in all cases.
80
MICRONAS INTERMETALL


▲Up To Search▲   

 
Price & Availability of VPX3214

All Rights Reserved © IC-ON-LINE 2003 - 2022  

[Add Bookmark] [Contact Us] [Link exchange] [Privacy policy]
Mirror Sites :  [www.datasheet.hk]   [www.maxim4u.com]  [www.ic-on-line.cn] [www.ic-on-line.com] [www.ic-on-line.net] [www.alldatasheet.com.cn] [www.gdcy.com]  [www.gdcy.net]


 . . . . .
  We use cookies to deliver the best possible web experience and assist with our advertising efforts. By continuing to use this site, you consent to the use of cookies. For more information on cookies, please take a look at our Privacy Policy. X