Example 1: Noncontinuous Frame Capture for 525/60 Format

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_RESET);

 

if(*edmaHandle == EDMA_HINV)

 

 

test_exit(FAIL);

 

 

/* allocate TCC for Y event

 

*/

if((tcc = EDMA_intAlloc(–1)) == –1)

 

test_exit(FAIL);

 

 

/* 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_NO,

/* 1–dimensional source(FIFO)

*/

EDMA_OPT_SUM_NONE,

/* fixed src address mode(FIFO)

*/

EDMA_OPT_2DD_YES,

/* 2–dimensional destination

*/

EDMA_OPT_DUM_INC,

/* destination increment

*/

EDMA_OPT_TCINT_YES,

/* Enable transfer complete

*/

 

/* indication

*/

EDMA_OPT_TCC_OF(tcc & 0xF),

 

EDMA_OPT_TCCM_OF(((tcc & 0x30) >> 4)),

 

EDMA_OPT_ATCINT_NO,

/* Disable Alternate Transfer

*/

 

/* Complete Interrupt

*/

EDMA_OPT_ATCC_OF(0),

 

 

EDMA_OPT_PDTS_DISABLE, /* disable PDT(peripheral device */

 

/* transfer) mode for source

*/

EDMA_OPT_PDTD_DISABLE, /* disable PDT mode for dest

*/

EDMA_OPT_LINK_NO,

/* Disable linking

*/

EDMA_OPT_FS_NO

/* Array synchronization

*/

),

 

 

EDMA_SRC_RMK(srcAddr),

 

 

EDMA_CNT_RMK(EDMA_CNT_FRMCNT_OF((frameCount – 1)),

 

EDMA_CNT_ELECNT_OF(elementCount)),

 

EDMA_DST_RMK(dstAddr),

 

 

EDMA_IDX_RMK(EDMA_IDX_FRMIDX_OF((elementCount * 4)),

 

EDMA_IDX_ELEIDX_OF(0)),

/* note: 32–bit element size

*/

/* no RLD in 2D and no linking

*/

EDMA_RLD_RMK(EDMA_RLD_ELERLD_OF(0), EDMA_RLD_LINK_OF(0))

 

);

 

 

*tccNum = tcc;

}

SPRU629

Video Port Configuration Examples

A-9

Page 285
Image 285
Texas Instruments TMS320C64x DSP manual Edmaoptrmk Edmaoptprimedium

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.