Configuration for 1st frame
CPU kicks the
VPIF module
1st frame interrupt
(storage start)
Configuration for 2nd frame
Receive 1st frame
2nd frame interrupt
(1st frame data is
already stored in
SDRAM)
Configuration for 3rd frame
Receive 2nd frame
3rd frame interrupt
(2nd frame data is
already stored in
SDRAM)
Configuration for 4th frame
Receive 3rd frame
4th frame interrupt
(3rd frame data is
already stored in
SDRAM)
Time
Registers
1784
SPRUH82C – April 2013 – Revised September 2016
Copyright © 2013–2016, Texas Instruments Incorporated
Video Port Interface (VPIF)
Raw Capture Mode
The raw capture mode requires the same input clock for VPIF channel 0 and channel 1 (clock skew has to
be aligned). A single clock signal should be connected to both VP_CLKIN0 and VP_CLKIN1.
Parameter Configuration for Raw Capture Mode
When the VPIF sets the raw capture mode, the VPIF recognizes the image size automatically using the
H/V valid signals. You do not need to configure the image size in the following registers:
•
channel
n
horizontal data size configuration register (C
n
HCFG)
•
channel
n
vertical data size configuration 0 register (C
n
VCFG0)
•
channel
n
vertical data size configuration 1 register (C
n
VCFG1)
•
channel
n
vertical image size register (C
n
VSIZE)
However, you still need to configure the storage memory address control related registers.
35.3 Registers
All register values should be configured before you set the C
n
EN bit in the channel
n
control register
(C
n
CTRL) to 1. Also note that all register values except the C
n
EN bit in C
n
CTRL are detected by the first
falling edge of the vertical synchronization signal on each channel as shown in
.
lists the memory-mapped registers for the video port interface (VPIF). See the device-specific
data manual for the memory address of these registers.
Relationship Between Register and Data Access
Table 35-5. Video Port Interface (VPIF) Registers
Offset
Acronym
Register Description
Section
0h
REVID
VPIF Revision ID register
4h
C0CTRL
Channel 0 control register
8h
C1CTRL
Channel 1 control register
Ch
C2CTRL
Channel 2 control register
10h
C3CTRL
Channel 3 control register
20h
INTEN
Interrupt enable register
24h
INTSET
Interrupt enable set register
28h
INTCLR
Interrupt enable clear register
2Ch
INTSTAT
Interrupt status register
30h
INTSTATCLR
Interrupt status clear register
34h
EMUCTRL
Emulation suspend control register
38h
REQSIZE
DMA size control register