Raw Data Fifo Packing; Bit Raw Data Fifo Packing; Raw Data Mode Capture Operation - Texas Instruments TMS320DM648 User Manual

Video port/vcxo interpolated control (vic) port
Hide thumbs Also See for TMS320DM648:
Table of Contents

Advertisement

Raw Data Capture Mode
For channel B operation or when the RDFE bit in VCACTL is not set, no field information is available.
Some flexibility in capture and DSP notification is still provided in order to accommodate various EDMA
structures and processing flows. Each raw data packet is treated similar to a progressive scan video
frame. The raw data mode uses the CON and FRAME bits of VCxCTL in a slightly different manner, as
listed in
Table
3-11.
VCxCTL Bit
CON
FRAME
0
0
0
1
1
0
1
1
The CON bit controls the capture of multiple frames. When CON = 1, continuous capture is enabled, the
video port captures incoming frames (assuming the VCEN bit is set) without the need for DSP interaction.
It relies on a EDMA structure with circular buffering capability to service the capture FIFO. When CON = 0,
continuous capture is disabled, the video port sets the frame capture complete bit (FRMC) in VCxSTAT
upon the capture of each frame. Once the capture complete bit is set, at most, one more frame can be
received before capture operation is halted (as determined by the FRAME bit state). This prevents
subsequent data from overwriting previous frames until the DSP has a chance to update EDMA pointers
or process those fields.

3.7.2 Raw Data FIFO Packing

Captured data is always packed into 64-bits before being written into the capture FIFO(s). By default, data
is packed into the FIFO from right to left.
The 8-bit raw-data mode stores all data in a single FIFO. Samples are packed together as shown in
Figure
3-13.
VCLKINA / VCLKINB
VDIN[9−2] / VDIN[19−12]
63
Raw 15
Raw 7
Raw FIFO
The 16-bit raw data mode stores all data into a single FIFO. Samples are packed together as shown in
Figure
3-14.
62
Video Capture Port
Table 3-11. Raw Data Mode Capture Operation
CF2
CF1
Operation
x
x
Noncontinuous frame capture. FRMC is set after data block capture and
causes CCMPx to be set. Capture will halt upon completion of the next frame
unless the FRMC bit is cleared. (DSP has the entire next frame time to clear
FRMC.)
x
x
Single frame capture. FRMC is set after data block capture and causes
CCMPx to be set. Capture is halted until the FRMC bit is cleared.
x
x
Continuous frame capture. FRMC is set after data block capture and causes
CCMPx to be set (CCMPx interrupt can be disabled). The port will continue
capturing frames regardless of the state of FRMC.
x
x
Reserved
Figure 3-13. 8-Bit Raw Data FIFO Packing
Raw 0
Raw 1
Raw 2
Raw 3
5655
4847
4039
Raw 14
Raw 13
Raw 6
Raw 5
Raw 4
Raw 5
Raw 6
Raw 7
32
31
2423
Raw 12
Raw 11
Raw 10
Raw 4
Raw 3
Raw 2
Little-Endian Packing
www.ti.com
Raw 8
Raw 9
Raw 10
Raw 11
1615
8 7
0
Raw 9
Raw 8
Raw 1
Raw 0
SPRUEM1 – May 2007
Submit Documentation Feedback

Advertisement

Table of Contents
loading

This manual is also suitable for:

Tms320dm647

Table of Contents