ADVANCE INFORMATION
VPC 323xD, VPC 324xD
5.2. Application Note: PIP Mode Programming
5.2.1. Procedure to Program a PIP Mode
For the VPCpip or VPCsingle
:
12. write the register PIPOPER to start filling a inset
picture with live video.
For the VPCpip or VPCsingle
:
1. set the scaler according to the PIP size to be used
13. Only for tuner scanning: write the register
PIPOPER to stop filling a inset picture with live
video and changing the channel.
(see Table 2–11).
2. write the registers VPCMODE and PIPMODE
according to the mode to be set.
14. repeat steps 12 and 13 for all inset pictures in a
multi PIP application.
3. in expert mode write the registers NLIN, NPIX and
NPFB.
15. Only for VPCsingle: write the register PIPOPER to
start filling the main picture part outside the inset
picture(s) with live video.
4. write the registers COLBGD, COLFR1, COLFR2,
HSTR and VSTR, if a different value as the default
one is used.
For the VPCmain
:
5. write the registers LINOFFS and PIXOFFS, if a dif-
ferent value as the default one or more than 4 inset
pictures in the X or Y direction are used.
16. write the registers HSTR and VSTR, if the PIP
position should be changed.
6. write the register PIPOPER to fill the frame and
background of an inset picture. This step is repeated
for all inset pictures in a multi PIP application.
17. write the register PIPOPER, to quit the PIP mode.
In an application with a single VPC, step 7 - 11 and
16 - 17 are dropped. Additionally, the free running
mode should be set in the cases shown in Table 2–12.
For the VPCmain
:
7. set the scaler to get a full size video
(see Table 2–11).
5.2.2. I2C Registers Programming for PIP Control
8. write the registers VPCMODE and PIPMODE
according to the mode to be set.
To program a PIP mode, the register VPCMODE, PIP-
MODE and PIPOPER should be written always, all
other registers are used only in the expert mode or if
the default values are modified (see Table 5–1).
9. in expert mode write the registers NLIN, NPIX and
NPFB.
10. write the registers COLBGD, HSTR and VSTR, if a
different value as the default one is used.
11. write the register PIPOPER to start displaying PIP.
Table 5–1: I2C register programing for PIP control
I2C register
update
VPCMODE, PIPMODE,
PIPOPER
should be written always
COLBGD, COLFR1,
should be written only, if the default values have to be modified
COLFR2, HSTR, VSTR
LINOFFS, PIXOFFS
VPCpip
VPCmain
not used.
VPCsingle
only used in expert
only used if a different
value as the default one
or more than 4 inset pic-
tures in the X or Y direc-
tion are used
mode, when more than 4
inset pictures in the X or
Y direction are used.
NLIN, NPIX, NPFB
should be written, only in the expert mode. (In the predefined modes the default
values are used.)
Micronas
73