Programming

www.ti.com

9.2Programming Standalone (SA) Mode

Table 42 highlights the required EDMA3 resources to perform a standalone (SA) mode decoding. Each set of EDMA3 parameters uses the EDMA3 linking capabilities. Section 9.2.1 details the EDMA3 transfers programming and Section 9.2.2 details the input parameters programming. Any notification mechanism to flag that a user-channel has just been decoded is left to you. Suggested implementation is to use the EDMA3 interrupt generation capabilities [see the TMS320C6457 DSP Enhanced Direct Memory Access (EDMA3) Controller Reference Guide (SPRUGK6)] and program the EDMA3 to generate an interrupt after the user-channel's last TCPREVT synchronized EDMA3 transfer has completed.

9.2.1EDMA3 Programming

9.2.1.1Input Configuration Parameters Transfer

This EDMA3 transfer to the input configuration parameters is a 16-word TCPXEVT frame synchronized transfer. The parameters should be set as:

OPTIONS

ITCCEN = 0 (Intermediate transfer complete chaining is disabled)

TCCEN = 0 (Transfer complete chaining is disabled)

ITCINTEN = 0 (Intermediate transfer complete interrupt is disabled)

TCINTEN = 0 (Transfer complete interrupt is disabled)

TCC = 1 to 63 (Transfer Complete Code)

TCCMODE = 0 (Normal Completion)

FWID = Don't care

STAT = 0 (Entry is updated as normal)

SYNCDIM = 0 (A-Sync. Each event triggers the transfer of ACNT elements.)

DAM = 0 (Dst addressing within an array increments. Dst is not a FIFO.)

SAM = 0 (Src addressing within an array increments. Source is not a FIFO.)

SOURCE ADDRESS: User input configuration parameters start address (must be double-word aligned)

ACNT = 64 (No of bytes in an array - 16 32 bit Input Configurations to be transferred)

BCNT = 1 (No of arrays of length ACNT)

DESTINATION ADDRESS: TCPIC0 (5000 0000h)

SRCBIDX = 0 (Source 2nd Dimension Index)

DSTBIDX = 0 (Destination 2nd Dimension Index)

SRCCIDX = 0 (Source 3rd Dimension Index)

DSTCIDX = 0 (Destination 3rd Dimension Index)

CCNT = 1 (No of frames in a block)

BCNTRLD: Don't care

LINK ADDRESS: Address in the EDMA3 PaRAM of the EDMA3 parameters associated with the systematics and parities

Upon completion, this EDMA3 transfer is linked to the EDMA3 for systematics and parities transfer parameters.

9.2.1.2Systematics and Parities Transfer

This EDMA3 transfer to the systematics and parities memory is a TCPXEVT frame-synchronized transfer. The parameters should be set as:

OPTIONS:

ITCCEN = 0 (Intermediate transfer complete chaining is disabled)

TCCEN = 0 (Transfer complete chaining is disabled)

ITCINTEN = 0 (Intermediate transfer complete interrupt is disabled)

66

TMS320C6457 Turbo-Decoder Coprocessor 2

SPRUGK1–March 2009

Submit Documentation Feedback

Page 66
Image 66
Texas Instruments TMS320C6457 DSP Programming Standalone SA Mode, EDMA3 Programming, Systematics and Parities Transfer