Texas Instruments TMS320C64x DSP - Manuals
Texas Instruments TMS320C64x DSP – Manual in PDF format online.
Manuals:
Manual Texas Instruments TMS320C64x DSP
Summary
IMPORTANT NOTICE Texas Instruments Incorporated and its subsidiaries (TI) reserve the right to make corrections,modifications, enhancements, improvements, and other changes to its products and services atany time and to discontinue any product or service without notice. Customers should obtain thela...
iii Contents SPRU629 Preface Read This First About This Manual This document describes the video port and VCXO interpolated control (VIC) portin the digital signal processors (DSPs) of the TMS320C6000 DSP family. Notational Conventions This document uses the following conventions. - Hexadecimal nu...
Trademarks iv SPRU629 Code Composer Studio Application Programming Interface Reference Guide (literature number SPRU321) describes the Code ComposerStudio application programming interface (API), which allows you to program custom plug-ins for Code Composer. TMS320C6x Peripheral Support Library Pr...
Contents v Contents SPRU629 Contents 1 Overview 1-1 . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . Provides an overview of the video port peripheral in the digital signal processors (DSPs) of theTMS320C6...
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 ...
Contents viii SPRU629 4 Video Display Port 4-1 . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . Discusses the video display port. 4.1 Video Display Mode Selection 4-2 . . . . . . . . . . . . . . . . . . . . . . . . . . . . ...
Contents ix Contents SPRU629 4.12.6 Video Display Field 1 Vertical Blanking End Register (VDVBLKE1) 4-64 . . . . . . . . 4.12.7 Video Display Field 2 Vertical Blanking Start Register (VDVBLKS2) 4-65 . . . . . . . 4.12.8 Video Display Field 2 Vertical Blanking End Register (VDVBLKE2) 4-67 . . . . . ....
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 . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . ....
Figures xi Figures SPRU629 Figures 1–1 Video Port Block Diagram 1-4 . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 1–2 BT.656 Video Capture FIFO Configuration 1-6 . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . ...
Tables xv Tables SPRU629 Tables 1–1 Video Capture Signal Mapping 1-13 . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 1–2 Video Display Signal Mapping 1-14 . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . ...
1-1 Overview This chapter provides an overview of the video port peripheral in the digitalsignal processors (DSPs) of the TMS320C6000 DSP family. Included are an overview of the video port functions, FIFO configurations, and signal mapping. Topic Page 1.1 Video Port 1-2 . . . . . . . . . . . . . ....
Video Port Overview 1-2 SPRU629 1.1 Video Port The video port peripheral can operate as a video capture port, video displayport, or transport stream interface (TSI) capture port. It provides the followingfunctions: - Video capture mode: J Capture rate up to 80 MHz. J Two channels of 8/10-bit digital...
Video Port Overview 1-4 SPRU629 Figure 1–1. Video Port Block Diagram Internal peripheral bus Memorymapped 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 byt...
Video Port FIFO 1-5 Overview SPRU629 1.2 Video Port FIFO The video port includes a FIFO to store data coming into or out from the videoport. The video port operates in conjunction with DMA transfers to move databetween the video port FIFO and external or on-chip memory. You can pro-gram threshold se...
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 splitinto channel A and B, as shown in Figure 1–2. Each FIFO is clocked in...
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 receivedon the VDIN[9–0] half of the bus and Cb...
Video Port FIFO 1-9 Overview SPRU629 For 16/20-bit raw video, the FIFO is configured as a single buffer, as shownin Figure 1–5. The FIFO receives 16/20-bit data from the VDIN[19–0] bus. TheFIFO has a single write pointer and read register (YSRCA). Figure 1–5. 16/20-Bit Raw Video Capture FIFO Configu...
Video Port FIFO 1-11 Overview SPRU629 Figure 1–8. 8/10 Bit Locked Raw Video Display FIFO Configuration Buffer A (2560 bytes) YDSTA 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 ...
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(YDSTA, CBDST, and CRDST). Figure 1–10 shows how Y data is output onthe VDOUT[9–0] half of the bus an...
Video Port Pin Mapping 1-13 Overview SPRU629 1.4 Video Port Pin Mapping The video port requires 21 external signal pins for full functionality. Pin usageand direction changes depend on the selected operating mode. Pin functional-ity detail for video capture mode is listed in Table 1–1. Pin functiona...
Video Port Pin Mapping Overview 1-14 SPRU629 Table 1–2. Video 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 VDATA[9–0] I/O VDOUT[9–0] (Out) VDOUT[9–0] (Out) (Y) VDOUT[9–0] (Out) VDOUT[9–0] (Out) VDO...
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 capturemode as shown in Table 1–3. Table 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...
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 displaymode as shown in Table 1–4. Table 1–4. VDOUT Data Bus Usage for Display Modes Display Mode BT.656 Y/C Dual Sync Raw Data Raw Data Data Bus ...
2-1 Video Port This chapter discusses the basic operation of the video port. Included is adiscussion of the sources and types of resets, interrupt operation, DMA opera-tion, external clock inputs, video port throughput and latency, and the videoport control registers. Topic Page 2.1 Reset Operation ...
Reset Operation Video Port 2-2 SPRU629 2.1 Reset Operation The video port has several sources and types of resets. The actions performedby these resets and the state of the port following the resets is described in thefollowing sections. 2.1.1 Power-On Reset Power-on reset is an asynchronous hardwar...
Reset Operation 2-3 Video Port SPRU629 If software sets the PEREN bit in PCR but the VPHLT bit in VPCTL remainsset: - VCLK1, VCLK2, and STCLK are enabled to the port (allowing logic resetto complete). - Peripheral bus accesses are acknowledged (RREADY/WREADYreturned) to prevent DMA lock-up. (Any val...
Reset Operation Video Port 2-4 SPRU629 Once the port is configured and the VCEN bit is set, the setting of otherVCxCTL bits (except VCEN, RSTCH, and BLKCAP) is prohibited and thecapture counters begin counting. When BLKCAP is cleared, data capture andevent generation may begin. 2.1.5 Display Channel...
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 (CCMPx) bit is set. - Capture overrun (COVRx) bit is set. - Synchronization byte error (SERRx) bit is set. - Vertic...
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 sixpossible events. Each DMA event uses a dedicated event output. The outputsare: - VPYEVTA - VPCbEVTA - VPCrEVTA - VPYEVTB - VPCbEVTB - VPCrEVTB 2.3.1 Capture DMA Event Gener...
DMA Operation 2-7 Video Port SPRU629 Figure 2–1. Capture DMA Event Generation Flow Diagram Error Overflow error Yes Overflow error FIFO overflow ? No Yes Yes Capture data, DMA active, new events enabled No FIFO overflow ? DMA complete ? Capture Data, DMA active & DMA pending DMA complete ? No Ge...
DMA Operation Video Port 2-8 SPRU629 Because the capture FIFOs may hold multiple thresholds worth of data, aproblem arises at the boundaries between fields. Since Field 1 and Field 2may have different threshold values, the amount of data in the FIFO requiredto generate the DMA event changes dependin...
DMA Operation 2-9 Video Port SPRU629 Figure 2–2. Display DMA Event Generation Flow Diagram Start of fieldFIFO 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 ? ...
DMA Operation Video Port 2-10 SPRU629 A DMA event counter is used to track the number of DMA events generatedin each field as programmed in the VDDISPEVT register. The DISPEVT1 orDISPEVT2 value (depending on the current display field) is loaded at the startof each field. The event counter then decre...
DMA Operation 2-11 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 divisibleby 2. (This can also be stated as the line length must be an even multiple of#DMAs/line × 8). For th...
Clocks Video Port 2-12 SPRU629 2.4 Clocks The video port has three external clock inputs as shown in Table 2–1. Nosynchronization is required between the clocks sourced by the external pins.VCLK1 and VCLK2 clock frequencies should be less than the DMA interfaceclock. On 64x devices, the DMA interfac...
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 orrestricted to lower video frequency operations may use a reduced FIFO size.FIFO size does not affect the DMA request mechanism. The selection of 8-bitor 10-b...
Video Port Throughput and Latency Video Port 2-14 SPRU629 Table 2–2. Y/C Video 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 theFIFO (t O ) may be cal...
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 emptythe FIFO or underflow occurs. The 110 MHz displa...
Video Port Control Registers Video Port 2-16 SPRU629 A DMA write throughput of at least 330 MBytes/s is required for the highestdisplay rate operation supported by 20-bit implementations of the video port.C64x devices including the video port typically have more than enough DMAbandwidth to support t...
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 thevideo port. The VPCTL is shown in Figure 2–3 and described in Table 2–5. Not all combinations of the port control bits are uniqu...
Video Port Control Registers 2-19 Video Port SPRU629 Table 2–5. Video Port Control Register (VPCTL) Field Descriptions (Continued) Bit Description Value 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...
Video Port Control Registers Video Port 2-20 SPRU629 2.7.2 Video Port Status Register (VPSTAT) The video port status register (VPSTAT) indicates the current condition of thevideo port. The VPSTAT is shown in Figure 2–4 and described in Table 2–7. Figure 2–4. Video Port Status Register (VPSTAT) 31 16...
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 videoport interrupt to the DSP. The VPIE is shown in Figure 2–5 and described inTable 2–8. Figure 2–5. Video Port Interrupt En...
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 portinterrupts to the DSP. The interrupt is only sent to the DSP if the correspondingenable bit in VPIE is set. All VPIS...
3-1 Video Capture Port Video capture works by sampling video data on the input pins and saving it tothe video port FIFO. When the amount of captured data reaches aprogrammed threshold level, a DMA is performed to move data from the FIFOinto DSP memory. In some cases, color separation is performed on...
Video Capture Mode Selection Video Capture Port 3-2 SPRU629 3.1 Video Capture Mode Selection The video capture module operates in one of nine modes as listed inTable 3–1. The transport stream interface (TSI) selection is made using theTSI bit in the video port control register (VPCTL). The CMODE bit...
BT.656 Video Capture Mode 3-3 Video Capture Port SPRU629 3.2 BT.656 Video Capture Mode The BT.656 capture mode captures 8-bit or 10-bit 4:2:2 luma and chroma datamultiplexed into a single data stream. Video data is conveyed in the orderCb,Y,Cr,Y,Cb,Y,Cr, etc. where the sequence Cb,Y,Cr refers to co-...
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, SAV), and one at the endof each video block (end of active video, EAV). (Te...
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 Table 3–3. Table 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 0 0 1 1 1 0 1 0 1 0 1 0 1 1 ...
BT.656 Video Capture Mode Video Capture Port 3-6 SPRU629 Table 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 110 101 100 011 010 001 000 0111 100 – – 011 100 100 100 – 1000 000 – – – – 101 110 – 1001 – 001 010 – – – –...
BT.656 Video Capture Mode 3-7 Video Capture Port SPRU629 Figure 3–1. Video Capture Parameters Capture Image Ystart Xstart Ystop Xstop Field 1 Capture Image Ystart Xstart Ystop Xstop Field 2 Hcount=0 Ycount=1 Ycount=1 Table 3–5 shows common digital camera standards and the number of fieldsper second,...
Y/C Video Capture Mode Video Capture Port 3-12 SPRU629 3.3 Y/C Video Capture Mode The Y/C capture mode is similar to the BT.656 capture mode but captures 8or 10-bit 4:2:2 data on separate luma and chroma data streams. One datastream contains Y samples and the other stream contains multiplexed Cb and...
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 twofields just like BT.656. HDTV Y/C formats may be interlaced or progressivescan. For interlaced capture, the capture windows are programmed ...
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 framesare transferred and ...
BT.656 and Y/C Mode Field and Frame Operation Video Capture Port 3-18 SPRU629 Table 3–6. BT.656 and Y/C Mode Capture Operation VCxCTL 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 afterfield 1 capture and causes CCMPx to be s...
BT.656 and Y/C Mode Field and Frame Operation 3-19 Video Capture Port SPRU629 Table 3–6. BT.656 and Y/C Mode Capture Operation (Continued) VCxCTL Bit CON Operation CF1 CF2 FRAME 1 0 1 0 Continuous field 2 capture. Capture only field 2. F2C is set after field 2capture and causes CCMPx to be set (CCMP...
BT.656 and Y/C Mode Field and Frame Operation Video Capture Port 3-20 SPRU629 Table 3–7. Vertical Synchronization Programming VCxCTL Bit VMode EXC VRST Vertical Counter Reset Point 0 0 0 First EAV with V=1 after EAV with V=0 – beginning of vertical blanking period.VCOUNT increments on each EAV. 1 0 ...
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/samplecounter is reset. The EXC and HRST bits in VCxCTL allow you to program theevent that triggers the start of a line. The ...
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 thecorrect fields, field identification needs to be performed. Field identification ismade using one of three methods: EAV, ...
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 VSYNCactive ...
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 VCYSTOPn is set to the last active line, VCOUNT usually incrementspast VCYSTOPn + 1 while it counts the vertical front porch lines that occurprior to VSYNC acti...
Video Input Filtering 3-27 Video Capture Port SPRU629 3.5.2 Chrominance Resampling Operation Chrominance resampling computes chrominance values at sample pointsmidway between the input luminance samples based on the input co-sitedchrominance samples. This filter performs the horizontal portion of a ...
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 – a b c d e f g h i j k l Y’ f = (–3Y c ...
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 nosamples exist before the SAV code, and at the end of the BT.65...
Video Input Filtering Video Capture Port 3-30 SPRU629 Figure 3–16 shows an example of a capture window that is smaller than theBT.656 active line. Sample a is the first sample in the horizontal capturewindow and sample n is the last sample. In this case, any filtering done on thefirst sample locatio...
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. Horizontalancillary (HANC) data appears between the EAV code and SAV ...
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 whenthe 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 ...
Raw Data Capture Mode 3-33 Video Capture Port SPRU629 Table 3–11. Raw Data Mode Capture Operation VCxCTL Bit CON FRAME CF2 CF1 Operation 0 0 x x Noncontinuous frame capture. FRMC is set after data block captureand causes CCMPx to be set. Capture will halt upon completion of thenext frame unless the ...
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 arepacked 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 /...
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 ...
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 isplaced right justified in each word and zero or sign extended as shown inFigure 3–21. Figure 3–21. 20-Bit Raw Data FIFO Packing VDIN[19–0] VCLKINA 63 5251 32 Y FIFO Raw 0 R...
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 PACSTRT input from a f...
TSI Capture Mode Video Capture Port 3-38 SPRU629 Figure 3–22. Parallel TSI Capture PACSTRT 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 isa pa...
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), allowsa combined hardware and software solution to synchronize the local system...
TSI Capture Mode Video Capture Port 3-40 SPRU629 The system time clock counter is initialized by software with the PCR of the firstpacket with a PCR header. After initialization, the counter can be reinitializedby software upon detecting a discontinuity in subsequent packet PCR headervalues. The sys...
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 intothe receive FIFO. The packet data is written first, followed by the timestamp.The FIFO controller controls both data writes and timestamp writes into ...
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 Read...
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 thecondition HCOUNT = VCXSTOP occurs, the FIFO location is written eventhough 8 bytes have not been received. The next capture line then begins inthe next FIFO ...
Capturing Video in BT.656 or Y/C Mode Video Capture Port 3-44 SPRU629 3.10 Capturing Video in BT.656 or Y/C Mode In order to capture video in the BT.656 or Y/C format, the following steps areneeded: 1) Set the last pixel to be captured in VCxSTOP1 and VCxSTOP2 (set the VCXSTOP and VCYSTOP bits). 2) ...
Capturing Video in BT.656 or Y/C Mode 3-45 Video Capture Port SPRU629 8) Write to VCxCTL 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). - S...
Capturing Video in Raw Data Mode Video Capture Port 3-46 SPRU629 3.11 Capturing Video in Raw Data Mode In order to capture video in the raw data mode, the following steps are needed: 1) Set VCxSTOP1 to specify size of an image to be captured (VCXSTOP sets the lower 12 bits and VCYSTOP sets the upper...
Capturing Data in TSI Capture Mode 3-47 Video Capture Port SPRU629 3.11.1 Handling FIFO Overrun Condition in Raw Data Mode In case of a FIFO overrun, the COVRx bit is set in VPIS. This condition initiatesan interrupt to the DSP, if the overrun interrupt is enabled (setting the COVRxbit in VPIE enabl...
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...
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 inTable 3–13. See the device-specific datasheet for the memory address ofthese registers. Table 3–13. Video Capture Control Registers Acro...
Video Capture Registers 3-51 Video Capture Port SPRU629 Table 3–14. Video Capture Channel x Status Register (VCxSTAT) Field Descriptions Description Bit field † symval † Value BT.656 or Y/C Mode Raw Data Mode TSI Mode 31 FSYNC Current frame sync bit. CLEARD 0 VCOUNT = VINT1 orVINT2, as selectedby th...
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 Table 3–15. Figure 3–30. Video Capture Channel A Control Register...
Video Capture Registers Video Capture Port 3-54 SPRU629 Table 3–15. Video Capture Channel A Control Register (VCACTL) Field Descriptions (Continued) Description Bit TSI Mode Raw Data Mode BT.656 or Y/C Mode Value symval † field † 30 BLKCAP Block capture events bit. BLKCAP functions as a capture FIFO...
Video Capture Registers Video Capture Port 3-64 SPRU629 Table 3–20. Video Capture Channel x Vertical Interrupt Register (VCxVINT) Field Descriptions Description Bit field † symval † Value 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 VI...
Video Capture Registers 3-65 Video Capture Port SPRU629 3.13.8 Video Capture Channel x Threshold Register (VCATHRLD, VCBTHRLD) The video capture channel x threshold register (VCATHRLD, VCBTHRLD)determines when DMA requests are sent. VCxTHRLD is shown inFigure 3–36 and described in Table 3–21. The VC...
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 Table 3–23. Figure 3–38. Video Capture Channel B Control Registe...
Video Capture Registers 3-69 Video Capture Port SPRU629 Table 3–23. Video Capture Channel B Control Register (VCBCTL) Field Descriptions (Continued) Description Bit TSI Mode Raw Data Mode BT.656 or Y/C Mode Value symval † field † 30 BLKCAP Block capture events bit. BLKCAP functions as a capture FIFO...
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 timeclock. TSICLKINITL is shown ...
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 timeclock. TSICLKINITM is shown ...
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 ob...
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...
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 basedon the STC. TSISTCMPL holds the 32 least...
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 basedon the STC. TSISTCMPM holds the most-sig...
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 timecompare mask (ATCM). This v...
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 timecompare mask (ATCM). This value i...
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 ofthe 27-MHz system time cloc...
Video Capture FIFO Registers 3-83 Video Capture Port SPRU629 3.14 Video Capture FIFO Registers The capture FIFO mapping registers are listed in Table 3–34. These registersprovide read access to the capture FIFOs. These pseudo-registers should bemapped into DSP memory space rather than configuration ...
4-1 Video Display Port The video port peripheral can operate as a video capture port, video displayport, or transport stream interface (TSI) capture port. This chapter discussesthe video display port. Topic Page 4.1 Video Display Mode Selection 4-2 . . . . . . . . . . . . . . . . . . . . . . . . . ....
Video Display Mode Selection Video Display Port 4-2 SPRU629 4.1 Video Display Mode Selection The video display module operates in one of three modes as listed inTable 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...
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 ...
Video Display Mode Selection Video Display Port 4-4 SPRU629 Figure 4–3. Interlaced Blanking Intervals and Video Areas Field 1 Vertical Blanking Horizontal Blanking Field 1 Image Horiz. Of fset Field 1 Image Vertical Offset Field 1 Image Width Field 1 Image Height Field 1 Active Video Field 1 Frame F...
Video Display Mode Selection 4-5 Video Display Port SPRU629 Figure 4–4. Progressive Blanking Intervals and Video Area Field 1 Image Width Field 1 Frame Field 1 Image Height Field 1 Vertical Blanking Field 1 Image Vertical Offset Field 1 Active Video 4.1.2 Video Display Counters To generate the image...
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 firstdisplay image line in each field. IPCOUNT begins counting at the first dis-played image pixe...
Video Display Mode Selection 4-7 Video Display Port SPRU629 Note that the signals can transition at any place along the video line (specifiedby the XSTART and XSTOP bits of the appropriate registers). In this case,VBLNK starts at horizontal count VBLNKXSTART2 = 429 on scan lineVBLNKYSTART2 = 263 (56...
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 sourceusing external sync signals. VCTL1 may be configured as an external horizon-tal sync input. When the external HSYNC is asserted, FPCOUNT...
BT.656 Video Display Mode 4-9 Video Display Port SPRU629 4.2 BT.656 Video Display Mode The BT.656 display mode outputs 8-bit or 10-bit 4:2:2 co-sited luma and chromadata multiplexed into a single data stream. Pixels are output in pairs with eachpair consisting of two luma samples and two chroma samp...
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 ...
BT.656 Video Display Mode 4-11 Video Display Port SPRU629 Figure 4–11. Digital Vertical F and V Transitions Blanking Optional blanking Line 4 Image: Field 1 Blanking Line 266 Optional blanking Image: Field 2 Line 3 H = 1 (EAV) H = 0 (SAV) 1(V = 1) 10 (V = X) 20 (V = 0) 264 (V = 1) 273 (V = X) 283 (V...
BT.656 Video Display Mode Video Display Port 4-12 SPRU629 4.2.2 Blanking Codes The time between the EAV and SAV code on each line represents the horizontalblanking interval. During this time, the video port outputs digital video blankingvalues. These values are 10.0h for luma (Y) samples and 80.0h f...
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 beunpacked before being sent to the video display data pipeline. The unpackingand byte ordering is dependant upon the display data size and the ...
Y/C Video Display Mode Video Display Port 4-16 SPRU629 4.3 Y/C Video Display Mode The Y/C display mode is similar to the BT.656 display mode but outputs 8 or10-bit data on separate luma and chroma data streams. One data streamcontains Y samples and the other stream contains multiplexed Cb and Crsamp...
Video Output Filtering 4-21 Video Display Port SPRU629 4.4 Video Output Filtering The video output filter performs simple hardware scaling and resampling onoutgoing 8-bit BT.656 or 8-bit Y/C data. Filtering hardware is disabled during10-bit or raw data display modes. 4.4.1 Output Filter Modes The ou...
Video Output Filtering Video Display Port 4-22 SPRU629 4.4.2 Chrominance Resampling Operation Chrominance resampling computes chrominance values at sample pointscorresponding to output luminance samples based on the input interspersedchrominance samples. This filter performs the conversion between i...
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’ = (–1Yc + 17Yd + 17Ye – 1Yf ) / 32 Cb’d = (–1Cba + 17Cbc + 17Cbe – 1Cbg ) / 32Cr’d = (–1Cra + 17Crc + 17Cre – 1Crg ) / 32 – Chroma (Cb/C...
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 a b c z x y Horizontal Image Size L...
Ancillary Data Display 4-25 Video Display Port SPRU629 4.5 Ancillary Data Display The following sections discuss ancillary data display. No special previsions aremade for the display of horizontal ancillary (HANC) or vertical ancillary (VANC),also called vertical blanking interval (VBI), data. 4.5.1...
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 theFPCOUNT increment rate to be set. FPCOUNT increments only when INCPIXsamples have been sent out. This option allows proper tracking of th...
Raw Data Display Mode 4-27 Video Display Port SPRU629 For 10-bit operation, two samples are unpacked from each FIFO word. Thisis 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 11 Raw 7 Raw 3 Y FIFO Raw 0 Raw 2 Raw 4 Raw 6 Raw 1 Raw ...
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...
Video Display Field and Frame Operation Video Display Port 4-30 SPRU629 4.7 Video Display Field and Frame Operation As a video source, the video port always outputs entire frames of data andtransmits continuous video control signals. Depending on the DMA structure,however, the video port may need to...
Video Display Field and Frame Operation 4-31 Video Display Port SPRU629 Table 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 afterfield 1 display and causes DCMPx to be set. The F1D bit must beclea...
Video Display Field and Frame Operation Video Display Port 4-32 SPRU629 Table 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 2display and causes DCMPx to be set (DCMPx interrupt can be dis-able...
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 frommore than one display line. This means that a FIFO read must be performedwhenever 8-bytes have been output or when the li...
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 4847 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 ...
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 ...
Display T iming Examples 4-36 V ideo 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 7 8 9 10 710 711 712 718 719 720 721 703 703 703 703 703 703 703 703 703 703 703 703 0 1 2 702 703 703 703 703 703 703 n + 1 n FL...
Display Timing Examples Video Display Port 4-38 SPRU629 Figure 4–34. BT.656 Interlaced Display Vertical Timing Example ÇÇÇÇÇÇÇ ÇÇÇÇÇÇÇ ÇÇÇÇÇÇÇ ÇÇÇÇÇÇÇ ÉÉÉÉÉÉÉ ÉÉÉÉÉÉÉ ÉÉÉÉÉÉÉ ÇÇÇÇÇÇÇ ÇÇÇÇÇÇÇ ÇÇÇÇÇÇÇ ÇÇÇÇÇÇÇ ÉÉÉÉÉÉÉ ÉÉÉÉÉÉÉ 5 FLCOUNT 525 240 240 ILCOUNT Field 1 Blanking Field 2 Blanking Field 1 Activ...
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 assumesthat there is a two VCLK pipeline delay ...
Display T iming Examples 4-40 V ideo Display Port SPRU629 Figure 4–35. Raw Interlaced Display Horizontal Timing Example É É É ÉÉ ÉÉ ÉÉ ÉÉ ÉÉ ÉÉ É É É É É É É É É ÉÉ ÉÉ ÉÉ ÉÉ ÉÉ ÉÉ É É É ÉÉ ÉÉ ÉÉ É É É ÉÉ ÉÉ ÉÉ É É É É É É É É É É É É FLCOUNT VDOUT[19–0] § VCLKOUT VCLKIN IPCOUNT VCTL1 (HBLNK)† § VCTL...
Display Timing Examples Video Display Port 4-42 SPRU629 Figure 4–36. Raw Interlaced Display Vertical Timing Example ÉÉÉÉÉÉÉÉ ÉÉÉÉÉÉÉÉ ÉÉÉÉÉÉÉÉ ÉÉÉÉÉÉÉÉ ÇÇÇÇÇÇÇÇ ÇÇÇÇÇÇÇÇ ÇÇÇÇÇÇÇÇ ÇÇÇÇÇ ÉÉÉÉÉÉÉÉ ÉÉÉÉÉÉÉÉ ÉÉÉÉÉÉÉÉ ÉÉÉÉÉÉÉÉ ÇÇÇÇÇÇÇÇ ÇÇÇÇÇÇÇÇ 5 FLCOUNT 525 240 240 ILCOUNT Field 1 Blanking Field 2 Blanki...
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 outputformat follows SMPTE 296M-2001 specifications for a 1280 × 720/60 system. The example is for a 1264 × 716 progressive output image. ...
Display T iming Examples 4-44 V ideo 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 EAV Blanking Data SAV EAV Blanking Active Video Displa...
Display Timing Examples Video Display Port 4-46 SPRU629 Figure 4–38. Y/C Progressive Display Vertical Timing Example ÉÉÉÉÉÉÉ ÉÉÉÉÉÉÉ ÉÉÉÉÉÉÉ ÉÉÉÉÉÉÉ ÇÇÇÇÇÇÇ ÇÇÇÇÇÇÇ 5 FLCOUNT 750 716 716 ILCOUNT Field 1 Blanking Field 1 Blanking Field 1 Active 4 3 2 1 716716716716 252627 716716716 745746747748749 71...
Displaying Video in BT.656 or Y/C Mode 4-47 Video Display Port SPRU629 4.10 Displaying Video in BT.656 or Y/C Mode In order to display video in the BT.656 or Y/C format, the following steps areneeded: 1) Set the frame size in VDFRMSZ. Set the number of lines per frame (FRMHIGHT) and the number of pi...
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 orframe display is enabled, the next field or frame is displayed, during whicht...
Displaying Video in Raw Data Mode Video Display Port 4-50 SPRU629 11) Set the horizontal synchronization in VDHSYNC. Specify the frame pixel counter value for a pixel where HSYNC gets asserted (HSYNCYSTART)and width of the HSYNC pulse (HSYNCSTOP) in frame pixel clocks. 12) Set the video display fiel...
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 orframe display is enabled, the next field or frame is displayed, during whicht...
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 inTable 4–5. See the device-specific datasheet for the memory address of theseregisters. Table 4–5. Video Display Control Registers Acrony...
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 displayhorizontal blanking. The VDHBLNK is shown in Figure 4–42 and described inTable 4–9. Every time the frame pi...
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 11 0 NH Reserved IMGHOFF1 R/W-0 R-0 R/W-0 Legend: R = Read only; R/W = Read/Write; -n = value after reset Table 4–...
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 1image area and specifies the size of the displayed image within the active dis-play. The VDIMGSZ1 is shown ...
Video Display Registers 4-71 Video Display Port SPRU629 4.12.11 Video Display Field 2 Image Offset Register (VDIMGOFF2) The video display field 2 image offset register (VDIMGOFF2) defines thefield 2 image offset and specifies the starting location of the displayed imagerelative to the start of the a...
Video Display Registers Video Display Port 4-72 SPRU629 Table 4–16. Video Display Field 2 Image Offset Register (VDIMGOFF2) Field Descriptions Description Bit field † symval † Value BT.656 and Y/C Mode Raw Data Mode 31 NV Negative vertical image offset enable bit. NONE 0 Not used. NEGOFF 1 Display i...
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 2image area and specifies the size of the displayed image within the active dis-play. The VDIMGSZ2 is shown ...
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 fieldidentification signal. The VDFLDT1 is shown in Figure 4–51 and described inTable 4–18. In raw data mode, the...
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 fieldidentification signal. The VDFLDT2 is shown in Figure 4–52 and described inTable 4–19. In raw data mode, the...
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 inFigure 4–53 and described in Table 4–20. The ...
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) controlsthe timing of the horizontal synchronization signal. The VDHSYNC is shownin Figure 4–54 and described in...
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 videodisplay counter reload register (VDRELOAD) determines what values areloaded into the counters when an external sync...
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 withthe number of DMA events to be generated for display field 1 and field 2. TheVDDISPEVET is shown in Figure 4–60 and ...
Video Display Registers Video Display Port 4-86 SPRU629 4.12.24 Video Display Default Display Value Register (VDDEFVAL) The video display default display value register (VDDEFVAL) defines thedefault value to be output during the portion of the active video window that isnot part of the displayed ima...
Video Display Registers Video Display Port 4-88 SPRU629 4.12.25 Video Display Vertical Interrupt Register (VDVINT) The video display vertical interrupt register (VDVINT) controls the generationof vertical interrupts in field 1 and field 2. The VDVINT is shown in Figure 4–64and described in Table 4–3...
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 EAVand SAV timing control codes. The VDFBIT is shown in Figure 4–65 anddescribed in Table 4–31. The FBITCLR and FBIT...
Video Display Registers Video Display Port 4-90 SPRU629 4.12.27 Video Display Field 1 Vertical Blanking Bit Register (VDVBIT1) The video display field 1 vertical blanking bit register (VDVBIT1) controls theV bit value in the EAV and SAV timing control codes for field 1. The VDVBIT1is shown in Figure...
Video Display Registers Video Display Port 4-92 SPRU629 4.12.28 Video Display Field 2 Vertical Blanking Bit Register (VDVBIT2) The video display field 2 vertical blanking bit register (VDVBIT2) controls theV bit in the EAV and SAV timing control words for field 2. The VDVBIT2 isshown in Figure 4–67 ...
Video Display Registers Recommended Values Video Display Port 4-94 SPRU629 4.13 Video Display Registers Recommended Values Sample recommended values (decimal) for video display registers for BT.656output are given in Table 4–34. Table 4–34. Video Display Register Recommended Values Register Field 52...
Video Display Registers Recommended Values 4-95 Video Display Port SPRU629 Table 4–34. Video Display Register Recommended Values (Continued) Register 625/50 Value 525/60 Value Field VDVSYNS2 VSYNCXSTART2 360 † 360 † VSYNCYSTART2 266 † 313 † VDVSYNE2 VSYNCXSTOP2 360 † 720 † VSYNCYSTOP2 269 † 316 † VD...
Video Display FIFO Registers Video Display Port 4-96 SPRU629 4.14 Video Display FIFO Registers The display FIFO mapping registers are listed in Table 4–35. These registersprovide DMA write access to the display FIFOs. These pseudo-registersshould be mapped into DSP memory space rather than configura...
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. Topic Page 5.1 GPIO Registers 5-2 . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . Chapter 5
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 Table 5–1. Seethe device-specific datasheet for the memory address of these registe...
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 registerused to store information about the peripheral. The VPPID is shown inFigure 5–1 and described in Table...
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 duringemulation. The video port peripheral control register is shown in Figure 5–2and described in Table 5–3. Normal opera...
GPIO Registers 5-11 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–5and described in Table 5–6. PDIN reflects the state of the video port pins.When read, PDIN returns the value from th...
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 anddescribed in Table 5–7. The bits of PDOUT determine the value driven on thecorresponding GPIO pin, if the pin is confi...
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 anddescribed in Table 5–9. PDCLR is an alias of the video port pin data output reg-ister (PDOUT) for writes only and provid...
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 anddescribed in Table 5–10. The GPIOs can be used to generate DSP interruptsor DMA events. The PIEN selects which...
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–10and described in Table 5–11. The PIPOL determines the GPIO pin signalpolarity that generates an interrupt....
GPIO Registers 5-23 General Purpose I/O Operation SPRU629 5.1.11 Video Port Pin Interrupt Status Register (PISTAT) The video port pin interrupt status register (PISTAT) is shown in Figure 5–11and described in Table 5–12. PISTAT is a read-only register that indicates theGPIO pin that has a pending in...
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 anddescribed in Table 5–13. PICLR is an alias of the video port pin interrupt statusregister (PISTAT) for write...
6-1 VCXO Interpolated Control Port SPRU629 VCXO Interpolated Control Port This chapter provides an overview of the VCXO interpolated control (VIC) port. Topic Page 6.1 Overview 6-2 . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 6.2 Interface...
Overview VCXO Interpolated Control Port 6-2 SPRU629 6.1 Overview The VCXO interpolated control (VIC) port provides single-bit interpolatedVCXO 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 t...
Interface 6-3 VCXO Interpolated Control Port SPRU629 6.2 Interface The pin list for VIC port is shown in Table 6–1 (pins are 3.3V I/Os). Table 6–1. VIC Port Interface Signals VIC Port Signal Direction Description VCTL Output VCXO control STCLK Input System time clock 6.3 Operational Details Synchron...
Operational Details VCXO Interpolated Control Port 6-4 SPRU629 Any time a packet with a PCR is received, the timestamp for that packet iscompared with the PCR value in software. A PLL is implemented in softwareto synchronize the STCLK with the system time clock. The DSP updates theVIC input register...
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 (V...
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 inTable 6–4. Figure 6–3. VIC Control Register (VICCTL) 31 16 Reserved R-0 15 4 3 1 0 Reserved PRECISION GO R-0 R/W-0 R/W-0 Legend: ...
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 VICinterpolation frequency. The VIC interpolation frequency is obtained by divid-ing the module clock. The divider value w...
A-1 Appendix A Video Port Configuration Examples This appendix describes how to configure the video port in different modeswith the help of examples. All examples in this appendix use the video portChip Support Library (CSL). Topic Page A.1 Example 1: Noncontinuous Frame Capture for 525/60 Format A-...
Index Index-1 SPRU629 Index A ancillary data capture 3-31 ancillary data display 4-25 architecture 1-3 ATC bit in TSISTCMPL 3-78 in TSISTCMPM 3-79 ATCM 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 c...
Texas Instruments Manuals
-
Texas Instruments 60X
Manual
-
Texas Instruments TAS5508-5142K7EVM
Manual
-
Texas Instruments SLUU083A
Manual
-
Texas Instruments TSC2007EVM-PDK
Manual
-
Texas Instruments TNETE211
Manual
-
Texas Instruments TI-83 PLUS
Manual
-
Texas Instruments TPS53125EVM-599
Manual
-
Texas Instruments 47
Manual
-
Texas Instruments TI-83
Manual
-
Texas Instruments ADS5102 EVM
Manual
-
Texas Instruments TMS320F2801
Manual
-
Texas Instruments TPA6139A2 EVM
Manual
-
Texas Instruments 2000
Manual
-
Texas Instruments 3000
Manual
-
Texas Instruments UCC38500EVM
Manual
-
Texas Instruments CS-FX300MS PLUS
Manual
-
Texas Instruments SPRAA56
Manual
-
Texas Instruments TNETE100A
Manual
-
Texas Instruments TNETE110A
Manual
-
Texas Instruments TMS320DM646X DMSOC
Manual