Texas Instruments TMS320C6457 DSP manual Hard-Decisions Transfer

Models: TMS320C6457 DSP

1 79
Download 79 pages 4.76 Kb
Page 68
Image 68

Programming

www.ti.com

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: See cases 1 and 2 below

Upon completion, this EDMA3 transfer is linked to one of the following:

1.The EDMA3 input configuration parameters transfer parameters of the next user-channel, if there is one ready to be decoded

2.Dummy DMA transfer parameters, if there are no more user channels ready to be decoded [for information on how to setup a dummy Xfer, see the TMS320C6457 DSP Enhanced Direct Memory Access (EDMA3) Controller Reference Guide (SPRUGK6)]. Do not link to a NULL transfer, as the secondary event register sets the event flag for Event 29. The final TCPXEVT is generated upon the reading of the decisions and output registers, which is intended to transfer the input configuration of the next user channel. If a NULL transfer link is in place, the final TCPXEVT will set the event 29 flag of SER and no further TCP execution will occur until it is cleared.

9.2.1.4Hard-Decisions Transfer

This EDMA3 transfer to the hard decisions buffer is a TCPREVT 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: TCPHD (5006 0000h)

ACNT = 8 * ceil (frame_length/64) (No of bytes in an array. Note that this implies that the destination location must have 8*ceil(frame_length/64) bytes allocated for decisions.)

BCNT = 1 (No of arrays of length ACNT)

DESTINATION ADDRESS: User hard decisions start address (must be double-word aligned)

ELEMENT INDEX: Don't care

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: See cases 1, 2, and 3 below

Upon completion, this EDMA3 transfer is linked to one of the following:

1.The EDMA3 hard decisions transfer parameters of the next user-channel, if there is one ready to be decoded and the OUTF bit is cleared.

2.The EDMA3 output parameters transfer parameters, if the OUTF bit is set.

68

TMS320C6457 Turbo-Decoder Coprocessor 2

SPRUGK1–March 2009

Submit Documentation Feedback

Page 68
Image 68
Texas Instruments TMS320C6457 DSP manual Hard-Decisions Transfer