Texas Instruments TMS320DM648 manual Video Display Threshold Register Vdthrld, VDTHRLD2, Incpix

Models: TMS320DM648

1 174
Download 174 pages 10.69 Kb
Page 137
Image 137

www.ti.com

Video Display Registers

Table 4-19. Video Display Field 2 Timing Register (VDFLDT2) Field Descriptions (continued)

Bit

field (1)

symval (1)

Value

Description

11-0

FLD2XSTART

OF(value)

0-FFFh

Specifies the pixel on the first line of field 2 where the FLD output is asserted.

 

 

DEFAULT

0

 

4.12.15 Video Display Threshold Register (VDTHRLD)

The video display threshold register (VDTHRLD) sets the display FIFO threshold to determine when to load more display data.

The VDTHRLDn bits determines how much space must be available in the display FIFOs before the appropriate EDMA event may be generated. The Y FIFO uses the VDTHRLDn value directly while the Cb and Cr values use ½ the VDTHRLDn value rounded up to the next double word (½ (VDTHRLDn + VTHRLDn mod 2). The EDMA transfer size must be less than the value used for each FIFO. Typically, VDTHRLDn is set to the horizontal line length rounded up to the next double word boundary. For non-line length thresholds, the display data unpacking mechanism places certain restrictions of what VDTHRLDn values are valid (see Section 2.3.3).

The VDTHRLD2 bits behaves identically to VDTHRLD1, but are used during field 2 capture. It is used only if the field 2 EDMA size needs to be different from the field 1 EDMA size for some reason (for example, different display line lengths in field 1 and field 2).

In raw display mode, the INCPIX bits determine when the frame pixel counter (FPCOUNT) is incremented

. If, for example, each output value represents the R, G, or B portion of a display pixel, then the INCPIX bits are set to 3h so that the pixel counter is incremented only on every third output clock. An INCPIX value of 0h represents a count of 16 rather than 0.

The video display threshold register (VDTHRLD) is shown in Figure 4-45and described in Table 4-20.

Figure 4-45. Video Display Threshold Register (VDTHRLD)

31

 

 

26

25

16

 

Reserved

 

 

 

VDTHRLD2

 

R-0

 

 

 

R/W-0

15

12

11

10

9

0

 

INCPIX

Reserved

 

VDTHRLD1

 

R/W-0001

 

R-0

 

R/W-0

LEGEND: R/W = Read/Write; R = Read only; -n= value after reset

Table 4-20. Video Display Threshold Register (VDTHRLD) Field Descriptions

 

 

 

 

 

Description

Bit

field (1)

symval (1)

Value

BT.656 and Y/C Mode

Raw Data Mode

31-26

Reserved

-

0

Reserved. The reserved bit location is always read as 0. A value written to this field

 

 

 

 

has no effect.

 

25-16

VDTHRLD2

OF(value)

0-3FFh

Field 2 threshold. Whenever there are at

 

 

 

 

least VDTHRLD double words of space

 

 

 

 

in the Y display FIFO, a new Y EDMA

 

 

 

 

event may be generated. Whenever

 

 

 

 

there are at least ½ VDTHRLD double

 

 

 

 

words of space in the Cb or Cr display

 

 

 

 

FIFO, a new Cb or Cr EDMA event may

 

 

 

 

be generated.

 

 

DEFAULT

0

 

15-12

INCPIX

OF(value)

0-Fh

Not used.

 

 

DEFAULT

1

 

Field 2 threshold. Whenever there are at least VDTHRLD double words of space in the display FIFO, a new Y EDMA event may be generated.

FPCOUNT is incremented every INCPIX output clocks.

(1)For CSL implementation, use the notation VP_VDTHRLD_field_symval

SPRUEM1 –May 2007

Video Display Port

137

Submit Documentation Feedback

Page 137
Image 137
Texas Instruments TMS320DM648 manual Video Display Threshold Register Vdthrld, VDTHRLD2, Incpix, VDTHRLD1, Has no effect