Texas Instruments TMS320C64x DSP manuale d’uso
- Visualizza on-line o scarica il manuale
- 306 pagine
- 1.83 mb
Vai alla pagina of
Manuali d’uso simili
-
Network Card
Texas Instruments TMS320C645x DSP
148 pagine 0.97 mb -
Network Card
Texas Instruments Adpater
37 pagine 0.54 mb -
Network Card
Texas Instruments UCC38500EVM
16 pagine 0.11 mb -
Network Card
Texas Instruments TMS320C6000
62 pagine 0.19 mb -
Network Card
Texas Instruments TSB12LV26
91 pagine 0.38 mb -
Network Card
Texas Instruments DAC7741EVM
28 pagine 0.3 mb -
Network Card
Texas Instruments TMS370
99 pagine 0.49 mb -
Network Card
Texas Instruments TMS320DM36X
134 pagine 0.65 mb
Un buon manuale d’uso
Le regole impongono al rivenditore l'obbligo di fornire all'acquirente, insieme alle merci, il manuale d’uso Texas Instruments TMS320C64x DSP. La mancanza del manuale d’uso o le informazioni errate fornite al consumatore sono la base di una denuncia in caso di inosservanza del dispositivo con il contratto. Secondo la legge, l’inclusione del manuale d’uso in una forma diversa da quella cartacea è permessa, che viene spesso utilizzato recentemente, includendo una forma grafica o elettronica Texas Instruments TMS320C64x DSP o video didattici per gli utenti. La condizione è il suo carattere leggibile e comprensibile.
Che cosa è il manuale d’uso?
La parola deriva dal latino "instructio", cioè organizzare. Così, il manuale d’uso Texas Instruments TMS320C64x DSP descrive le fasi del procedimento. Lo scopo del manuale d’uso è istruire, facilitare lo avviamento, l'uso di attrezzature o l’esecuzione di determinate azioni. Il manuale è una raccolta di informazioni sull'oggetto/servizio, un suggerimento.
Purtroppo, pochi utenti prendono il tempo di leggere il manuale d’uso, e un buono manuale non solo permette di conoscere una serie di funzionalità aggiuntive del dispositivo acquistato, ma anche evitare la maggioranza dei guasti.
Quindi cosa dovrebbe contenere il manuale perfetto?
Innanzitutto, il manuale d’uso Texas Instruments TMS320C64x DSP dovrebbe contenere:
- informazioni sui dati tecnici del dispositivo Texas Instruments TMS320C64x DSP
- nome del fabbricante e anno di fabbricazione Texas Instruments TMS320C64x DSP
- istruzioni per l'uso, la regolazione e la manutenzione delle attrezzature Texas Instruments TMS320C64x DSP
- segnaletica di sicurezza e certificati che confermano la conformità con le norme pertinenti
Perché non leggiamo i manuali d’uso?
Generalmente questo è dovuto alla mancanza di tempo e certezza per quanto riguarda la funzionalità specifica delle attrezzature acquistate. Purtroppo, la connessione e l’avvio Texas Instruments TMS320C64x DSP non sono sufficienti. Questo manuale contiene una serie di linee guida per funzionalità specifiche, la sicurezza, metodi di manutenzione (anche i mezzi che dovrebbero essere usati), eventuali difetti Texas Instruments TMS320C64x DSP e modi per risolvere i problemi più comuni durante l'uso. Infine, il manuale contiene le coordinate del servizio Texas Instruments in assenza dell'efficacia delle soluzioni proposte. Attualmente, i manuali d’uso sotto forma di animazioni interessanti e video didattici che sono migliori che la brochure suscitano un interesse considerevole. Questo tipo di manuale permette all'utente di visualizzare tutto il video didattico senza saltare le specifiche e complicate descrizioni tecniche Texas Instruments TMS320C64x DSP, come nel caso della versione cartacea.
Perché leggere il manuale d’uso?
Prima di tutto, contiene la risposta sulla struttura, le possibilità del dispositivo Texas Instruments TMS320C64x DSP, l'uso di vari accessori ed una serie di informazioni per sfruttare totalmente tutte le caratteristiche e servizi.
Dopo l'acquisto di successo di attrezzature/dispositivo, prendere un momento per familiarizzare con tutte le parti del manuale d'uso Texas Instruments TMS320C64x DSP. Attualmente, sono preparati con cura e tradotti per essere comprensibili non solo per gli utenti, ma per svolgere la loro funzione di base di informazioni e di aiuto.
Sommario del manuale d’uso
-
Pagina 1
TMS320C64x DSP V ideo Port /VCXO Interpolated Control (VIC) Port R e f e r e n c e G u i d e Literature Number: SPRU629 April 2003[...]
-
Pagina 2
IMPORT ANT NOTICE T exas Instruments Incorporated and its subsidiaries (TI) reserve the right to make corrections, modifications, enhancements, improvements, and other changes to its products and services at any time and to discontinue any product or service without notice. Customers should obtain the latest relevant information before placing orde[...]
-
Pagina 3
iii Contents SPRU629 Preface Read This First About This Manual This document describes the video port and VCXO interpolated control (VIC) port in the digital signal processors (DSPs) of the TMS320C6000 DSP family . Notational Conventions This document uses the following conventions. - Hexadecimal numbers are shown with the suffix h. For example[...]
-
Pagina 4
T rademarks iv SPRU629 Code Composer Studio Application Programming Interface Reference Guide (literature number SPRU321) describes the Code Composer Studio application programming interface (API), which allows you to program custom plug-ins for Code Composer . TMS320C6x Peripheral Support Library Programmer ’ s Reference (literature number S[...]
-
Pagina 5
Contents v Contents SPRU629 Contents 1 Overview 1-1 . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . Provides an overview of the video port peripheral in the digital signal processors (DSPs) of the TMS320C6000 DSP family . Included are an overview of the [...]
-
Pagina 6
Contents vi SPRU629 2.6 Video Port Throughput and Latency 2-13 . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 2.6.1 Video Capture Throughput 2-13 . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 2.6.2 Video Display Throughput 2-15 . . . . . . . . . . . . . . . . . . . . . . .[...]
-
Pagina 7
Contents vii Contents SPRU629 3.8 TSI Capture Mode 3-37 . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 3.8.1 TSI Capture Features 3-37 . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 3.8.2 TSI Data Capture 3-37 . . . . . . . . . . . . . [...]
-
Pagina 8
Contents viii SPRU629 4 Video Display Port 4-1 . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . Discusses the video display port. 4.1 Video Display Mode Selection 4-2 . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 4.1.1 Imag[...]
-
Pagina 9
Contents ix Contents SPRU629 4.12.6 Video Display Field 1 V ertical Blanking End Register (VDVBLKE1) 4-64 . . . . . . . . 4.12.7 Video Display Field 2 V ertical Blanking Start Register (VDVBLKS2) 4-65 . . . . . . . 4.12.8 Video Display Field 2 V ertical Blanking End Register (VDVBLKE2) 4-67 . . . . . . . . 4.12.9 Video Display Field 1 Image Of fset[...]
-
Pagina 10
Contents x SPRU629 6 VCXO Interpolated Control Port 6-1 . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . Provides an overview of the VCXO interpolated control (VIC) port. 6.1 Overview 6-2 . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .[...]
-
Pagina 11
Figures xi Figures SPRU629 Figures 1 – 1 Video Port Block Diagram 1-4 . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 1 – 2 BT .656 Video Capture FIFO Configuration 1-6 . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 1 – 3 8/10-Bit Raw Video Capture an[...]
-
Pagina 12
Figures xii SPRU629 3 – 21 20-Bit Raw Data FIFO Packing 3-36 . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 3 – 22 Parallel TSI Capture 3-38 . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 3 – 23 Program Clock Reference (PCR) H[...]
-
Pagina 13
Figures xiii Figures SPRU629 4 – 17 10-Bit Y/C FIFO Unpacking 4-19 . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 4 – 18 10-Bit Y/C Dense FIFO Unpacking 4-20 . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 4 – 19 Chrominance Resampling 4-22 . . [...]
-
Pagina 14
Figures xiv SPRU629 4 – 61 Video Display Clipping Register (VDCLIP) 4-85 . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 4 – 62 Video Display Default Display V alue Register (VDDEFV AL) 4-86 . . . . . . . . . . . . . . . . . . . . . . . . 4 – 63 Video Display Default Display V alue Register (VDDEFV AL) — Raw Da[...]
-
Pagina 15
T ables xv T ables SPRU629 T ables 1 – 1 Video Capture Signal Mapping 1-13 . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 1 – 2 Video Display Signal Mapping 1-14 . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 1 – 3 VDIN Data Bus Usage for Cap[...]
-
Pagina 16
T ables xvi SPRU629 3 – 24 TSI Capture Control Register (TSICTL) Field Descriptions 3-73 . . . . . . . . . . . . . . . . . . . . . . . . . 3 – 25 TSI Clock Initialization LSB Register (TSICLKINITL) Field Descriptions 3-74 . . . . . . . . . . . . . 3 – 26 TSI Clock Initialization MSB Register (TSICLKINITM) Field Descriptions 3-75 . . . . . . .[...]
-
Pagina 17
T ables xvii T ables SPRU629 4 – 26 Video Display Counter Reload Register (VDRELOAD) Field Descriptions 4-83 . . . . . . . . . . . . 4 – 27 Video Display Display Event Register (VDDISPEVT) Field Descriptions 4-84 . . . . . . . . . . . . . 4 – 28 Video Display Clipping Register (VDCLIP) Field Descriptions 4-85 . . . . . . . . . . . . . . . . .[...]
-
Pagina 18
1-1 Overview This chapter provides an overview of the video port peripheral in the digital signal processors (DSPs) of the TMS320C6000 DSP family . Included are an overview of the video port functions, FIFO configurations, and signal mapping. T opic Page 1.1 Video Port 1-2 . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . [...]
-
Pagina 19
Video Port Overview 1-2 SPRU629 1.1 V ideo Port The video port peripheral can operate as a video capture port, video display port, or transport stream interface (TSI) capture port. It provides the following functions: - Video capture mode: J Capture rate up to 80 MHz. J T wo channels of 8/10-bit digital video input from a digital camera or analog c[...]
-
Pagina 20
Video Port 1-3 Overview SPRU629 - TSI capture mode: T ransport stream interface (TSI) from a front-end device such as demodulator or forward error correction device in 8-bit parallel format at up to 30 Mbytes/sec. - The port generates up to three events per channel and one interrupt to the DSP . A high-level block diagram of the video port is shown[...]
-
Pagina 21
Video Port Overview 1-4 SPRU629 Figure 1–1. Video Port Block Diagram Internal peripheral bus Memory mapped registers Raw video display pipeline Channel B Channel A Raw video display pipeline Y/C video display pipeline BT .656 display pipeline Y/C video capture pipeline Capture/display buffer (2560 bytes) Raw video capture pipeline BT .656 capture[...]
-
Pagina 22
Video Port FIFO 1-5 Overview SPRU629 1.2 V ideo Port FIFO The video port includes a FIFO to store data coming into or out from the video port. The video port operates in conjunction with DMA transfers to move data between the video port FIFO and external or on-chip memory . Y ou can pro- gram threshold settings so DMA events are generated when the [...]
-
Pagina 23
Video Port FIFO Overview 1-6 SPRU629 1.2.2 Video Capture FIFO Configurations During video capture operation, the video port FIFO has one of four configura- tions depending on the capture mode. For BT .656 operation, the FIFO is split into channel A and B, as shown in Figure 1 – 2. Each FIFO is clocked indepen- dently with the channel A FIFO recei[...]
-
Pagina 24
Video Port FIFO 1-7 Overview SPRU629 For 8/10-bit raw video, the FIFO is split into channel A and B, as shown in Figure 1 – 3. Each FIFO is clocked independently with the channel A FIFO receiving data from the VDIN[9 – 0] half of the bus and the channel B FIFO receiving data from the VDIN[19 – 10] half of the bus. Each channel ’ s FIFO has [...]
-
Pagina 25
Video Port FIFO Overview 1-8 SPRU629 For Y/C video capture, the FIFO is configured as a single channel split into sep- arate Y , Cb, and Cr buffers with separate write pointers and read registers (YSRCA, CBSRCA, and CRSRCA). Figure 1 – 4 shows how Y data is received on the VDIN[9 – 0] half of the bus and Cb/Cr data is received on the VDIN[19 ?[...]
-
Pagina 26
Video Port FIFO 1-9 Overview SPRU629 For 16/20-bit raw video, the FIFO is configured as a single buffer , as shown in Figure 1 – 5. The FIFO receives 16/20-bit data from the VDIN[19 – 0] bus. The FIFO has a single write pointer and read register (YSRCA). Figure 1 – 5. 16/20-Bit Raw Video Capture FIFO Configuration Data Buffer (5120 bytes) VDI[...]
-
Pagina 27
Video Port FIFO Overview 1-10 SPRU629 For 8/10-bit raw video, the FIFO is configured as a single buffer as shown in Figure 1 – 7. The FIFO outputs data on the VDOUT[9 – 0] half of the bus. The FIFO has a single read pointer and write register (YDST A). Figure 1 – 7. 8/10-Bit Raw V ideo Display FIFO Configuration Data Buffer (5120 bytes) YDST [...]
-
Pagina 28
Video Port FIFO 1-1 1 Overview SPRU629 Figure 1 – 8. 8/10 Bit Locked Raw V ideo Display FIFO Configuration Buffer A (2560 bytes) YDST A VDOUT[9 – 0] 64 8/10 Display FIFO A Buffer B (2560 bytes) YDSTB VDOUT[19 – 10] 64 8/10 Display FIFO B For 16/20-bit raw video, the FIFO is configured as a single buffer , as shown in Figure 1 – 9. The FIFO [...]
-
Pagina 29
Video Port Registers Overview 1-12 SPRU629 For Y/C video display , the FIFO is configured as a single channel split into sep- arate Y , Cb, and Cr buffers with separate read pointers and write registers (YDST A, CBDST , and CRDST). Figure 1 – 10 shows how Y data is output on the VDOUT[9 – 0] half of the bus and Cb/Cr data is multiplexed and out[...]
-
Pagina 30
Video Port Pin Mapping 1-13 Overview SPRU629 1.4 V ideo Port Pin Mapping The video port requires 21 external signal pins for full functionality . Pin usage and direction changes depend on the selected operating mode. Pin functional- ity detail for video capture mode is listed in T able 1 – 1. Pin functionality detail for video display mode is lis[...]
-
Pagina 31
Video Port Pin Mapping Overview 1-14 SPRU629 T able 1 – 2. V ideo Display Signal Mapping Usage Raw Data Display Mode Video Port Signal I/O BT .656 Display Mode Y/C Display Mode 8/10-Bit 16/20-Bit 8/10-Bit Dual Sync VDA T A[9 – 0] I/O VDOUT[9 – 0] (Out) VDOUT[9 – 0] (Out) (Y) VDOUT[9 – 0] (Out) VDOUT[9 – 0] (Out) VDOUT[9 – 0] (Out) (Ch[...]
-
Pagina 32
Video Port Pin Mapping 1-15 Overview SPRU629 1.4.1 VDIN Bus Usage for Capture Modes The alignment and usage of data on the VDIN bus depends on the capture mode as shown in T able 1 – 3. T able 1 – 3. VDIN Data Bus Usage for Capture Modes Capture Mode BT .656 Y/C Raw Data Data Bus 10-Bit 8-Bit 10-Bit 8-Bit 8-Bit 10-Bit 16-Bit 20-Bit TSI Mode VDI[...]
-
Pagina 33
Video Port Pin Mapping Overview 1-16 SPRU629 1.4.2 VDOUT Data Bus Usage for Display Modes The alignment and usage of data on the VDOUT bus depends on the display mode as shown in T able 1 – 4. T able 1 – 4. VDOUT Data Bus Usage for Display Modes Display Mode BT .656 Y/C Dual Sync Raw Data Raw Data Data Bus 10-Bit 8-Bit 10-Bit 8-Bit 8-Bit 10-Bit[...]
-
Pagina 34
2-1 V ideo Port This chapter discusses the basic operation of the video port. Included is a discussion of the sources and types of resets, interrupt operation, DMA opera- tion, external clock inputs, video port throughput and latency , and the video port control registers. T opic Page 2.1 Reset Operation 2-2 . . . . . . . . . . . . . . . . . . . . [...]
-
Pagina 35
Reset Operation Video Port 2-2 SPRU629 2.1 Reset Operation The video port has several sources and types of resets. The actions performed by these resets and the state of the port following the resets is described in the following sections. 2.1.1 Power-On Reset Power-on reset is an asynchronous hardware reset caused by a chip-level reset operation. [...]
-
Pagina 36
Reset Operation 2-3 Video Port SPRU629 If software sets the PEREN bit in PCR but the VPHL T bit in VPCTL remains set: - VCLK1, VCLK2, and STCLK are enabled to the port (allowing logic reset to complete). - Peripheral bus accesses are acknowledged (RREADY/WREADY returned) to prevent DMA lock-up. (Any value returned on reads, data accepted or discard[...]
-
Pagina 37
Reset Operation Video Port 2-4 SPRU629 Once the port is configured and the VCEN bit is set, the setting of other VC x CTL bits (except VCEN, RSTCH, and BLKCAP) is prohibited and the capture counters begin counting. When BLKCAP is cleared, data capture and event generation may begin. 2.1.5 Display Channel Reset A software reset may be performed on t[...]
-
Pagina 38
Interrupt Operation 2-5 Video Port SPRU629 2.2 Interrupt Operation The video port can generate an interrupt to the DSP core after any of the follow- ing events occur: - Capture complete (CCMP x ) bit is set. - Capture overrun (COVR x ) bit is set. - Synchronization byte error (SERR x ) bit is set. - V ertical interrupt (VINT xn ) bit is set. - Shor[...]
-
Pagina 39
DMA Operation Video Port 2-6 SPRU629 2.3 DMA Operation The video port uses up to three DMA events per channel for a total of six possible events. Each DMA event uses a dedicated event output. The outputs are: - VPYEVT A - VPCbEVT A - VPCrEVT A - VPYEVTB - VPCbEVTB - VPCrEVTB 2.3.1 Capture DMA Event Generation Capture DMA events are generated based [...]
-
Pagina 40
DMA Operation 2-7 Video Port SPRU629 Figure 2 – 1. Capture DMA Event Generation Flow Diagram Error Overflow error Ye s Overflow error FIFO overflow ? No Ye s Ye s Capture data, DMA active, new events enabled No FIFO overflow ? DMA complete ? Capture Data, DMA active & DMA pending DMA complete ? No Generate DMA request FIFO ≥ 2x threshold ? [...]
-
Pagina 41
DMA Operation Video Port 2-8 SPRU629 Because the capture FIFOs may hold multiple thresholds worth of data, a problem arises at the boundaries between fields. Since Field 1 and Field 2 may have different threshold values, the amount of data in the FIFO required to generate the DMA event changes depending on the current capture field and the field of[...]
-
Pagina 42
DMA Operation 2-9 Video Port SPRU629 Figure 2 – 2. Display DMA Event Generation Flow Diagram Start of field FIFO empty Generate DMA event, new events disabled Display data, no DMA pending F ield complete ? Underrun error FIFO underrun ? Display data EOF No Underrun error Underrun error FIFO underrun ? No Pending DMA begun ? Ye s Display data, DMA[...]
-
Pagina 43
DMA Operation Video Port 2-10 SPRU629 A DMA event counter is used to track the number of DMA events generated in each field as programmed in the VDDISPEVT register . The DISPEVT1 or DISPEVT2 value (depending on the current display field) is loaded at the start of each field. The event counter then decrements with each DMA event gener- ation until i[...]
-
Pagina 44
DMA Operation 2-1 1 Video Port SPRU629 Similarly if a subhorizontal line length is desired ( ½ line, for example), then the line length and threshold must be chosen such that the threshold is divisible by 2. (This can also be stated as the line length must be an even multiple of #DMAs/line × 8). For the subline case, consider the 8-bit BT .656 ca[...]
-
Pagina 45
Clocks Video Port 2-12 SPRU629 2.4 Clocks The video port has three external clock inputs as shown in T able 2 – 1. No synchronization is required between the clocks sourced by the external pins. V CL K1 and V CL K2 clock frequencies should be less than the DMA interface clock. On 64x devices, the DMA interface clock is typically ½ the CPU clock [...]
-
Pagina 46
Video Port Throughput and Latency 2-13 Video Port SPRU629 2.5.2 FIFO Size Some low-cost device implementations with narrow video ports width or restricted to lower video frequency operations may use a reduced FIFO size. FIFO size does not affect the DMA request mechanism. The selection of 8-bit or 10-bit port width automatically cuts the FIFO size [...]
-
Pagina 47
Video Port Throughput and Latency Video Port 2-14 SPRU629 T able 2 – 2. Y/C V ideo Capture FIFO Capacity Sample 8-Bit 10-Bit Dense 10-Bit Y Samples 2560 1920 1280 Cb Samples 1280 960 640 Cr Samples 1280 960 640 Using these values and the formula above, the maximum time to empty the FIFO (t O ) may be calculated for each case. The DMA output rate [...]
-
Pagina 48
Video Port Throughput and Latency 2-15 Video Port SPRU629 2.6.2 Video Display Throughput Video display throughput may be calculated in a manner similar to video capture. In this case, the time to fill the display FIFO must be less than the time to empty the FIFO or underflow occurs. The 1 10 MHz display rate supports a maximum display resolution of[...]
-
Pagina 49
Video Port Control Registers Video Port 2-16 SPRU629 A DMA write throughput of at least 330 MBytes/s is required for the highest display rate operation supported by 20-bit implementations of the video port. C64x devices including the video port typically have more than enough DMA bandwidth to support this throughput requirement. However when using [...]
-
Pagina 50
Video Port Control Registers 2-17 Video Port SPRU629 2.7.1 Video Port Control Register (VPCTL) The video port control register (VPCTL) determines the basic operation of the video port. The VPCTL is shown in Figure 2 – 3 and described in T able 2 – 5. Not all combinations of the port control bits are unique. The control bit encoding is shown in [...]
-
Pagina 51
Video Port Control Registers Video Port 2-18 SPRU629 T able 2 – 5. V ideo Port Control Register (VPCTL) Field Descriptions (Continued) Bit Description V alue symval † field † 14 VPHL T Video port halt bit. This bit is set upon hardware or software reset. The other VPCTL bits (except VPRST) can only be changed when VPHL T is 1. VPHL T is clear[...]
-
Pagina 52
Video Port Control Registers 2-19 Video Port SPRU629 T able 2 – 5. V ideo Port Control Register (VPCTL) Field Descriptions (Continued) Bit Description V alue symval † field † 2 TSI TSI capture mode select bit. NONE 0 TSI capture mode is disabled. CAPTURE 1 TSI capture mode is enabled. 1 DISP Display mode select bit. VDA T A pins are configure[...]
-
Pagina 53
Video Port Control Registers Video Port 2-20 SPRU629 2.7.2 Video Port Status Register (VPST A T) The video port status register (VPST A T) indicates the current condition of the video port. The VPST A T is shown in Figure 2 – 4 and described in T able 2 – 7. Figure 2 – 4. V ideo Port Status Register (VPST A T) 31 16 Reserved R-0 15 4 3 2 1 0 [...]
-
Pagina 54
Video Port Control Registers 2-21 Video Port SPRU629 2.7.3 Video Port Interrupt Enable Register (VPIE) The video port interrupt enable register (VPIE) enables sources of the video port interrupt to the DSP . The VPIE is shown in Figure 2 – 5 and described in T able 2 – 8. Figure 2 – 5. V ideo Port Interrupt Enable Register (VPIE) 31 24 Reserv[...]
-
Pagina 55
Video Port Control Registers Video Port 2-22 SPRU629 T able 2 – 8. V ideo Port Interrupt Enable Register (VPIE) Field Descriptions (Continued) Bit Description V alue symval † field † 20 VINTB1 Channel B field 1 vertical interrupt enable bit. DISABLE 0 Interrupt is disabled. ENABLE 1 Interrupt is enabled. 19 SERRB Channel B synchronization err[...]
-
Pagina 56
Video Port Control Registers 2-23 Video Port SPRU629 T able 2 – 8. V ideo Port Interrupt Enable Register (VPIE) Field Descriptions (Continued) Bit Description V alue symval † field † 10 STC System time clock interrupt enable bit. DISABLE 0 Interrupt is disabled. ENABLE 1 Interrupt is enabled. 9 – 8 Reserved – 0 Reserved. The reserved bit [...]
-
Pagina 57
Video Port Control Registers Video Port 2-24 SPRU629 2.7.4 Video Port Interrupt Status Register (VPIS) The video port interrupt status register (VPIS) displays the status of video port interrupts to the DSP . The interrupt is only sent to the DSP if the corresponding enable bit in VPIE is set. All VPIS bits are cleared by writing a 1, writing a 0 h[...]
-
Pagina 58
Video Port Control Registers 2-25 Video Port SPRU629 T able 2 – 9. V ideo Port Interrupt Status Register (VPIS) Field Descriptions (Continued) Bit Description V alue symval field 22 SFDB Short field detected on channel B interrupt detected bit. BT .656 or Y/C capture mode – SFDB is set when short field detection is enabled and VCOUNT is reset b[...]
-
Pagina 59
Video Port Control Registers Video Port 2-26 SPRU629 T able 2 – 9. V ideo Port Interrupt Status Register (VPIS) Field Descriptions (Continued) Bit Description V alue symval field 18 CCMPB Capture complete on channel B interrupt detected bit. (Data is not in memory until the DMA transfer is complete.) BT .656 or Y/C capture mode – CCMPB is set a[...]
-
Pagina 60
Video Port Control Registers 2-27 Video Port SPRU629 T able 2 – 9. V ideo Port Interrupt Status Register (VPIS) Field Descriptions (Continued) Bit Description V alue symval field 13 DCMP Display complete. Indicates that the entire frame has been driven out of the port. The DMA complete interrupt can be used to determine when the last data has bee[...]
-
Pagina 61
Video Port Control Registers Video Port 2-28 SPRU629 T able 2 – 9. V ideo Port Interrupt Status Register (VPIS) Field Descriptions (Continued) Bit Description V alue symval field 7 LFDA Long field detected on channel A interrupt detected bit. (A long field is only detected when the VRST bit in VCACTL is cleared to 0; when VRST = 1, a long field i[...]
-
Pagina 62
Video Port Control Registers 2-29 Video Port SPRU629 T able 2 – 9. V ideo Port Interrupt Status Register (VPIS) Field Descriptions (Continued) Bit Description V alue symval field 3 SERRA Channel A synchronization error interrupt detected bit. BT .656 or Y/C capture mode – Synchronization parity error on channel A. An SERRA typically requires re[...]
-
Pagina 63
3-1 V ideo Capture Port Video capture works by sampling video data on the input pins and saving it to the video port FIFO. When the amount of captured data reaches a programmed threshold level, a DMA is performed to move data from the FIFO into DSP memory . In some cases, color separation is performed on the incoming video data requiring multiple F[...]
-
Pagina 64
Video Capture Mode Selection Video Capture Port 3-2 SPRU629 3.1 V ideo Capture Mode Selection The video capture module operates in one of nine modes as listed in T able 3 – 1. The transport stream interface (TSI) selection is made using the TSI bit in the video port control register (VPCTL). The CMODE bits are in the video capture channel x contr[...]
-
Pagina 65
BT .656 Video Capture Mode 3-3 Video Capture Port SPRU629 3.2 BT .656 V ideo Capture Mode The BT .656 capture mode captures 8-bit or 10-bit 4:2:2 luma and chroma data multiplexed into a single data stream. Video data is conveyed in the order Cb,Y ,Cr ,Y ,Cb,Y ,Cr , etc. where the sequence Cb,Y ,Cr refers to co-sited luma and chroma samples and the [...]
-
Pagina 66
BT .656 Video Capture Mode Video Capture Port 3-4 SPRU629 3.2.2 BT .656 Timing Reference Codes For standard digital video, there are two reference signals, one at the begin- ning of each video data block (start of active video, SA V), and one at the end of each video block (end of active video, EA V). (T echnically each line begins with the S A V c[...]
-
Pagina 67
BT .656 Video Capture Mode 3-5 Video Capture Port SPRU629 Bits P0, P1, P2, and P3 have different states depending on the state of bits F , V , and H as shown in T able 3 – 3. T able 3 – 3. BT .656 Protection Bits Line Information Bits Protection Bits F V H P3 P2 P1 P0 0 0 0 0 0 0 0 001 1101 010 1011 011 0110 100 0111 101 1010 110 1100 1 1 1 0 0[...]
-
Pagina 68
BT .656 Video Capture Mode Video Capture Port 3-6 SPRU629 T able 3 – 4. Error Correction by Protection Bits (Continued) Received P 3 – P 0 Bits Received F , V , and H Bits Received P 3 – P 0 Bits 111 11 0 101 100 01 1 010 001 000 01 1 1 100 – – 01 1 100 100 100 – 1000 000 –––– 101 1 10 – 1001 – 001 010 –––– 111 1010 [...]
-
Pagina 69
BT .656 Video Capture Mode 3-7 Video Capture Port SPRU629 Figure 3 – 1. V ideo Capture Parameters Capture Image Ystart Xstart Ystop Xstop Field 1 Capture Image Ystart Xstart Ystop Xstop Field 2 Hcount=0 Ycount=1 Ycount=1 T able 3 – 5 shows common digital camera standards and the number of fields per second, number of active lines per field, and[...]
-
Pagina 70
BT .656 Video Capture Mode Video Capture Port 3-8 SPRU629 For the BT .656 video capture mode, the FIFO buffer is divided into three sec- tions (three buffers). One section is 1280 bytes deep and is dedicated for stor- age of Y data samples. The other two sections are dedicated for storage of Cb and Cr data samples, respectively . The buffers for Cb[...]
-
Pagina 71
BT .656 Video Capture Mode 3-9 Video Capture Port SPRU629 3.2.5 BT .656 FIFO Packing Captured data is always packed into 64-bits before being written into the cap- ture FIFO(s). The packing and byte ordering is dependant upon the capture data size and the device endian mode. For little-endian operation (default), data is packed into the FIFO from r[...]
-
Pagina 72
BT .656 Video Capture Mode Video Capture Port 3-10 SPRU629 The 10-bit BT .656 mode uses three FIFOs for color separation. T wo samples are packed into each word with zero or sign extension as shown in Figure 3 – 3. Figure 3 – 3. 10-Bit BT .656 FIFO Packing 31 Cr 2 Cr 0 Cr 4 Y 0 Y 4 Y 8 Y 12 Cb 0 Cb 4 63 Cr FIFO Cb FIFO 58 57 63 63 Y FIFO 58 57 [...]
-
Pagina 73
BT .656 Video Capture Mode 3-1 1 Video Capture Port SPRU629 The 10-bit BT .656 dense mode uses three FIFOs for color separation. Three samples are packed into each word with zero extension to provide increased DMA bandwidth as shown in Figure 3 – 4. Figure 3 – 4. 10-Bit BT .656 Dense FIFO Packing 19 Y 23 Y 17 Y 5 Y 1 1 Cr 6 Cr 0 Y 18 Cb 6 Cb 0 [...]
-
Pagina 74
Y/C Video Capture Mode Video Capture Port 3-12 SPRU629 3.3 Y/C V ideo Capture Mode The Y/C capture mode is similar to the BT .656 capture mode but captures 8 or 10-bit 4:2:2 data on separate luma and chroma data streams. One data stream contains Y samples and the other stream contains multiplexed Cb and Cr samples co-sited with every other Y sample[...]
-
Pagina 75
Y/C Video Capture Mode 3-13 Video Capture Port SPRU629 3.3.3 Y/C Image Window and Capture The SDTV Y/C format (CCIR601) is an interlaced format consisting of two fields just like BT .656. HDTV Y/C formats may be interlaced or progressive scan. For interlaced capture, the capture windows are programmed identically to BT .656 mode. For progressive sc[...]
-
Pagina 76
Y/C Video Capture Mode Video Capture Port 3-14 SPRU629 3.3.4 Y/C FIFO Packing Captured data is always packed into 64 bits before being written into the capture FIFO(s). The packing and byte ordering is dependant upon the capture data size and the device endian mode. For little-endian operation (default), data is packed into the FIFO from right to l[...]
-
Pagina 77
Y/C Video Capture Mode 3-15 Video Capture Port SPRU629 The 10-bit Y/C mode uses three FIFOs for color separation. T wo samples are packed into each word with zero or sign extension as shown in Figure 3 – 6. Figure 3 – 6. 10-Bit Y/C FIFO Packing Cb 5 0 / SE 0 / SE 0 / SE 0 / SE 0 / SE 0 / SE 0 / SE 0 / SE 0 / SE 0 / SE 0 / SE 0 / SE 0 / SE 0 / S[...]
-
Pagina 78
Y/C Video Capture Mode Video Capture Port 3-16 SPRU629 The 10-bit Y/C dense mode uses three FIFOs for color separation. Three sam- ples are packed into each word with zero extension to provide increased DMA bandwidth as shown in Figure 3 – 7. Figure 3 – 7. 10-Bit Y/C Dense FIFO Packing Cb 0 Y 0 Cb 1 Y 2 Cr 0 Y 1 Cb 2 Cr 1 Y 4 Y 3 Cr 2 Y 5 Cr 3 [...]
-
Pagina 79
BT .656 and Y/C Mode Field and Frame Operation 3-17 Video Capture Port SPRU629 3.4 BT .656 and Y/C Mode Field and Frame Operation Because DMAs are used to transfer data from the capture FIFOs to memory , there is a large amount of flexibility in the way that capture fields and frames are transferred and stored in memory . In some cases, for example[...]
-
Pagina 80
BT .656 and Y/C Mode Field and Frame Operation Video Capture Port 3-18 SPRU629 T able 3 – 6. BT .656 and Y/C Mode Capture Operation VC x CTL Bit CON FRAME CF2 CF1 Operation 0 0 0 0 Reserved 0 0 0 1 Noncontinuous field 1 capture. Capture only field 1. F1C is set after field 1 capture and causes CCMPx to be set. The F1C bit must be cleared by the D[...]
-
Pagina 81
BT .656 and Y/C Mode Field and Frame Operation 3-19 Video Capture Port SPRU629 T able 3 – 6. BT .656 and Y/C Mode Capture Operation (Continued) VC x CTL Bit CON Operation CF1 CF2 FRAME 1 0 1 0 Continuous field 2 capture. Capture only field 2. F2C is set after field 2 capture and causes CCMPx to be set (CCMPx interrupt can be disabled). The video [...]
-
Pagina 82
BT .656 and Y/C Mode Field and Frame Operation Video Capture Port 3-20 SPRU629 T able 3 – 7. V ertical Synchronization Programming VC x CTL Bit VMode EXC VRST V ertical Counter Reset Point 0 0 0 First EA V with V=1 after EA V with V=0 – beginning of vertical blanking period. VCOUNT increments on each EA V . 1 0 1 First EA V with V=0 after EA V [...]
-
Pagina 83
BT .656 and Y/C Mode Field and Frame Operation 3-21 Video Capture Port SPRU629 Figure 3 – 8. VCOUNT Operation Example (EXC = 0) VF 5 1 1 Line VRST=0 1 0 525 1 262 VCOUNT Field 1 Blanking Field 2 Blanking Field 1 Active Field 2 Active Field 1 FINV=0 FINV=1 Field 2 1 1 1 1 0 1 0 1 4 3 2 1 2 3 4 5 19 20 21 0 1 0 0 0 0 19 20 21 263 0 0 264 0 1 265 0 [...]
-
Pagina 84
BT .656 and Y/C Mode Field and Frame Operation Video Capture Port 3-22 SPRU629 3.4.3 Horizontal Synchronization Horizontal synchronization determines when the horizontal pixel/sample counter is reset. The EXC and HRST bits in VC x CTL allow you to program the event that triggers the start of a line. The encoding of these bits is shown in T able 3 ?[...]
-
Pagina 85
BT .656 and Y/C Mode Field and Frame Operation 3-23 Video Capture Port SPRU629 Figure 3 – 9. HCOUNT Operation Example (EXC = 0) VDIN[9 – 0] 80.0 80.0 10.0 FF .C 00.0 00.0 Cb 0 Y 2 Cb 359 Cr 359 Y 719 Y 0 Cr 0 Y 1 Cb 1 One Line XY .0 10.0 80.0 10.0 FF .C 00.0 00.0 XY .0 855 856 857 0 1 2 718 719 720 721 722 723 720 721 722 723 HCOUNT SA V EA V B[...]
-
Pagina 86
BT .656 and Y/C Mode Field and Frame Operation Video Capture Port 3-24 SPRU629 3.4.4 Field Identification In order to properly synchronize to the source data stream and capture the correct fields, field identification needs to be performed. Field identification is made using one of three methods: EA V , field indicator input, or field detect logic.[...]
-
Pagina 87
BT .656 and Y/C Mode Field and Frame Operation 3-25 Video Capture Port SPRU629 The field detect method uses HYSNC and VSYNC based field detect logic. This is used for BT .656 or Y/C systems that provide only HSYNC and VSYNC. The field detect logic samples the state of the HSYNC input on the VSYNC active edge. If HSYNC is active on the active VSYNC [...]
-
Pagina 88
Video Input Filtering Video Capture Port 3-26 SPRU629 VCTL2 is a VSYNC (vertical sync) input, then a long field is always detected. (Even if VCYSTOP n is set to the last active line, VCOUNT usually increments past VCYSTOP n + 1 while it counts the vertical front porch lines that occur prior to VSYNC active.) 3.5 V ideo Input Filtering The video inp[...]
-
Pagina 89
Video Input Filtering 3-27 Video Capture Port SPRU629 3.5.2 Chrominance Resampling Operation Chrominance resampling computes chrominance values at sample points midway between the input luminance samples based on the input co-sited chrominance samples. This filter performs the horizontal portion of a conver- sion between YCbCr 4:2:2 format and YCbC[...]
-
Pagina 90
Video Input Filtering Video Capture Port 3-28 SPRU629 Figure 3 – 13. 1/2 Scaled Co-Sited Filtering YCbCr 4:2:2 co-sited input samples 1/2 scaled co-sited capture results Luma (Y) sample Y ’ h = ( – 3Y e + 32Y g + 70Y h + 32Y i – 3Y k ) / 128 – Chroma (Cb/Cr) samples – ab cde fgh i j k l Y ’ f = ( – 3Y c + 32Y e + 70Y f + 32Y g – 3[...]
-
Pagina 91
Video Input Filtering 3-29 Video Capture Port SPRU629 3.5.4 Edge Pixel Replication Because the filters make use of preceding and trailing samples, filtering arti- facts can occur at the beginning of the BT .656 or Y/C active line because no samples exist before the SA V code, and at the end of the BT .656 active line because no samples exist after [...]
-
Pagina 92
Video Input Filtering Video Capture Port 3-30 SPRU629 Figure 3 – 16 shows an example of a capture window that is smaller than the BT .656 active line. Sample a is the first sample in the horizontal capture window and sample n is the last sample. In this case, any filtering done on the first sample location uses the m leading edge captured pixels [...]
-
Pagina 93
Ancillary Data Capture 3-31 Video Capture Port SPRU629 3.6 Ancillary Data Capture The BT .656 and some Y/C specifications includes provision for carrying ancillary (nonvideo) data within the horizontal and vertical blanking regions. Horizontal ancillary (HANC) data appears between the EA V code and SA V codes. V ertical ancillary (V ANC) data, also[...]
-
Pagina 94
Raw Data Capture Mode Video Capture Port 3-32 SPRU629 3.7 Raw Data Capture Mode In the raw data capture mode, the data is sampled by the interface only when the CAPEN signal is active. Data is captured at the rate of the sender ’ s clock, without any interpretation or start/stop of capture based on the data values. T o ensure initial capture sync[...]
-
Pagina 95
Raw Data Capture Mode 3-33 Video Capture Port SPRU629 T able 3 – 1 1. Raw Data Mode Capture Operation VC x CTL 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[...]
-
Pagina 96
Raw Data Capture Mode Video Capture Port 3-34 SPRU629 The 8-bit raw-data mode stores all data in a single FIFO. Four samples are packed into each word as shown in Figure 3 – 17. Figure 3 – 17. 8-Bit Raw Data FIFO Packing Raw FIFO Raw 2 Raw 4 Raw 6 Raw 1 Raw 3 Raw 5 Raw 7 VDIN[9 – 2] / VDIN[19 – 12] VCLKINA / VCLKINB 63 56 55 48 47 4039 32 R[...]
-
Pagina 97
Raw Data Capture Mode 3-35 Video Capture Port SPRU629 The 10-bit dense raw data mode stores all data into a single FIFO. Three sam- ples are packed into each word with zero extension as shown in Figure 3 – 19. Figure 3 – 19. 10-Bit Dense Raw Data FIFO Packing VDOUT[9 – 0] VCLKOUT 32 Y FIFO Raw 0 Raw 2 Raw 4 Raw 6 Raw 1 Raw 3 Raw 5 Raw 7 Raw 8[...]
-
Pagina 98
Raw Data Capture Mode Video Capture Port 3-36 SPRU629 The 20-bit raw data mode stores all data into a single FIFO. One sample is placed right justified in each word and zero or sign extended as shown in Figure 3 – 21. Figure 3 – 21. 20-Bit Raw Data FIFO Packing VDIN[19 – 0] VCLKINA 63 52 51 32 Y FIFO Raw 0 Raw 2 Raw 4 Raw 6 Raw 1 Raw 3 Raw 5 [...]
-
Pagina 99
TSI Capture Mode 3-37 Video Capture Port SPRU629 3.8 TSI Capture Mode The transport stream interface (TSI) capture mode captures MPEG-2 trans- port data. 3.8.1 TSI Capture Features The video port TSI capture mode supports the following features: - Supports SYNC detect using the P ACSTRT input from a front-end device. - Data capture at the rising ed[...]
-
Pagina 100
TSI Capture Mode Video Capture Port 3-38 SPRU629 Figure 3 – 22. Parallel TSI Capture P ACSTRT VCLKIN CAPEN VDIN[9:2] Sync Byte Byte 1 Byte 2 Byte 3 Byte 4 Start Capture 3.8.3 TSI Capture Error Detection The video port checks for two types of errors during TSI capture. The first is a packet error on the incoming packet as indicated by an active P [...]
-
Pagina 101
TSI Capture Mode 3-39 Video Capture Port SPRU629 Figure 3 – 23. Program Clock Reference (PCR) Header Format 47 15 14 9 8 0 PCR Reserved PCR extension The video port, in conjunction with the VCXO interpolated control (VIC), allows a combined hardware and software solution to synchronize the local system time clock (STC) with the encoder time clock[...]
-
Pagina 102
TSI Capture Mode Video Capture Port 3-40 SPRU629 The system time clock counter is initialized by software with the PCR of the first packet with a PCR header . After initialization, the counter can be reinitialized by software upon detecting a discontinuity in subsequent packet PCR header values. The system time is made available to the DSP at any t[...]
-
Pagina 103
TSI Capture Mode 3-41 Video Capture Port SPRU629 3.8.6 Writing to the FIFO The captured TSI packet data and the associated timestamps are written into the receive FIFO. The packet data is written first, followed by the timestamp. The FIFO controller controls both data writes and timestamp writes into the FIFO. The FIFO data packing is shown in Figu[...]
-
Pagina 104
Capture Line Boundary Conditions Video Capture Port 3-42 SPRU629 Figure 3 – 27. TSI Timestamp Format (Big Endian) 63 56 55 48 47 40 39 32 PCR(7 – 0) PCR(15 – 8) PCR(23 – 16) PCR(31 – 24) 31 25 24 23 18 17 16 PCR extension (6 – 0) PCR32 Reserved PCR ext (8 – 7) 15 8 7 6 5 0 Reserved PERR PSTERR Reserved 3.8.7 Reading from the FIFO The [...]
-
Pagina 105
Capture Line Boundary Conditions 3-43 Video Capture Port SPRU629 In Figure 3 – 28 (8-bit Y/C mode), the line length is not a doubleword. When the condition HCOUNT = VCXSTOP occurs, the FIFO location is written even though 8 bytes have not been received. The next capture line then begins in the next FIFO location at byte 0. This operation extends [...]
-
Pagina 106
Capturing Video in BT .656 or Y/C Mode Video Capture Port 3-44 SPRU629 3.10 Capturing V ideo in BT .656 or Y/C Mode In order to capture video in the BT .656 or Y/C format, the following steps are needed: 1) Set the last pixel to be captured in VC x STOP1 and VC x ST OP2 (set the VCXST OP and VCYST OP bits). 2) Set the first pixel to be captured in [...]
-
Pagina 107
Capturing Video in BT .656 or Y/C Mode 3-45 Video Capture Port SPRU629 8) Write to VC x CTL to: - Set capture mode (CMODE = 00x for BT .656 input, 10x for Y/C input). - Set desired field/frame operation (CON, FRAME, CF2, CF1 bits). - Set sync and field ID control (VRST , HRST , FDD, FINV , VCTL1 bits). - Set 10-bit pack mode (10BPK bits), if 10-bit[...]
-
Pagina 108
Capturing Video in Raw Data Mode Video Capture Port 3-46 SPRU629 3.1 1 Capturing V ideo in Raw Data Mode In order to capture video in the raw data mode, the following steps are needed: 1) Set VC x STOP1 to specify size of an image to be captured (VCXSTOP sets the lower 12 bits and VCYSTOP sets the upper 12 bits of the captured image size in pixels)[...]
-
Pagina 109
Capturing Data in TSI Capture Mode 3-47 Video Capture Port SPRU629 3.1 1.1 Handling FIFO Overrun Condition in Raw Data Mode In case of a FIFO overrun, the COVR x bit is set in VPIS. This condition initiates an interrupt to the DSP , if the overrun interrupt is enabled (setting the COVR x bit in VPIE enables overrun interrupt). The overrun interrupt[...]
-
Pagina 110
Capturing Data in TSI Capture Mode Video Capture Port 3-48 SPRU629 6) Write to TSISTCMPL, TSISTCMPM, TSISTMSKL, and TSISTMSKM if needed to initiate an interrupt, based on STC absolute time. 7) Write to TSITICKS if an interrupt is desired every x cycles of STC. 8) Write to VPCTL to select TSI capture operation (TSI = 1). 9) Write to VPIE to enable o[...]
-
Pagina 111
Video Capture Registers 3-49 Video Capture Port SPRU629 3.13 Video Capture Registers The registers for controlling the video capture mode of operation are listed in T able 3 – 13. See the device-specific datasheet for the memory address of these registers. T able 3 – 13. V ideo Capture Control Registers Acronym Register Name Section VCAST A T V[...]
-
Pagina 112
Video Capture Registers Video Capture Port 3-50 SPRU629 T able 3 – 13. V ideo Capture Control Registers (Continued) Acronym Section Register Name TSISTCMPL TSI System T ime Clock Compare LSB Register 3.13.16 TSISTCMPM TSI System T ime Clock Compare MSB Register 3.13.17 TSISTMSKL TSI System Time Clock Compare Mask LSB Register 3.13.18 TSISTMSKM TS[...]
-
Pagina 113
Video Capture Registers 3-51 Video Capture Port SPRU629 T able 3 – 14. V ideo Capture Channel x Status Register (VCxST A T) Field Descriptions Description Bit field † symval † V alue BT .656 or Y/C Mode Raw Data Mode TSI Mode 31 FSYNC Current frame sync bit. CLEARD 0 VCOUNT = VINT1 or VINT2, as selected by the FSCL2 bit in VC x VINT . Not use[...]
-
Pagina 114
Video Capture Registers Video Capture Port 3-52 SPRU629 T able 3 – 14. V ideo Capture Channel x Status Register (VCxST A T) Field Descriptions (Continued) Bit Description V alue symval † field † Bit TSI Mode Raw Data Mode BT .656 or Y/C Mode V alue symval † field † 27 – 16 VCYPOS OF( value ) 0 – FFFh Current VCOUNT value and the line [...]
-
Pagina 115
Video Capture Registers 3-53 Video Capture Port SPRU629 3.13.2 Video Capture Channel A Control Register (VCACTL) Video capture is controlled by the video capture channel A control register (VCACTL) shown in Figure 3 – 30 and described in T able 3 – 15. Figure 3 – 30. Video Capture Channel A Control Register (VCACTL) 31 30 29 24 RSTCH BLKCAP R[...]
-
Pagina 116
Video Capture Registers Video Capture Port 3-54 SPRU629 T able 3 – 15. V ideo Capture Channel A Control Register (VCACTL) Field Descriptions (Continued) Description Bit TSI Mode Raw Data Mode BT .656 or Y/C Mode V alue symval † field † 30 BLKCAP Block capture events bit. BLKCAP functions as a capture FIFO reset without affecting the current p[...]
-
Pagina 117
Video Capture Registers 3-55 Video Capture Port SPRU629 T able 3 – 15. V ideo Capture Channel A Control Register (VCACTL) Field Descriptions (Continued) Description Bit TSI Mode Raw Data Mode BT .656 or Y/C Mode V alue symval † field † 18 FLDD Field detect method bit. (Channel A only) EA VFID 0 1 st line EA V or FID input. Not used. Not used.[...]
-
Pagina 118
Video Capture Registers Video Capture Port 3-56 SPRU629 T able 3 – 15. V ideo Capture Channel A Control Register (VCACTL) Field Descriptions (Continued) Description Bit TSI Mode Raw Data Mode BT .656 or Y/C Mode V alue symval † field † 12 LFDE Long field detect enable bit. DISABLE 0 Long field detect is disabled. Not used. Not used. ENABLE 1 [...]
-
Pagina 119
Video Capture Registers 3-57 Video Capture Port SPRU629 T able 3 – 15. V ideo Capture Channel A Control Register (VCACTL) Field Descriptions (Continued) Description Bit TSI Mode Raw Data Mode BT .656 or Y/C Mode V alue symval † field † 6 FRAME ‡ Capture frame (data) bit. NONE 0 Do not capture frame. Do not capture single data block. Do not [...]
-
Pagina 120
Video Capture Registers Video Capture Port 3-58 SPRU629 3.13.3 Video Capture Channel x Field 1 Start Register (VCASTRT1, VCBSTRT1) The captured image is a subset of the incoming image. The video capture channel x field 1 start register (VCASTRT1, VCBSTR T1) defines the start of the field 1 captured image. Note that the size is defined relative to i[...]
-
Pagina 121
Video Capture Registers 3-59 Video Capture Port SPRU629 T able 3 – 1 6 . Video Capture Channel x Field 1 Start Register (VCxSTRT1) Field Descriptions Description Bit field † symval † V alue BT .656 or Y/C Mode Raw Data Mode TSI Mode 31 – 28 Reserved – 0 Reserved. The reserved bit location is always read as 0. A value written to this field[...]
-
Pagina 122
Video Capture Registers Video Capture Port 3-60 SPRU629 3.13.4 Video Capture Channel x Field 1 Stop Register (VCAST OP1, VCBSTOP1) The video capture channel x field 1 stop register (VCASTOP1, VCBSTOP1) defines the end of the field 1-captured image or the end of the raw data or TSI packet. VC x STOP1 is shown in Figure 3 – 32 and described in T ab[...]
-
Pagina 123
Video Capture Registers 3-61 Video Capture Port SPRU629 3.13.5 Video Capture Channel x Field 2 Start Register (VCASTRT2, VCBSTRT2) The captured image is a subset of the incoming image. The video capture channel x field 2 start register (VCASTRT2, VCBSTR T2) defines the start of the field 2 captured image. (This allows different window alignment or [...]
-
Pagina 124
Video Capture Registers Video Capture Port 3-62 SPRU629 3.13.6 Video Capture Channel x Field 2 Stop Register (VCAST OP2, VCBSTOP2) The video capture channel x field 2 stop register (VCASTOP2, VCBSTOP2) defines the end of the field 2-captured image. VC x STOP2 is shown in Figure 3 – 34 and described in T able 3 – 19. These registers are not used[...]
-
Pagina 125
Video Capture Registers 3-63 Video Capture Port SPRU629 3.13.7 Video Capture Channel x V ertical Interrupt Register (VCA VINT , VCBVINT) The video capture channel x vertical interrupt register (VCA VINT , VCBVINT) controls the generation of vertical interrupts in each field. VCxVINT is shown in Figure 3 – 35 and described in T able 3 – 20. In B[...]
-
Pagina 126
Video Capture Registers Video Capture Port 3-64 SPRU629 T able 3 – 20. V ideo Capture Channel x Vertical Interrupt Register (VCxVINT) Field Descriptions Description Bit field † symval † V alue BT .656 or Y/C Mode Raw Data Mode TSI Mode 31 VIF2 Setting of VINT in field 2 enable bit. DISABLE 0 Setting of VINT in field 2 is disabled. Not used. N[...]
-
Pagina 127
Video Capture Registers 3-65 Video Capture Port SPRU629 3.13.8 Video Capture Channel x Threshold Register (VCA THRLD, VCBTHRLD) The video capture channel x threshold register (VCA THRLD, VCBTHRLD) determines when DMA requests are sent. VC x THRLD is shown in Figure 3 – 36 and described in T able 3 – 21. The VCTHRLD1 bits determine when capture [...]
-
Pagina 128
Video Capture Registers Video Capture Port 3-66 SPRU629 Figure 3 – 36. Video Capture Channel x Threshold Register (VCA THRLD, VCBTHRLD) 31 26 25 16 Reserved VCTHRLD2 R-0 R/W-0 15 10 9 0 Reserved VCTHRLD1 R-0 R/W-0 Legend: R = Read only; R/W = Read/Write; - n = value after reset T able 3 – 21 . Video Capture Channel x Threshold Register (VCxTHRL[...]
-
Pagina 129
Video Capture Registers 3-67 Video Capture Port SPRU629 3.13.9 Video Capture Channel x Event Count Register (VCAEVTCT , VCBEVTCT) The video capture channel x event count register (VCAEVTCT , VCBEVTCT) is programmed with the number of DMA events to be generated for each capture field. VC x EVTCT is shown in Figure 3 – 37 and described in T able 3 [...]
-
Pagina 130
Video Capture Registers Video Capture Port 3-68 SPRU629 3.13.10 Video Capture Channel B Control Register (VCBCTL) Video capture is controlled by the video capture channel B control register (VCBCTL) shown in Figure 3 – 38 and described in T able 3 – 23. Figure 3 – 38. Video Capture Channel B Control Register (VCBCTL) 31 30 29 24 RSTCH BLKCAP [...]
-
Pagina 131
Video Capture Registers 3-69 Video Capture Port SPRU629 T able 3 – 23. V ideo Capture Channel B Control Register (VCBCTL) Field Descriptions (Continued) Description Bit TSI Mode Raw Data Mode BT .656 or Y/C Mode V alue symval † field † 30 BLKCAP Block capture events bit. BLKCAP functions as a capture FIFO reset without affecting the current p[...]
-
Pagina 132
Video Capture Registers Video Capture Port 3-70 SPRU629 T able 3 – 23. V ideo Capture Channel B Control Register (VCBCTL) Field Descriptions (Continued) Description Bit TSI Mode Raw Data Mode BT .656 or Y/C Mode V alue symval † field † 16 HRST HCOUNT reset method bit. EA V 0 EA V or VCTL1 active edge. Not used. Not used. SA V 1 SA V or VCTL1 [...]
-
Pagina 133
Video Capture Registers 3-71 Video Capture Port SPRU629 T able 3 – 23. V ideo Capture Channel B Control Register (VCBCTL) Field Descriptions (Continued) Description Bit TSI Mode Raw Data Mode BT .656 or Y/C Mode V alue symval † field † 10 RESMPL Chroma resampling enable bit. DISABLE 0 Chroma resampling is disabled. Not used. Not used. ENABLE [...]
-
Pagina 134
Video Capture Registers Video Capture Port 3-72 SPRU629 T able 3 – 23. V ideo Capture Channel B Control Register (VCBCTL) Field Descriptions (Continued) Description Bit TSI Mode Raw Data Mode BT .656 or Y/C Mode V alue symval † field † 4 CF1 ‡ Capture field 1 bit. NONE 0 Do not ca ptur e fiel d 1. Not used. Not used. FLDCAP 1 Capture field [...]
-
Pagina 135
Video Capture Registers 3-73 Video Capture Port SPRU629 T able 3 – 24. TSI Capture Control Register (TSICTL) Field Descriptions Description Bit field † symval † V alue BT .656, Y/C Mode, or Raw Data Mode TSI Mode 31 – 6 Reserved – 0 Reserved. The reserved bit location is always read as 0. A value written to this field has no effect. 5 ENS[...]
-
Pagina 136
Video Capture Registers Video Capture Port 3-74 SPRU629 3.13.12 TSI Clock Initialization LSB Register (TSICLKINITL) The transport stream interface clock initialization LSB register (TSICLKINITL) is used to initialize the hardware counter to synchronize with the system time clock. TSICLKINITL is shown in Figure 3 – 40 and described in T able 3 –[...]
-
Pagina 137
Video Capture Registers 3-75 Video Capture Port SPRU629 3.13.13 TSI Clock Initialization MSB Register (TSICLKINITM) The transport stream interface clock initialization MSB register (TSICLKINITM) is used to initialize the hardware counter to synchronize with the system time clock. TSICLKINITM is shown in Figure 3 – 41 and described in T able 3 –[...]
-
Pagina 138
Video Capture Registers Video Capture Port 3-76 SPRU629 3.13.14 TSI System Time Clock LSB Register (TSISTCLKL) The transport stream interface system time clock LSB register (TSISTCLKL) contains the 32 least-significant bits (LSBs) of the program clock reference (PCR). The system time clock value is obtained by reading TSISTCLKL and TSISTCLKM. TSIST[...]
-
Pagina 139
Video Capture Registers 3-77 Video Capture Port SPRU629 3.13.15 TSI System Time Clock MSB Register (TSISTCLKM) The transport stream interface system time clock MSB register (TSISTCLKM) contains the most-significant bit (MSB) of the program clock reference (PCR) and the 9 bits of the PCR extension. The system time clock value is obtained by reading [...]
-
Pagina 140
Video Capture Registers Video Capture Port 3-78 SPRU629 3.13.16 TSI System Time Clock Compare LSB Register (TSISTCMPL) The transport stream interface system time clock compare LSB register (TSISTCMPL) is used to generate an interrupt at some absolute time based on the STC. TSISTCMPL holds the 32 least-significant bits (LSBs) of the absolute time co[...]
-
Pagina 141
Video Capture Registers 3-79 Video Capture Port SPRU629 3.13.17 TSI System Time Clock Compare MSB Register (TSISTCMPM) The transport stream interface system time clock compare MSB register (TSISTCMPM) is used to generate an interrupt at some absolute time based on the STC. TSISTCMPM holds the most-significant bit (MSB) of the absolute time compare [...]
-
Pagina 142
Video Capture Registers Video Capture Port 3-80 SPRU629 3.13.18 TSI System Time Clock Compare Mask LSB Register (TSISTMSKL) The transport stream interface system time clock compare mask LSB register (TSISTMSKL) holds the 32 least-significant bits (LSBs) of the absolute time compare mask (A TCM). This value is used with TSISTMSKM to mask out bits du[...]
-
Pagina 143
Video Capture Registers 3-81 Video Capture Port SPRU629 3.13.19 TSI System Time Clock Compare Mask MSB Register (TSISTMSKM) The transport stream interface system time clock compare mask MSB register (TSISTMSKM) holds the most-significant bit (MSB) of the absolute time compare mask (A TCM). This value is used with TSISTMSKL to mask out bits during t[...]
-
Pagina 144
Video Capture Registers Video Capture Port 3-82 SPRU629 3.13.20 TSI System Time Clock Ticks Interrupt Register (TSITICKS) The transport stream interface system time clock ticks interrupt register (TSITICKS) is used to generate an interrupt after a certain number of ticks of the 27-MHz system time clock. When the TICKCT value is set to X and the TCK[...]
-
Pagina 145
Video Capture FIFO Registers 3-83 Video Capture Port SPRU629 3.14 Video Capture FIFO Registers The capture FIFO mapping registers are listed in T able 3 – 34. These registers provide read access to the capture FIFOs. These pseudo-registers should be mapped into DSP memory space rather than configuration register space in order to provide high-spe[...]
-
Pagina 146
4-1 V ideo Display Port The video port peripheral can operate as a video capture port, video display port, or transport stream interface (TSI) capture port. This chapter discusses the video display port. T opic Page 4.1 Video Display Mode Selection 4-2 . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 4.2 BT .656 Video Display Mod[...]
-
Pagina 147
Video Display Mode Selection Video Display Port 4-2 SPRU629 4.1 V ideo Display Mode Selection The video display module operates in one of three modes as listed in T able 4 – 1. The DMODE bits are in the video display control register (VDCTL). The Y/C and 16/20-bit raw display modes may only be selected if the DCDIS bit in the video port control r[...]
-
Pagina 148
Video Display Mode Selection 4-3 Video Display Port SPRU629 Figure 4 – 1. NTSC Compatible Interlaced Display Line 20 Line 21 Line 22 Line 261 Line 262 Line 263 Line 282 Line 283 Line 284 Line 523 Line 524 Line 525 Field 1 Field 2 Figure 4 – 2. SMPTE 296M Compatible Progressive Scan Display Line 26 Line 28 Line 30 Line 742 Line 744 Field 1 Line [...]
-
Pagina 149
Video Display Mode Selection Video Display Port 4-4 SPRU629 Figure 4 – 3. Interlaced Blanking Intervals and Video Areas Field 1 V ertical Blanking Horizontal Blanking Field 1 Image Horiz. Offset Field 1 Image V ertical Offset Field 1 Image Width Field 1 Image Height Field 1 Active Video Field 1 Frame Field 2 V ertical Blanking Horizontal Blanking[...]
-
Pagina 150
Video Display Mode Selection 4-5 Video Display Port SPRU629 Figure 4 – 4. Progressive Blanking Intervals and V ideo Area Field 1 Image Width Field 1 Frame Field 1 Image Height Field 1 V ertical Blanking Field 1 Image V ertical Offset Field 1 Active Video 4.1.2 Video Display Counters T o generate the image timing, the video display module uses fiv[...]
-
Pagina 151
Video Display Mode Selection Video Display Port 4-6 SPRU629 The image line counter (ILCOUNT) and the image pixel counter (IPCOUNT) track the visible image within the field. ILCOUNT begins counting at the first display image line in each field. IPCOUNT begins counting at the first dis- played image pixel on each line. They stop counting when they re[...]
-
Pagina 152
Video Display Mode Selection 4-7 Video Display Port SPRU629 Note that the signals can transition at any place along the video line (specified by the XST ART and XST OP bits of the appropriate registers). In this case, VBLNK starts at horizontal count VBLNKXST ART2 = 429 on scan line VBLNKYST ART2 = 263 (565/60 operation). Figure 4 – 6. V ertical [...]
-
Pagina 153
Video Display Mode Selection Video Display Port 4-8 SPRU629 4.1.4 External Sync Operation The video display module may be synchronized with an external video source using external sync signals. VCTL1 may be configured as an external horizon- tal sync input. When the external HSYNC is asserted, FPCOUNT is loaded with the HRLD value and VCCOUNT is lo[...]
-
Pagina 154
BT .656 Video Display Mode 4-9 Video Display Port SPRU629 4.2 BT .656 V ideo Display Mode The BT .656 display mode outputs 8-bit or 10-bit 4:2:2 co-sited luma and chroma data multiplexed into a single data stream. Pixels are output in pairs with each pair consisting of two luma samples and two chroma samples. The chroma samples are associated with [...]
-
Pagina 155
BT .656 Video Display Mode Video Display Port 4-10 SPRU629 Figure 4 – 10. 625/50 BT .656 Horizontal Blanking Timing One Line 861 862 863 0 1 2 718 719 720 721 722 723 720 721 722 723 FPCOUNT Active Video Blanking VCLKOUT Next Line 4 4 280 1440 VDOUT[9 – 0] 80.0 80.0 10.0 FF .C 00.0 00.0 Cb 0 Y 2 Cb 359 Y 718 Cr 359 Y 719 Y 0 Cr 0 Y 1 Cb 1 XY .0[...]
-
Pagina 156
BT .656 Video Display Mode 4-1 1 Video Display Port SPRU629 Figure 4 – 1 1. Digital Vertical F and V T ransitions Blanking Optional blanking Line 4 Image: Field 1 Blanking Line 266 Optional blanking Image: Field 2 Line 3 H = 1 (EA V) H = 0 (SA V) 1(V = 1) 10 (V = X) 20 (V = 0) 264 (V = 1) 273 (V = X) 283 (V = 0) 525 (V = 0) Blanking Image: Field [...]
-
Pagina 157
BT .656 Video Display Mode Video Display Port 4-12 SPRU629 4.2.2 Blanking Codes The time between the EA V and SA V code on each line represents the horizontal blanking interval. During this time, the video port outputs digital video blanking values. These values are 10.0h for luma (Y) samples and 80.0h for chroma (Cb/Cr) samples. These values are a[...]
-
Pagina 158
BT .656 Video Display Mode 4-13 Video Display Port SPRU629 4.2.4 BT .656 FIFO Unpacking Display data is always packed into the FIFOs in 64-bit words and must be unpacked before being sent to the video display data pipeline. The unpacking and byte ordering is dependant upon the display data size and the device endian mode. For little-endian operatio[...]
-
Pagina 159
BT .656 Video Display Mode Video Display Port 4-14 SPRU629 For 10-bit BT .656 operation, two samples are unpacked from each word as shown in Figure 4 – 13. Figure 4 – 13. 10-Bit BT .656 FIFO Unpacking VDOUT[9 – 0] VCLKOUT 63 58 57 48 47 42 41 32 Y 15 Y 1 1 Y 7 Y 3 Y FIFO Cb FIFO Cb 0 Cr 0 Cb 1 Cr 1 Y 0 Y 1 Y 2 Y 3 Cb 2 Cr 2 Y 4 Y 5 Y 14 Y 10 [...]
-
Pagina 160
BT .656 Video Display Mode 4-15 Video Display Port SPRU629 In 10-bit BT .656 dense-pack mode, three samples are unpacked from each word in the FIFO as seen in Figure 4 – 14. Figure 4 – 14. BT .656 Dense FIFO Unpacking VDOUT[9 – 0] VCLKOUT Y FIFO Cb FIFO Cb 0 Cr 0 Cb 1 Cr 1 Y 0 Y 1 Y 2 Y 3 Cb 2 Cr 2 Y 4 Y 5 Cr FIFO Little-Endian Unpacking 63 6[...]
-
Pagina 161
Y/C Video Display Mode Video Display Port 4-16 SPRU629 4.3 Y/C V ideo Display Mode The Y/C display mode is similar to the BT .656 display mode but outputs 8 or 10-bit data on separate luma and chroma data streams. One data stream contains Y samples and the other stream contains multiplexed Cb and Cr samples co-sited with every other luminance sampl[...]
-
Pagina 162
Y/C Video Display Mode 4-17 Video Display Port SPRU629 4.3.2 Y/C Blanking Codes The time between the EA V and SA V code on each line represents the horizon- tal blanking interval. During this time, the video port outputs the digital video blanking values. These values are 10.0h for luma (Y) samples and 80.0h for chroma (Cb/Cr) samples. These values[...]
-
Pagina 163
Y/C Video Display Mode Video Display Port 4-18 SPRU629 The 8-bit Y/C mode uses three FIFOs for color separation. Four samples are unpacked from each word as shown in Figure 4 – 16. Figure 4 – 16. 8-Bit Y/C FIFO Unpacking Y FIFO Cb FIFO Y 2 Y 4 Y 6 Y 1 Y 3 Y 5 Y 7 VDOUT[9 – 2] VCLKOUT 63 56 55 48 47 40 39 32 Y 21 Y 20 Y 23 Y 22 Y 29 Y 28 Y 31 [...]
-
Pagina 164
Y/C Video Display Mode 4-19 Video Display Port SPRU629 For 10-bit operation, two samples are unpacked from each FIFO word. This is shown in Figure 4 – 17. Figure 4 – 17. 10-Bit Y/C FIFO Unpacking VDOUT[9 – 0] VCLKOUT 63 58 57 48 47 42 41 32 Y 15 Y 1 1 Y 7 Y 3 Y FIFO Cb FIFO Y 0 Y 2 Y 4 Y 6 Y 1 Y 3 Y 5 Y 7 Y 8 Y 10 Y 9 Y 1 1 Y 14 Y 10 Y 6 Y 2 [...]
-
Pagina 165
Y/C Video Display Mode Video Display Port 4-20 SPRU629 In 10-bit Y/C dense-pack mode, three samples are unpacked from each word in the FIFO as seen in Figure 4 – 18. Figure 4 – 18. 10-Bit Y/C Dense FIFO Unpacking Y FIFO Cb FIFO Cr FIFO Little-Endian Packing 63 61 52 51 4241 32 Y 16 Y 1 1 Y 9 Y 4 Y 15 Y 10 Y 5 Y 3 Cb 5 Cb 3 Cb 9 Cb 4 Y 17 Y 21 Y[...]
-
Pagina 166
Video Output Filtering 4-21 Video Display Port SPRU629 4.4 V ideo Output Filtering The video output filter performs simple hardware scaling and resampling on outgoing 8-bit BT .656 or 8-bit Y/C data. Filtering hardware is disabled during 10-bit or raw data display modes. 4.4.1 Output Filter Modes The output filter has four modes of operation: no-fi[...]
-
Pagina 167
Video Output Filtering Video Display Port 4-22 SPRU629 4.4.2 Chrominance Resampling Operation Chrominance resampling computes chrominance values at sample points corresponding to output luminance samples based on the input interspersed chrominance samples. This filter performs the conversion between inter- spersed YCbCr 4:2:2 format and co-sited YC[...]
-
Pagina 168
Video Output Filtering 4-23 Video Display Port SPRU629 Figure 4 – 20. 2x Co-Sited Scaling 2 × upscaled output YCbCr 4:2:2 co – sited source pixels Luma (Y) sample Y ’ d ’ = ( – 1Y c + 17Y d + 17Y e – 1Y f ) / 32 Cb ’ d = ( – 1Cb a + 17Cb c + 17Cb e – 1Cb g ) / 32 Cr ’ d = ( – 1Cr a + 17Cr c + 17Cr e – 1Cr g ) / 32 – Chrom[...]
-
Pagina 169
Video Output Filtering Video Display Port 4-24 SPRU629 Examples of luma edge and chroma edge replication for 2 × interspersed to co-sited output are shown in Figure 4 – 23 and Figure 4 – 24, respectively . Figure 4 – 23. Luma Edge Replication a a ’ b b ’ c a y ’ z z ’ x x ’ y abc z xy Horizontal Image Size Leading edge replicated l[...]
-
Pagina 170
Ancillary Data Display 4-25 Video Display Port SPRU629 4.5 Ancillary Data Display The following sections discuss ancillary data display . No special previsions are made for the display of horizontal anc illary (HANC) or verti cal ancillary (V ANC), also called vertical blanking interval (VBI), data. 4.5.1 Horizontal Anc illary ( HANC) Data Display [...]
-
Pagina 171
Raw Data Display Mode Video Display Port 4-26 SPRU629 4.6.1 Raw Mode RGB Output Support The raw data display mode has a special pixel count feature that allows the FPCOUNT increment rate to be set. FPCOUNT increments only when INCPIX samples have been sent out. This option allows proper tracking of the display pixels when sending out sequential RGB[...]
-
Pagina 172
Raw Data Display Mode 4-27 Video Display Port SPRU629 For 10-bit operation, two samples are unpacked from each FIFO word. This is shown in Figure 4 – 26. Figure 4 – 26. 10-Bit Raw FIFO Unpacking VDOUT[9 – 0] VCLKOUT 63 58 57 48 47 42 41 32 Raw 15 Raw 1 1 Raw 7 Raw 3 Y FIFO Raw 0 Raw 2 Raw 4 Raw 6 Raw 1 Raw 3 Raw 5 Raw 7 Raw 8 Raw 10 Raw 9 Raw[...]
-
Pagina 173
Raw Data Display Mode Video Display Port 4-28 SPRU629 Figure 4 – 28 shows the 16-bit raw mode. T wo samples are unpacked from each word of the FIFO. Figure 4 – 28. 16-Bit Raw FIFO Unpacking Raw FIFO Raw 2 Raw 4 Raw 6 Raw 1 Raw 3 Raw 5 Raw 7 VDOUT[19 – 12]/VDOUT[9 – 2] VCLKOUT 63 48 47 32 Raw 2 Raw 3 Raw 6 Raw 7 Little-Endian Unpacking Raw 8[...]
-
Pagina 174
Raw Data Display Mode 4-29 Video Display Port SPRU629 In 8-bit raw ¾ mode, three samples are unpacked from the FIFO and the remaining byte is ignored. This is shown in Figure 4 – 30. Figure 4 – 30. 8-Bit Raw 3/4 FIFO Unpacking Big-Endian Unpacking Raw FIFO Raw 0 (R0) VDOUT[9 – 2] VCLKOUT 63 56 55 48 47 40 39 32 Raw 8 (B2) Raw 2 (B0) Raw 7 (G[...]
-
Pagina 175
Video Display Field and Frame Operation Video Display Port 4-30 SPRU629 4.7 V ideo Display Field and Frame Operation As a video source, the video port always outputs entire frames of data and transmits continuous video control signals. Depending on the DMA structure, however , the video port may need to interrupt the DSP on a field or frame basis t[...]
-
Pagina 176
Video Display Field and Frame Operation 4-31 Video Display Port SPRU629 T able 4 – 4. Display Operation VDCTL Bit CON FRAME DF2 DF1 Operation 0 0 0 0 Reserved 0 0 0 1 Noncontinuous field 1 display . Display only field 1. F1D is set after field 1 display and causes DCMPx to be set. The F1D bit must be cleared by the DSP or a DCNA interrupt occurs.[...]
-
Pagina 177
Video Display Field and Frame Operation Video Display Port 4-32 SPRU629 T able 4 – 4. Display Operation (Continued) VDCTL Bit CON Operation DF1 DF2 FRAME 1 0 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 dis- abled). No DCNA interrupt occurs, regardless o[...]
-
Pagina 178
Display Line Boundary Conditions 4-33 Video Display Port SPRU629 4.8 Display Line Boundary Conditions In order to simplify DMA transfers, FIFO doublewords 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) occur[...]
-
Pagina 179
Display Line Boundary Conditions Video Display Port 4-34 SPRU629 Figure 4 – 32. Display Line Boundary Example Y FIFO Cb FIFO Y 74 Y 76 Y 78 Y73 Y 75 Y 77 Y 79 VDOUT[9 – 2] VCLKOUT 63 5655 48 47 4039 32 Y 5 Y 4 Y 7 Y 6 Y 69 Y 68 Y 71 Y 70 Y 77 Y 76 Cb 37 Cb 36 Cb 38 Little-Endian Packing Y 80 Y 82 Y 81 Y 83 Cb 36 Cb 37 Cb 38 Cb 39 Cr 36 Cr 37 Cr[...]
-
Pagina 180
Display Timing Examples 4-35 Video Display Port SPRU629 4.9 Display Timing Examples The following are examples of display output for several modes of operation. 4.9.1 Interlaced BT .656 Timing Example This section shows an example of BT .656 display output for a 704 × 408 inter- laced output image as might be generated by MPEG decoding. The horizo[...]
-
Pagina 181
Display Timing Examples 4-36 Video Display Port SPRU629 Figure 4 – 33. BT .656 Interlaced Display Horizontal Timing Example 720 721 722 723 735 736 799 800 855 856 857 0 1 7891 0 710 71 1 712 718 719 720 721 703 703 703 703 703 703 703 703 703 703 703 703 0 12 702 703 703 703 703 703 703 n + 1 n FLCOUNT VCLKOUT VCTL1 (HBLNK ) † § IPCOUNT FPCOU[...]
-
Pagina 182
Display Timing Examples 4-37 Video Display Port SPRU629 The interlaced BT .656 vertical output timing is shown in Figure 4 – 34. The BT .656 active field 1 is 244-lines high and active field 2 is 243-lines high. This example shows the 480-line image window centered in the screen. This results in an IMGVOFF n of 3 lines and also results in a nonda[...]
-
Pagina 183
Display Timing Examples Video Display Port 4-38 SPRU629 Figure 4 – 34. BT .656 Interlaced Display Vertical T iming Example 5 FLCOUNT 525 240 240 ILCOUNT Field 1 Blanking Field 2 Blanking Field 1 Active Field 2 Active 4 3 2 1 240 240 240 240 19 20 21 240 240 240 263 264 265 266 267 282 283 284 524 525 1 240 240 240 240 240 240 240 240 240 240 240 [...]
-
Pagina 184
Display Timing Examples 4-39 Video Display Port SPRU629 4.9.2 Interlaced Raw Display Example This section shows an example of raw display output for the same 704 × 408 interlaced image. The horizontal output timing is shown in Figure 4 – 35. This diagram assumes that there is a two VCLK pipeline delay between the internal counter changing and th[...]
-
Pagina 185
Display Timing Examples 4-40 Video Display Port SPRU629 Figure 4 – 35. Raw Interlaced Display Horizontal Timing Example FLCOUNT VDOUT[19 – 0] § VCLKOUT VCLKIN IPCOUNT VCTL1 (HBLNK) † § VCTL1 (HSYNC) † § Blanking n – 1 n + 1 n Raw0 (R0) Raw1 (G0) Raw2 (B0) Raw3 (R1) Raw4 (G1) Raw5 (B1) Raw2108 (B702) Raw2109 (R703) Raw21 10 (G703) Raw21[...]
-
Pagina 186
Display Timing Examples 4-41 Video Display Port SPRU629 The vertical output timing for raw mode is shown in Figure 4 – 36. This example outputs the same 480-line window . Note that the raw display mode is typically noninterlaced for output to a monitor . This example shows the more complex interlaced case. The active field 1 is 242.5-lines high a[...]
-
Pagina 187
Display Timing Examples Video Display Port 4-42 SPRU629 Figure 4 – 36. Raw Interlaced Display Vertical T iming Example 5 FLCOUNT 525 240 240 ILCOUNT Field 1 Blanking Field 2 Blanking Field 1 Active Field 2 Active 4 3 2 1 240 240 240 240 19 20 21 240 240 240 263 264 265 266 267 282 283 284 524 525 1 240 240 240 240 240 240 240 240 240 240 240 22 2[...]
-
Pagina 188
Display Timing Examples 4-43 Video Display Port SPRU629 4.9.3 Y/C Progressive Display Example This section shows an example of progressive display operation. The output format follows SMPTE 296M-2001 specifications for a 1280 × 720/60 system. The example is for a 1264 × 716 progressive output image. The horizontal output timing is shown in Figure[...]
-
Pagina 189
Display Timing Examples 4-44 Video Display Port SPRU629 Figure 4 – 37. Y/C Progressive Display Horizontal Timing Example ‡ VCLKIN FPCOUNT IPCOUNT VCTL1 (HBLNK) † § VCTL1 (HSYNC) † § VCLKOUT VDOUT[9 – 0] § VDOUT[19 – 0] § FLCOUNT n – 1 n + 1 n EA V Blanking Data SA V EA V Blanking Active Video Display Image 4 362 4 1280 One Line Ne[...]
-
Pagina 190
Display Timing Examples 4-45 Video Display Port SPRU629 The vertical output timing is shown in Figure 4 – 38. SMPTE 296M has a single active field 1 that is 720-lines high. This example shows the 716-line image window with an IMGVOFF n of 3 lines and also results in a nondata line at the end of the field. The VBLNK and VSYNC signals are shown as [...]
-
Pagina 191
Display Timing Examples Video Display Port 4-46 SPRU629 Figure 4 – 38. Y/C Progressive Display Vertical T iming Example 5 FLCOUNT 750 716 716 ILCOUNT Field 1 Blanking Field 1 Blanking Field 1 Active 4 3 2 1 716 716 716 716 25 26 27 716 716 716 745 746 747 748 749 716 716 716 716 716 28 29 Field 1 Image 744 1 2 716 715 VF 0 1 0 1 0 1 0 1 0 1 0 1 0[...]
-
Pagina 192
Displaying Video in BT .656 or Y/C Mode 4-47 Video Display Port SPRU629 4.10 Displaying V ideo in BT .656 or Y/C Mode In order to display video in the BT .656 or Y/C format, the following steps are needed: 1) Set the frame size in VDFRMSZ. Set the number of lines per frame (FRMHIGHT) and the number of pixels per line (FRMWIDTH). 2) Set the horizont[...]
-
Pagina 193
Displaying Video in BT .656 or Y/C Mode Video Display Port 4-48 SPRU629 12) Configure a DMA to move data from the Y buf fer in the DSP memory to YDST A (memory-mapped Y display FIFO). The transfers should be triggered by the YEVT . 13) Configure a DMA to move data from the Cb buf fer in the DSP memory to CBDST (memory-mapped Cb display FIFO). The t[...]
-
Pagina 194
Displaying Video in Raw Data Mode 4-49 Video Display Port SPRU629 22) 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 sta[...]
-
Pagina 195
Displaying Video in Raw Data Mode Video Display Port 4-50 SPRU629 1 1) Set the horizontal synchronization in VDHSYNC. Specify the frame pixel counter value for a pixel where HSYNC gets asserted (HSYNCYST ART) and width of the HSYNC pulse (HSYNCSTOP) in frame pixel clocks. 12) Set the video display field 1 timing. Specify the first line and pixel of[...]
-
Pagina 196
Displaying Video in Raw Data Mode 4-51 Video Display Port SPRU629 22) 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 sta[...]
-
Pagina 197
Video Display Registers Video Display Port 4-52 SPRU629 4.12 Video Display Registers The registers for controlling the video display mode of operation are listed in T able 4 – 5. See the device-specific datasheet for the memory address of these registers. T able 4 – 5. Video Display Control Registers Acronym Register Name Section VDST A T Video[...]
-
Pagina 198
Video Display Registers 4-53 Video Display Port SPRU629 T able 4 – 5. Video Display Control Registers (Continued) Acronym Section Register Name VDDEFV AL Video Display Default Display V alue Register 4.12.24 VDVINT Video Display V ertical Interrupt Register 4.12.25 VDFBIT V ideo Display Field Bit Register 4.12.26 VDVBIT1 Video Display Field 1 V e[...]
-
Pagina 199
Video Display Registers Video Display Port 4-54 SPRU629 T able 4 – 6. Video Display Status Register (VDST A T) Field Descriptions Bit field † symval † V alue Description 31 Reserved – 0 Reserved. The reserved bit location is always read as 0. A value written to this field has no effect. 30 FRMD Frame displayed bit. Write 1 to clear the bit,[...]
-
Pagina 200
Video Display Registers 4-55 Video Display Port SPRU629 4.12.2 Video Display Control Register (VDCTL) The video display is controlled by the video display control register (VDCTL). The VDCTL is shown in Figure 4 – 40 and described in T able 4 – 7. Figure 4 – 40. Video Display Control Register (VDCTL) 31 30 29 28 27 24 RSTCH BLKDIS Reserved PV[...]
-
Pagina 201
Video Display Registers Video Display Port 4-56 SPRU629 T able 4 – 7. Video Display Control Register (VDCTL) Field Descriptions (Continued) Bit Description V alue symval † field † Bit Raw Data Mode BT .656 and Y/C Mode V alue symval † field † 30 BLKDIS Block display events bit. BLKDIS functions as a display FIFO reset without affecting th[...]
-
Pagina 202
Video Display Registers 4-57 Video Display Port SPRU629 T able 4 – 7. Video Display Control Register (VDCTL) Field Descriptions (Continued) Bit Description V alue symval † field † Bit Raw Data Mode BT .656 and Y/C Mode V alue symval † field † 21 HXS Horizontal external synchronization enable bit. OUTPUT 0 VCTL1 is an output. HSINPUT 1 VCT[...]
-
Pagina 203
Video Display Registers Video Display Port 4-58 SPRU629 T able 4 – 7. Video Display Control Register (VDCTL) Field Descriptions (Continued) Bit Description V alue symval † field † Bit Raw Data Mode BT .656 and Y/C Mode V alue symval † field † 13 RGBX RGB extract enable bit. DISABLE 0 Not used. ENABLE 1 Not used. Perform ¾ FIFO unpacking.[...]
-
Pagina 204
Video Display Registers 4-59 Video Display Port SPRU629 T able 4 – 7. Video Display Control Register (VDCTL) Field Descriptions (Continued) Bit Description V alue symval † field † Bit Raw Data Mode BT .656 and Y/C Mode V alue symval † field † 6 FRAME ‡ Display frame bit. NONE 0 Do not display frame. FRMDIS 1 Display frame. 5 DF2 ‡ Dis[...]
-
Pagina 205
Video Display Registers Video Display Port 4-60 SPRU629 4.12.3 Video Display Frame Size Register (VDFRMSZ) The video display frame size register (VDFRMSZ) sets the display channel frame size by setting the ending values for the frame line counter (FLCOUNT) and the frame pixel counter (FPCOUNT). The VDFRMSZ is shown in Figure 4 – 41 and described [...]
-
Pagina 206
Video Display Registers 4-61 Video Display Port SPRU629 4.12.4 Video Display Horizontal Blanking Register (VDHBLNK) The video display horizontal blanking register (VDHBLNK) controls the display horizontal blanking. The VDHBLNK is shown in Figure 4 – 42 and described in T able 4 – 9. Every time the frame pixel counter (FPCOUNT) is equal to HBLNK[...]
-
Pagina 207
Video Display Registers Video Display Port 4-62 SPRU629 T able 4 – 9. Video Display Horizontal Blanking Register (VDHBLNK) Field Descriptions Description Bit field † symval † V alue BT .656 and Y/C Mode Raw Data Mode 31 – 28 Reserved – 0 Reserved. The reserved bit location is always read as 0. A value written to this field has no effect. [...]
-
Pagina 208
Video Display Registers 4-63 Video Display Port SPRU629 Figure 4 – 43. Video Display Field 1 V ertical Blanking Start Register (VDVBLKS1) 31 28 27 16 Reserved VBLNKYST ART1 R-0 R/W-0 15 12 1 1 0 Reserved VBLNKXST ART1 R-0 R/W-0 Legend: R = Read only; R/W = Read/Write; - n = value after reset T able 4 – 10. V ideo Display Field 1 Vertical Blanki[...]
-
Pagina 209
Video Display Registers Video Display Port 4-64 SPRU629 4.12.6 Video Display Field 1 V ertical Blanking End Register (VDVBLKE1) The video display field 1 vertical blanking end register (VDVBLKE1) controls the end of vertical blanking in field 1. The VDVBLKE1 is shown in Figure 4 – 44 and described in T able 4 – 11 . In raw data mode, VBLNK is d[...]
-
Pagina 210
Video Display Registers 4-65 Video Display Port SPRU629 T able 4 – 1 1. Video Display Field 1 V ertical Blanking End Register (VDVBLKE1) Field Descriptions Description Bit field † symval † V alue BT .656 and Y/C Mode Raw Data Mode 31 – 28 Reserved – 0 Reserved. The reserved bit location is always read as 0. A value written to this field h[...]
-
Pagina 211
Video Display Registers Video Display Port 4-66 SPRU629 Figure 4 – 45. Video Display Field 2 V ertical Blanking Start Register (VDVBLKS2) 31 28 27 16 Reserved VBLNKYST ART2 R-0 R/W-0 15 12 1 1 0 Reserved VBLNKXST ART2 R-0 R/W-0 Legend: R = Read only; R/W = Read/Write; - n = value after reset T able 4 – 12. V ideo Display Field 2 Vertical Blanki[...]
-
Pagina 212
Video Display Registers 4-67 Video Display Port SPRU629 4.12.8 Video Display Field 2 V ertical Blanking End Register (VDVBLKE2) The video display field 2 vertical blanking end register (VDVBLKE2) controls the end of vertical blanking in field 2. The VDVBLKE2 is shown in Figure 4 – 46 and described in T able 4 – 13. In raw data mode, VBLNK is de[...]
-
Pagina 213
Video Display Registers Video Display Port 4-68 SPRU629 T able 4 – 13. V ideo Display Field 2 Vertical Blanking End Register (VDVBLKE2) Field Descriptions Description Bit field † symval † V alue BT .656 and Y/C Mode Raw Data Mode 31 – 28 Reserved – 0 Reserved. The reserved bit location is always read as 0. A value written to this field ha[...]
-
Pagina 214
Video Display Registers 4-69 Video Display Port SPRU629 Figure 4 – 47. Video Display Field 1 Image Offset Register (VDIMGOFF1) 31 30 28 27 16 NV Reserved IMGVOFF1 R/W-0 R-0 R/W-0 15 14 12 1 1 0 NH Reserved IMGHOFF1 R/W-0 R-0 R/W-0 Legend: R = Read only; R/W = Read/Write; - n = value after reset T able 4 – 14 . Video Display Field 1 Image Offset[...]
-
Pagina 215
Video Display Registers Video Display Port 4-70 SPRU629 4.12.10 Video Display Field 1 Image Size Register (VDIMGSZ1) The video display field 1 image size register (VDIMGSZ1) defines the field 1 image area and specifies the size of the displayed image within the active dis- play . The VDIMGSZ1 is shown in Figure 4 – 48 and described in T able 4 ?[...]
-
Pagina 216
Video Display Registers 4-71 Video Display Port SPRU629 4.12.1 1 V ideo Display Field 2 Image Offset Register (VDIMGOFF2) The video display field 2 image offset register (VDIMGOFF2) defines the field 2 image offset and specifies the starting location of the displayed image relative to the start of the active display . The VDIMGOFF2 is shown in Figu[...]
-
Pagina 217
Video Display Registers Video Display Port 4-72 SPRU629 T able 4 – 16 . Video Display Field 2 Image Offset Register (VDIMGOFF2) Field Descriptions Description Bit field † symval † V alue BT .656 and Y/C Mode Raw Data Mode 31 NV Negative vertical image offset enable bit. NONE 0 Not used. NEGOFF 1 Display image window begins before the first ac[...]
-
Pagina 218
Video Display Registers 4-73 Video Display Port SPRU629 4.12.12 Video Display Field 2 Image Size Register (VDIMGSZ2) The video display field 2 image size register (VDIMGSZ2) defines the field 2 image area and specifies the size of the displayed image within the active dis- play . The VDIMGSZ2 is shown in Figure 4 – 50 and described in T able 4 ?[...]
-
Pagina 219
Video Display Registers Video Display Port 4-74 SPRU629 4.12.13 Video Display Field 1 Timing Register (VDFLDT1) The video display field 1 timing register (VDFLDT1) sets the timing of the field identification signal. The VDFLDT1 is shown in Figure 4 – 51 and described in T able 4 – 18. In raw data mode, the FLD signal is deasserted to indicate f[...]
-
Pagina 220
Video Display Registers 4-75 Video Display Port SPRU629 4.12.14 Video Display Field 2 Timing Register (VDFLDT2) The video display field 2 timing register (VDFLDT2) sets the timing of the field identification signal. The VDFLDT2 is shown in Figure 4 – 52 and described in T able 4 – 19. In raw data mode, the FLD signal is asserted whenever the fr[...]
-
Pagina 221
Video Display Registers Video Display Port 4-76 SPRU629 4.12.15 Video Display Threshold Register (VDTHRLD) The video display threshold register (VDTHRLD) sets the display FIFO thresh- old to determine when to load more display data. The VDTHRLD is shown in Figure 4 – 53 and described in T able 4 – 20. The VDTHRLD n bits determines how much spac[...]
-
Pagina 222
Video Display Registers 4-77 Video Display Port SPRU629 T able 4 – 20. V ideo Display Threshold Register (VDTHRLD) Field Descriptions Description Bit field † symval † V alue 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 – 1[...]
-
Pagina 223
Video Display Registers Video Display Port 4-78 SPRU629 4.12.16 Video Display Horizontal Synchronization Register (VDHSYNC) The video display horizontal synchronization register (VDHSYNC) controls the timing of the horizontal synchronization signal. The VDHSYNC is shown in Figure 4 – 54 and described in T able 4 – 21. Generation of the horizont[...]
-
Pagina 224
Video Display Registers 4-79 Video Display Port SPRU629 4.12.17 Video Display Field 1 V ertical Synchronization Start Register (VDVSYNS1) The video display field 1 vertical synchronization start register (VDVSYNS1) controls the start of vertical synchronization in field 1. The VDVSYNS1 is shown in Figure 4 – 55 and described in T able 4 – 22. G[...]
-
Pagina 225
Video Display Registers Video Display Port 4-80 SPRU629 4.12.18 Video Display Field 1 V ertical Synchronization End Register (VDVSYNE1) The video display field 1 vertical synchronization end register (VDVSYNE1) controls the end of vertical synchronization in field 1. The VDVSYNE1 is shown in Figure 4 – 56 and described in T able 4 – 23. Generat[...]
-
Pagina 226
Video Display Registers 4-81 Video Display Port SPRU629 4.12.19 Video Display Field 2 V ertical Synchronization Start Register (VDVSYNS2) The video display field 2 vertical synchronization start register (VDVSYNS2) controls the start of vertical synchronization in field 2. The VDVSYNS2 is shown in Figure 4 – 57 and described in T able 4 – 24. G[...]
-
Pagina 227
Video Display Registers Video Display Port 4-82 SPRU629 4.12.20 Video Display Field 2 V ertical Synchronization End Register (VDVSYNE2) The video display field 2 vertical synchronization end register (VDVSYNE2) controls the end of vertical synchronization in field 2. The VDVSYNE2 is shown in Figure 4 – 58 and described in T able 4 – 25. Generat[...]
-
Pagina 228
Video Display Registers 4-83 Video Display Port SPRU629 4.12.21 Video Display Counter Reload Register (VDRELOAD) When external horizontal or vertical synchronization are used, the video display counter reload register (VDRELOAD) determines what values are loaded into the counters when an external sync is activated. The VDRELOAD is shown in Figure 4[...]
-
Pagina 229
Video Display Registers Video Display Port 4-84 SPRU629 4.12.22 Video Display Display Event Register (VDDISPEVT) The video display display event register (VDDISPEVT) is programmed with the number of DMA events to be generated for display field 1 and field 2. The VDDISPEVET is shown in Figure 4 – 60 and described in T able 4 – 27. Figure 4 – 6[...]
-
Pagina 230
Video Display Registers 4-85 Video Display Port SPRU629 4.12.23 Video Display Clipping Register (VDCLIP) The video display clipping register (VDCLIP) is shown in Figure 4 – 61 and described in T able 4 – 28. The video display module in the BT .656 and Y/C modes performs program- mable clipping. The clipping is performed as the last step of the [...]
-
Pagina 231
Video Display Registers Video Display Port 4-86 SPRU629 4.12.24 Video Display Default Display V alue Register (VDDEFV AL) The video display default display value register (VDDEFV AL) defines the default value to be output during the portion of the active video window that is not part of the displayed image. The VDDEFV AL is shown in Figure 4 – 62[...]
-
Pagina 232
Video Display Registers 4-87 Video Display Port SPRU629 Figure 4 – 63 . Video Display Default Display V alue Register (VDDEFV AL) — Raw Data Mode 31 20 19 16 Reserved DEFV AL R/W-0 R/W -0 15 0 DEFV AL R/W-0 Legend: R/W = Read/Write; - n = value after reset T able 4 – 29 . Video Display Default Display V alue Register (VDDEFV AL) Field Descrip[...]
-
Pagina 233
Video Display Registers Video Display Port 4-88 SPRU629 4.12.25 Video Display V ertical Interrupt Register (VDVINT) The video display vertical interrupt register (VDVINT) controls the generation of vertical interrupts in field 1 and field 2. The VDVINT is shown in Figure 4 – 64 and described in T able 4 – 30. An interrupt can be generated upon [...]
-
Pagina 234
Video Display Registers 4-89 Video Display Port SPRU629 4.12.26 Video Display Field Bit Register (VDFBIT) The video display field bit register (VDFBIT) controls the F bit value in the EA V and SA V timing control codes. The VDFBIT is shown in Figure 4 – 65 and described in T able 4 – 31. The FBITCLR and FBITSET bits control the F bit value in t[...]
-
Pagina 235
Video Display Registers Video Display Port 4-90 SPRU629 4.12.27 Video Display Field 1 V ertical Blanking Bit Register (VDVBIT1) The video display field 1 vertical blanking bit register (VDVBIT1) controls the V bit value in the EA V and SA V timing control codes for field 1. The VDVBIT1 is shown in Figure 4 – 66 and described in T able 4 – 32. T[...]
-
Pagina 236
Video Display Registers 4-91 Video Display Port SPRU629 T able 4 – 32. V ideo Display Field 1 Vertical Blanking Bit Register (VDVBIT1) Field Descriptions Description Bit field † symval † V alue BT .656 and Y/C Mode Raw Data Mode 31 – 28 Reserved – 0 Reserved. The reserved bit location is always read as 0. A value written to this field has[...]
-
Pagina 237
Video Display Registers Video Display Port 4-92 SPRU629 4.12.28 Video Display Field 2 V ertical Blanking Bit Register (VDVBIT2) The video display field 2 vertical blanking bit register (VDVBIT2) controls the V bit in the EA V and SA V timing control words for field 2. The VDVBIT2 is shown in Figure 4 – 67 and described in T able 4 – 33. The VBI[...]
-
Pagina 238
Video Display Registers 4-93 Video Display Port SPRU629 T able 4 – 33. V ideo Display Field 2 Vertical Blanking Bit Register (VDVBIT2) Field Descriptions Description Bit field † symval † V alue BT .656 and Y/C Mode Raw Data Mode 31 – 28 Reserved – 0 Reserved. The reserved bit location is always read as 0. A value written to this field has[...]
-
Pagina 239
Video Display Registers Recommended V alues Video Display Port 4-94 SPRU629 4.13 Video Display Registers Recommended V alues Sample recommended values (decimal) for video display registers for BT .656 output are given in T able 4 – 34. T able 4 – 34. V ideo Display Register Recommended Values Register Field 525/60 V alue 625/50 V alue VDFRMSZ F[...]
-
Pagina 240
Video Display Registers Recommended V alues 4-95 Video Display Port SPRU629 T able 4 – 34. V ideo Display Register Recommended Values (Continued) Register 625/50 V alue 525/60 V alue Field VDVSYNS2 VSYNCXST ART2 360 † 360 † VSYNCYST ART2 266 † 313 † VDVSYNE2 VSYNCXSTOP2 360 † 720 † VSYNCYSTOP2 269 † 316 † VDFBIT FBITCLR 4 1 FBITSE[...]
-
Pagina 241
Video Display FIFO Registers Video Display Port 4-96 SPRU629 4.14 Video Display FIFO Registers The display FIFO mapping registers are listed in T able 4 – 35. These registers provide DMA write access to the display FIFOs. These pseudo-registers should be mapped into DSP memory space rather than configuration register space in order to provide hig[...]
-
Pagina 242
5-1 General Purpose I/O Operation Signals not used for video display or video capture can be used as general- purpose input/output (GPIO) signals. T opic Page 5.1 GPIO Registers 5-2 . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . Chapter 5[...]
-
Pagina 243
GPIO Registers General Purpose I/O Operation 5-2 SPRU629 5.1 GPIO Registers The GPIO register set includes required registers such as peripheral identifi- cation and emulation control. The GPIO registers are listed in T able 5 – 1. See the device-specific datasheet for the memory address of these registers. T able 5 – 1. Video Port Registers Ac[...]
-
Pagina 244
GPIO Registers 5-3 General Purpose I/O Operation SPRU629 5.1.1 Video Port Peripheral Identification Register (VPPID) The video port peripheral identification register (VPPID) is a read-only register used to store information about the peripheral. The VPPID is shown in Figure 5 – 1 and described in T able 5 – 2. Figure 5 – 1. Video Port Periph[...]
-
Pagina 245
GPIO Registers General Purpose I/O Operation 5-4 SPRU629 5.1.2 Video Port Peripheral Control Register (PCR) The video port peripheral control register (PCR) determines operation during emulation. The video port peripheral control register is shown in Figure 5 – 2 and described in T able 5 – 3. Normal operation is to not halt the port during emu[...]
-
Pagina 246
GPIO Registers 5-5 General Purpose I/O Operation SPRU629 T able 5 – 3. Video Port Peripheral Control Register (PCR) Field Descriptions Bit field † symval † V alue Description 31 – 3 Reserved Reserved. The reserved bit location is always read as 0. A value written to this field has no effect. 2 PEREN Peripheral enable bit. DISABLE 0 Video po[...]
-
Pagina 247
GPIO Registers General Purpose I/O Operation 5-6 SPRU629 5.1.3 Video Port Pin Function Register (PFUNC) The video port pin function register (PFUNC) selects the video port pins as GPIO. The PFUNC is shown in Figure 5 – 3 and described in T able 5 – 4. Each bit controls either one pin or a set of pins. When a bit is set to 1, it enables the pin([...]
-
Pagina 248
GPIO Registers 5-7 General Purpose I/O Operation SPRU629 T able 5 – 4. Video Port Pin Function Register (PFUNC) Field Descriptions (Continued) Bit Description V alue symval † field † 20 PFUNC20 PFUNC20 bit determines if VCTL1 pin functions as GPIO. NORMAL 0 Pin functions normally . VCTL1 1 Pin functions as GPIO pin. 19 – 11 Reserved – 0 R[...]
-
Pagina 249
GPIO Registers General Purpose I/O Operation 5-8 SPRU629 5.1.4 Video Port Pin Direction Register (PDIR) The video port pin direction register (PDIR) is shown in Figure 5 – 4 and described in T able 5 – 5. The PDIR controls the direction of IO pins in the video port for those pins set by PFUNC. If a bit is set to 1, the relevant pin or pin group[...]
-
Pagina 250
GPIO Registers 5-9 General Purpose I/O Operation SPRU629 T able 5 – 5. Video Port Pin Direction Register (PDIR) Field Descriptions (Continued) Bit Description V alue symval † field † 21 PDIR21 PDIR21 bit controls the direction of the VCTL2 pin. VCTL2IN 0 Pin functions as input. VCTL2OUT 1 Pin functions as output. 20 PDIR20 PDIR20 bit controls[...]
-
Pagina 251
GPIO Registers General Purpose I/O Operation 5-10 SPRU629 T able 5 – 5. Video Port Pin Direction Register (PDIR) Field Descriptions (Continued) Bit Description V alue symval † field † 8 PDIR8 PDIR8 bit controls the direction of the VDA T A[9 – 8] pins. VDA T A8TO9IN 0 Pins function as input. VDA T A8TO9OUT 1 Pins function as output. 7 – 5[...]
-
Pagina 252
GPIO Registers 5-1 1 General Purpose I/O Operation SPRU629 5.1.5 Video Port Pin Data Input Register (PDIN) The read-only video port pin data input register (PDIN) is shown in Figure 5 – 5 and described in T able 5 – 6. PDIN reflects the state of the video port pins. When read, PDIN returns the value from the pin ’ s input buf fer (with approp[...]
-
Pagina 253
GPIO Registers General Purpose I/O Operation 5-12 SPRU629 T able 5 – 6. Video Port Pin Data Input Register (PDIN) Field Descriptions Bit field † symval † V alue Description 31 – 23 Reserved – 0 Reserved. The reserved bit location is always read as 0. A value written to this field has no effect. 22 PDIN22 PDIN22 bit returns the logic level[...]
-
Pagina 254
GPIO Registers 5-13 General Purpose I/O Operation SPRU629 5.1.6 Video Port Pin Data Output Register (PDOUT) The video port pin data output register (PDOUT) is shown in Figure 5 – 6 and described in T able 5 – 7. The bits of PDOUT determine the value driven on the corresponding GPIO pin, if the pin is configured as an output. Writes do not affec[...]
-
Pagina 255
GPIO Registers General Purpose I/O Operation 5-14 SPRU629 T able 5 – 7. Video Port Pin Data Out Register (PDOUT) Field Descriptions Bit field † symval † V alue Description 31 – 23 Reserved – 0 Reserved. The reserved bit location is always read as 0. A value written to this field has no effect. 22 PDOUT22 PDOUT22 bit drives the VCTL3 pin o[...]
-
Pagina 256
GPIO Registers 5-15 General Purpose I/O Operation SPRU629 5.1.7 Video Port Pin Data Set Register (PDSET) The video port pin data set register (PDSET) is shown in Figure 5 – 7 and described in T able 5 – 8. PDSET is an alias of the video port pin data output reg- ister (PDOUT) for writes only and provides an alternate means of driving GPIO outpu[...]
-
Pagina 257
GPIO Registers General Purpose I/O Operation 5-16 SPRU629 T able 5 – 8. Video Port Pin Data Set Register (PDSET) Field Descriptions Bit field † symval † V alue Description 31 – 23 Reserved – 0 Reserved. The reserved bit location is always read as 0. A value written to this field has no effect. 22 PDSET22 Allows PDOUT22 bit to be set to a [...]
-
Pagina 258
GPIO Registers 5-17 General Purpose I/O Operation SPRU629 5.1.8 Video Port Pin Data Clear Register (PDCLR) The video port pin data clear register (PDCLR) is shown in Figure 5 – 8 and described in T able 5 – 9. PDCLR is an alias of the video port pin data output reg- ister (PDOUT) for writes only and provides an alternate means of driving GPIO o[...]
-
Pagina 259
GPIO Registers General Purpose I/O Operation 5-18 SPRU629 T able 5 – 9. Video Port Pin Data Clear Register (PDCLR) Field Descriptions Bit field † symval † V alue Description 31 – 23 Reserved – 0 Reserved. The reserved bit location is always read as 0. A value written to this field has no effect. 22 PDCLR22 Allows PDOUT22 bit to be cleared[...]
-
Pagina 260
GPIO Registers 5-19 General Purpose I/O Operation SPRU629 5.1.9 Video Port Pin Interrupt Enable Register (PIEN) The video port pin interrupt enable register (PIEN) is shown in Figure 5 – 9 and described in T able 5 – 10. The GPIOs can be used to generate DSP interrupts or DMA events. The PIEN selects which pins may be used to generate an interr[...]
-
Pagina 261
GPIO Registers General Purpose I/O Operation 5-20 SPRU629 T able 5 – 10. V ideo Port Pin Interrupt Enable Register (PIEN) Field Descriptions Bit field † symval † V alue Description 31 – 23 Reserved – 0 Reserved. The reserved bit location is always read as 0. A value written to this field has no effect. 22 PIEN22 PIEN22 bit enables the int[...]
-
Pagina 262
GPIO Registers 5-21 General Purpose I/O Operation SPRU629 5.1.10 Video Port Pin Interrupt Polarity Register (PIPOL) The video port pin interrupt polarity register (PIPOL) is shown in Figure 5 – 10 and described in T able 5 – 1 1. The PIPOL determines the GPIO pin signal polarity that generates an interrupt. Figure 5 – 10. Video Port Pin Inter[...]
-
Pagina 263
GPIO Registers General Purpose I/O Operation 5-22 SPRU629 T able 5 – 1 1. Video Port Pin Interrupt Polarity Register (PIPOL) Field Descriptions Bit field † symval † V alue Description 31 – 23 Reserved – 0 Reserved. The reserved bit location is always read as 0. A value written to this field has no effect. 22 PIPOL22 PIPOL22 bit determines[...]
-
Pagina 264
GPIO Registers 5-23 General Purpose I/O Operation SPRU629 5.1.1 1 Video Port Pin Interrupt Status Register (PIST A T) The video port pin interrupt status register (PIST A T) is shown in Figure 5 – 11 and described in T able 5 – 12. PIST A T is a read-only register that indicates the GPIO pin that has a pending interrupt. A bit in PIST A T is se[...]
-
Pagina 265
GPIO Registers General Purpose I/O Operation 5-24 SPRU629 T able 5 – 12. V ideo Port Pin Interrupt Status Register (PIST A T) Field Descriptions Bit field † symval † V alue Description 31 – 23 Reserved – 0 Reserved. The reserved bit location is always read as 0. A value written to this field has no effect. 22 PIST A T22 PIST A T22 bit ind[...]
-
Pagina 266
GPIO Registers 5-25 General Purpose I/O Operation SPRU629 5.1.12 Video Port Pin Interrupt Clear Register (PICLR) The video port pin interrupt clear register (PICLR) is shown in Figure 5 – 12 and described in T able 5 – 13. PICLR is an alias of the video port pin interrupt status register (PIST A T) for writes only . Writing a 1 to a bit of PICL[...]
-
Pagina 267
GPIO Registers General Purpose I/O Operation 5-26 SPRU629 T able 5 – 13. V ideo Port Pin Interrupt Clear Register (PICLR) Field Descriptions Bit field † symval † V alue Description 31 – 23 Reserved – 0 Reserved. The reserved bit location is always read as 0. A value written to this field has no effect. 22 PICLR22 Allows PIST A T22 bit to [...]
-
Pagina 268
6-1 VCXO Interpolated Control Port SPRU629 VCXO Interpolated Control Port This chapter provides an overview of the VCXO interpolated control (VIC) port. T opic Page 6.1 Overview 6-2 . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 6.2 Interface 6-3 . . . . . . . . . . . . . . . . . . . . . . [...]
-
Pagina 269
Overview VCXO Interpolated Control Port 6-2 SPRU629 6.1 Overview The VCXO interpolated control (VIC) port provides single-bit interpolated VCXO control with resolution from 9 bits to up to 16 bits. The frequency of inter- polation is dependent on the resolution needed. When the video port is used in transport stream interface (TSI) mode, the VIC po[...]
-
Pagina 270
Interface 6-3 VCXO Interpolated Control Port SPRU629 6.2 Interface The pin list for VIC port is shown in T able 6 – 1 (pins are 3.3V I/Os). T able 6 – 1. VIC Port Interface Signals VIC Port Signal Direction Description VCTL Output VCXO control STCLK Input System time clock 6.3 Operational Details Synchronization is an important aspect of decodi[...]
-
Pagina 271
Operational Details VCXO Interpolated Control Port 6-4 SPRU629 Any time a packet with a PCR is received, the timestamp for that packet is compared with the PCR value in software. A PLL is implemented in software to synchronize the STCLK with the system time clock. The DSP updates the VIC input register (VICIN) using the output from this algorithm, [...]
-
Pagina 272
Enabling VIC Port 6-5 VCXO Interpolated Control Port SPRU629 6.4 Enabling VIC Port Perform the following steps to enable the VIC port. 1) Clear the GO bit in the VIC control register (VICCTL) to 0. 2) Set the PRECISION bits in VICCTL to the desired precision. 3) Set the VIC clock divider register (VICDIV) bits to appropriate value based on the prec[...]
-
Pagina 273
VIC Port Registers VCXO Interpolated Control Port 6-6 SPRU629 6.5.1 VIC Control Register (VICCTL) The VIC control register (VICCTL) is shown in Figure 6 – 3 and described in T able 6 – 4. Figure 6 – 3. VIC Control Register (VICCTL) 31 16 Reserved R-0 15 43 1 0 Reserved PRECISION GO R-0 R/W-0 R/W-0 Legend: R = Read only; R/W = Read/Write; - n [...]
-
Pagina 274
VIC Port Registers 6-7 VCXO Interpolated Control Port SPRU629 T able 6 – 4. VIC Control Register (VICCTL) Field Descriptions (Continued) Bit Description V alue symval † field † 0 GO The GO bit can be written to at any time. 0 0 The VICDIV and VICCTL registers can be written to without affecting the operation of the VIC port. All the logic in [...]
-
Pagina 275
VIC Port Registers VCXO Interpolated Control Port 6-8 SPRU629 6.5.2 VIC Input Register (VICIN) The DSP writes the input bits for VCXO interpolated control in the VIC input register (VICIN). The DSP decides how often to update VICIN. The DSP can write to VICIN only when the GO bit in the VIC control register (VICCTL) is set to 1. The VIC module uses[...]
-
Pagina 276
VIC Port Registers 6-9 VCXO Interpolated Control Port SPRU629 6.5.3 VIC Clock Divider Register (VICDIV) The VIC clock divider register (VICDIV) defines the clock divider for the VIC interpolation frequency . The VIC interpolation frequency is obtained by divid- ing the module clock. The divider value written to VICDIV is: Divider + Round ƪ DCLK ń[...]
-
Pagina 277
A-1 Appendix A V ideo Port Configuration Examples This appendix describes how to configure the video port in different modes with the help of examples. All examples in this appendix use the video port Chip Support Library (CSL). T opic Page A.1 Example 1: Noncontinuous Frame Capture for 525/60 Format A-2 . . . . . A.2 Example 2: Noncontinuous Frame[...]
-
Pagina 278
Example 1: Noncontinuous Frame Capture for 525/60 Format Video Port Configuration Examples A-2 SPRU629 A.1 Example 1: Noncontinuous Frame Capture for 525/60 Format This is an example that explains how to configure the video port for 8-bit BT .656 noncontinuous frame capture on channel A for 525/60 format. See ITU – R BT .656-4 and video port spec[...]
-
Pagina 279
Example 1: Noncontinuous Frame Capture for 525/60 Format A-3 Video Port Configuration Examples SPRU629 /* –––––––––––––––––––––––––––––––––––––––––––– */ /* EDMA parameters for capture Y event that are */ /* specific to this example. */ /* –––––––?[...]
-
Pagina 280
Example 1: Noncontinuous Frame Capture for 525/60 Format Video Port Configuration Examples A-4 SPRU629 /* Error flags */ volatile Uint32 capChaAOverrun = 0; volatile Uint32 capChaASyncError = 0; volatile Uint32 capChaAShortFieldDetect = 0; volatile Uint32 capChaALongFieldDetect = 0; /* –––––––––––––––––––––[...]
-
Pagina 281
Example 1: Noncontinuous Frame Capture for 525/60 Format A-5 Video Port Configuration Examples SPRU629 /* Set last pixel to be captured in Field2 (VCA_STOP2 reg) */ VP_RSETH(vpCaptureHandle, VCASTOP2, VP_VCASTOP2_RMK(VCA_YSTOP2, VCA_XSTOP2)); /* Set first pixel to be captured in Field1 (VCA_STRT1 reg) */ VP_RSETH(vpCaptureHandle, VCASTRT1, VP_VCAST[...]
-
Pagina 282
Example 1: Noncontinuous Frame Capture for 525/60 Format Video Port Configuration Examples A-6 SPRU629 /* –––––––––––––– */ /* enable capture */ /* –––––––––––––– */ /* set VCEN bit to enable capture */ VP_FSETH(vpCaptureHandle, VCACTL, VCEN, VP_VCACTL_VCEN_ENABLE); /* clear BLKCAP in VCA_CTL [...]
-
Pagina 283
Example 1: Noncontinuous Frame Capture for 525/60 Format A-7 Video Port Configuration Examples SPRU629 if(vpis & _VP_VPIS_SFDA_MASK) /* short field detect */ { capChaAShortFieldDetect++; VP_FSETH(vpCaptureHandle, VPIS, SFDA, VP_VPIS_SFDA_CLEAR); } if(vpis & _VP_VPIS_LFDA_MASK) /* long field detect */ { capChaALongFieldDetect++; VP_FSETH(vpC[...]
-
Pagina 284
Example 1: Noncontinuous Frame Capture for 525/60 Format Video Port Configuration Examples A-8 SPRU629 /* Configure Cb EDMA channel to move data from CbSRCA */ /* (FIFO) to Cb – data buffer, capChaACbSpace */ configVPCapEDMAChannel(&hEdmaVPCapChaACb, UEvent, &edmaCapChaACbTccNum, vpCaptureHandle – >cbsrcaAddr, (Uint32)capChaACbSpace,[...]
-
Pagina 285
Example 1: Noncontinuous Frame Capture for 525/60 Format A-9 Video Port Configuration Examples SPRU629 void configVPCapEDMAChannel(EDMA_Handle *edmaHandle, Int32 eventId, Int32 *tccNum, Uint32 srcAddr, Uint32 dstAddr, Uint32 frameCount, Uint32 elementCount) { Int32 tcc = 0; /* Open Y EVT EDMA channel */ *edmaHandle = EDMA_open(eventId, EDMA_OPEN_RE[...]
-
Pagina 286
Example 2: Noncontinuous Frame Display for 525/60 Format Video Port Configuration Examples A-10 SPRU629 A.2 Example 2: Noncontinuous Frame Display for 525/60 Format This is an example that explains how to configure the video port for 8-bit BT .656 noncontinuous frame display for 525/60 format. See ITU – R BT .656 – 4 and video port specificatio[...]
-
Pagina 287
Example 2: Noncontinuous Frame Display for 525/60 Format A-1 1 Video Port Configuration Examples SPRU629 /* ––––––––––––––––––––––––––––––––––––––––––––––––– */ /* Define vertical blanking bit(VD_VBITn) reg values */ /* ––––––––––?[...]
-
Pagina 288
Example 2: Noncontinuous Frame Display for 525/60 Format Video Port Configuration Examples A-12 SPRU629 /* –––––––––––––––––––––––––––––––––––––––––– */ /* Define vertical synchronization for field2 */ /* ––––––––––––––––––––?[...]
-
Pagina 289
Example 2: Noncontinuous Frame Display for 525/60 Format A-13 Video Port Configuration Examples SPRU629 /******************************************************************/ /* Description : 8 – bit BT.656 non – continuous frame display */ /* */ /* Some important field descriptions: */ /* */ /* DMODE = 000, 8 – bit BT.656 mode */ /* CON = 0 */[...]
-
Pagina 290
Example 2: Noncontinuous Frame Display for 525/60 Format Video Port Configuration Examples A-14 SPRU629 /* –––––––––––––––––––––––––––––––––––––––––––––––––––––––––––––––– */ /* Function : bt656_8bit_ncfd */ /* Input(s) : [...]
-
Pagina 291
Example 2: Noncontinuous Frame Display for 525/60 Format A-15 Video Port Configuration Examples SPRU629 /* set vertical blanking start for field2 */ VP_RSETH(vpDisplayHandle , VDVBLKS2, VP_VDVBLKS2_RMK(VD_VBLNK_YSTART2, VD_VBLNK_XSTART2)); /* set vertical blanking end for field2 */ VP_RSETH(vpDisplayHandle , VDVBLKE2, VP_VDVBLKE2_RMK(VD_VBLNK_YSTOP[...]
-
Pagina 292
Example 2: Noncontinuous Frame Display for 525/60 Format Video Port Configuration Examples A-16 SPRU629 /* set vertical sync end for field2 (VCTL2S) */ VP_RSETH(vpDisplayHandle , VDVSYNE2, VP_VDVSYNE2_RMK(VD_VSYNC_YSTOP2, VD_VSYNC_XSTOP2)); /* Let clipping values to be their defaults (VD_CLIP) */ /* No need to set DEF_VAL and VD_RELOAD in this exam[...]
-
Pagina 293
Example 2: Noncontinuous Frame Display for 525/60 Format A-17 Video Port Configuration Examples SPRU629 /* –––––––––––––– */ /* enable display */ /* –––––––––––––– */ /* set VDEN to enable display for loop – back */ VP_FSETH(vpBDisplayHandle, VDCTL, VDEN, VP_VDCTL_VDEN_ENABLE); /* clear BLKD[...]
-
Pagina 294
Example 2: Noncontinuous Frame Display for 525/60 Format Video Port Configuration Examples A-18 SPRU629 /* –––––––––––––––––––––––––––––––––––––––––––––––––––––––––––––––– */ /* Function : setupVPDispEDMA */ /* Input(s) : [...]
-
Pagina 295
Example 2: Noncontinuous Frame Display for 525/60 Format A-19 Video Port Configuration Examples SPRU629 /* enable three EDMA channels */ EDMA_enableChannel(hEdmaVPDispY); EDMA_enableChannel(hEdmaVPDispCb); EDMA_enableChannel(hEdmaVPDispCr); } /* ––––––––––––––––––––––––––––––––––?[...]
-
Pagina 296
Example 2: Noncontinuous Frame Display for 525/60 Format Video Port Configuration Examples A-20 SPRU629 /* Configure EDMA parameters */ EDMA_configArgs( *edmaHandle, EDMA_OPT_RMK( EDMA_OPT_PRI_MEDIUM, /* medium priority */ EDMA_OPT_ESIZE_32BIT, /* Element size 32 bits */ EDMA_OPT_2DS_YES, /* 2 – dimensional source */ EDMA_OPT_SUM_INC, /* source a[...]
-
Pagina 297
Index Index-1 SPRU629 Index A ancillary data capture 3-31 ancillary data display 4-25 architecture 1-3 A TC bit in TSISTCMPL 3-78 in TSISTCMPM 3-79 A TCM bit in TSISTMSKL 3-80 in TSISTMSKM 3-81 B BLKCAP bit in VCACTL 3-53 in VCBCTL 3-68 BLKDIS bit 4-55 block diagrams 16/20-bit raw video capture FIFO configuration 1-9 16/20-bit raw video display FIF[...]
-
Pagina 298
Index Index-2 SPRU629 CbDEFV AL bits 4-86 CBDST 4-96 CBSRCx 3-83 CCMP A bit in VPIE 2-21 in VPIS 2-24 CCMPB bit in VPIE 2-21 in VPIS 2-24 CF1 bit in VCACTL 3-53 in VCBCTL 3-68 CF2 bit in VCACTL 3-53 in VCBCTL 3-68 CLASS bits 5-3 CLIPCHIGH bits 4-85 CLIPCLOW bits 4-85 CLIPYHIGH bits 4-85 CLIPYLOW bits 4-85 clocks 2-12 CMODE bits in VCACTL 3-53 in VC[...]
-
Pagina 299
Index Index-3 SPRU629 F F1C bit 3-50 F1D bit 4-53 F2C bit 3-50 F2D bit 4-53 FBITCLR bits 4-89 FBITSET bits 4-89 FIFO overrun BT .656 mode 3-45 raw data mode 3-47 TSI capture mode 3-48 video display 4-51 Y/C mode 3-45 FIFO packing BT .656 mode 3-9 raw data mode 3-33 TSI capture mode 3-41 Y/C mode 3-14 FIFO unpacking BT .656 mode 4-13 raw data mode 4[...]
-
Pagina 300
Index Index-4 SPRU629 LFDE bit in VCACTL 3-53 in VCBCTL 3-68 M mode selection TSI capture 3-2 video capture 3-2 video display 4-2 N NH bit in VDIMGOFF1 4-69 in VDIMGOFF2 4-71 noncontinuous frame capture for 525/60 format example A-2 noncontinuous frame display for 525/60 format example A-10 notational conventions iii NV bit in VDIMGOFF1 4-69 in VDI[...]
-
Pagina 301
Index Index-5 SPRU629 registers (continued) VIC port 6-5 VIC clock divider register (VICDIV) 6-9 VIC control register (VICCTL) 6-6 VIC input register (VICIN) 6-8 video capture 3-49 Cb FIFO source register (CBSRCx) 3-83 channel A control register (VCACTL) 3-53 channel A event count register (VCAEVTCT) 3-67 channel A field 1 start register (VCASTRT1)[...]
-
Pagina 302
Index Index-6 SPRU629 registers (continued) video display frame size register (VDFRMSZ) 4-60 horizontal blanking register (VDHBLNK) 4-61 horizontal synchronization register (VDHSYNC) 4-78 recommended values 4-94 status register (VDST A T) 4-53 threshold register (VDTHRLD) 4-76 vertical interrupt register (VDVINT) 4-88 Y FIFO destination register A [...]
-
Pagina 303
Index Index-7 SPRU629 TSI clock initialization LSB register (TSICLKINITL) 3-74 TSI clock initialization MSB register (TSICLKINITM) 3-75 TSI system time clock compare LSB register (TSISTCMPL) 3-78 TSI system time clock compare mask LSB register (TSISTMSKL) 3-80 TSI system time clock compare mask MSB register (TSISTMSKM) 3-81 TSI system time clock co[...]
-
Pagina 304
Index Index-8 SPRU629 VDCLIP 4-85 VDCTL 4-55 VDDEFV AL 4-86 VDDISPEVT 4-84 VDEN 4-55 VDFBIT 4-89 VDFLD bit 4-53 VDFLDT1 4-74 VDFLDT2 4-75 VDFRMSZ 4-60 VDHBLNK 4-61 VDHSYNC 4-78 VDIMGOFF1 4-68 VDIMGOFF2 4-71 VDIMGSZ1 4-70 VDIMGSZ2 4-73 VDRELOAD 4-83 VDST A T 4-53 VDTHRLD 4-76 VDTHRLD1 bits 4-76 VDTHRLD2 bits 4-76 VDVBIT1 4-90 VDVBIT2 4-92 VDVBLKE1 4[...]
-
Pagina 305
Index Index-9 SPRU629 video capture channel B vertical interrupt register (VCBVINT) 3-63 video capture FIFO configurations 1-6 video capture mode BT .656 3-3 raw data 3-32 TSI 3-37 Y/C 3-12 video display counters 4-5 external sync operation 4-8 FIFO configurations 1-9 FIFO overrun 4-51 FIFO registers 4-96 image timing 4-2 mode selection 4-2 port sy[...]
-
Pagina 306
Index Index-10 SPRU629 video port FIFO 1-5 video port interrupt enable register (VPIE) 2-21 video port interrupt status register (VPIS) 2-24 video port peripheral control register (PCR) 5-4 video port peripheral identification register (VPPID) 5-3 video port pin data clear register (PDCLR) 5-17 video port pin data input register (PDIN) 5-1 1 video [...]