Texas Instruments TMS320C6457 DSP manual EDMA3 Resources, EDMA3 Parameters in Standalone SA Mode

Page 65

www.ti.com

Programming

Note that several user channels can be programmed prior to starting the TCP2.

Table 42. EDMA3 Parameters in Standalone (SA) Mode

Direction

 

 

 

Transmit (DSP TCP)

 

 

 

Receive (TCP DSP)

Data

Usage

Required/Optional

Transmit

Input configuration

Send the input configuration

Required

 

parameters

parameters

 

Transmit

Systematics and parities

Send the systematics and parities

Required

Transmit

Interleaver indexes

Send the interleaver table

Optional INTER bit

Receive

Hard decisions

Read the hard decisions

Required

Receive

Output parameters

Read the output parameters

Optional OUTF bit

Table 43. EDMA3 Parameters in Shared Processing (SP) Mode

Direction

 

 

 

Transmit (DSP TCP)

 

 

 

Receive (TCP DSP)

Data

Usage

Required/Optional

Transmit

Input configuration

Send the input configuration

Required

 

parameters

parameters

 

Transmit

Systematics and parities

Send the systematics and parities

Required

Transmit

A prioris

Send the a prioris

Required except for first

 

 

 

iteration MAP1

Receive

Extrinsics

Read the extrinsics

Required

9.1EDMA3 Resources

9.1.1TCP2 Dedicated EDMA3 Resources

Within the available 64 EDMA3 channels event sources, two are assigned to the TCP: event 30 and event 31.

Event 30 is associated to the TCP2 receive event (TCPREVT) and is used as the synchronization event for the EDMA3 transfer from the TCP2 to the DSP (receive).

Event 31 is associated to the TCP2 transmit event (TCPXEVT) and is used as the synchronization event for the EDMA3 transfer from the DSP to the TCP2 (transmit).

9.1.2Special TCP2 EDMA3 Programming Considerations

The EDMA3 parameters consists of eight words as shown in Figure 99. In the context of the TCP2, all EDMA3 transfers should follow ACNT * BCNT number of bytes in A_Sync Mode and ACNT *BCNT * CCNT number of bytes in AB_Sync Mode. The number of bytes should be a multiple of 8. For more information, see the TMS320C6457 DSP Enhanced Direct Memory Access (EDMA3) Controller Reference Guide (SPRUGK6).

Figure 99. EDMA3 Parameters Structure

31

 

0

EDMA3 Channel Options Parameter (OPT)

 

EDMA3 Channel Source Address (SRC)

 

Number of arrays of length ACNT (BCNT)

Number of bytes in array (ACNT)

 

EDMA3 Channel Destination Address (DST)

 

Destination 2nd Dimension Index (DSTBIDX)

Source 2nd Dimension Index (SRCBIDX)

 

BCNTRLD

LINK

 

Destination 3rd Dimension Index (DSTCIDX)

Source 3rd Dimension Index (SRCCIDX)

 

Reserved

Number of frames in block (CCNT)

 

SPRUGK1–March 2009

TMS320C6457 Turbo-Decoder Coprocessor 2

65

Submit Documentation Feedback

 

 

