
www.ti.com
Displaying Video in Raw Data Mode
by total double words per Y EDMA.
20.Write to VPIE to enable
21.Write to VDTHRLD to set the display FIFO threshold (VDTHRLD bits) and the FPCOUNT increment rate (INCPIX bit).
22.Write to VDCTL to:
∙Set display mode (DMODE =01x for
∙Set desired field/frame operation (CON, FRAME, DF1, DF2 bits).
∙Select control outputs (VCTL1S, VCTL2S, VCTL3S bits) or external sync inputs (HXS, VXS, FXS bits).
∙Select
∙Set VDEN bit to enable the display.
23.Wait for 2 or more frame times, to allow the display counters and control signals to become properly synchronized.
∙In VPIE, poll for display complete (DCMP) interrupts.
∙Write to clear DCMP.
∙Poll for DCMP again.
∙Write to clear DCMP again.
24.Write to VDCTL to clear the BLKDIS bit.
25.Set the video display field 1 timing. Specify the first line and pixel of field 1 in VDFLDT1.
26.Display is enabled at the start of the first frame after BLKDIS = 0 and begins with the first selected field. EDMA events are generated as triggered by VDTHRLD and the DEVTCT counter. When a selected field has been displayed (FLCOUNT = FRMHEIGHT and FPCOUNT = FRMWIDTH), the appropriate F1D, F2D, or FRMD bits are set and cause the DCMP bit in VPIS to be set. This generates a DSP interrupt, if the DCMP bit is enabled in VPIE.
27.If continuous display is enabled, the video port begins displaying again at the start of the next field or frame. If noncontinuous field 1 and field 2 or frame display is enabled, the next field or frame is displayed, during which the DSP must clear the appropriate completion status bit or a DCNA interrupt occurs and incorrect data may be output.
4.11.1Handling Under-run Condition of the Display FIFO
A FIFO
Because video display is typically a continuous
The
SPRUEM1 | Video Display Port | 121 |