Texas Instruments TMS320C64x DSP manual VPVCASTRT1SSEENABLE, VCAXSTART1

Models: TMS320C64x DSP

1 306
Download 306 pages 13.79 Kb
Page 281
Image 281

Example 1: Noncontinuous Frame Capture for 525/60 Format

/* 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_VCASTRT1_RMK(VCA_YSTART1,

 

VP_VCASTRT1_SSE_ENABLE, VCA_XSTART1));

 

/* Set first pixel to be captured in Field2 (VCA_STRT2 reg)

*/

VP_RSETH(vpCaptureHandle, VCASTRT2,

 

VP_VCASTRT2_RMK(VCA_YSTART2, VCA_XSTART2));

 

/* Set threshold values

*/

VP_RSETH(vpCaptureHandle, VCATHRLD,

 

VP_VCATHRLD_RMK(VCA_THRLD_FIELD2, VCA_THRLD_FIELD1));

 

/* Set capture event–register values

*/

VP_RSETH(vpCaptureHandle, VCAEVTCT,

 

VP_VCAEVTCT_RMK(VCA_CAPEVT2,VCA_CAPEVT1));

 

/* Vertical interrupts (VCA_INT) are not enabled in this

*/

/* in this example.

*/

/* Set CMODE to 8–bit BT.656

*/

VP_FSETH(vpCaptureHandle, VCACTL, CMODE, VP_VCACTL_CMODE_BT656B);

 

/* Set non–continuous frame capture

*/

VP_FSETH(vpCaptureHandle, VCACTL, CON, VP_VCACTL_CON_DISABLE);

 

VP_FSETH(vpCaptureHandle, VCACTL, FRAME, VP_VCACTL_FRAME_FRMCAP);

 

VP_FSETH(vpCaptureHandle, VCACTL, CF2, VP_VCACTL_CF2_NONE);

 

VP_FSETH(vpCaptureHandle, VCACTL, CF1, VP_VCACTL_CF1_NONE);

 

/* Let FDD and FINV to be their defaults

*/

/* Set VRST to end of vertical blanking

*/

VP_FSETH(vpCaptureHandle, VCACTL, VRST, VP_VCACTL_VRST_V0EAV);

 

/* Set HRST to start of horizontal blanking

*/

VP_FSETH(vpCaptureHandle, VCACTL, HRST, VP_VCACTL_HRST_OF(0));

 

/* 10–bit pack mode(10BPK bit) in this 8–bit example

*/

/* No (1/2) scaling and no chroma re–sampling in this example

*/

/* Enable video port interrupts

*/

IRQ_enable(vpCaptureHandle–>eventId);

 

/* Setup Y, Cb and Cr EDMA channels

*/

setupVPCapChaAEDMA(portNumber);

 

/* Clear VPHLT in VP_CTL to make video port function

*/

VP_FSETH(vpCaptureHandle, VPCTL, VPHLT, VP_VPCTL_VPHLT_CLEAR);

 

SPRU629

Video Port Configuration Examples

A-5

Page 281
Image 281
Texas Instruments TMS320C64x DSP manual VPVCASTRT1SSEENABLE, VCAXSTART1

TMS320C64x DSP specifications

The TMS320C64x DSP family from Texas Instruments represents a significant milestone in the realm of digital signal processing. Launched as part of the C6000 series, the C64x DSPs are designed for high-performance applications requiring intensive computational capabilities, such as telecommunications, audio processing, video processing, and industrial control systems.

One of the standout features of the TMS320C64x DSP is its VLIW (Very Long Instruction Word) architecture, which allows for an exceptionally high level of parallelism. This architecture enables multiple instructions to be executed simultaneously, boosting the overall throughput and allowing for complex data processing tasks to be completed more quickly than with conventional DSPs.

The C64x DSPs also boast an impressive clock frequency range, typically up to 1 GHz, delivering substantial computational power for real-time processing goals. Additionally, these processors feature extensive on-chip memory, including L1 and L2 cache, which significantly enhances data access speeds and helps reduce bottlenecks during high-demand processing tasks.

Another key characteristic of the TMS320C64x family is its support for advanced instruction sets optimized for specific applications. These include SIMD (Single Instruction, Multiple Data) capabilities, allowing for efficient handling of large datasets often involved in multimedia processing or complex signal manipulation.

For connectivity, these DSPs often integrate advanced interfaces such as EMIF (External Memory Interface) and McBSP (Multichannel Buffered Serial Port), facilitating seamless interaction with a variety of peripheral devices. This ensures that the DSP can suit different application needs and integrate well into various system architectures.

Texas Instruments emphasizes low power consumption with the C64x DSPs, making them ideal for portable or energy-sensitive applications. Advanced power management techniques and technologies, such as dynamic voltage and frequency scaling, are incorporated to further enhance energy efficiency without compromising performance.

In summary, the Texas Instruments TMS320C64x DSP family stands out due to its high-performance capabilities driven by a VLIW architecture, high clock speeds, extensive memory options, a rich instruction set, and advanced connectivity features, all while maintaining power efficiency. These characteristics make it an exceptional choice for developers looking to integrate robust digital signal processing into their applications, whether in telecommunications, audio and video processing, or embedded control systems.