VPC 323xD, VPC 324xD
ADVANCE INFORMATION
Table 5–2: Limits of the I2C register settings for programming a PIP mode
I2C register
VPCmain
VPCpip and VPCsingle
NPFB
NPFB ≥ NPIXmain + X, (X=2 for TI and X=0 for rest field memories) and
NPFB x NLINmain ≤ total field memory size
NPIX
NLIN
0 < NPIX ≤ NPFB - X and
0 < NPIX ≤ NPELfp
0 < NPIX ≤ NPELsp
NPFB x NLIN ≤ total field memory size and 0 0 ≤ NLIN < NROWsp
≤ NLIN < NROWfp
HSTR
0 ≤ HSTR < NPELfp - NPIXmain
0 ≤ VSTR < NLINfp - NLINmain
not used
0 ≤ HSTR < NPELsp - NPIXPIP
VSTR
0 ≤ VSTR < NLINsp - NLINPIP
PIXOFFS
0 ≤ PIXOFFS < NPIXmain - (number of pixels
of inset pictures to the right of PIXOFFS)
LINOFFS
not used
0 ≤ LINOFFS < NLINmain - (number of lines of
inset pictures below LINOFFS)
Notes:
- NPIXmain and NLINmain: correspond to VPCmain
- NPIXPIP and NLINPIP: correspond to VPCsingle and VPCpip
- NROWfp and NPELfp: number of lines per field and number of pixels per line of a full picture
(e.g. NROWfp=288, NPELfp= 720 for PAL at 13.5 MHz)
- NROWsp and NPELsp: number of lines per field and number of pixels per line of a inset picture
The limits of the I2C register settings are given in Table
5–2. No range check and value limitation are carried
out in the field memory controller. An illegal setting of
these parameters leads to a error behavior of the PIP
function.
maximal 4x4 inset pictures are used, no new setting of
these registers is needed. The default setting
LINOFFS=0 and PIXOFFS=0 takes effect. If more than
4x4 inset pictures are involved in a PIP application,
these inset pictures should be grouped, so that the
inset pictures in each group can be addressed by bits
NSPX and NSPY. For writing each group, the registers
LINOFFS and PIXOFFS should be set correctly (see
Fig.5–4).
The PIP display is controlled by the commands written
into the register PIPOPER. For the VPCmain, the PIP
display is turned on or off by the commends DIS-
START and DISSTOP. For the VPCpip and VPCsingle, 8
commands are available:
– WRFRCOL1, WRFRCOL2: to fill the frame of a
inset picture with the color COLFR1 or COLFR2,
(LINOFFS, PIXOFFS)
NSPX
00
10
01
11
– WRBGD, WRBGDNF: to fill a inset picture with the
background color COLBGD,
00
01
– WRPIC, WRPICNF, WRSTOP: to start and stop to
write a inset picture with the active video,
NSPY
10
– WRMAIN: to start write the main picture part outside
the inset picture(s) with the active video (only for
VPCsingle).
11
display window
While WRPIC, WRSTOP, WRFRCOL1, WRFRCOL2
and WRBGD control a display with a frame (see Fig.
5–2), WRPICNF and WRBGDNF control a display
without a frame (see Fig. 5–3). The number of the inset
picture addressed by the current commend is given by
bits NSPX and NSPY in the register PIPOPER.
Fig. 5–2: 4x4 inset pictures with frame
In the display window, the coordinate of the upper-left
corner of the inset picture with NSPX=0 and NSPY=0
is defined by the registers LINOFFS and PIXOFFS. If
74
Micronas