
www.ti.com
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
Table 3-11. Raw Data Mode Capture Operation
| VCxCTL Bit |
|
| |
CON | FRAME | CF2 | CF1 | Operation |
0 | 0 | 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.) |
0 | 1 | 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. |
1 | 0 | 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. |
1 | 1 | x | x | Reserved |
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
The
Figure 3-13. 8-Bit Raw Data FIFO Packing
VCLKINA / VCLKINB
| VDIN[9−2] / VDIN[19−12] | Raw 0 Raw 1 Raw 2 Raw 3 Raw 4 Raw 5 Raw 6 Raw 7 Raw 8 Raw 9 Raw | 10 Raw | 11 | |||||||||||||||||||||||||||||||||||||||
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| ||||||
|
| 63 | 5655 |
| 4847 | 4039 | 3231 |
|
|
| 2423 |
|
| 1615 |
|
| 8 7 | 0 | |||||||||||||||||||||||||
|
|
| Raw 15 |
|
| Raw 14 |
|
| Raw 13 |
|
| Raw 12 |
|
| Raw 11 |
|
|
| Raw 10 |
|
|
| Raw 9 |
|
|
| Raw 8 | ||||||||||||||||
Raw FIFO |
| Raw 7 |
|
| Raw 6 |
| Raw 5 |
| Raw 4 |
| Raw 3 |
|
|
| Raw 2 |
|
|
| Raw 1 |
|
|
| Raw 0 | ||||||||||||||||||||
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
The
62 | Video Capture Port | SPRUEM1 |