Texas Instruments TMS320C64x DSP manual Frame

Models: TMS320C64x DSP

1 306
Download 306 pages 13.79 Kb
Page 279
Image 279

Example 1: Noncontinuous Frame Capture for 525/60 Format

/* –––––––––––––––––––––––––––––––––––––––––––– */ /* EDMA parameters for capture Y event that are */

/* specific to this example.*/ /* –––––––––––––––––––––––––––––––––––––––––––– */

#define VCA_Y_EDMA_ELECNT (VCA_THRLD_FIELD1 * 2) /* because VCA_THRLD_FIELDn is in double–words and element size is 32–bit */

#define VCA_Y_EDMA_FRMCNT ((VCA_CAPEVT1 + VCA_CAPEVT2) * CAPCHA_FRAME_COUNT)

/******************************************************************/

/* Description : 8–bit BT.656 non–continuous frame capture

*/

/*

 

 

*/

/* Some important field descriptions:

*/

/*

 

 

*/

/* CMODE = 000, 8–bit BT.656 mode

*/

/* CON

=

0

*/

/* FRAME

=

1, capture frame

*/

/* CF2

=

0

*/

/* CF1

=

0, (8–bit non–continuous frame capture)

*/

/* SCALE =

0, no scaling

*/

/* RESMPL=

0, no resampling

*/

/* 10BPK = X, not used in 8–bit capture

*/

/* EXC

= 0, use EAV/SAV codes

*/

/* VRST

= 1, end of vertical blanking

*/

/* HRST

= 0, start of horizontal blanking

*/

/* FLDD

= 0, 1st line EAV or FID input

*/

/* FINV

= 0, no field invert

*/

/* RDFE

= X, used in Raw mode only(Enable field identification)

*/

/* SSE

= X, used in Raw mode only(Startup synch enable)

*/

/******************************************************************/ #include <csl_vp.h>

#include <csl_edma.h> #include <csl_irq.h>

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

/* global variable declarations*/ /* ––––––––––––––––––––––––––––––––––––––––––––––––––––––––––––––– */

VP_Handle vpCaptureHandle;

/* handle of vp that to be configured

*/

Uint8 capChaAYSpace[]; /*

buffer to store captured Y–data

*/

Uint8 capChaACbSpace[]; /*

buffer to store captured Cb–data

*/

Uint8 capChaACrSpace[]; /* buffer to store captured Cb–data

*/

EDMA_Handle hEdmaVPCapChaAY;

 

EDMA_Handle hEdmaVPCapChaACb;

 

EDMA_Handle hEdmaVPCapChaACr;

 

Int32 edmaCapChaAYTccNum = 0; /* EDMA tcc for Y channel

*/

Int32 edmaCapChaACbTccNum = 0; /* EDMA tcc for Cb channel

*/

Int32 edmaCapChaACrTccNum = 0; /* EDMA tcc for Cb channel

*/

volatile Uint32 capChaAFrameCount = 0; /* no of frames captured

*/

SPRU629

Video Port Configuration Examples

A-3

Page 279
Image 279
Texas Instruments TMS320C64x DSP manual Frame

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.