Texas Instruments TMS320C6457 DSP manual Interleaver Indexes Transfer

Page 67

www.ti.com

Programming

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 (AB-Sync, Each event triggers the transfer of BCNT arrays 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: Systematics and parities start address (must be double-word aligned)

ACNT = 8*ceil(frame_length/2)

BCNT = 1 (No of arrays of length ACNT)

DESTINATION ADDRESS: TCPSP (5001 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.

1.The EDMA3 interleaver table transfer parameters, if there is a new one to be loaded in the TCP2 (INTER bit is set)

2.The EDMA3 input configuration parameters transfer parameters of the next user-channel, if there is one ready to be decoded and no interleaver table to be loaded in the TCP2 (INTER bit is cleared)

3.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.3Interleaver Indexes Transfer

This EDMA3 transfer to the interleaver 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)

TCINTEN = 1 (Transfer complete interrupt is enabled)

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: Interleaver table start address (must be double-word aligned)

ACNT = 8 * ceil ((frame_length+3)/4)) (No of bytes in an array)

BCNT = 1 (No of arrays of length ACNT)

DESTINATION ADDRESS: TCPINTER (5005 0000h)

SPRUGK1–March 2009

TMS320C6457 Turbo-Decoder Coprocessor 2

67

Image 67
Contents Users Guide Submit Documentation Feedback Contents Added Features Programming EDMA3 Resources List of Figures Destination of Endianness Manager Outorder = List of Tables Trademarks About This ManualNotational Conventions Related Documentation From Texas InstrumentsTMS320C6457 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 SP2 SP1 SP0 Rsvd SP9 SP8 SP7 SP6 SP5 SP4 SP3 SP2 SP1 SP0SP9 SP8 SP7 SP6 SP5 SP4 SP3 SP0 SP4 SP3 SP2 SP1 SP0 SP9 SP8 SP7 SP6 SP5EN = 0 Big-Endian Mode Rate = 1/4 Interleaver Data Output Decision Data FormatStopping Criteria Interleaver IndexesSNR Threshold Termination Stopping Test UnitCRC Termination Minimum Iterations Shared-Processing SP ModeParameter Termination Maximum IterationsShared-Processing SP Mode Block Diagram Subframe Equations Submit Documentation Feedback TCP2 Shared Processing Block Diagram EN = 1 Little-Endian Mode Rate = 1/3 Priori Data Output Data FormatRsvd AP4 AP3 AP2 AP1 AP0 AP9 AP8 AP7 AP6 AP5 Name RegistersTCP2 Registers TCP2 RAMsRegisters Description Peripheral Identification Register PIDPeripheral Identification Register PID Field Descriptions Bit FieldBit Field Value Description TCP2 Input Configuration Register 0 TCPIC0Maxit TCP2 Input Configuration Register 1 TCPIC1TCP2 Input Configuration Register 2 TCPIC2 SNRTCP2 Input Configuration Register 3 TCPIC3 Crciterpass TCP2 Input Configuration Register 4 TCPIC4Crclen Crcpoly TCP2 Input Configuration Register 5 TCPIC5Tail Symbols CRC ExamplesTAIL1 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 TCPIC914 TCP2 Input Configuration Register 11 TCPIC11 13 TCP2 Input Configuration Register 10 TCPIC10TAIL5 TCP2 Input Configuration Register 11 TCPIC11 EXTSCALE47 15 TCP2 Input Configuration Register 12 TCPIC1216 TCP2 Input Configuration Register 13 TCPIC13 EXTSCALE03EXTSCALE811 17 TCP2 Input Configuration Register 14 TCPIC14Iteration Number 18 TCP2 Input Configuration Register 15 TCPIC15Extrinsic Scale Registers EXTSCALE1215TCP2 Output Parameter Register 1 TCPOUT1 Field Descriptions 19 TCP2 Output Parameter Register 0 TCPOUT020 TCP2 Output Parameter Register 1 TCPOUT1 TCP2 Output Parameter Register 0 TCPOUT0 Field DescriptionsTCP2 Execution Register Tcpexe Field Descriptions 21 TCP2 Output Parameter Register 2 TCPOUT222 TCP2 Execution Register Tcpexe TCP2 Output Parameter Register 2 TCPOUT2 Field DescriptionsEndianextr 23 TCP2 Endian Register TcpendTCP2 Endian Register Tcpend Field Descriptions Endian Extr IntrTCP2 Error Register Tcperr Field Descriptions 24 TCP2 Error Register TcperrSubframe length TCP2 Status Register Tcpstat Field Descriptions 25 TCP2 Status Register TcpstatTcpstate Waiting for RAM extrinsic memory 0 to be read Soft Free 26 TCP2 Emulation Register TcpemuTCP2 Emulation Register Tcpemu Field Descriptions Soft =Data 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/4HD1 HD0 Hard Decisions in DSP MemoryTcpendian Register for Endianness Manager DataData Native Format DSP Memory Format Tcpendian Programming RegisterEndianintr = Interleaver Indexes in DSP MemoryINTER3 INTER2 INTER1 INTER0 INTER0 INTER1 INTER2 INTER3Endianextr = Extrinsic DataExtrinsic in DSP Memory Endianextr = Data Source Kernel Endianextr = EXT7 EXT6 EXT5 EXT4 EXT3 EXT2 EXT1 EXT0 ArchitectureEXT3 EXT2 EXT1 EXT0 EXT7 EXT6 EXT5 EXT4 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 FeaturesLog Equation Valid Re-Encode Symbols Used for ComparisonProgramming Input Sign1 TCP2 Dedicated EDMA3 Resources EDMA3 Parameters in Standalone SA ModeEDMA3 Parameters in Shared Processing SP Mode EDMA3 ResourcesSystematics and Parities Transfer Programming Standalone SA ModeInput Configuration Parameters Transfer EDMA3 ProgrammingInterleaver Indexes Transfer Hard-Decisions Transfer Output Parameters Transfer Input Configurations Parameters ProgrammingOutf TCPIC0 Programming Shared-Processing SP ModeOpmod TCPIC0 Inter TCPIC0Input Configuration Parameters Transfer Priori Transfer Extrinsics Transfer Events Generation Output ParametersInter TCPIC0 Inter = Outf Error Status ERR Debug Mode Pause After Each MapErrors and Status ErrorsUnexpected Prolog Length P Unexpected Signal to Noise Ratio SNRUnexpected Memory Access ACC Unexpected Frame Length FStatus 13.2.15 TCP2 CRC Status Crcpass 13.2.12 TCP2 Active State Status Activestate13.2.13 TCP2 Active Iteration Status Activeiter 13.2.14 TCP2 SNR Status snrexceedDSP Products ApplicationsRfid