Image 65
Contents Users Guide Submit Documentation Feedback Contents Added Features Programming EDMA3 Resources List of Figures Destination of Endianness Manager Outorder = List of Tables Notational Conventions About This ManualRelated Documentation From Texas Instruments TrademarksTMS320C6457 Turbo-Decoder Coprocessor FeaturesIntroduction GPP and IS2000 Turbo-Encoder Block DiagramOverview GPP and IS2000 Turbo-Decoder Block DiagramTCP2 Mode Standalone SA ModeSystematic and Parity Data Input Data FormatSP9 SP8 SP7 SP6 SP5 SP4 SP3 SP0 Rsvd SP9 SP8 SP7 SP6 SP5 SP4 SP3 SP2 SP1 SP0SP4 SP3 SP2 SP1 SP0 SP9 SP8 SP7 SP6 SP5 SP9 SP8 SP7 SP6 SP5 SP4 SP3 SP2 SP1 SP0EN = 0 Big-Endian Mode Rate = 1/4 Stopping Criteria Output Decision Data FormatInterleaver Indexes Interleaver DataCRC Termination Stopping Test UnitSNR Threshold Termination Parameter Termination Shared-Processing SP ModeMaximum Iterations Minimum IterationsShared-Processing SP Mode Block Diagram Subframe Equations Submit Documentation Feedback TCP2 Shared Processing Block Diagram EN = 1 Little-Endian Mode Rate = 1/3 Rsvd AP4 AP3 AP2 AP1 AP0 AP9 AP8 AP7 AP6 AP5 Output Data FormatPriori Data TCP2 Registers RegistersTCP2 RAMs NameRegisters Peripheral Identification Register PID Field Descriptions Peripheral Identification Register PIDBit Field DescriptionBit Field Value Description TCP2 Input Configuration Register 0 TCPIC0TCP2 Input Configuration Register 2 TCPIC2 TCP2 Input Configuration Register 1 TCPIC1SNR MaxitTCP2 Input Configuration Register 3 TCPIC3 Crclen TCP2 Input Configuration Register 4 TCPIC4Crciterpass Tail Symbols TCP2 Input Configuration Register 5 TCPIC5CRC Examples CrcpolyTAIL1 TCP2 Input Configuration Register 6 TCPIC6TAIL2 10 TCP2 Input Configuration Register 7 TCPIC7TAIL3 11 TCP2 Input Configuration Register 8 TCPIC8TAIL4 12 TCP2 Input Configuration Register 9 TCPIC9TAIL5 13 TCP2 Input Configuration Register 10 TCPIC1014 TCP2 Input Configuration Register 11 TCPIC11 TCP2 Input Configuration Register 11 TCPIC11 16 TCP2 Input Configuration Register 13 TCPIC13 15 TCP2 Input Configuration Register 12 TCPIC12EXTSCALE03 EXTSCALE47EXTSCALE811 17 TCP2 Input Configuration Register 14 TCPIC14Extrinsic Scale Registers 18 TCP2 Input Configuration Register 15 TCPIC15EXTSCALE1215 Iteration Number20 TCP2 Output Parameter Register 1 TCPOUT1 19 TCP2 Output Parameter Register 0 TCPOUT0TCP2 Output Parameter Register 0 TCPOUT0 Field Descriptions TCP2 Output Parameter Register 1 TCPOUT1 Field Descriptions22 TCP2 Execution Register Tcpexe 21 TCP2 Output Parameter Register 2 TCPOUT2TCP2 Output Parameter Register 2 TCPOUT2 Field Descriptions TCP2 Execution Register Tcpexe Field DescriptionsTCP2 Endian Register Tcpend Field Descriptions 23 TCP2 Endian Register TcpendEndian Extr Intr EndianextrTCP2 Error Register Tcperr Field Descriptions 24 TCP2 Error Register TcperrSubframe length Tcpstate 25 TCP2 Status Register TcpstatTCP2 Status Register Tcpstat Field Descriptions Waiting for RAM extrinsic memory 0 to be read TCP2 Emulation Register Tcpemu Field Descriptions 26 TCP2 Emulation Register TcpemuSoft = Soft FreeData Memory for Systematic Endianness6362 6156 5550 4944 4338 3732 3130 2924 2318 1712 116 Data MemoryEN = 0 Big-Endian Mode Rate = 1/4 Hard Decision Data EN = 0 Big-Endian Mode Rate = 3/4Tcpendian Register for Endianness Manager Hard Decisions in DSP MemoryData HD1 HD0Endianintr = Tcpendian Programming RegisterInterleaver Indexes in DSP Memory Data Native Format DSP Memory FormatINTER3 INTER2 INTER1 INTER0 INTER0 INTER1 INTER2 INTER3Extrinsic in DSP Memory Endianextr = Extrinsic DataEndianextr = Data Source Kernel Endianextr = EXT3 EXT2 EXT1 EXT0 EXT7 EXT6 EXT5 EXT4 ArchitectureEXT7 EXT6 EXT5 EXT4 EXT3 EXT2 EXT1 EXT0 Sub-block and Sliding Window Segmentation MAP Unit Block DiagramExamples for NUMBLOCK, NUMSUBBLOCK, NUMSW, and Winrel Subframe Segmentation SP mode onlyReliability and Prolog Length Calculation Code Rates Added FeaturesProgramming Valid Re-Encode Symbols Used for ComparisonInput Sign Log EquationEDMA3 Parameters in Shared Processing SP Mode EDMA3 Parameters in Standalone SA ModeEDMA3 Resources 1 TCP2 Dedicated EDMA3 ResourcesInput Configuration Parameters Transfer Programming Standalone SA ModeEDMA3 Programming Systematics and Parities TransferInterleaver Indexes Transfer Hard-Decisions Transfer Output Parameters Transfer Input Configurations Parameters ProgrammingOpmod TCPIC0 Programming Shared-Processing SP ModeInter TCPIC0 Outf TCPIC0Input Configuration Parameters Transfer Priori Transfer Extrinsics Transfer Inter TCPIC0 Inter = Outf Output ParametersEvents Generation Errors and Status Debug Mode Pause After Each MapErrors Error Status ERRUnexpected Memory Access ACC Unexpected Signal to Noise Ratio SNRUnexpected Frame Length F Unexpected Prolog Length PStatus 13.2.13 TCP2 Active Iteration Status Activeiter 13.2.12 TCP2 Active State Status Activestate13.2.14 TCP2 SNR Status snrexceed 13.2.15 TCP2 CRC Status CrcpassRfid Products ApplicationsDSP