Go to page of
Similar user manuals
-
Home Security System
Texas Instruments CBR 2
46 pages 0.66 mb -
Stereo System
Texas Instruments TMS320F28016
144 pages 1.4 mb -
Stereo Amplifier
Texas Instruments TAS5121
24 pages 0.17 mb -
Stereo Amplifier
Texas Instruments TPA701
26 pages 0.17 mb -
Projector
Texas Instruments DU9000
61 pages 8.07 mb -
Calculator
Texas Instruments ti nspire
144 pages 2.31 mb -
Weather Radio
Texas Instruments Weather Radio
6 pages 0.06 mb -
Calculator
Texas Instruments TI-30XB Multiview
44 pages
A good user manual
The rules should oblige the seller to give the purchaser an operating instrucion of Texas Instruments TMS320C6457 DSP, along with an item. The lack of an instruction or false information given to customer shall constitute grounds to apply for a complaint because of nonconformity of goods with the contract. In accordance with the law, a customer can receive an instruction in non-paper form; lately graphic and electronic forms of the manuals, as well as instructional videos have been majorly used. A necessary precondition for this is the unmistakable, legible character of an instruction.
What is an instruction?
The term originates from the Latin word „instructio”, which means organizing. Therefore, in an instruction of Texas Instruments TMS320C6457 DSP one could find a process description. An instruction's purpose is to teach, to ease the start-up and an item's use or performance of certain activities. An instruction is a compilation of information about an item/a service, it is a clue.
Unfortunately, only a few customers devote their time to read an instruction of Texas Instruments TMS320C6457 DSP. A good user manual introduces us to a number of additional functionalities of the purchased item, and also helps us to avoid the formation of most of the defects.
What should a perfect user manual contain?
First and foremost, an user manual of Texas Instruments TMS320C6457 DSP should contain:
- informations concerning technical data of Texas Instruments TMS320C6457 DSP
- name of the manufacturer and a year of construction of the Texas Instruments TMS320C6457 DSP item
- rules of operation, control and maintenance of the Texas Instruments TMS320C6457 DSP item
- safety signs and mark certificates which confirm compatibility with appropriate standards
Why don't we read the manuals?
Usually it results from the lack of time and certainty about functionalities of purchased items. Unfortunately, networking and start-up of Texas Instruments TMS320C6457 DSP alone are not enough. An instruction contains a number of clues concerning respective functionalities, safety rules, maintenance methods (what means should be used), eventual defects of Texas Instruments TMS320C6457 DSP, and methods of problem resolution. Eventually, when one still can't find the answer to his problems, he will be directed to the Texas Instruments service. Lately animated manuals and instructional videos are quite popular among customers. These kinds of user manuals are effective; they assure that a customer will familiarize himself with the whole material, and won't skip complicated, technical information of Texas Instruments TMS320C6457 DSP.
Why one should read the manuals?
It is mostly in the manuals where we will find the details concerning construction and possibility of the Texas Instruments TMS320C6457 DSP item, and its use of respective accessory, as well as information concerning all the functions and facilities.
After a successful purchase of an item one should find a moment and get to know with every part of an instruction. Currently the manuals are carefully prearranged and translated, so they could be fully understood by its users. The manuals will serve as an informational aid.
Table of contents for the manual
-
Page 1
TMS320C6457 DSP Turbo-Decoder Coprocessor 2 (TCP2) User's Guide Literature Number: SPRUGK1 March 2009[...]
-
Page 2
2 SPRUGK1 – March 2009 Submit Documentation Feedback[...]
-
Page 3
Contents Preface ........................................................................................................................................ 8 1 Features .............................................................................................................................. 9 2 Introduction .......................................[...]
-
Page 4
www.ti.com 8 Architecture ....................................................................................................................... 59 8.1 Sub-block and Sliding Window Segmentation ....................................................................... 60 8.2 Subframe Segmentation (SP mode only) .......................................[...]
-
Page 5
www.ti.com List of Figures 1 3GPP and IS2000 Turbo-Encoder Block Diagram ..................................................................... 10 2 3GPP and IS2000 Turbo-Decoder Block Diagram ..................................................................... 11 3 TCP2 Block Diagram ................................................................[...]
-
Page 6
www.ti.com 53 TCP2 Endian Register (TCPEND) ....................................................................................... 44 54 TCP2 Error Register (TCPERR) .......................................................................................... 45 55 TCP2 Status Register (TCPSTAT) .......................................................[...]
-
Page 7
www.ti.com List of Tables 1 Frame Sizes for Standalone (SA) Mode and Shared-Processing (SP) Mode ...................................... 12 2 Interleaver Data ............................................................................................................. 16 3 TCP2 Registers ..............................................................[...]
-
Page 8
Preface SPRUGK1 – March 2009 Read This First About This Manual Channel decoding of high bit-rate data channels found in third-generation (3G) cellular standards requires decoding of turbo-encoded data. The turbo-decoder coprocessor (TCP2) in some of the digital signal processors (DSPs) of the TMS320C6000™ DSP family has been designed to perform[...]
-
Page 9
1 Features User's Guide SPRUGK1 – March 2009 TMS320C6457 Turbo-Decoder Coprocessor 2 Channel decoding of high bit-rate data channels found in third-generation (3G) cellular standards requires decoding of turbo-encoded data. The turbo-decoder coprocessor (TCP2) in some of the digital signal processor (DSPs) of the TMS320C6000E DSP family has [...]
-
Page 10
2 Introduction z −1 z −1 z −1 B A X z −1 z −1 z −1 B’ A ’ X’ Interleaver Puncture and repetition X P1 P2 P3 Information Switches in upper position for information bits and in lower position for tail bits Introduction www.ti.com Encoding is done as shown in Figure 1 . The 3GPP and IS2000 turbo encoders employ two recursive, systema[...]
-
Page 11
MAP1 MAP2 Received systematics Interleave Deinterleave A priori Interleave A priori Received systematics Received parities Received parities A ’ & B ’ symbols Hard decisions calculation Decoded bits X’ symbols information X symbols A & B symbols information 3 Overview www.ti.com Overview uses the corresponding estimates from the other[...]
-
Page 12
32-bit configuration bus 64-bit EDMA3 bus T urbo-decoder coprocessor (TCP2) REVT/XEVT generation CPU interrupt generation TCP2 control EDMA3 I/F unit Memory block Processing unit TCP2_INT TCPXEVT TCPREVT 4 Standalone (SA) Mode Standalone (SA) Mode www.ti.com Figure 3. TCP2 Block Diagram Table 1. Frame Sizes for Standalone (SA) Mode and Shared-Proce[...]
-
Page 13
Parity A Parity A ’ Parity B Parity B’ V oid input I I I −1 Apriori 1 Apriori 2 Systematic Stop? (stopping criterion algo) New apriori Previous apriori Y es Systematic No Slicer Create hard decisions End MAP decoder unit Extrinsic saved as new apriori Keep on iterations Enable next log−map by switching the switches 4.1 Input Data Format 4.1[...]
-
Page 14
Standalone (SA) Mode www.ti.com Figure 5. Systematic/Parity Data for Rates 1/2, 1/3, 1/4, 1/5, and 3/4 63:62 61:56 55:50 49:44 43:38 37:32 31:30 29:24 23:18 17:12 11:6 5:0 RSVD SP9 SP8 SP7 SP6 SP5 RSVD SP4 SP3 SP2 SP1 SP0 Figure 6. EN = 1 (Little-Endian Mode) Rate = 1/2 Word Word N + 1 N SP9 SP8 SP7 SP6 SP5 SP4 SP3 SP3 SP3 SP0 0 A1' 0 0 X1 0 0[...]
-
Page 15
www.ti.com Standalone (SA) Mode Figure 11. EN = 0 (Big-Endian Mode) Rate = 1/4 Word Word N N + 1 SP4 SP3 SP2 SP1 SP0 SP9 SP8 SP7 SP6 SP5 B0' 0 B0 A0 X0 B1' A1' 0 A1 X1 Word Word N + 2 N + 3 SP4 SP3 SP2 SP1 SP0 SP9 SP8 SP7 SP6 SP5 B2' 0 B2 A2 X2 B3' A3' 0 A3 X3 Figure 12. EN = 1 (Little-Endian Mode) Rate = 1/5 Word Word[...]
-
Page 16
4.1.2 Interleaver Indexes 4.2 Output Decision Data Format 4.3 Stopping Criteria Standalone (SA) Mode www.ti.com Figure 15. Rate 3/4 EN = 0 (Big-Endian Mode) Rate = 3/4 Word Word N N + 1 SP4 SP3 SP2 SP1 SP0 SP9 SP8 SP7 SP6 SP5 0 0 0 A0 X0 0 0 0 0 X1 Word Word N + 2 N + 3 SP4 SP3 SP2 SP1 SP0 SP9 SP8 SP7 SP6 SP5 0 0 0 0 X2 0 A3' 0 0 X3 Word Word [...]
-
Page 17
4.4 Stopping Test Unit 4.4.1 SNR Threshold Termination 4.4.2 CRC Termination www.ti.com Standalone (SA) Mode The CRC-based stopping criterion can be used by setting the CRC polynomial length (CRCLEN) and the number of CRC iterations required to pass CRCITERPASS. After each iteration, hard decisions are computed and a CRC is performed. The CRC polyn[...]
-
Page 18
4.4.3 Parameter Termination 4.4.3.1 Maximum Iterations 4.4.3.2 Minimum Iterations 5 Shared-Processing (SP) Mode Shared-Processing (SP) Mode www.ti.com The CRC will process one sub-block at time using the data stored from the previous sub-block. The decision bit will be used by a CRC block. After all sub-blocks have been processed, the CRC bits in t[...]
-
Page 19
MAP decoder unit A for MAP 1 and A ’ for MAP2 B for MAP1 and B’ for MAP2 (only rate 1/4) X for MAP1 or X’ for MAP2 EXT 1 : extrinsics after MAP1 EXT 2 : extrinsics after MAP2 EXT 1,2 www.ti.com Shared-Processing (SP) Mode Figure 16. Shared-Processing (SP) Mode Block Diagram The shared-processing mode allows the DSP/TCP2 system to support fram[...]
-
Page 20
Num Subframe + CEIL ǒ S i ze Bloc k Size M AX_Subframe Ǔ Size Subframe + CEIL ǒ Size Bl ock 256 Num Subframe Ǔ 256 while ǒ Size B lock u Size MAX_Subs ystem Ǔ { Size Bloc k + Size Bloc k * Size Subframe if ( Size Bloc k u 128 ) } Size Last_Su bfr ame + Size Block if ( Size Bloc k v 128 ) Num Subframe + Num Subframe * 1 Size Last_Su bfr ame + [...]
-
Page 21
www.ti.com Shared-Processing (SP) Mode Each sub-frame is independent of each other. There are three types of sub-frames. The first sub-frame starts the trellis from the zero state. The last sub-frame ends the trellis from a known state. The remaining middle subframes do not start or end from a known state. The EDMA3 transfers ACNT*BCNT number of by[...]
-
Page 22
MAP decoder unit MAP 1: Parity A or MAP 2: Parity A ’ MAP 2: Parity B’ MAP 1: Parity B or V oid input MAP 1: Systemic or MAP 2: Interleaved (systematic) MAP 1: De−interlaced (Apriori 2) or MAP 2: Interleaved (Apriori 1) MAP 1: Apriori 1 or MAP 2: Apriori 2 Extrinsic saved as apriori 5.1 Input Data Format 5.1.1 Systematic and Parity Data Share[...]
-
Page 23
www.ti.com Shared-Processing (SP) Mode Figure 23. EN = 1 (Little-Endian Mode) Rate = 1/3 Word Word N + 1 N SP9 SP8 SP7 SP6 SP5 SP4 SP3 SP2 SP1 SP0 0 A1' 0 A1 X1 0 A0' 0 A0 X0 Word Word N + 3 N + 2 SP9 SP8 SP7 SP6 SP5 SP4 SP3 SP2 SP1 SP0 0 A3' 0 A3 X3 0 A2' 0 A2 X2 Figure 24. EN = 0 (Big-Endian Mode) Rate = 1/3 Word Word N N + 1 [...]
-
Page 24
5.1.2 A Priori Data 5.2 Output Data Format Shared-Processing (SP) Mode www.ti.com Figure 28. EN = 0 (Big-Endian Mode) Rate = 1/5 Word Word N N + 1 SP4 SP3 SP2 SP1 SP0 SP9 SP8 SP7 SP6 SP5 B0' A0' B0 A0 X0 B1' A1' B1 A1 X1 Word Word N + 2 N + 3 SP4 SP3 SP2 SP1 SP0 SP9 SP8 SP7 SP6 SP5 B2' A2 B2 A2 X2 B3' A3' B3 A3 X3[...]
-
Page 25
6 Registers www.ti.com Registers The TCP2 contains several memory-mapped registers accessible via the CPU, QDMA, and EDMA3. A peripheral-bus access is faster than an EDMA3-bus access for isolated accesses (typically when accessing control registers). EDMA3-bus accesses are intended to be used for EDMA3 transfers and are meant to provide maximum thr[...]
-
Page 26
Registers www.ti.com Table 4. TCP2 RAMs (continued) TCP2 Data Offset Register/Memory Address Abbreviation Name Address Range Length 0xA0000 B0 Beta Prolog Memory 0xa0000-0xa0FFF 0x00000280 0xB0000 A0 Alpha Prolog Memory 0xb0000-0xb0FFF 0x00000280 TMS320C6457 Turbo-Decoder Coprocessor 2 26 SPRUGK1 – March 2009 Submit Documentation Feedback[...]
-
Page 27
6.1 Peripheral Identification Register (PID) www.ti.com Registers The peripheral identification register (PID) is a constant register that contains the ID and ID revision number for that peripheral. The PID stores version information used to identify the peripheral. All bits within this register are read-only (writes have no effect) meaning that th[...]
-
Page 28
6.2 TCP2 Input Configuration Register 0 (TCPIC0) Registers www.ti.com The TCP2 input configuration register 0 (TCPIC0) is shown in Figure 33 and described in Table 6 . TCPIC0 configures the TCP. Figure 33. TCP2 Input Configuration Register 0 (TCPIC0) 31 30 16 Rsvd FL R/W-0 R/W-0 15 14 13 12 11 10 8 Reserved NUMSW OUTF INTER Reserved RATE R/W-0 R/W-[...]
-
Page 29
6.3 TCP2 Input Configuration Register 1 (TCPIC1) 6.4 TCP2 Input Configuration Register 2 (TCPIC2) www.ti.com Registers The TCP2 input configuration register 1 (TCPIC1) is shown in Figure 34 and described in Table 7 . TCPIC1 configures the TCP. Figure 34. TCP2 Input Configuration Register 1 (TCPIC1) 31 23 22 16 15 0 Reserved R Reserved R/W-0 R/W-0 R[...]
-
Page 30
6.5 TCP2 Input Configuration Register 3 (TCPIC3) Registers www.ti.com The TCP2 input configuration register 3 (TCPIC3) is shown in Figure 36 and described in Table 9 . TCPIC3 informs the TCP2 on the EDMA3 data flow segmentation. Figure 36. TCP2 Input Configuration Register 3 (TCPIC3) 31 16 Reserved R/W-0 15 14 13 12 11 9 8 OUT INPUT Reserved Reserv[...]
-
Page 31
6.6 TCP2 Input Configuration Register 4 (TCPIC4) www.ti.com Registers The TCP2 input configuration register 4 (TCPIC4) is shown in Figure 37 and described in Table 10 . TCPIC4 informs the TCP2 on the EDMA3 data flow segmentation. Figure 37. TCP2 Input Configuration Register 4 (TCPIC4) 31 16 Reserved R/W-0 15 13 12 8 7 6 5 0 Reserved CRCITERPASS Res[...]
-
Page 32
6.7 TCP2 Input Configuration Register 5 (TCPIC5) 6.8 Tail Symbols Registers www.ti.com The TCP2 input configuration register 5 (TCPIC5) is shown in Figure 38 and described in Table 11 . TCPIC5 provides the 32-bit CRC Polynomial to TCP2. Figure 38. TCP2 Input Configuration Register 5 (TCPIC5) 31 0 CRCPOLY R/W-0 LEGEND: R/W = Read/Write; R = Read onl[...]
-
Page 33
6.9 TCP2 Input Configuration Register 6 (TCPIC6) www.ti.com Registers The TCP2 input configuration register 6 (TCPIC6) is shown in Figure 39 and described in Table 13 . TCPIC6 sets the tail bits used by the TCP. Figure 39. TCP2 Input Configuration Register 6 (TCPIC6) 31 18 17 0 Reserved TAIL1 R/W-0 R/W-0 LEGEND: R/W = Read/Write; R = Read only; - n[...]
-
Page 34
6.10 TCP2 Input Configuration Register 7 (TCPIC7) Registers www.ti.com The TCP2 input configuration register 7 (TCPIC7) is shown in Figure 40 and described in Table 14 . TCPIC7 sets set the tail bits used by the TCP. Figure 40. TCP2 Input Configuration Register 7 (TCPIC7) 31 18 17 0 Reserved TAIL2 R/W-0 R/W-0 LEGEND: R/W = Read/Write; R = Read only[...]
-
Page 35
6.11 TCP2 Input Configuration Register 8 (TCPIC8) www.ti.com Registers The TCP2 input configuration register 8 (TCPIC8) is shown in Figure 41 and described in Table 15 . TCPIC8 sets the tail bits used by the TCP. Figure 41. TCP2 Input Configuration Register 8 (TCPIC8) 31 18 17 0 Reserved TAIL3 R/W-0 R/W-0 LEGEND: R/W = Read/Write; R = Read only; - [...]
-
Page 36
6.12 TCP2 Input Configuration Register 9 (TCPIC9) Registers www.ti.com The TCP2 input configuration register 9 (TCPIC9) is shown in Figure 42 and described in Table 16 . TCPIC9 sets the tail bits used by the TCP. Figure 42. CP2 Input Configuration Register 9 (TCPIC9) 31 18 17 0 Reserved TAIL4 R/W-0 R/W-0 LEGEND: R/W = Read/Write; R = Read only; - n[...]
-
Page 37
6.13 TCP2 Input Configuration Register 10 (TCPIC10) 6.14 TCP2 Input Configuration Register 11 (TCPIC11) www.ti.com Registers The TCP2 input configuration register 10 (TCPIC10) is shown in Figure 43 and described in Table 17 . TCPIC10 sets the tail bits used by the TCP. Figure 43. TCP2 Input Configuration Register 10 (TCPIC10) 31 18 17 0 Reserved TA[...]
-
Page 38
Registers www.ti.com Figure 44. TCP2 Input Configuration Register 11 (TCPIC11) 31 18 17 0 Reserved TAIL6 R/W-0 R/W-0 LEGEND: R/W = Read/Write; R = Read only; - n = value after reset Table 18. TCP2 Input Configuration Register 11 (TCPIC11) Field Descriptions Bit Field Value Description 31-18 Reserved 0 Reserved. The reserved bit location is always r[...]
-
Page 39
6.15 TCP2 Input Configuration Register 12 (TCPIC12) 6.16 TCP2 Input Configuration Register 13 (TCPIC13) www.ti.com Registers The TCP2 input configuration register 12 (TCPIC12) is shown in Figure 45 and described in Table 19 . Figure 45. TCP2 Input Configuration Register 12 (TCPIC12) 31 24 23 0 Reserved EXT_SCALE_0_3 R/W-0 R/W-0 LEGEND: R/W = Read/W[...]
-
Page 40
6.17 TCP2 Input Configuration Register 14 (TCPIC14) Registers www.ti.com The TCP2 input configuration register 14 (TCPIC14) is shown in Figure 47 and described in Table 21 . Figure 47. TCP2 Input Configuration Register 14 (TCPIC14) 31 24 23 0 Reserved EXT_SCALE_8_11 R/W-0 R/W-0 LEGEND: R/W = Read/Write; R = Read only; - n = value after reset Table [...]
-
Page 41
6.18 TCP2 Input Configuration Register 15 (TCPIC15) www.ti.com Registers The TCP2 input configuration register 15 (TCPIC15) is shown in Figure 48 and described in Table 22 . Figure 48. TCP2 Input Configuration Register 15 (TCPIC15) 31 24 23 0 Reserved EXT_SCALE_12_15 R/W-0 R/W-0 LEGEND: R/W = Read/Write; R = Read only; - n = value after reset Table[...]
-
Page 42
6.19 TCP2 Output Parameter Register 0 (TCPOUT0) 6.20 TCP2 Output Parameter Register 1 (TCPOUT1) Registers www.ti.com The TCP2 output parameter register 0 (TCPOUT0) is shown in Figure 49 and described in Table 24 . Figure 49. TCP2 Output Parameter Register 0 (TCPOUT0) 31 29 28 24 23 20 19 0 Reserved FINAL_ITER Reserved SNR_M1 R/W-0 R/W-0 R/W-0 R/W-0[...]
-
Page 43
6.21 TCP2 Output Parameter Register 2 (TCPOUT2) 6.22 TCP2 Execution Register (TCPEXE) www.ti.com Registers The TCP2 output parameter register 2 (TCPOUT2) is shown in Figure 51 and described in Table 26 . Figure 51. TCP2 Output Parameter Register 2 (TCPOUT2) 31 16 15 0 CNT_RE_MAP1 CNT_RE_MAP0 R/W-0 R/W-0 LEGEND: R/W = Read/Write; R = Read only; - n [...]
-
Page 44
6.23 TCP2 Endian Register (TCPEND) Registers www.ti.com The TCP2 endian register (TCPEND) is shown in Figure 53 and described in Table 28 . TCPEND should only be used when the DSP is set to big-endian mode. Figure 53. TCP2 Endian Register (TCPEND) 31 8 Reserved R/W-0 7 2 1 0 ENDIAN_ ENDIAN_ Reserved EXTR INTR R/W-0 R/W-0 R/W-0 LEGEND: R/W = Read/Wr[...]
-
Page 45
6.24 TCP2 Error Register (TCPERR) www.ti.com Registers The TCP2 error register (TCPERR) is shown in Figure 54 and described in Table 29 . In case of an error, the coprocessor sends an interrupt to the C6457 CPU. The following errors are feedback in the error word. Figure 54. TCP2 Error Register (TCPERR) 31 16 Reserved R-0 15 14 13 12 11 10 9 8 MAX [...]
-
Page 46
Registers www.ti.com Table 29. TCP2 Error Register (TCPERR) Field Descriptions (continued) Bit Field Value Description 4 SF Subframe length. 0 No error 1 Subframe length > 5114 3 Reserved 0 Reserved. The reserved bit location is always read as 0. A value written to this field has no effect. 2 P Prolog length. 0 No error 1 Prolog length < 4 or[...]
-
Page 47
6.25 TCP2 Status Register (TCPSTAT) www.ti.com Registers The TCP2 status register (TCPSTAT) is shown in Figure 55 and described in Table 30 . Figure 55. TCP2 Status Register (TCPSTAT) 31 28 27 24 Reserved TCP_STATE R-0 R-0 23 22 21 20 16 CRC_PASS SNR_EXCEED ACTIVE_ITER R-0 R-0 R-0 15 12 11 10 9 8 ACTIVE_ ACTIVE_STATE EMUHALT ROP RHD MAP R-0 R-0 R-0[...]
-
Page 48
Registers www.ti.com Table 30. TCP2 Status Register (TCPSTAT) Field Descriptions (continued) Bit Field Value Description 7 REXT Defines if the TCP2 is waiting for extrinsic memory 0 data to be read. 0 Not waiting 1 Waiting for RAM extrinsic memory 0 to be read 6 WAP Defines if the TCP2 is waiting for a extrinsic memory 1 data to be written. 0 Not w[...]
-
Page 49
6.26 TCP2 Emulation Register (TCPEMU) www.ti.com Registers In emulation mode, the access to TCP2 memories can be done in read or write. TCP2 supports emulation mode. Emulation support helps in system debug. Emulation modes are achieved with the programmable SOFT and FREE bits in the TCP2 Emulation Register (TCPEMU) at the configuration bus address [...]
-
Page 50
7 Endianness 7.1 Data Memory for Systematic Endianness www.ti.com The TCP2 is halted (or paused) after processing the ongoing frame. Any current frame processing must complete. Sync vents for the new frame will be hold until TCP_EMUSUSP is released. The TCP2 is restarted from the paused state and begins the next frame operations. In TCP_STATE = 14,[...]
-
Page 51
www.ti.com Endianness Figure 61. Data Memory 63:62 61:56 55:50 49:44 43:38 37:32 31:30 29:24 23:18 17:12 11:6 5:0 RSVD SP9 SP8 SP7 SP6 SP5 RSVD SP4 SP3 SP2 SP1 SP0 Figure 62. EN = 1 (Little-Endian Mode) Rate = 1/2 Word Word N + 1 N SP9 SP8 SP7 SP6 SP5 SP4 SP3 SP3 SP3 SP0 0 A1' 0 0 X1 0 0 0 0 X0 Word Word N + 3 N + 2 SP9 SP8 SP7 SP6 SP5 SP4 SP3[...]
-
Page 52
Endianness www.ti.com Figure 67. EN = 0 (Big-Endian Mode) Rate = 1/4 Word Word N N + 1 SP4 SP3 SP2 SP1 SP0 SP9 SP8 SP7 SP6 SP5 B0' 0 B0 A0 X0 B1' A1' 0 A1 X1 Word Word N + 2 N + 3 SP4 SP3 SP2 SP1 SP0 SP9 SP8 SP7 SP6 SP5 B2' 0 B2 A2 X2 B3' A3' 0 A3 X3 Figure 68. EN = 1 (Little-Endian Mode) Rate = 1/5 Word Word N + 1 N S[...]
-
Page 53
7.1.1 Hard Decision Data www.ti.com Endianness Figure 71. EN = 0 (Big-Endian Mode) Rate = 3/4 Word Word N N + 1 SP4 SP3 SP2 SP1 SP0 SP9 SP8 SP7 SP6 SP5 0 0 0 A0 X0 0 0 0 0 X1 Word Word N + 2 N + 3 SP4 SP3 SP2 SP1 SP0 SP9 SP8 SP7 SP6 SP5 0 0 0 0 X2 0 A3' 0 0 X3 Word Word N + 4 N + 5 SP4 SP3 SP2 SP1 SP0 SP9 SP8 SP7 SP6 SP5 0 0 0 0 X4 0 0 0 0 X5 [...]
-
Page 54
7.1.2 TCP_ENDIAN Register for Endianness Manager Endianness www.ti.com Figure 77. Destination of Endianness Manager (OUT_ORDER = 0) 63 62 32 31 1 0 Stage Stage Stage Stage Stage Stage N - 32 N - 33 N - 63 N N - 30 N - 31 4. OUT_ORDER = 1 EN = 1 (Little-Endian Mode) Figure 78. Trellis Stage Ordering of Hard Decisions in 32-Bit Word (OUT_ORDER = 1) 6[...]
-
Page 55
7.1.3 Interleaver Data 7.1.3.1 ENDIAN_INTR = 1 www.ti.com Endianness Figure 82. TCP_ENDIAN Register 31 16 Reserved R/W 15 2 1 0 ENDIAN_ ENDIAN_ Reserved EXTR INTR R/W R/W R/W LEGEND: R/W = Read/Write; R = Read only; - n = value after reset Table 33. TCP_ENDIAN Programming Register Data Native Format DSP Memory Format TCP_ENDIAN Interleaver Indexes [...]
-
Page 56
INTER0 INTER1 INTER3 INTER2 Base 0 Base 2 Base 4 Base 6 INTER2 INTER3 INTER1 INTER0 EDMA3 63 0 INTER3 INTER2 INTER1 INTER0 Kernel 63 0 TCP Memory Endian_Intr=1 Endianness manager 7.1.3.2 ENDIAN_INTR = 0 INTER1 INTER0 INTER2 INTER3 Base 0 Base 2 Base 4 Base 6 INTER3 INTER2 INTER0 INTER1 EDMA3 63 0 INTER3 INTER2 INTER1 INTER0 Kernel 63 0 TCP Memory E[...]
-
Page 57
7.1.4 Extrinsic Data 7.1.4.1 ENDIAN_EXTR = 1 XT0 XT1 XT2 XT3 XT4 XT6 XT7 XT5 Base 0 Base 7 Endian_Extr=1 XT7 XT6 XT5 XT4 XT0 XT2 XT3 XT1 Endianness manager XT7 XT6 XT5 XT4 XT3 XT2 XT1 XT0 63 0 63 0 EDMA3 TCP Kernel Memory www.ti.com Endianness Figure 87. Data Source - EDMA3 (ENDIAN_INTR = 0) 63 48 47 32 31 16 15 1 INTER1 INTER0 INTER3 INTER2 Figure[...]
-
Page 58
Endianness www.ti.com Figure 90. Data Source - Kernel (ENDIAN_EXTR = 1) 63:56 55:48 47:40 39:32 31:24 23:16 15:8 7:0 EXT7 EXT6 EXT5 EXT4 EXT3 EXT2 EXT1 EXT0 Figure 91. Data Destination - EDMA3 (ENDIAN_EXTR = 1) 63:56 55:48 47:40 39:32 31:24 23:16 15:8 7:0 EXT0 EXT1 EXT2 EXT3 EXT4 EXT5 EXT6 EXT7 TMS320C6457 Turbo-Decoder Coprocessor 2 58 SPRUGK1 –[...]
-
Page 59
7.1.4.2 ENDIAN_EXTR = 0 XT3 XT2 XT1 XT0 XT7 XT5 XT4 XT6 Base 0 Base 7 Endian_Extr=0 XT7 XT6 XT5 XT4 XT0 XT2 XT3 XT1 Endianness manager XT7 XT6 XT5 XT4 XT3 XT2 XT1 XT0 63 0 63 0 EDMA3 TCP Kernel Memory 8 Architecture www.ti.com Architecture If ENDIAN_EXTR = 0, data are saved in word format (32 bits) in the DSP (see Table 39 ). Table 39. Extrinsic in[...]
-
Page 60
Beta memory Beta memory Scratch Alpha Extrinsic Extrinsic signals Data from memory 8.1 Sub-block and Sliding Window Segmentation Architecture www.ti.com Figure 95. MAP Unit Block Diagram The TCP2 can enable or disable the max star function by modifying the E_MAX_STAR bit in the TCPIC3 register. • E_MAX_STAR = 0 = Enable max star • E_MAX_STAR = [...]
-
Page 61
Subblock : 1, 2 or 4 sliding windows Frame or subframe (length < 51 14) First subblock Middle subblock Middle subblock Middle subblock Last subblock Beta Prolog portion Alpla Prolog portion Reliability portion Prolog Only used in SP mode. in SA mode, start from known state 0 Prolog Only used in SP mode Sliding Window Sliding Window Sliding Windo[...]
-
Page 62
Shared-processing frame (length > 20730) First subframe Middle subframe Middle subframe Middle subframe Last subframe Prolog Must point to valid address T ail Subframe (length ≤ 20480) 8.3 Reliability and Prolog Length Calculation Architecture www.ti.com Figure 97. Shared Processing Subframe Segmentation (Example with 5 Subframes) F: Frame len[...]
-
Page 63
R MAX + 128 while ǒ ǒ N SB R N SW * N Ǔ w ( R * 48 ) Ǔ R + WI N _SIZ E N SB IF ǒ R N S B t WIN_SIZ E Ǔ R ) ) if ( N v 12 8 ) NSW + 1, R + N ELSE NSW + 2 IF ǒ N S W + 2 Ǔ { { WI N _SIZ E + CEIL ƪ N ń N SW ƫ N SB + CEIL ƪ W IN_SIZE R MAX ƫ R MAX + R MAX * 1 } N SW + N SW * 1 8.4 Added Features 8.4.1 Code Rates www.ti.com Architecture Fig[...]
-
Page 64
8.4.2 Input Sign 8.4.3 Log Equation 8.4.4 Re-Encode 9 Programming Programming www.ti.com The TCP assumes that the encoded bits are converted into signed binary symbols using the following mapping: 0 → -1, 1 → +1 and scaled by -2*a/ Σ 2 where a is the fading factor and Σ is the noise variance. Many receivers may perform this scaling without ap[...]
-
Page 65
9.1 EDMA3 Resources 9.1.1 TCP2 Dedicated EDMA3 Resources 9.1.2 Special TCP2 EDMA3 Programming Considerations 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 Trans[...]
-
Page 66
9.2 Programming Standalone (SA) Mode 9.2.1 EDMA3 Programming 9.2.1.1 Input Configuration Parameters Transfer 9.2.1.2 Systematics and Parities Transfer Programming www.ti.com 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 det[...]
-
Page 67
9.2.1.3 Interleaver Indexes Transfer 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 el[...]
-
Page 68
9.2.1.4 Hard-Decisions Transfer 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 be[...]
-
Page 69
9.2.1.5 Output Parameters Transfer 9.2.2 Input Configurations Parameters Programming www.ti.com Programming 3. Null EDMA3 transfer parameters (with all zeros), if there are no more user channels ready to be decoded and the OUTF bit is cleared. This EDMA3 transfer is optional and depends on the OUTF bit in the TCP2 input configuration register 0 (TC[...]
-
Page 70
9.3 Programming Shared-Processing (SP) Mode Programming www.ti.com The minimum number of iterations (MINIT bits in TCPIC3) should be selected as a function of the overall system performance (minimum iterations 1 to 31) when SNR stopping criteria is used. The INPUTSIGN bit can be enabled or disabled in TCPIC3 (0 = Use channel input data as is, 1 = m[...]
-
Page 71
9.3.1 EDMA3 Programming 9.3.1.1 Input Configuration Parameters Transfer 9.3.1.2 Systematics and Parities Transfer www.ti.com Programming 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 [...]
-
Page 72
9.3.1.3 A Priori Transfer Programming www.ti.com • Word count = 2 * ceil (frame_length/2) • BCNT = (Word count /2) (No of arrays of length ACNT) • DESTINATION ADDRESS: TCPSP (5001 0000h) • SRCBIDX = 8 (Source 2nd Dimension Index) • DSTBIDX = 8 (Destination 2nd Dimension Index) • SRCCIDX = 8 (Source 3rd Dimension Index) • DSTCIDX = 8 ([...]
-
Page 73
9.3.1.4 Extrinsics Transfer 9.3.2 Input Configurations Parameters Programming www.ti.com Programming 1. The EDMA3 input configuration parameters transfer parameters of the next user-channel MAP, if there is one ready to be decoded. 2. Dummy EDMA3 transfer parameters, if there are no more user channels LOG-MAP ready to be decoded. This EDMA3 transfe[...]
-
Page 74
10 Output Parameters 11 Events Generation W rite to TCPEND W rite to TCPEXE Soft reset XEVT W rite input params XEVT XEVT W rite input data coefficients interleaver W rite MAP0 decode MAP decode REVT REVT XEVT decisions hard Read registers Read output T CPU/DMA operations TCP operations Output Parameters www.ti.com • The EMAXSTR bit can be enable[...]
-
Page 75
Input config params Syst&Par SF1 SF1 Extrinsics TCP processing TCPXEVT TCPXEVT TCPREVT TCPXEVT MAP1 TCP processing TCPXEVT Input config params TCPXEVT TCPREVT SF2 Syst&Par Extrinsics SF2 TCPXEVT 2 subframes TCPXEVT Input config params TCPXEVT SF1 Syst&Par Apriori SF1 TCPXEVT TCPREVT Extrinsics SF1 TCPXEVT TCPXEVT Input config params TCP[...]
-
Page 76
13.1.2 Unexpected Frame Length: F 13.1.3 Unexpected Prolog Length: P 13.1.4 Unexpected Subframe Length: SF 13.1.5 Unexpected Reliability Length: R 13.1.6 Unexpected Signal to Noise Ratio: SNR 13.1.7 Unexpected Interleaver Table Load: INT 13.1.8 Unexpected Output Parameters Load: OP 13.1.9 Unexpected Memory Access: ACC Errors and Status www.ti.com T[...]
-
Page 77
13.1.10 Unexpected Max and Min Iterations: MAXMINITER 13.2 Status 13.2.1 TCP2 Decoder Status: dec_busy 13.2.2 TCP2 Stopped Due to Error: ERR 13.2.3 TCP2 Waiting for Input Control Parameters Write: WIC 13.2.4 TCP2 Waiting for Interleaver Table Write: WINT 13.2.5 TCP2 Waiting for Systematics and Parities Write: WSP 13.2.6 TCP2 Waiting for A prioris W[...]
-
Page 78
13.2.12 TCP2 Active State Status: Active_state 13.2.13 TCP2 Active Iteration Status: Active_iter 13.2.14 TCP2 SNR Status: snr_exceed 13.2.15 TCP2 CRC Status: Crc_pass 13.2.16 TCP2 State: TCP_STATE Errors and Status www.ti.com The Active_state indicates active MAP decoder state. The Active_iter indicates active TCP2 iteration. The snr_exceed indicat[...]
-
Page 79
IMPORTANT NOTICE Texas Instruments Incorporated and its subsidiaries (TI) reserve the right to make corrections, modifications, enhancements, improvements, and other changes to its products and services at any time and to discontinue any product or service without notice. Customers should obtain the latest relevant information before placing orders[...]