Example 1: Noncontinuous Frame Capture for 525/60 Format

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(vpCaptureHandle, VPIS, LFDA, VP_VPIS_LFDA_CLEAR);

}

 

 

}

 

 

/*–––––––––––––––––––––––––––––––––––––––––––––––––––––––––––––––– */

/* Function

: setupVPCapChaAEDMA

*/

/* Input(s)

: portNumber, video port number i.e. 0, 1 or 2.

*/

/* Description : Sets up EDMA channels for Y, U, V events for

*/

/*

channel A capture.

*/

/*–––––––––––––––––––––––––––––––––––––––––––––––––––––––––––––––– */

void setupVPCapChaAEDMA(Int32 portNumber)

 

{

 

 

Int32 YEvent, UEvent, VEvent;

 

/* get channelA Y, U, V EDMA event numbers

*/

switch(portNumber)

 

{

 

 

 

case VP_DEV0: YEvent = EDMA_CHA_VP0EVTYA;

 

 

UEvent = EDMA_CHA_VP0EVTUA;

 

 

VEvent = EDMA_CHA_VP0EVTVA;

 

 

break;

 

 

case VP_DEV1: YEvent = EDMA_CHA_VP1EVTYA;

 

 

UEvent = EDMA_CHA_VP1EVTUA;

 

 

VEvent = EDMA_CHA_VP1EVTVA;

 

 

break;

 

 

case VP_DEV2: YEvent = EDMA_CHA_VP2EVTYA;

 

 

UEvent = EDMA_CHA_VP2EVTUA;

 

 

VEvent = EDMA_CHA_VP2EVTVA;

 

 

break;

 

}

 

 

/* Configure Y EDMA channel to move data from YSRCA

*/

/* (FIFO) to Y–data buffer, capChaAYSpace

*/

configVPCapEDMAChannel(&hEdmaVPCapChaAY, YEvent,

 

&edmaCapChaAYTccNum,

vpCaptureHandle–>ysrcaAddr,

(Uint32)capChaAYSpace, VCA_Y_EDMA_FRMCNT, VCA_Y_EDMA_ELECNT);

SPRU629

Video Port Configuration Examples

A-7

Page 283
Image 283
Texas Instruments TMS320C64x DSP manual SPRU629

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.