Video Display Event Generation; Display Line Boundary Conditions - Texas Instruments TMS320DM648 User Manual

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

Advertisement

www.ti.com
VDCTL Bit
CON
FRAME
0
1
1
0
1
0
1
0
1
0
1
1
1
1
1
1
1
1

4.7.2 Video Display Event Generation

The display FIFOs are filled using EDMAs as requested by the video port EDMA events. The VDTHRLD
value indicates the level at which the FIFO has enough room to receive another EDMA block of data.
Depending on the size of the EDMA, the FIFO may have room for multiple transfers before reaching the
VDTHRLD level. Once the threshold is reached, another EDMA event is generated as soon as the FIFO
again falls below the VDTHRLD level.
Once an entire field worth of data has been sent to the FIFO, the video port may need to stop generating
events in order to allow the DSP to change EDMA. Since display may not yet be complete (the FIFO
continues to empty after falling below VDTHRLD), a display event counter (DEVTCT) is provided to track
the number of requested YEVT events. The counter is loaded with the number of events needed in a
display field (DISPEVT1 or DISPEVT2) and is decremented each time the event is requested. Once the
counter reaches 0, further display events are inhibited. At the start of the next field, DEVTCT is reloaded
and display events are reenabled.
4.8

Display Line Boundary Conditions

In order to simplify EDMA transfers, FIFO double words do not contain data from more than one display
line. This means that a FIFO read must be performed whenever 8-bytes have been output or when the
line complete condition (IPCOUNT = IMGHSIZE) occurs. Thus, every display line begins on a double word
boundary and non-double word length lines are truncated at the end. An example is shown in
In
Figure 4-24
(8-bit Y/C mode), the line length is not a double word. When the condition IPCOUNT =
IMGHSIZE occurs, the remaining bytes of the FIFO double word are ignored and the output switches to
the default output value (or the EAV code followed by blanking, if the end of the active video line has been
reached). The next display line then begins in the next FIFO location at byte 0. This operation extends to
all display modes.
SPRUEM1 – May 2007
Submit Documentation Feedback
Table 4-4. Display Operation (continued)
DF2
DF1
Operation
1
1
Single frame display. Display both fields. FRMD is set after field 2 display and
causes DCMPx to be set. A DCNA interrupt occurs unless the FRMD bit is
cleared. (The DSP has the field 2 to field 1 vertical blanking time to clear
FRMD.)
0
0
Reserved
0
1
Continuous field 1 display. Display only field 1. F1D is set after field 1 display
and causes DCMPx to be set (DCMPx interrupt can be disabled). No DCNA
interrupt occurs, regardless of the state of F1D.
1
0
Continuous field 2 display. Display only field 2. F2D is set after field 2 display
and causes DCMPx to be set (DCMPx interrupt can be disabled). No DCNA
interrupt occurs, regardless of the state of F2D.
1
1
Reserved
0
0
Continuous frame display. Display both fields. FRMD is set after field 2 display
and causes DCMPx to be set (DCMPx interrupt can be disabled. No DCNA
interrupt occurs, regardless of the state of FRMD.
0
1
Continuous progressive frame display. Display field 1. FRMD is set after field 1
display and causes DCMPx to be set (DCMPx interrupt can be disabled). No
DCNA interrupt occurs, regardless of the state of FRMD. (Functions identically
to continuous field 1 display mode except the FRMD bit is used instead of the
F1D bit.) If external control signals are used, they must follow progressive
format.
1
0
Reserved
1
1
Reserved

Display Line Boundary Conditions

Figure
4-24.
Video Display Port
109

Advertisement

Table of Contents
loading

This manual is also suitable for:

Tms320dm647

Table of Contents