Texas Instruments TMS320C6452/6451 Telecom Serial Interface Port (TSIP) (Rev. A) User's Guide

Add to my manuals
65 Pages

advertisement

Texas Instruments TMS320C6452/6451 Telecom Serial Interface Port (TSIP) (Rev. A) User's Guide | Manualzz

Preliminary

TMS320C6452 Telecom Serial Interface Port

(TSIP)

User's Guide

Literature Number: SPRUF96A

October 2007 – Revised September 2008

Preliminary

2 SPRUF96A – October 2007 – Revised September 2008

Submit Documentation Feedback

Contents

Preface ........................................................................................................................................

7

1 Introduction/Feature Overview

...............................................................................................

9

1.1

1.2

Overview/Purpose of the Peripheral

....................................................................................

9

Features

....................................................................................................................

9

1.3

1.4

1.5

Functional Block Diagram

Terminology Used

..............................................................................................

10

.......................................................................................................

11

Memory Map

............................................................................................................

11

2

Features/Common Architecture ............................................................................................

12

2.1

2.2

Interface

...................................................................................................................

12

Receive Operation

.......................................................................................................

12

2.3

2.4

2.5

Bitmap Context

...........................................................................................................

12

Serial Link Processing and Buffering

.................................................................................

14

Multi-Channel Operation

................................................................................................

16

2.6

2.7

2.8

2.9

Transmit Operation

......................................................................................................

19

Interrupts

..................................................................................................................

20

Endianness

...............................................................................................................

23

Priority Control

...........................................................................................................

24

3

4

Clocks, Frames and Data .....................................................................................................

25

3.1

Frame and Clock Operation

............................................................................................

25

3.2

3.3

3.4

Data Rate Options

.......................................................................................................

25

Clock and Frame Sync Redundancy

..................................................................................

25

Single and Double Data Rate

..........................................................................................

26

3.5

3.6

3.7

3.8

Clock and Frame Sync Selection and Polarity

.......................................................................

26

Data Delay

................................................................................................................

27

Data and Frames

........................................................................................................

28

Data Synchronization

...................................................................................................

29

Reset and Powerdown Modes

..............................................................................................

30

4.1

SIU Reset and Shutdown Operation

..................................................................................

30

4.2

4.3

TDMU and DMATCU Software Reset and Shutdown Operation

..................................................

31

Powerdown

...............................................................................................................

31

5

6

7

Emulation and Loopback Modes

5.1

Emulation - Free Run

..........................................................................................

32

...................................................................................................

32

5.2

5.3

Emulation - Halt

..........................................................................................................

32

Loopback Modes

........................................................................................................

33

TSIP Initialization Procedure ................................................................................................

35

Registers ...........................................................................................................................

37

7.1

TSIP Memory Map

......................................................................................................

37

7.2

Register Description

....................................................................................................

39

SPRUF96A – October 2007 – Revised September 2008

Submit Documentation Feedback

Table of Contents 3

Preliminary

33

34

35

36

37

28

29

30

31

32

23

24

25

26

27

18

19

20

21

22

38

39

40

41

42

43

44

13

14

15

16

17

8

9

10

11

12

5

6

3

4

7

1

2 www.ti.com

List of Figures

TSIP Block Diagram

.......................................................................................................

10

First Active Frame Sync

...................................................................................................

12

Channel Bitmap

.............................................................................................................

13

8 Mbps Channel Definition (2 Links with 2 Active Links)

..............................................................

14

16-Mbps Channel Bitmap Definition (Two Links With One Active Link)

............................................

15

Channel Configuration

.....................................................................................................

16

Example Timeslot List by the TSIP Serial Link for 1 Channel

........................................................

18

Channel Buffer (BEND=1)

.................................................................................................

18

Channel Buffer (BEND=0)

.................................................................................................

19

Loopback Test Modes

.....................................................................................................

33

TSIP Connected to TEMUX

...............................................................................................

35

PID Register (0x00000000)

...............................................................................................

40

Emulation and Test Register (0x00000004)

............................................................................

40

Reset Register (0x00000008)

............................................................................................

42

SIU Global Control Register (0x00000080)

.............................................................................

43

Transmit Clock Source Register (0x000000A0)

........................................................................

43

Transmit Control Register (0x000000A4)

...............................................................................

45

Transmit Size Register (0x000000A8)

...................................................................................

47

Receive Clock Source Register (0x000000C0)

Receive Control Register (0x000000C4)

........................................................................

47

................................................................................

48

Receive Size Register (0x000000C8)

...................................................................................

49

TDMU Global Control Register (0x000000C0)

.........................................................................

49

Transmit Free Running Frame Counter (0x00000104)

................................................................

50

Receive Free Running Frame Counter (0x00000108)

TDMU Global Configuration Register (0x0000010C)

................................................................

50

..................................................................

50

Transmit Channel Bitmap Active Status Register (0x00000110)

....................................................

51

Receive Channel Bitmap Active Status Register (0x00000114)

DMATCU Global Control Register (0x00000180)

.....................................................

51

......................................................................

53

Transmit Timeslot Delay Register (0x00000184)

Receive Timeslot Delay Register (0x00000188)

......................................................................

54

.......................................................................

55

Transmit Channel Configuration Active Status Register (0x00000190)

.............................................

56

Receive Channel Configuration Active Status Register (0x00000194)

Channel n Error Control Register

.............................................

56

........................................................................................

58

Channel n Error Count Register

..........................................................................................

59

Channel n Error Queue Register

.........................................................................................

59

CAT-0 Error Code Format Register

......................................................................................

60

CAT-1 Error Code Format Register

......................................................................................

60

CAT-2 Error Code Format Register

......................................................................................

60

CAT-3 Error Code Format Register

......................................................................................

61

Channel n Enable Register

...............................................................................................

61

Channel n Memory Address Register

...................................................................................

62

Channel n Frame Allocation Register

Channel n Frame Size Register

...................................................................................

62

.........................................................................................

62

Channel n Frame Count Register

........................................................................................

64

4 List of Figures SPRUF96A – October 2007 – Revised September 2008

Submit Documentation Feedback

Preliminary www.ti.com

28

29

30

31

24

25

26

27

20

21

22

23

16

17

18

19

12

13

14

15

8

9

10

11

6

7

4

5

1

2

3

44

45

46

47

40

41

42

43

48

49

36

37

38

39

32

33

34

35

List of Tables

TSIP Memory Map

.........................................................................................................

11

Interface Pins

...............................................................................................................

12

Channel Configuration Active Status

....................................................................................

17

Channel Enable Register

..................................................................................................

17

Transmit Disabled State

...................................................................................................

19

Enable Output Delay Selection (XCR)

...................................................................................

20

Frame Interrupt Control (RTDR and XTDR)

............................................................................

20

Timeslot Delay Counter (RTDR and XTDR)

............................................................................

20

Superframe Interrupt Control (RTDR and XTDR)

......................................................................

21

Error Codes

.................................................................................................................

21

Endian Mode Selection

....................................................................................................

23

DMATCU Transfer Priority (DMATCU_CGR)

...........................................................................

24

Data Rate Options

.........................................................................................................

25

Clock Redundancy Selection (SIU_GCR)

...............................................................................

25

Single Rate and Double Rate Clock Options

...........................................................................

26

Clock and Frame Sync Source Selection (RCLKR and XCLKR)

Frame Sync Polarity (RCR and XCR)

....................................................

26

...................................................................................

27

Data Delay (RCR and XCR)

..............................................................................................

27

Timeslot Counter (RSR and XSR)

.......................................................................................

28

Frame Sync Counter (RSR and XSR)

...................................................................................

28

SIU Reset

...................................................................................................................

30

Emulation Control (ETR)

..................................................................................................

32

SIU Loopback Test Control (ETR)

.......................................................................................

33

TSIP Module Registers

....................................................................................................

37

Serial Interface Registers

.................................................................................................

37

TDMU Global Registers

...................................................................................................

37

DMATCU Global Registers

...............................................................................................

38

TDMU Channel Error Registers

..........................................................................................

38

TX/RX Channel 0 Error Registers

........................................................................................

38

TDMU Channel Registers

.................................................................................................

38

TDMU Transmit Channel 0 Registers

...................................................................................

38

TDMU Receive Channel 0 Registers

....................................................................................

38

DMATCU Channel Registers

.............................................................................................

38

DMATCU Transmit Channel 0 Registers

................................................................................

39

DMATCU Receive Channel 0 Registers

................................................................................

39

TDMU Channel Bitmap Registers

........................................................................................

39

PID Register Field Descriptions

..........................................................................................

40

Emulation and Test Register Field Descriptions

.......................................................................

40

Reset Register Field Descriptions

........................................................................................

42

SIU Global Control Register Field Descriptions

........................................................................

43

Transmit Clock Source Register Field Descriptions

...................................................................

43

Transmit Control Register Field Descriptions

...........................................................................

45

Transmit Size Register Field Descriptions

..............................................................................

47

Transmit Clock Source Register Field Descriptions

Receive Control Register Field Descriptions

...................................................................

47

...........................................................................

48

Receive Size Register Field Descriptions

...............................................................................

49

TDMU Global Control Register Field Descriptions

.....................................................................

49

Transmit Free Running Frame Counter Field Descriptions

...........................................................

50

Receive Free Running Frame Counter Field Descriptions

...........................................................

50

SPRUF96A – October 2007 – Revised September 2008

Submit Documentation Feedback

List of Tables 5

Preliminary

61

62

63

64

57

58

59

60

65

66

67

68

69

53

54

55

56

50

51

52 www.ti.com

TDMU Global Configuration Register Field Descriptions

.............................................................

50

Transmit Channel Bitmap Active Status Register Field Descriptions

Receive Channel Bitmap Active Status Register Field Descriptions

...............................................

51

................................................

51

DMATCU Global Control Register Field Descriptions

.................................................................

53

Transmit Timeslot Register Field Descriptions

.........................................................................

54

Receive Timeslot Delay Register Field Descriptions

..................................................................

55

Transmit Channel Configuration Active Status Register Field Descriptions

........................................

56

Receive Channel Configuration Active Status Register Field Descriptions

.........................................

56

Channel n Error Control Register Field Descriptions

..................................................................

58

Channel n Error Count Register Field Descriptions

...................................................................

59

Channel n Error Queue Register Field Descriptions

...................................................................

59

CAT-0 Error Code Format Register Field Descriptions

CAT-1 Error Code Format Register Field Descriptions

CAT-2 Error Code Format Register Field Descriptions

CAT-3 Error Code Format Register Field Descriptions

...............................................................

60

...............................................................

60

...............................................................

60

...............................................................

61

Channel n Enable Register Field Descriptions

.........................................................................

61

Channel n Memory Address Register Field Descriptions

.............................................................

62

Channel n Frame Allocation Register Field Descriptions

.............................................................

62

Channel n Frame Size Register Field Descriptions

....................................................................

62

Channel n Frame Count Register Field Descriptions

..................................................................

64

6 List of Tables SPRUF96A – October 2007 – Revised September 2008

Submit Documentation Feedback

Preliminary

Preface

SPRUF96A – October 2007 – Revised September 2008

Read This First

About This Manual

This document describes the operation of the Telecom Serial Interface Port (TSIP) in the TMS320C6452.

Notational Conventions

This document uses the following conventions.

Hexadecimal numbers are shown with the suffix h. For example, the following number is 40 hexadecimal (decimal 64): 40h.

Registers in this document are shown in figures and described in tables.

– Each register figure shows a rectangle divided into fields that represent the fields of the register.

Each field is labeled with its bit name, its beginning and ending bit numbers above, and its read/write properties below. A legend explains the notation used for the properties.

– Reserved bits in a register figure designate a bit that is used for future device expansion.

Note: Acronyms 3PSW, CPSW, CPSW_3G, and 3pGSw are interchangeable and all refer to the 3 port gigabit switch.

Related Documents From Texas Instruments

The following documents describe the TMS320C6452 Digital Signal Processor (DSP). Copies of these documents are available on the Internet at www.ti.com

. Tip: Enter the literature number in the search box provided at www.ti.com

.

Data Manual—

SPRS371 TMS320C6452 Digital Signal Processor Data Manual describes the signals, specifications and electrical characteristics of the device.

CPU—

SPRU732 TMS320C64x/C64x+ DSP CPU and Instruction Set Reference Guide describes the CPU architecture, pipeline, instruction set, and interrupts for the TMS320C64x and TMS320C64x+ digital signal processors (DSPs) of the TMS320C6000 DSP family. The C64x/C64x+ DSP generation comprises fixed-point devices in the C6000 DSP platform. The C64x+ DSP is an enhancement of the C64x DSP with added functionality and an expanded instruction set.

Reference Guides—

SPRUF85 C6452 DSP DDR2 Memory Controller User's Guide describes the DDR2 memory controller in the TMS320C6452 Digital Signal Processor (DSP). The DDR2/mDDR memory controller is used to interface with JESD79D-2A standard compliant DDR2 SDRAM devices and standard Mobile DDR SDRAM devices.

SPRUF86 C6452 Peripheral Component Interconnect (PCI) User's Guide describes the peripheral component interconnect (PCI) port in the TMS320C6452 Digital Signal Processor (DSP). The PCI port supports connection of the C642x DSP to a PCI host via the integrated PCI master/slave bus interface. The PCI port interfaces to the DSP via the enhanced DMA (EDMA) controller. This architecture allows for both PCI master and slave transactions, while keeping the EDMA channel resources available for other applications.

SPRUF96A – October 2007 – Revised September 2008

Submit Documentation Feedback

Preface 7

Preliminary

Related Documents From Texas Instruments www.ti.com

SPRUF87 C6452 DSP Host Port Interface (UHPI) User's Guide describes the host port interface

(HPI) in the TMS320C6452 Digital Signal Processor (DSP). The HPI is a parallel port through which a host processor can directly access the CPU memory space. The host device functions as a master to the interface, which increases ease of access. The host and CPU can exchange information via internal or external memory. The host also has direct access to memory-mapped peripherals. Connectivity to the CPU memory space is provided through the enhanced direct memory access (EDMA) controller.

SPRUF89 C6452 DSP VLYNQ Port User's Guide describes the VLYNQ port in the TMS320C6452

Digital Signal Processor (DSP). The VLYNQ port is a high-speed point-to-point serial interface for connecting to host processors and other VLYNQ compatible devices. It is a full-duplex serial bus where transmit and receive operations occur separately and simultaneously without interference.

SPRUF90 C6452 DSP 64-Bit Timer User's Guide describes the operation of the 64-bit timer in the

C6452 Digital Signal Processor (DSP). The timer can be configured as a general-purpose 64-bit timer, dual general-purpose 32-bit timers, or a watchdog timer.

SPRUF91 C6452 DSP Multichannel Audio Serial Port (McASP) User's Guide describes the multichannel audio serial port (McASP) in the C6452 Digital Signal Processor (DSP). The McASP functions as a general-purpose audio serial port optimized for the needs of multichannel audio applications. The McASP is useful for time-division multiplexed (TDM) stream, Inter-Integrated

Sound (I2S) protocols, and intercomponent digital audio interface transmission (DIT).

SPRUF92 C6452 DSP Serial Port Interface (SPI) User's Guide discusses the Serial Port Interface

(SPI) in the C6452 Digital Signal Processor (DSP). This reference guide provides the specifications for a 16-bit configurable, synchronous serial peripheral interface. The SPI is a programmable-length shift register, used for high speed communication between external peripherals or other DSPs.

SPRUF93 — C6452 DSP Universal Asynchronous Receiver/Transmitter (UART) User's Guide describes the universal asynchronous receiver/transmitter (UART) peripheral in the C6452 Digital

Signal Processor (DSP). The UART peripheral performs serial-to-parallel conversion on data received from a peripheral device, and parallel-to-serial conversion on data received from the CPU.

SPRUF94 C6452 DSP Inter-Integrated Circuit (I2C) Module User's Guide describes the inter-integrated circuit (I2C) peripheral in the C6452 Digital Signal Processor (DSP). The I2C peripheral provides an interface between the DSP and other devices compliant with the I2C-bus specification and connected by way of an I2C-bus. External components attached to this 2-wire serial bus can transmit and receive up to 8-bit wide data to and from the DSP through the I2C peripheral. This document assumes the reader is familiar with the I2C-bus specification.

SPRUF95 C6452 DSP General-Purpose Input/Output (GPIO) User's Guide describes the general-purpose input/output (GPIO) peripheral in the C6452 Digital Signal Processor (DSP). The

GPIO peripheral provides dedicated general-purpose pins that can be configured as either inputs or outputs. When configured as an input, you can detect the state of the input by reading the state of an internal register. When configured as an output, you can write to an internal register to control the state driven on the output pin.

SPRUF96 C6452 DSP Telecom Serial Interface Port (TSIP) User's Guide is a multi-link serial interface consisting of a maximum of two transmit data signals (or links), two receive data signals

(or links), two frame sync input signals, and two serial clock inputs. Internally the TSIP offers single channel of timeslot data management and single DMA capability that allow individual timeslots to be selectively processed.

SPRUF97 TMS320C6452 DSP 3 Port Switch (3PSW) Ethernet Subsystem User's Guide describes the operation of the 3 port switch (3PSW) ethernet subsystem in the TMS320C6452 Digital Signal

Processor (DSP). The 3 port switch gigabit ethernet subsystem provides ethernet packet communication and can be configured as an ethernet switch. It provides the serial gigabit media independent interface (SGMII), the management data input output (MDIO) for physical layer device

(PHY) management.

8 Read This First SPRUF96A – October 2007 – Revised September 2008

Submit Documentation Feedback

Preliminary

User's Guide

SPRUF96A – October 2007 – Revised September 2008

TMS320C6452 TSIP

1 Introduction/Feature Overview

This document describes the operation of the Telecom Serial Interface Port (TSIP).

1.1

Overview/Purpose of the Peripheral

The TSIP is a multi-link serial interface consisting of a maximum of two transmit data signals (or links), two receive data signals (or links), two frame sync input signals, and two serial clock inputs. Internally, the

TSIP offers single channel of timeslot data management and single direct memory access (DMA) capability that allow individual timeslots to be processed selectively.

The module can be configured to use the frame sync signals and the serial clocks as redundant sources for all transmit and receive data signals, or one frame sync and serial clock for transmit and the second frame sync and clock for receive. The standard serial data rate for each TSIP transmit and receive data signal is 8.192 Mbps. The standard frame sync is a one or more bit-wide pulse that occurs once every 125

µ s or a minimum of one serial clock period every 1024 serial clocks.

At the standard rate and default configuration there are two transmit and two receive links that are active.

Each serial interface link supports up to 128 8-bit timeslots. This corresponds to an H-MVIP or H.110

serial data rate interface. The serial interface clock frequency can be either 16.384 MHz (default) or 8.192

MHz. The data rate for the serial interface links can also be set to 16.384 Mbps. The maximum number of active serial links is reduced to two in this configuration. The serial interface clock frequency can be either

32.768 MHz or 16.384 MHz for 16.384 Mbps serial links. Maximum occupation of the serial interface links for the entire TSIP is 1024 transmit and receive timeslots in all configurations.

1.2

Features

The TSIP is a serial interface peripheral that connects directly to TEMUX devices with timeslot data management and an integrated DMA capability. The peripheral provides a glueless interface to common telecom serial data streams and efficient internal routing of the data to designated memories in a multi-CPU device. The TSIP provides these functions:

Direct interface to H-MVIP devices such as TEMUX, ST BUS devices, TSI devices and H.110

compatible devices

Dual Transmit and Receive Telecom Serial Interface Ports (TSIP)

– Each TSIP module supports a transmit/receive data rate of 16.384Mbps

One transmit/receive data lane per module at 16.384Mbps each

Two transmit/receive data lane per module at 8.192Mbps each

– Each TSIP supports 256 TDM timeslots for voice data or signaling data

Flexible Clock and Frame Sync Inputs

– Configurable for independent TX and RX clock and frame Sync

– Configurable for common TX and RX clock and Frame Sync

Second clock and Frame Sync can be used as a redundant source

– Independent clock polarity selection for data and frame Sync

– Selection of 2X or 1X data clock frequency

Timeslot Data Management and Multi-Channel DMA Capability

SPRUF96A – October 2007 – Revised September 2008

Submit Documentation Feedback

TMS320C6452 TSIP 9

Preliminary

Introduction/Feature Overview www.ti.com

– Independent timeslot enable/disable per DMA channel

– Selectively unpacks and packs timelot data for transmit and receive based on a channel timeslot definition

– A-law and

µ

-law support on a per timeslot basis

Frame and SuperFrame Interrupts

12 pin External Interface(6 pins/TSIP x 2 ports)

1.3

Functional Block Diagram

The TSIP consists of three functional sub-modules as shown in

Figure 1

:

Serial Interface Unit (SIU) - The SIU provides parallel to serial and serial to parallel conversion for transmit and receive, respectively.

Timeslot Data Management Unit (TDMU) - The TDMU selectively packs and unpacks timeslot data for receive and transmit based on a channel timeslot definition. There is one transmit and one receive

TDMU channel. Each channel is capable of selecting and transferring all of the possible 1024 timeslots in the respective direction.

DMA Transfer Control Unit (DMATCU) - The DMATCU initiates the data transfers between the channel buffers used by the TDMU and the memory buffers used by the CPU.

Data out

Figure 1. TSIP Block Diagram

Clock & frame syncs

Data in

SX0 Clock & frame sync SR0

DX0

XMT

Context

RAM

SIU

TDMU

XMT buffer

RAM

RCV buffer

RAM

DR0

RCV

Context

RAM

10

Config bus

TMS320C6452 TSIP

DMATCU

DMA bus

SPRUF96A – October 2007 – Revised September 2008

Submit Documentation Feedback

Preliminary www.ti.com

1.4

Terminology Used

The following are brief explanations of some terms used in this document:

Term

DMA

DMATCU

SIU

TDM

TDMU

TEMUX

TSIP

Meaning

Direct Memory Access

DMA Transfer Control Unit

Serial Interface Unit

Timeslot Data Management

Timeslot Data Management Unit

T1-E1 Mux Device

Telecom Serial Interface Port

1.5

Memory Map

Table 1

lists the summary memory map for the registers for the TSIP.

Offset Address

0x00000000 -- 0x0000007C

0x00000080 -- 0x000000FC

0x00000100 -- 0x0000017C

0x00000180 -- 0x000001FC

0x00000200 -- 0x000003FC

0x00000400 -- 0x000007FC

0x00000800 -- 0x00000FFC

0x00001000 -- 0x00001FFC

0x00002000 -- 0x00007FFC

0x00008000 -- 0x0000FFFC

0x00010000 -- 0x0001FFFC

0x00020000 -- 0x0003FFFC

Table 1. TSIP Memory Map

Register Description

TSIP Module Registers

Serial Interface Registers

TDMU Registers

DMATCU Registers

TDMU channel Error Log Registers

Reserved

TDMU channel Registers

DMATCU channel Registers

Reserved

TDMU channel Bitmaps

TDMU channel Buffers

Reserved

Introduction/Feature Overview

SPRUF96A – October 2007 – Revised September 2008

Submit Documentation Feedback

TMS320C6452 TSIP 11

Preliminary

Features/Common Architecture

2 Features/Common Architecture

This section describes the major features of the TSIP and how it works.

www.ti.com

2.1

Interface

The external pin interface of TSIP consists of eight pins: two clock input pins, two frame sync input pins, two data input pins, and two data output pins. The pins are listed in

Table 2 . The module has eight

additional control signals to control the output state of the eight data output pins.

Pin

CLK_A

CLK_B

FS_A

FS_B

TR[1:0]

TX[1:0]

Direction

Input

Input

Input

Input

Input

Output

Table 2. Interface Pins

Description

TSIP serial data clock A

TSIP serial data clock B

TSIP frame sync A

TSIP frame sync B

TSIP serial data receive. Up to two serial data streams may be received simultaneously. The serial data clock and frame sync is common for all two.

TSIP serial data transmit. Up to two serial data streams may be transmitted simultaneously. The serial data clock and frame sync is common for all two.

On the first frame sync, after the TSIP is enabled, the TSIP starts receiving/transmitting on the TR/TX data lane as denoted by the SIU data lanes in

Figure 2 .

Figure 2. First Active Frame Sync clk fs

First active frame sync enb siu

00[0:0] 01[0:1] 02[0:2] 03[0:3] 04[1:0] 05[1:1]

2.2

Receive Operation

Data that is received by the TSIP is assembled in a serial-to-parallel register (DRn) with the most significant bit first, one 8-bit register per serial interface input. The data for timeslot 0 is recognized on the first eight serial data clocks following the recognition of the frame sync signal that signals the start of the frame and the programmed delay. The data for timeslot 1 is recognized on the next eight serial data clocks immediately following timeslot 0. Data for successive timeslots is continuously received and recognized on subsequent serial data clocks. The number of data samples processed and buffered depends on the timeslot enable/disable definition in the channel bitmap for each of the receive channels.

2.3

Bitmap Context

The receive operation of the TSIP reads and processes the data in the DRn registers and stores the results in the channel buffer based on the channel bitmap context. The registers are read sequentially with the sequence order defined in the SIU by the selected data rate option. Data received on each of the receive serial links can be stored in none, some, or all of the channel buffers. On reaching a watermark in the channel buffer, its DMA engine transfers the data from the channel buffers to the memory buffers outside the system. Each transmit/receive channel has dual buffers, PING and PONG, that are shared with the DMATCU. Each of the buffers is managed as a FIFO memory and consists of 64 32-bit words of memory. During the processing of a given frame the TSIP processes the data from one of the FIFO memories based on whether the PING or PONG buffer is active. The channel buffers are not software accessible once the TDMU has been enabled.

12 TMS320C6452 TSIP SPRUF96A – October 2007 – Revised September 2008

Submit Documentation Feedback

Preliminary www.ti.com

Features/Common Architecture

The channel bitmap consists of 64 32-bit words of memory for a total of 2048 bits. Each pair of bits controls the enable/disable state of a physical timeslot. When a given di-bit value is 00b the corresponding physical timeslot is disabled for that channel. Any other di-bit value represents an enabled channel: 01b indicates that the data is 8-bit linear, 10b indicates that the data should be

µ

-law expanded, and 11b indicates that the data should be A-law expanded.

Figure 3. Channel Bitmap

A

Channel Map

1024 Channels @2b/ch

2048b = 64 X 32b

2b per channel

00 = Disabled

01 = Linear

11 = A-law

B

For a given physical timeslot the corresponding di-bits are read from the channel bitmap for each of the channels. If the physical timeslot is enabled for the channel the data, either 8 or 16 bits, is read from the

FIFO memory. If 16-bit data is read from the FIFO memory, the data is compressed to 8 bits using either

µ

-law or A-law compression. depending on the enable selection. At the transmit side, data samples from multiple timeslots can be loaded from the channel buffer (FIFO memory) into a channel register and unpacked for enabled timeslots. The resulting 8-bit sample data for each of the enabled channels is then

OR'd together to create a single 8-bit sample value that is written to the appropriate transmit data register

(DXn). Any 8-bit data is read/written from/to the next byte location in the FIFO memory. Any 16-bit data is read/written from/to the next 16-bit word location in the FIFO memory.

2.3.1

A-law and

µ

-law Companding

When receive data is

µ

-law or A-law expanded it is stored left-justified in a 16-bit word. The two or three least significant bits are always zero for

µ

-law and A-law, respectively. Likewise, transmit data that is to be

µ

-law or A-law compressed should be left justified. The two or three least significant bits are truncated for the compression. Expansion and compression is completed based on the G.711 standard including the channel coding (bit inversions for ones density).

Since the G.711 standard does not distinguish the

µ

-law expansion of 0xFF and 0x7F, a special case is created in the TSIP. Both normally result in a 16-bit linear value of 0x0000. For data that undergoes signal processing, this is not a problem. However, for data that is compressed and looped back, the compression results in 0xFF and the original 0x7F code is lost wherever it existed. To prevent this from occurring, the expansion of 0x7F is redefined to be 0xFFFF and the algorithmic compression of the 16-bit value 0xFFFF, which normally results in 0x7E, is treated as a special case to allow 0x7F to be produced. This does not result in any loss in the coding based on the G.711 standard since the G.711 standard only defines the data conversion for 14-bit linear data values and the two least significant bits of the left-justified value in a

16-bit linear format otherwise would be truncated.

SPRUF96A – October 2007 – Revised September 2008

Submit Documentation Feedback

TMS320C6452 TSIP 13

Preliminary

Features/Common Architecture www.ti.com

2.4

Serial Link Processing and Buffering

When the selected data rate option is one of the 8 Mbps options, both the two serial interface inputs are active. Links refer to the number of transmit and receive I/Os supported by the TSIP module. Active links refer to the number of transmit and receive I/Os that are usable at a given data rate.

Figure 4

illustrates the channel bitmap definition for both 8 Mbps data rate options. The nomenclature defines the logical timeslot, LTSxxx, and physical timeslot, Ln-xxx, where n represents the link number and xxx represents the physical timeslot. When the selected data rate option is the 16 Mbps option one serial interface inputs is active, but data is read from all of the DRn/Dxn registers.

Figure 4. 8 Mbps Channel Definition (2 Links with 2 Active Links)

L0-000 Reserved

LTS000 LTS001 LTS002 LTS003 LTS004 LTS005 LTS006 LTS007

LTS008 LTS009 LTS010 LTS011 LTS012 LTS013 LTS014 LTS015

LTS016 LTS017 LTS018 LTS019 LTS020 LTS021 LTS022 LTS023

LTS024 LTS025 LTS026 LTS027 LTS028 LTS029 LTS030 LTS031

L0-120 Reserved

LTS112 LTS113 LTS114 LTS115 LTS116 LTS117 LTS118 LTS119

LTS120 LTS121 LTS122 LTS123 LTS124 LTS125 LTS126 LTS127

Di-bit Definition

00b = Disabled

01b = Enabled 8-bit linear

10b = Enabled µ-law

11b = Enabled A-law

14 TMS320C6452 TSIP SPRUF96A – October 2007 – Revised September 2008

Submit Documentation Feedback

Preliminary www.ti.com

Features/Common Architecture

Figure 5. 16-Mbps Channel Bitmap Definition (Two Links With One Active Link)

L0-000 L0-001

LTS000 LTS001 LTS002 LTS003 LTS004 LTS005 LTS006 LTS007

LTS008 LTS009 LTS010 LTS011 LTS012 LTS013 LTS014 LTS015

LTS016 LTS017 LTS018 LTS019 LTS020 LTS021 LTS022 LTS023

LTS024 LTS025 LTS026 LTS027 LTS028 LTS029 LTS030 LTS031

L0-240 L0-241

LTS112 LTS113 LTS114 LTS115 LTS116 LTS117 LTS118 LTS119

LTS120 LTS121 LTS122 LTS123 LTS124 LTS125 LTS126 LTS127

Di-bit Definition

00b = Disabled

01b = Enabled 8-bit linear

10b = Enabled µ-law

11b = Enabled A-law

SPRUF96A – October 2007 – Revised September 2008

Submit Documentation Feedback

TMS320C6452 TSIP 15

Preliminary

Features/Common Architecture www.ti.com

2.5

Multi-Channel Operation

The timeslot data management unit (TDMU) of the TSIP is a multi-channel unit that manages the data for the SIU. There is one transmit and one receive channel for a total of two channels. For each transmit channel, the timeslot context is defined to support enable/disable control of all timeslots on all of the serial outputs operating at an 8.192 Mbps data rate or 128 8-bit timeslots. For each receive channel, the timeslot context control is defined to support enable/disable control of all timeslots on all of the serial inputs operating at an 8.192 Mbps data rate or 128 8-bit timeslots.

Each DMA channel has dual buffers, PING and PONG, that are shared with the TDMU. The use of the dual buffers allows memory buffers, including each frame of data within the memory buffer, to begin at designated locations in memory. When the next frame sync event occurs, the DMATCU flushes the remaining contents of the current channel buffer and then switches focus to the second channel buffer.

The channel buffers are not software accessible once the DMATCU has been enabled.

2.5.1

Transmit and Receive Channel Context

The context control for each channel consists of a dual set of configuration registers (A and B). These sets of four configuration registers each become active in direct relationship to the active channel bitmap of the

TDMU. The registers define the memory address for the data buffers (Base Address), frame size allocations (Frame Allocation and Frame Size), and number of frames allocated (Frame Count) within the memory buffers, as shown in

Figure 6 .

Figure 6. Channel Configuration

A

Base Address

Frame Allocation

Frame Size

Frame Count

B

Each base address register is a 32-bit register representing the base address of a frame buffer in memory.

Since data is transferred from the TSIP to memory in 32-bit elements and addresses correspond to byte addresses, the two least significant address bits of the base address must always be zero. The frame buffer in memory consists of storage for multiple frames of data. The number of live frames that can be stored in the frame buffer is defined by the frame count. Frames of data are stored in the frame buffer with the first frame beginning at the base address. When a context switch occurs, the storage based on the new context always begins at the base address defined by that context.

The next frame is stored in the frame buffer beginning at the location defined by the base address plus the frame allocation. When the number of frames defined by the frame count have been stored in memory, the next frame is stored beginning at the base address. Since data transfers are always in 32-bit elements and the frame allocation is an address offset to the base address, the two least significant bits of the frame allocation must be zero.

The frame size is not used explicitly in receive channel transfers. It is present for context consistency and is described with the transmit channel context. With respect to the context, the frame size represents the amount of storage a single frame of data actually occupies, including the 32-bit CID/FRFC synchronization values at the beginning and end of the frame. Realistic frame size values begin at twelve when there is at least one timeslot enabled. The minimum acceptable value for frame size is eight, which implies that there are no real data samples for the frame since eight bytes are required for the two 32-bit synchronization values. A frame size that is less than eight is logged as an error for a channel. In the event that the frame size exceeds the frame allocation there is a potential overlap in the frame data of two frames. The

DMATCU detects this condition and logs an error. The DMATCU continues to function using the defined values.

16 TMS320C6452 TSIP SPRUF96A – October 2007 – Revised September 2008

Submit Documentation Feedback

Preliminary www.ti.com

Features/Common Architecture

A channel active status register consisting of pairs of bits for each channel (CHn) identifies which channel configuration registers (A or B) is active at any given time for each channel. When a channel configuration

(A or B) is active, those configuration registers are write protected. A channel configuration (A or B) that is pending active also is write protected. Write accesses to the inactive configuration registers update the inactive registers. Read accesses from either the active or inactive configuration complete as normal. The status of each CHn field is defined in

Table 3 . The complete Receive Channel Configuration Active Status

Register is shown in

Section 7

with the other registers.

Bit

11:0

Field Name

CHnCS

Table 3. Channel Configuration Active Status

Value Description

00

01

10

11

Receive channel n (where n is the channel number) active status. Defines whether A and

B configurations are in active status.

Both A and B configurations are in active status.

A configuration is active. B configuration is inactive.

A configuration is inactive. B configuration is active.

Reserved

When the channel is disabled, both bitmaps are inactive and can be modified. The least significant bit of the CnID value determines which of the two channel bitmaps is made pending and becomes active on the next superframe. A channel bitmap can be designated as pending active at any time. When a bitmap becomes pending active, both it and the active bitmap are protected until the pending active bitmap is made active and the active bitmap is made inactive. Changes in the actual active assignment always occur on a superframe. Writes to the channel enable register to set the A or B bitmap as pending active must have the CHnENB set to enable the channel or to keep the channel enabled if it is already running.

Writes to the channel enable register with a new CnID value in which the least significant bit is identical to the previous CnID value causes the CID value used beginning with the next superframe to be the new value. However, the channel bitmap and DMA context that are currently active remain unchanged. Writes to the channel enable register that clear the channel enable bit take effect on the next frame event.

Bit

15 - 8

0

Field Name

CnID

CHnENB

Table 4. Channel Enable Register

Value Description

0x00 Configuration identification. Defines the configuration selection that takes effect on the next superframe synchronization event. The least significant bit determines whether the A or B channel bitmap and configuration registers are used.

Channel n enable

0

1

Channel n is disabled/stopped.

Channel n is enabled/running.

2.5.2

Frame Format

The first 32-bit location in the frame in the channel buffer is filled with a 32-bit synchronization value. This

32-bit value consists of an 8-bit channel configuration ID (CnID) and the lower 24 bits from the free running frame counter. The channel configuration ID is defined by the software in the corresponding channel enable register. At the end of a receive frame, the beginning of the next frame, when the channel buffer is flushed to memory the same 32-bit value is written once again to the channel buffer. At the same time, a new 32-bit value with at least the incremented free running frame counter is written to the other half of the channel buffer. The presence of the synchronization value at the beginning of the frame in memory provides a way for software to recognize and track the configuration that was used for that frame.

The presence of the same value at the end of the frame provides a way for software to confirm that the entire frame has been written to memory.

SPRUF96A – October 2007 – Revised September 2008

Submit Documentation Feedback

TMS320C6452 TSIP 17

Preliminary

Features/Common Architecture www.ti.com

Figure 7

,

Figure 8

, and

Figure 9

illustrate the way the data packing takes place within the channel buffer based on the enabled channels.

Figure 7

is a list of enabled physical timeslots for a single receive channel. In this example, the receive data on serial link 1 (TR1) is to be expanded using either

µ

-law or

A-law expansion. The receive data from other serial link is to be stored as 8-bit linear. The first 32-bit location in the channel buffer is filled with a 32-bit synchronization value.

The data for the first three enabled timeslots that are received is 8-bit linear and the data is packed in the channel buffer on successive bytes. As the example illustrates in

Figure 8

and

Figure 9 , when timeslot 8

for TR1 (L1-008) is received, expanded, and stored the next available location is an odd byte location so a dummy byte is inserted and L1-008 is stored on a 16-bit boundary. When L1-045 and L1-046 are received, the next available location is already 16-bit aligned resulting in no extra dummy bytes. However, when L1-050 arrives, the next available location is once again an odd byte resulting in the insertion of a dummy byte to allow L1-050 to be stored on a 16-bit boundary. At the end of a frame, pad bytes are used to align the final 32-bit synchronization value. The actual content of the dummy bytes and pad bytes is undefined.

Figure 7. Example Timeslot List by the TSIP Serial Link for 1 Channel

Link 1 Link 0

004

005

008

009

024

008

039

040

045

046

047

048

049

050

052

063

074

075

076

077

079

083

087

089

095

099

101

102

Figure 8. Channel Buffer (BEND=1)

0

L0-004 L0-005

L1-008

L0-039 L0-040

L1-046

L0-049 dummy

L0-052 L0-063

L0-008

L0-009

31 dummy

L0-024

L1-045

L0-047 L0-048

L1-050

L0-074 L0-075

L0-076 L0-077

L1-083

L1-079

L0-087 L0-089

L0-095 dummy

L0-101 L0-102

CID

L1-099 pad

FRFC pad

18 TMS320C6452 TSIP SPRUF96A – October 2007 – Revised September 2008

Submit Documentation Feedback

Preliminary www.ti.com

Features/Common Architecture

Figure 9. Channel Buffer (BEND=0)

0 31 dummy L0-008

L0-024 L0-009

L1-045

L0-048 L0-047

L1-050

L0-075 L0-074

L1-079

L0-089 L0-087

L1-099 pad

CID

L0-005 L0-004

L1-008

L0-040 L0-039

L1-046 dummy L0-049

L0-063 L0-052

L0-077 dummy

L0-076

L1-083

L0-095 pad L0-102 L0-101

FRFC

2.6

Transmit Operation

Once the TSIP is configured for transmission, on the first frame sync after the TSIP is enabled, its DMA engine reads the data from the memory buffers and stores it in internal channel buffers. It starts transmitting from the very next frame sync, depending on the timeslots enabled in the channel. The data for timeslot 0 is sent on the first eight serial data clocks following the recognition of the frame sync signal that signals the start of the frame and the programmed delay. Data that is transmitted by the TSIP is output from a parallel-to-serial register with the most significant bit first, one 8-bit register per serial interface output. The data for timeslot 1 is sent on the next eight serial data clocks immediately following timeslot 0. Data for successive timeslots are continuously transmitted on subsequent serial data clocks.

The two transmit data registers, one for each serial interface signal, means that the TSIP executes its load operation up to two times for each timeslot. The number of actual data samples loaded depends on the timeslot enable/disable definition in the channel bitmap for each of the channels. With the data for each timeslot, an enable/disable indication is also provided. The enable/disable indication is used by the serial interface to control the state of the output. Three output states for disabled timeslots are supported: driven high, driven low, and high impedance. The disabled timeslot output state selection is defined by XMTDIS as shown in

Table 5 .

Bit

9-8

Field Name

XMTDIS

(1)

Table 5. Transmit Disabled State

Value Description

Transmit output disable state

00

01

10

11

High impedance

Reserved

Driven low

Driven high

(1)

This field is write protected when SIU transmit is enabled.

When an enabled timeslot immediately follows a disabled timeslot, it is sometimes desirable to delay the enable of the output buffer for the first bit transmitted on the enabled timeslot. The delay is defined by

XMTDLY as shown in

Table 6 . The selection determines whether the output buffer is turn on immediately

for the first bit of the enabled timeslot or whether it is turned on after a delay of one-half serial clock period.

SPRUF96A – October 2007 – Revised September 2008

Submit Documentation Feedback

TMS320C6452 TSIP 19

Preliminary

Features/Common Architecture www.ti.com

(1)

Bit

10

Field Name

XMTDLY

(1)

Table 6. Enable Output Delay Selection (XCR)

Value Description

0

1

Transmit output enable delay. Defines a fixed delay for enabling the output buffer on the first bit of an enabled timeslot that immediately follows a disabled timeslot. This control applies only when the disable state for the output buffer is high impedance.

No added delay

Output enable is delayed by one-half serial clock period.

This field is write protected when SIU transmit is enabled.

2.7

Interrupts

2.7.1

Frame Interrupts

Each time the timeslot counter rolls over for the transmit serial links or the receive serial links, the corresponding frame interrupt is made pending. For receive, part of the data for the frame that was just completed prior to the frame sync is in the channel buffer. At least one additional transfer needs to be made to flush the data from the buffer. An acknowledgment of the transfer completion, assuring that the data has actually been written to memory is returned to the TSIP. The TSIP offers the option of asserting the frame interrupt that has been made pending as a result of the frame sync upon receipt of acknowledge for the final transfer, shown in

Table 7

. A programmable timeslot delay, shown in

Table 8

, is also available to determine when the interrupt is actually asserted. Based on the telecom interface timing references, this offers the option of generating an interrupt every 125

µ s.

Table 7. Frame Interrupt Control (RTDR and XTDR)

Bit

13-12

Field Name

RCVFRINT

(1)

Value Description

00

01

10

11

Receive frame interrupt selection

Interrupt asserted on transfer acknowledge only.

Interrupt asserted on delay count only.

Interrupt asserted on either transfer acknowledge or delay count.

Interrupt asserted on both transfer acknowledge and delay count.

(1)

13-12 XMTFRINT

(1)

00

01

10

Transmit frame interrupt selection

Interrupt asserted on transfer acknowledge only.

Interrupt asserted on delay count only.

Interrupt asserted on either transfer acknowledge or delay count.

11 Interrupt asserted on both transfer acknowledge and delay count.

This field is write protected once DMA is enabled.

(1)

Bit

6-0

6-0

Field Name

RCVFDLY

(1)

XMTFDLY

(1)

Table 8. Timeslot Delay Counter (RTDR and XTDR)

Value Description

0x07F Receive frame interrupt delay [0-127] n + 1 Number of logical timeslots the frame interrupt is delayed after going pending.

0x07F Transmit frame interrupt delay n + 1 Number of logical timeslots the frame interrupt is delayed after going pending.

This field is write protected once DMA is enabled.

2.7.2

Superframe Interrupt

The frequency of this interrupt is independently programmable with the frame sync counter. The superframe interrupt is made pending on the frame sync counter rollover. The same programmable timeslot delay used with the frame interrupt determines when the interrupt is actually asserted. The actual assertion of the superframe interrupt can be determined solely by the delay, by acknowledgment that the final data transfer for the last frame in the superframe is complete or a combination of both as shown in

Table 9

.

20 TMS320C6452 TSIP SPRUF96A – October 2007 – Revised September 2008

Submit Documentation Feedback

Preliminary www.ti.com

Features/Common Architecture

Table 9. Superframe Interrupt Control (RTDR and XTDR)

(1)

Bit

15-14

15-14

Field Name

RCVSFINT

XMTSFINT

(1)

(1)

Value Description

00

01

10

11

Receive superframe interrupt selection

Interrupt asserted on transfer acknowledge only.

Interrupt asserted on delay count only.

Interrupt asserted on either transfer acknowledge or delay count.

Interrupt asserted on both transfer acknowledge and delay count.

00

01

10

11

Transmit superframe interrupt selection

Interrupt asserted on transfer acknowledge only.

Interrupt asserted on delay count only.

Interrupt asserted on either transfer acknowledge or delay count.

Interrupt asserted on both transfer acknowledge and delay count.

This field is write protected once DMA is enabled.

2.7.3

Error Interrupt

Error interrupts are asserted when certain fault conditions occur. There is one error interrupt per channel.

An error interrupt queue for each channel provides a history of up to sixteen error interrupts per channel.

Each item in the queue includes an 8-bit error code and 24 bits of additional information. Error codes are listed in

Table 10

.

2.7.4

Exception Conditions

Error Code

0x00

0x01

0x02

0x03

0x05

0x10

0x11

0x12

0x13

0x15

0xF1 - 0xF7

0xf9 - 0xFF

Info Field

RCVFRFC

RCVFRFC

CIDA

CIDA

CIDA and CIDF

XMTFRFC

XMTFRFC

CIDA

CIDA

1

3

3

2

1

1

1

3

3

Table 10. Error Codes

Category Description

No Error

Receive Overrun at the beginning of frame

Receive Overrun during the frame

Receive Overrun - enable channel bitmap greater than Size

Receive Size less than 8

Transmit configuration ID mismatch

Transmit Underrun at the beginning of frame

Transmit Underrun during the frame

Transmit Underrun - enabled channel bitmap greater than Size

Transmit Size less than 8

Read status (status) errors.

Write status (status) errors.

2.7.4.1

Receive Errors

Error interrupts are generated on DMATCU and TDMU receive channels due to buffer overrun and context mismatch conditions. A buffer overrun occurs anytime there is no space in the channel buffer for an enabled timeslot.

Error Code = 0x01. This code indicates that the channel buffer is not empty at the beginning of the frame. It is the most serious overrun condition because it indicates that there is receive data in both the

PING and PONG buffers. The additional information is the current value of the receive free running frame counter RCVFRFC).

Error Code = 0x02. This code indicates that the channel buffer is full during a frame transfer and the

TDMU is unable to add data for an enabled receive timeslot. The additional information is the current value in the receive free running frame counter (RCVFRFC).

Error Code = 0x03. This code indicates that the number of enabled timeslots in the channel bitmap

SPRUF96A – October 2007 – Revised September 2008

Submit Documentation Feedback

TMS320C6452 TSIP 21

Preliminary

Features/Common Architecture www.ti.com

results in a buffer requirement that exceeds the frame allocation or frame size. The additional information is the current (active) channel configuration ID (CIDA). Also at receive side, if there is a

CID mismatch, the TSIP propagates this error.

Error Code = 0x05. This code indicates that the frame size is less than 8, which is the minimum for a channel with no timeslots enabled. The additional information is the current (active) channel configuration ID (CIDA).

2.7.4.2

Transmit Errors

Error interrupts are generated on transmit channels due to buffer underrun and context mismatch conditions. A buffer underrun occurs anytime there is no data in the channel buffer for an enabled timeslot.

Error Code = 0x10. This code indicates that the configuration identity in the transferred frame data does not match the configuration identity in the active context. The additional information is the current

(active) channel configuration ID (CIDA) and the transferred frame data channel configuration ID

(CIDF).

Error Code = 0x11. This code indicates that the channel buffer is empty at the beginning of the frame.

It is the most serious underrun condition because it indicates that both the PING and PONG buffers are empty. The additional information is the current value in the transmit free running frame counter

(XMTFRFC).

Error Code = 0x12. This code indicates that the channel buffer is empty during a frame transfer and the TDMU is unable to provide data for an enabled transmit timeslot. The additional information is the current value in the transmit free running frame counter (XMTFRFC).

Error Code = 0x13. This code indicates that the number of enabled timeslots in the channel bitmap results in a buffer requirement that exceeds the frame allocation or frame size. The additional information is the current (active) channel configuration ID (CIDA).

Error Code = 0x15. This code indicates that the frame size is less than 8, which is the minimum for a channel with no timeslots enabled. The additional information is the current (active) channel configuration ID (CIDA).

2.7.4.3

Bus Errors

When a bus error occurs, a 3-bit status code is returned by the slave to the master. The master for the

TSIP is the DMA interface, which is driven by the DMATCU. The status codes are provided for read and write transactions independently. A status code of 0 is an indication of success for both reads and writes, and no entry is made in the error interrupt queue. When any other status code is returned the code is added to 0xF0 for reads and 0xF8 for writes and stored in the error interrupt queue.

22 TMS320C6452 TSIP SPRUF96A – October 2007 – Revised September 2008

Submit Documentation Feedback

Preliminary www.ti.com

2.7.5

Error Queue Management

Features/Common Architecture

The error queue for each channel is maintained in FIFO format with a write to pop requirement. The write to pop an entry from the queue allows the top of the queue to be inspected in a watch window during an emulation halt without removing the entry from the queue. For each queue two memory mapped registers are used to support queries of the queue. The first register is a control or queue management register.

The second register includes a count of the number of errors on a given queue. A third register location is used to represent the top of the error queue, or the oldest error on the queue. When an error occurs, the error code and information are added to the queue for the appropriate channel and the error interrupt is asserted. If the queue is full, the new error is discarded and an overflow is indicated. Once the overflow indication is set, all subsequent errors are discarded, even if there is space on the queue, until the CPU

(user) clears the overflow condition. When a CPU responds to an error interrupt, it performs the following steps.

1. The count register for the channel error queue is read and the number of error entries on the queue is obtained.

2. The error queue register is read to obtain the top (oldest) error entry on the queue.

3. The entry is removed or popped off the queue by doing a write to the error queue register.

4. If the count read in step 1 is greater than 1, then steps 2 and 3 should be repeated until all error entries have been read from the queue.

Reading the error queue register when the count register is zero returns an error entry value of zero.

2.7.6

Error Recovery

In the case where a frame sync pulse occurs before the frame period (1024 serial data clocks for the default configuration) has completed that frame sync pulse is ignored. The 1024 serial data clocks in the default configuration represent 128 8-bit timeslots. Once all of the required timeslots have been counted, the next frame sync pulse defines the beginning of a new frame. In the case where a frame sync pulse does not occur until some number of clock periods after the frame period has completed, the additional serial data clocks are ignored. During the time when the serial data clocks are ignored, no timeslot events are created and no data is clocked in or out of the SIU. When the frame sync pulse does occur, the bit counter begins counting from its initial value with the appropriate delay to the frame sync input. In the case where the serial data clock is removed or aborted in some other way, the data for at most one frame is corrupted although there may be one or more frame periods of missing data. When the serial data clock is restored, the number of clock periods needed to complete the frame that was in progress when the serial data clock was removed are counted. Any data received and transmitted during this period is considered corrupted. The elapsed time also corresponds to additional missing frames of data. Any frame sync pulses that occur during that time are ignored. Once enough serial data clocks have occurred to correspond to the frame period the serial interface recognizes, the next frame sync input and data is received and transmitted starting with that frame sync.

2.8

Endianness

The way in which the time ordered data is packed and unpacked in the channel buffer is determined by the endian mode selection (BEND), as shown in

Table 11 . The 32-bit synchronization value that is also

included in the channel buffer is not affected by the endian mode selection.

Figure 8

and

Figure 9

show the resulting packed data in the channel buffer for the two endian modes. The 32-bit synchronization value

(CID+FRFC) is stored in the same manner independent of the endian selection. In addition, the 16-bit expanded data samples are stored in the same manner within a 16-bit field independent of the endian selection. There is no byte swapping within the designated fields for either 32-bit or 16-bit values.

(1)

Bit

0

Field Name

BEND

(1)

Table 11. Endian Mode Selection

Value Description

Endian mode selection. Bend = iso bend + 1.

0

1

Little Endian format

Big Endian format

This field is write protected once DMA is enabled.

SPRUF96A – October 2007 – Revised September 2008

Submit Documentation Feedback

TMS320C6452 TSIP 23

Preliminary

Features/Common Architecture www.ti.com

2.9

Priority Control

More than one channel can have its transfer request flag set. When there are multiple transfer request flags set, round-robin arbitration is used to select the next channel for transfer. To sequence all transfers

(reads and writes), the winning receive channel may also need to win arbitration with a transmit channel.

Priority for contested receive and transmit channel requests within the TSIP is traded back and forth with each contested request. The priority of the transfer request made by the TSIP to access memory is defined by PRI as shown in

Table 12 . The priority is escalated by one additional level; if possible, each

time the channel buffer fills to the point that another transfer request could be generated while an existing request remains outstanding. Escalation is limited by MAXPRI, also shown in

Table 12 . MAXPRI is

expected to be a value that is less than or equal to PRI. When MAXPRI and PRI are equal, no escalation is made. If MAXPRI is greater than PRI, the programmed value is ignored and MAXPRI is treated as though it is equal to PRI. When the last transfer request has been generated (that is, when the completion of the transfer request leaves fewer than eight 32-bit words in the channel buffer), the normal priority, defined by PRI, is restored. For example, a transfer request is made at the normal priority when the channel buffer initially contains eight 32-bit words to be transferred to memory. In the event that an additional eight 32-bit words are added to the same channel buffer before the transfer is completed for the first request, the priority is escalated one additional level. If there are fewer than eight 32-bit words remaining in the channel buffer when the second request has been generated, the priority is reduced back to the normal priority level for the next request.

Bit

6-4

2-0

Field Name

MAXPRI

(1)

PRI

(1)

Table 12. DMATCU Transfer Priority (DMATCU_CGR)

...

7

0

1

Value Description

0

1

...

7

Maximum transfer priority

Priority 0 - Highest priority

Priority 1

...

Priority 7 - Lowest priority

Transfer priority

Priority 0 - Highest priority

Priority 1

...

Priority 7 - Lowest priority

(1)

This field is write protected once DMA is enabled.

24 TMS320C6452 TSIP SPRUF96A – October 2007 – Revised September 2008

Submit Documentation Feedback

Preliminary www.ti.com

3 Clocks, Frames and Data

Clocks, Frames and Data

3.1

Frame and Clock Operation

The clock is expected to be a continuously running clock with uniform clock periods and with exactly the timeslot count times the bit count number of clock periods between frame sync pulses. With the default counter values that are used with 8.192 Mbps links this period is exactly 1024 clocks. The TSIP anticipates the frame sync pulses to come at that interval. When the frame sync pulse occurs early or late the response of the TSIP is defined to assure that the operation recovers gracefully.

3.2

Data Rate Options

The TSIP offers two data rate options. The data rate options are listed in

Table 13

with some corresponding information. Data rate options are available to support double clocking (default) or single clocking of the serial data for 8.192, 16.384 Mbps serial links. When the serial data rate changes, the maximum number of active serial data links is also changed. There is an inverse relationship between the two: 2 active links at 8.192 Mbps, 1 active link at 16.384 Mbps. However, the total number of 8-bit timeslots is constant for all data rate options. When the number of active links is reduced, the output buffers for the inactive links are put in the defined disabled state. The defined disabled state for inactive links is the same as the one defined for disabled timeslots.

Option

000

001

101

011

Name

8M16

8M8

16M32

16M16

Table 13. Data Rate Options

Active Links

8

8

4

4

Data Rate

8.192 Mbps

8.192 Mbps

16.384 Mbps

16.384 Mbps

Clock Frequency

16.384 MHz

8.192 MHz

32.768 MHz

16.384 MHz

Timeslots/Link

128

128

256

256

3.3

Clock and Frame Sync Redundancy

The receive and transmit interfaces share a clock, frame sync, and data rate by default. This setup offers the option of redundant (primary and secondary) clock and frame sync sources that can be switched when the primary source fails. An option allows the receive and transmit interfaces to be configured independently with each having its own clock and frame sync and possibly data rates. The default configuration uses one clock and frame sync as the primary and the second clock and frame sync as the secondary. This configuration uses the primary clock and frame sync to control the transmit data on all two data outputs and the receive data on all two data inputs. The use of a primary and secondary serial clock and frame sync allows the serial links to be maintained with a small impact on the data. The impact is limited to the loss of a few frames of data when a switchover is required. Transitions between the use of the primary clock and frame sync and the backup clock and frame sync are handled by software changing the configuration based on a message that it receives. The selection of the clock and frame sync also can be independent for the transmit serial links and the receive serial links. This provides a second configuration option in which the clock and frame sync used for transmit is different from the clock and frame sync used for receive. In this configuration there is no secondary or backup source. The selection of redundant or independent clocking is made using CLKD as shown in

Table 14 .

Bit

4

Field Name

CLKD

Table 14. Clock Redundancy Selection (SIU_GCR)

Value Description

Clock redundancy selection.

0

1

Redundant clock mode. Transmit and receive share the same clock and frame sync. The common selections are those defined by XMTSRC, SMTCLKM, and MTDATR in the transmit select and enable register. The RCVSRC, RCVCLKM, and RCVDATR fields are ignored.

Dual clock mode. Transmit and receive are specified totally independently.

SPRUF96A – October 2007 – Revised September 2008

Submit Documentation Feedback

TMS320C6452 TSIP 25

Preliminary

Clocks, Frames and Data www.ti.com

3.4

Single and Double Data Rate

Data rate options are independent for receive (RCVCLKM and RCVDATR) and transmit (XMTCLKM and

XMTDATR) when CLKD is 1. RCVCLKM and XMTCLKM define whether a double-rate or single-rate clock is being provided for receive and transmit, respectively. For a double-rate clock there are two sample clock edges per data bit. Data is sampled on any of the two edges, depending on the edge that frame sync is detected and also on the polarities of the data sampling clock edge configuration. RCVDATR and

XMTDATR define the actual data rate (or timeslots per link) for receive and transmit as shown in

Table 15

.

Bit

0

0

2-1

2-1

Field Name

RCVCLKM

XMTCLKM

RCVDATR

RCVDATR

Table 15. Single Rate and Double Rate Clock Options

Value Description

0

1

Receive clock mode

TCLK_x is a double-rate clock.

TCLK_x is a single-rate clock

Transmit clock mode

0

1

TCLK_x is a double-rate clock.

TCLK_x is a single-rate clock

Receive data rate

00

01

10

11

8.192 Mbps

16.384 Mbps

32.768 Mbps

Reserved

Transmit data rate

00

01

10

11

8.192 Mbps

16.384 Mbps

32.768 Mbps

Reserved

3.5

Clock and Frame Sync Selection and Polarity

Clock selection is independent for receive (RCVSRC) and transmit (XMTSRC) when CLKD is 1. RCVSRC and XMTSRC select both the source clock and frame sync for receive and transmit respectively, as shown in

Table 16 . All receive serial links use a common clock and frame sync. All transmit serial links use a

common clock and frame sync.

Bit

0

0

Table 16. Clock and Frame Sync Source Selection (RCLKR and XCLKR)

Field Name

RCVSRC

XMTSRC

Value Description

Receive data clock and frame sync selection

0

1

TCLK_A and TFS_A

TCLK_B and TFS_B

0

1

Transmit clock and frame sync selection

TCLK_A and TFS_A

TCLK_B and TFS_B

The polarity of the clock and frame sync is software selectable and can be defined independently for data and frame sync as well as receive and transmit.

Table 17

provides a description of the clock polarity for data (RCVDCLKP and XMTDCLKP) and frame sync (RCVFCLKP and XMTFCLKP).

The polarity of the frame sync is software selectable and can be defined independently for receive and transmit. RCVFSYNCP and XMTFSYNCP determine the polarity of frame sync for receive and transmit respectively, as shown in

Table 17 .

26 TMS320C6452 TSIP SPRUF96A – October 2007 – Revised September 2008

Submit Documentation Feedback

Preliminary www.ti.com

Table 17. Frame Sync Polarity (RCR and XCR)

(1)

(2)

Bit

7

7

Field Name

RCVFSYNCP

XMTFSYNCP

(1)

(2)

Value Description

0

1

Receive frame sync polarity

Receive frame sync is active low.

Receive frame sync is active high.

Transmit frame sync polarity

0

1

Transmit frame sync is active low.

Transmit frame sync is active high.

This field is write protected when SIU receive is enabled.

This field is write protected when SIU transmit is enabled.

Clocks, Frames and Data

3.6

Data Delay

Data delay is configurable for receive and transmit data. Data delay determines the delay, in sample clock edges, to the first data sample clock edge for timeslot 0 following the sampled recognition of frame sync, as shown in

Table 18 . With a double-rate clock, the first data bit for timeslot 0 cannot be driven on the

same edge that frame sync is sampled and recognized, or on the first edge following the edge following sampling and recognition of frame sync when the frame sync clock and data clock polarities differ.

To affect a data delay of zero, the delay value must be programmed to the exact number of serial clocks between the sampled recognition of successive frame syncs. The number of serial clocks between successive frame syncs is data rate dependent. For a single-rate 8 Mbps serial link with exactly 128 timeslots, there are 1024 clocks and XMTDATD should be programmed to 1023. For a double-rate 8

Mbps serial link with exactly 128 timeslots, there are 2048 clocks and XMTDATD should be programmed to 2047. Values larger than those just defined allow a serial clock to be defined with one or more additional clock periods between frame syncs for zero-data-delay operation. Programming XMTDATD to

1024 for a single rate 8 Mbps serial link with 128 timeslots to create an actual delay of 1025 clock cycles is not equivalent to a data delay of 1 (which is defined by setting XMTDATD to 0). The ability to independently select the clock polarity for frame sync and data, along with the additional ability to configure operation for data delay from the recognition of frame sync to the first bit of timeslot 0 in the corresponding frame offers the flexibility to define delays in half-cycle increments. The shortest supported delay is 1.5 cycles.

Table 18. Data Delay (RCR and XCR)

(1)

(2)

Bit

29-16

29-16

Field Name

RCVDATD

XMTDATD

(1)

(2)

Value Description

0x0000 Receive data delay [0-16383] n + 1.5

When clock polarity for data and frame sync differs n + 2 When clock polarity for data and frame sync is identical

0x0000 Transmit data delay [0-16383] n + 1.5

When clock polarity for data and frame sync differs n + 2 When clock polarity for data and frame sync is identical

This field is write protected when SIU receive is enabled.

This field is write protected when SIU transmit is enabled.

SPRUF96A – October 2007 – Revised September 2008

Submit Documentation Feedback

TMS320C6452 TSIP 27

Preliminary

Clocks, Frames and Data

3.7

Data and Frames

www.ti.com

3.7.1

Frame Size

A timeslot counter (10 bits) counts the timeslot events (or logical timeslots) that make up a frame. The

RCVFSIZ bit in the Receive Size register (see

Section 7.2.10

) and the XMTFSIZ bit in the Transmit Size register (see

Section 7.2.7

) provide the rollover counts. The default rollover count for the timeslot counter

is 127. In the default configuration the timeslot counter defines a frame size of 128 logical timeslots, which is the minimum number of timeslots for the frame. Because the 16.384 Mbps data rate options combine the shift registers in sets of two, there is two physical timeslots per logical timeslot. This typically means that the number of logical timeslots per frame is the same for all data rate options.

Is the following table necessary since I added references to the actual registers for these bits?

Bit

6-0

6-0

Field Name

RCVFSIZ

(2)

XMTFSIZ

(3)

Table 19. Timeslot Counter (RSR and XSR)

(1)

Value Description

0x7F Receive frame size [0-127] n + 1 Number of logical timeslots per frame. Minimum number of logical timeslot periods per frame.

6 Values of 6 and less are reserved. Attempts to write a value of 6 or less results in a value of 0x7F being registered.

0x7F Transmit frame size [0-127] n + 1 Number of logical timeslots per frame. Minimum number of logical timeslot periods per frame.

6 Values of 6 and less are reserved. Attempts to write a value of 6 or less results in a value of 0x7F being registered.

(1)

(2)

(3)

If CLKD is programmed to 0 or RCVSRC and XMTSRC will be written with the same value, then RCVFSIZ and XMTFSIZ must be programmed with the same value.

This field is write protected when SIU receive is enabled.

This field is write protected when SIU transmit is enabled.

3.7.2

Frame Count

A frame sync counter (8 bits) counts the frame sync input pulses (frame sync events) that make up a superframe. It outputs a superframe event on every Nth frame sync event. The RCVFCNT bit in the

Receive register (see

Section 7.2.10

) and the XMTFCNT bit in the Transmit Size register (see

Section 7.2.7

) provide the rollover counts. The default rollover count for the frame sync counter is 3 which

defines a superframe size of 4 frames. The frame sync counter is synchronized with the first valid frame sync input. The superframe event is provided to the TDMU, DMATCU, and interrupt generator.

Is the following table necessary since I added references to the actual registers for these bits?

Bit

23-16

23-16

Field Name

RCVFCNT

(1)

XMTFCNT

(2)

Table 20. Frame Sync Counter (RSR and XSR)

Value Description

0x3 Receive frame count [0-255]

0x3 n + 1 Number of frames per superframe

Transmit frame count [0-255] n + 1 Number of frames per superframe.

(1)

(2)

This field is write protected when SIU receive is enabled.

This field is write protected when SIU transmit is enabled.

28 TMS320C6452 TSIP SPRUF96A – October 2007 – Revised September 2008

Submit Documentation Feedback

Preliminary www.ti.com

3.8

Data Synchronization

Clocks, Frames and Data

3.8.1

Transmit and Receive Synchronization

The frame sync and timeslot counter described in

Section 3.7

is synchronized with the first valid frame sync input. A timeslot counter rollover event is used to switch from using the channel PING buffer to the channel PONG buffer for each channel, or to switch from using the channel PONG buffer to the channel

PING buffer for each channel. Channel buffer switching is locked together for receive channel. It is also locked together for transmit channel although the receive and transmit channels are not necessarily locked with each other. For receive this means that if the TDMU has been using the channel PING (or PONG) buffer while processing timeslots from frame N, it begins using the channel PONG (or PING) buffer while processing timeslots from frame N+1. If the DMATCU has not emptied the channel PONG buffer by the start of frame N+1, the TDMU does not overwrite the channel PONG buffer until it is emptied. Instead the data is discarded, frame N+1 is lost, and the buffer overrun flag is set. For transmit this means that if the transmit process logic has been using the channel PING (or PONG) buffer while processing timeslots for frame N, it begins using the channel PONG (or PING) buffer while processing timeslots for frame N+1. If the DMATCU has not transferred any timeslot data into the channel PONG buffer by the start of frame

N+1, there is no new data for the TDMU to process and send to the SIU. Due to the lack of data, the

TDMU sends an all ones (0xFF) value for all enabled timeslots. This means that frame N+1 went out with erroneous data and the actual data for frame N+1 is never transmitted. The buffer underrun flag is set also.

3.8.2

TDMU Control Operation

The control operation of the TDMU provides and verifies synchronization information in each of the channel buffers. This includes data synchronization signatures and the FIFO read and write pointers.

At the beginning of a receive frame, the control operation writes a 32-bit synchronization value to each of the receive channel buffers for that frame. The 32-bit value consists of an 8-bit channel configuration configuration ID and the lower 24 bits from the free running frame counter. The channel configuration ID is defined by the software in the corresponding channel enable register. The receive free running frame counter is described in

Section 7.2.13

.

At the end of a receive frame, the beginning of the next frame, when the channel buffer will be flushed to memory, the same 32-bit value is written once again to the channel buffer. At the same time, a new 32-bit value, with at least the incremented free running frame counter, is written to the other half of the channel buffer. The presence of the synchronization value at the beginning of the frame in memory provides a way for software to recognize and track the configuration that was used for that frame. The presence of the same value at the end of the frame provides a way for software to confirm that the entire frame has been written to memory.

At the beginning of a transmit frame, the control operation reads the first 32-bit value in the transmit channel buffers for that frame. Only the upper 8 bits are significant and represent the channel configuration ID. The value read is expected to match the active channel configuration ID. If it does not, an error interrupt is generated.

At the end of a transmit frame, a 32-bit value including the channel configuration ID and free running frame counter are recorded. This 32-bit value, which the DMATCU is responsible for writing back to memory, can be used by software to confirm its frame sequencing and synchronization. The transmit free running frame counter is described in

Section 7.2.12

.

3.8.3

Context Synchronization

Context switches between the A and B context definitions on each respective channel is made at the completion of a superframe. Each time a superframe event occurs, the channel context for the channel can be switched from A to B or from B to A. For the channel dedicated to the transmit serial links, the superframe event occurs at the beginning of the Nth frame period. For the channel dedicated to the receive serial links, the superframe event occurs at the end of the Nth frame period. In both transmit and receive, the context switch takes place so that it is in effect for frame N+1.

SPRUF96A – October 2007 – Revised September 2008

Submit Documentation Feedback

TMS320C6452 TSIP 29

Preliminary

Reset and Powerdown Modes

4 Reset and Powerdown Modes

www.ti.com

4.1

SIU Reset and Shutdown Operation

The entire SIU can be reset with a single reset bit (SIURST), as shown in

Table 21

. Asserting the SIU reset causes both receive and transmit serial interfaces to halt operation.

Bit

0

Field Name

SIURST

Table 21. SIU Reset

Value Description

SIU reset

0

1

Reads:

Reset is complete. SIU can be enabled for operation.

Reset is in progress.

0

1

Writes:

Writes of 0 have no affect.

Reset the SIU.

4.1.1

SIU Reset

When SIURST is set, the entire SIU module is reset. All registers that define SIU operation or provide the status for SIU operation are initialized to their predefined state. When read, SIURST indicates the status of the reset operation. SIURST remains 1 until the SIU has been shut down and all SIU control registers have been initialized to their predefined state. When the reset initialization is complete, SIURST becomes

0. Writing 0 to SIURST has no effect.

4.1.2

Receive SIU Shutdown

When the receive interface is stopped, RCVENB is written as 0 after being 1, and all of the serial-to parallel registers, data registers, and counters used for the receive operation are cleared. The programmed configuration defining the operation of the receive interface is not affected when the receive interface is disabled. No events or interrupts are generated while the receive interface is disabled. When

RCVENB is written as 1 after being 0, the operation of the receive interface is enabled, and the first active frame sync input is recognized and serial data capture begins immediately. The first active frame sync is recognized only when the enabled SIU receive is able to first detect the frame sync input in an inactive state.

4.1.3

Transmit SIU Shutdown

When the transmit interface is stopped, XMTENB is written as 0 after being 1, and all of the parallel to-serial registers, data registers, and counters used for the transmit operation are cleared. The output state of the output buffers is controlled by the output state configuration for disabled timeslots. The programmed configuration defining the operation of the transmit interface is not affected when the transmit interface is disabled. No events or interrupts are generated while the transmit interface is disabled. When

XMTENB is written as 1 after being 0 the operation of the transmit interface is enabled, and the first active frame sync input is recognized but data transmission does not begin until the second active frame sync input is recognized. This assures sufficient time for the serial interface to signal the DMA controller and for the DMA controller to respond with timeslot 0 data prior to the second active frame sync pulse. The first active frame sync is recognized only when the enabled SIU transmit is able to first detect the frame sync input in an inactive state. During the period between the first and second active frame syncs, the data output is in the disabled state, as defined in

Section 2.6

, for all timeslots.

30 TMS320C6452 TSIP SPRUF96A – October 2007 – Revised September 2008

Submit Documentation Feedback

Preliminary www.ti.com

Reset and Powerdown Modes

4.2

TDMU and DMATCU Software Reset and Shutdown Operation

The TDMU and DMATCU can be reset or stopped (disabled) entirely. Individual channels can be stopped

(disabled) independently as well. Resetting the entire TDMU and DMATCU causes all channels to be placed into a stopped (disabled) state. Stopping the TDMU and DMATCU causes the operation to be stopped but does not necessarily alter the state of the individual channels.

Stopping individual channels results in those channels not responding to the timeslot, frame, and superframe events generated by the serial interface. Stopping the TDMU channels does not affect the operation of the SIU.

Reset of the TDMU and DMATCU occurs when DMARST is written as a 1. There is one DMAENB bit for the TDMU and DMATCU together. There is XMTCHnENB bit and RCVCHnENB bit for the channel.

4.3

Powerdown

The TSIP supports clock stop handshaking with the use of the local powerdown and sleep controller

(LPSC).

Automatic powerdown and sleep is not supported. The TSIP indicates its state (idle or active) through tsip_idle_po. The idle state is indicated only when all enable bits in the TSIP control registers (RCVENB,

XMTENB, DMAENB, CHnENB) are cleared to the disabled state and all pending bus transactions have completed. The LPSC can be configured to make clock stop requests to the TSIP. If the TSIP is in an idle state the clock stop request is acknowledged and the gated clock can then be stopped. If TSIP is in an active state the clock stop request is not acknowledged.

SPRUF96A – October 2007 – Revised September 2008

Submit Documentation Feedback

TMS320C6452 TSIP 31

Preliminary

Emulation and Loopback Modes

5 Emulation and Loopback Modes

www.ti.com

Two control bits, FREE and SOFT, determine the response of the serial interface to the emulation input.

Table 22

provides the definitions of FREE and SOFT.

Bit

0

1

Field Name

FREE

(1)

SOFT

(1)

Table 22. Emulation Control (ETR)

Value Description

0

1

Free run selection

SOFT takes effect.

Ignore emulation input. Continue to function normally.

Halt selection

0

1

Halt receive and transmit SIU, TDMU, and DMATCU at the completion of the current frame.

Halt receive TDMU and DMATCU at the completion of the current frame. Transmit continues to function normally.

(1)

This field is write protected once DMA is enabled.

5.1

Emulation - Free Run

When FREE=1 it defines the operation to be free running even under emulation halt conditions. The TSIP continues to operate as normal with data being received, buffered, and transferred to memory and data being transferred from memory, buffered, and transmitted based on the presence of the necessary external serial data clock and frame sync inputs.

5.2

Emulation - Halt

When FREE=0 the operation is defined by SOFT. The presence of the necessary external serial data clock and frame sync inputs is assumed as well.

For SOFT=0, the operation of the TSIP continues as normal until the end of the current frame. At the end of the current frame the TSIP operation gets halted. The frame interrupt/event for the beginning of the next frame and the possible superframe interrupt/event is generated.

For SOFT=1, the operation of the TSIP continues as normal until the end of the current frame. Receive operation is halted from very next frame, transmit continues to work normally in this mode. But as the

DMA controller is not functional, transmit memory buffers are not updated during this time, since the same data for the sequence of frames that is currently in the memory buffer continues to be sent over and over.

32 TMS320C6452 TSIP SPRUF96A – October 2007 – Revised September 2008

Submit Documentation Feedback

Preliminary www.ti.com

Emulation and Loopback Modes

5.3

Loopback Modes

Internal loopback modes are provided to test the functionality of the TSIP. These loopback test modes allow the functionality to be tested with a minimum of external stimulus or with a minimal amount of internal software to support data processing.

5.3.1

Serial Interface Loopback Modes

The TSIP SIU offers operational test supports data loopback (DLB) and link loop back (LLB), as illustrated in

Figure 10 . The loopback test modes, when enabled, are mutually exclusive. Control bits, SIUTST, and

LBS determine the operation of the serial interface for test loopback. The definitions of SIUTST and LBS are found in

Table 23 . A common external clock and frame sync for receive and transmit are required for

loopback testing to be successful.

Figure 10. Loopback Test Modes

SIU

XMT RCV

TDMU

XMT RCV

DMATCU

XMT RCV

LLB Test Path

DLB Test Path

Bit

16

17

Field Name

SIUTST

(1)

LBS

(1)

Table 23. SIU Loopback Test Control (ETR)

Value Description

Serial loopback test mode enable

0

1

Normal operating mode is enabled. LBS is ignored.

Serial loopback test is enabled.

Serial loopback test mode selection

0

1

DLB is selected.

LLB is selected.

(1)

This field is write protected once DMA is enabled.

SPRUF96A – October 2007 – Revised September 2008

Submit Documentation Feedback

TMS320C6452 TSIP 33

Preliminary

Emulation and Loopback Modes www.ti.com

5.3.2

DLB Loopback Testing

DLB enables the serial link interface to be tested from inside the device. In this loopback test configuration, the SXn outputs are internally connected to the corresponding SRn inputs. The TXn output pins are disabled. The TRn input pins are ignored. Corresponding timeslots for transmit and receive should be enabled in the TSIP DMA. Successful operation is determined by comparing a receive frame buffer in memory with the corresponding transmit frame buffer in memory.

5.3.3

LLB Loopback Testing

LLB enables the serial link interface to be tested from outside the device. In this loopback test configuration, the DRn outputs are internally connected to the corresponding DXn inputs. Successful operation is determined by comparing the transmit serial links with a delayed version of the receive serial links.

34 TMS320C6452 TSIP SPRUF96A – October 2007 – Revised September 2008

Submit Documentation Feedback

Preliminary www.ti.com

6 TSIP Initialization Procedure

TSIP Initialization Procedure

Depending on the system requirements, the TSIP data rate, clock settings, frame sync settings and the

DMA channel configurations need to be set. The following example is for a typical case where the TSIP is used in a system configuration in which it is connected to a TEMUX device with 8 Mbps data rate and 16

MHz clock frequency, with the same clock and frame sync being used for transmit and receive.

Figure 11. TSIP Connected to TEMUX

TEMUX TSIP

CLK TSIPnCLKA

FS

TR[1:0]

TR[1:0]

TSIPnFSA

TSIPnCLKB

TSIPnFSB

TSIPnTX0

TSIPnTR0

In this configuration, CLKA and FSA are used by the transmit and receive logic for clock and frame synchronization.

1. Ensure that XMTENB, RCVENB, DMA channel enable, and DMAENB are cleared to make certain that the TSIP is in reset. Reset SIU and DMA in case the TSIP is not shut down properly.

2. As the same clock and frame sync is being used by the TSIP TX and RX, configure CLKD to select the redundant clock.

3. If redundant clock mode is used, XMTSRC, XMTCLKM and XMTDATR must be configured to select the clock source and clock rate. If redundant clock mode is not used, configure both transmit and receive registers for the same. The XMTSRC field has to be cleared for the TSIP to use the clock source A and FSA. For 8 Mbps data rate, XMTDATR has to be set to 0x0. As the TSIP data clock rate is at 16 MHz for this system, XMTCLKM sound be configured to 0x0 for selecting the double data rate clock mode.

4. Clock and frame sync polarities must be configured depending on whether the TEMUX device is driving active low or active high signal for frame sync and depending on the clock-edge at which it is driving the data.

5. Configure the XMTDIS state depending on how the transmit lanes have to be tri-stated in the system.

6. XMTDATD and RCVDATD need to be set based on the delay in the system for the first valid data to be received by the TSIP after the frame sync is detected. SIU is set to transmit/receive the data on its

TX and TR lanes.

7. Based on the call setup and teardown messages from the host, the system should be configured for the transmit and receive frame size after determining the number of logical timeslots that need to be enabled in a frame. Depending on the system, Determine the frame count that needs to be there in each superframe.

8. Configure the endianness and priority of the TSIP master in the system as per the system requirements.

9. Enable the interrupts required to the system from the TSIP.

10. Configure the DMA channel context registers depending on the channels to be enabled. Once DMA context is written, configure the CnID and enable the channel by writing into the CHnENB bit.

11. Enable the DMA by setting DMAENB and enable SIU by setting the XMTENB and RCVENB bits.

12. The TSIP is set to receive and transmit data on the next Frame Sync.

13. The TSIP switches between the PING and PONG buffers on every superframe. Hence, the system can configure the DMA channel parameters for a context switch while the TSIP transfer is going on.

SPRUF96A – October 2007 – Revised September 2008

Submit Documentation Feedback

TMS320C6452 TSIP 35

Preliminary

TSIP Initialization Procedure

Bitmap slots can be re-enabled depending on the call setup messages received for the next superframe using the ping-pong buffer mechanism.

www.ti.com

36 TMS320C6452 TSIP SPRUF96A – October 2007 – Revised September 2008

Submit Documentation Feedback

Preliminary www.ti.com

7 Registers

This section includes the TSIP memory map information and registers.

Registers

7.1

TSIP Memory Map

Table 24

to

Table 36

provide additional register memory map information.

Table 1

lists the summary memory map for the registers for the TSIP.

Offset Address

0x00000000

0x00000004

0x00000008

0x0000000C -- 0x0000007C

Table 24. TSIP Module Registers

Type

Constant

Configuration

Configuration

Reset Value

0x0060MMmm

0x00000001

0x00000000

Reset By

(1)

H

H, S

H

Description

PID Register

Emulation and Test Register

Reset Register

Reserved

(1)

H=Hardware reset, S=SIURST, D=DMARST

Offset Address

0x00000080

0x00000084 -- 0x0000009C

0x000000A0

0x000000A4

0x000000A8

0x0000000AC -- 0x000000BC

0x0000000C0

0x000000C4

0x000000C8

0x0000000CC -- 0x000000FC

Table 25. Serial Interface Registers

Type

Configuration

Reset Value

0x00000000

Reset By

(1)

H, S

Configuration

Configuration

Configuration

Configuration

Configuration

Configuration

0x00000000

0x00000000

0x0000007F

0x00000000

0x00000000

0x0000007F

H, S

H, S

H, S

H, S

H, S

H, S

Description

SIU Global Control Register

Reserved

Transmit Clock Source Register

Transmit Control Register

Transmit Size Register

Reserved

Receive Clock Source Register

Receive Control Register

Receive Size Register

Reserved

(1)

H=Hardware reset, S=SIURST, D=DMARST

Offset Address

0x00000100

0x00000104

0x00000108

0x0000010C

0x0000010

0x000000114

0x000000118 -- 0x0000017C

Table 26. TDMU Global Registers

Type

Configuration

Status

Status

Configuration

Status

Status

Reset Value

0x00000000

0x00000000

0x00000000

0x00000000

0x00000000

0x00000000

Reset By

(1)

H, D

H, D

H, D

H, D

H, D

H, D

Description

TDMU Global Control Register

Transmit Free Running Frame Counter

Receive Free Running Frame Counter

TDMU Global Configuration Register

Transmit Channel Active Status Register

Receive Channel Active Status Register

Reserved

(1)

H=Hardware reset, S=SIURST, D=DMARST

SPRUF96A – October 2007 – Revised September 2008

Submit Documentation Feedback

TMS320C6452 TSIP 37

Preliminary

Registers www.ti.com

Table 27. DMATCU Global Registers

Offset Address

0x00000180

0x00000184

0x00000188

0x0000018C

Type

Configuration

Configuration

Configuration

0x00000190 Status

(1)

0x000000194

0x000000198 -- 0x000001FC

Status

H=Hardware reset, S=SIURST, D=DMARST

Reset Value

0x00000077

0x0000007F

0x0000007F

0x00000000

0x00000000

Reset By

(1)

H, D

H, D

H, D

H, D

H, D

Description

DMATCU Global Control Register

Transmit Timeslot Delay Counter

Receive Timeslot Delay Counter

Reserved

Transmit Channel Active Status Register

Receive Channel Active Status Register

Reserved

(1)

Table 28. TDMU Channel Error Registers

Offset Address

0x00000200

0x00000204

0x00000208

Type

Configuration

Status

Status

0x0000020C

H=Hardware reset, S=SIURST, D=DMARST

Reset Value

0x00000000

0x00000000

0x00000000

Reset By

(1)

H, D

H, D

H, D

Description

TX/RX Channel 0 Error Control Register

TX/RX Channel 0 Error Count Register

TX/RX Channel 0 Error Queue Register

Reserved

Offset Address

0x00000200 -- 0x0000020C

0x00000210 -- 0x000003FC

Table 29. TX/RX Channel 0 Error Registers

Register Description

TX/RX channel 0 error log registers

Reserved

Offset Address

0x00000800 -- 0x0000081C

0x00000820 -- 0x00000BFC

0x00000C00 -- 0x00000C1C

0x00000C20 -- 0x00000FFC

Table 30. TDMU Channel Registers

Register Description

Transmit channel 0 registers

Reserved

Receive channel 0 registers

Reserved

Table 31. TDMU Transmit Channel 0 Registers

Offset Address

0x00000800

Type

Configuration

(1)

0x00000804 -- 0x0000081C

H=Hardware reset, S=SIURST, D=DMARST

Reset Value

0x00000000

Reset By

(1)

H, D

Description

Transmit channel 0 enable register

Reserved

Table 32. TDMU Receive Channel 0 Registers

Offset Address

0x00000C00

Type

Configuration

(1)

0x00000C04 -- 0x00000C1C

H=Hardware reset, S=SIURST, D=DMARST

Reset Value

0x00000000

Reset By

(1)

H, D

Description

Receive channel 0 enable register

Reserved

Offset Address

0x00001000 -- 0x0000101C

0x00001020 -- 0x0000103C

0x00001040 -- 0x000017FC

0x00001800 -- 0x0000181C

Table 33. DMATCU Channel Registers

Register Description

Transmit channel 0 configuration A Registers

Transmit channel 0 configuration B registers

Reserved

Receive channel 0 configuration A registers

38 TMS320C6452 TSIP SPRUF96A – October 2007 – Revised September 2008

Submit Documentation Feedback

Preliminary www.ti.com

Registers

Table 33. DMATCU Channel Registers (continued)

Offset Address

0x00001820 -- 0x0000183C

0x00001840 -- 0x00001FFC

Register Description

Receive channel 0 configuration B registers

Reserved

Table 34. DMATCU Transmit Channel 0 Registers

Offset Address

0x00001000

0x00001004

0x00001008

0x0000100C

Type

Configuration

Configuration

Configuration

Configuration

0x000001010 -- 0x0000101C

0x000001020

0x000001024

0x000001028

0x00000102C

Configuration

Configuration

Configuration

Configuration

(1)

0x000001030 -- 0x00000103C

H=Hardware reset, S=SIURST, D=DMARST

Reset Value

0x00000000

0x00000000

0x00000000

0x00000000

0x00000000

0x00000000

0x00000000

0x00000000

Reset By

(1)

H, D

H, D

H, D

H, D

H, D

H, D

H, D

H, D

Description

Memory Base Address Register A

Frame Allocation Register A

Frame Size Register A

Frame Count Register A

Reserved

Memory Base Address Register B

Frame Allocation Register B

Frame Size Register B

Frame Count Register B

Reserved

Table 35. DMATCU Receive Channel 0 Registers

Offset Address

0x00001800

0x00001804

0x00001808

Type

Configuration

Configuration

Configuration

Configuration 0x0000180C

0x000001810 -- 0x0000181C

0x000001820

0x000001824

0x000001828

Configuration

Configuration

Configuration

0x00000182C Configuration

(1)

0x000001830 -- 0x00000183C

H=Hardware reset, S=SIURST, D=DMARST

Reset Value

0x00000000

0x00000000

0x00000000

0x00000000

0x00000000

0x00000000

0x00000000

0x00000000

Reset By

(1)

H, D

H, D

H, D

H, D

H, D

H, D

H, D

H, D

Description

Memory Base Address Register A

Frame Allocation Register A

Frame Size Register A

Frame Count Register A

Reserved

Memory Base Address Register B

Frame Allocation Register B

Frame Size Register B

Frame Count Register B

Reserved

Offset Address

0x00008000 -- 0x0000801C

0x00008020 – 0x000080FC

0x00008100 -- 0x0000811C

0x00008120 -- 0x0000BFFC

0x0000C000 -- 0x0000C01C

0x0000C020 – 0x0000C0FC

0x0000C100 -- 0x0000C11C

0x0000C120 -- 0x0000FFFC

Table 36. TDMU Channel Bitmap Registers

Register Description

Transmit channel 0 bitmap A

Reserved

Transmit channel 0 bitmap B

Reserved

Receive channel 0 bitmap A

Reserved

Receive channel 0 bitmap B

Reserved

7.2

Register Description

This section provides a detailed definition of the peripheral module constant registers.

SPRUF96A – October 2007 – Revised September 2008

Submit Documentation Feedback

TMS320C6452 TSIP 39

Preliminary

Registers

7.2.1

PID Register

The PID register is shown in

Figure 12

and described in

Table 37 .

31

MODID

R-0x0060

Figure 12. PID Register (0x00000000)

16 15

MAJOR

R-0x01

LEGEND: R/W = Read/Write; R = Read only; -n = Value after reset

8 7

Bit

31 - 16

15 - 8

7 - 0

Field Name

MODID

MAJOR

MINOR

Table 37. PID Register Field Descriptions

Value

0x0060

0x01

0x00

Description

Module ID

Major Version Value

Minor Version Value

MINOR

R-1x00 www.ti.com

7.2.2

Emulation and Test Register

The emulation and test register is shown in

Figure 13

and described in

Table 38 .

31

Reserved

Figure 13. Emulation and Test Register (0x00000004)

25 24 20 19

Reserved

R-0 R/W-0

18 17

LBS

16

SIU

TST

R/W-0 R/W-0

15 8

Reserved

R-0

LEGEND: R/W = Read/Write; R = Read only; -n = value after reset

7

Reserved

R-0

Table 38. Emulation and Test Register Field Descriptions

(1)

Bit

31 - 25

17

16

15 - 2

1

0

Field Name

Reserved

LBS

(1)

SIUTST

Reserved

SOFT

Free

(1)

(1)

(1)

Value Description

0x0000 Reserved

Serial test mode selection

0

1

External

Internal

0

1

Serial test mode enable

Normal operating mode is enabled. LBS is ignored.

Serial loopback test mode is enabled.

0x00 Reserved

Halt selection

0

1

0

1

Halt SIU, TDMU, and DMTCU at the completion of the current frame.

Halt receive TDMU and DMATCU at the completion of the current frame.

Free run selection

SOFT takes effect.

Ignore emulation input. Continue to function normally.

This field is write protected once DMA is enabled.

2 1 0

SOFT FREE

0

40 TMS320C6452 TSIP SPRUF96A – October 2007 – Revised September 2008

Submit Documentation Feedback

www.ti.com

Preliminary

Registers

SPRUF96A – October 2007 – Revised September 2008

Submit Documentation Feedback

TMS320C6452 TSIP 41

Preliminary

Registers

7.2.3

Reset Register

The reset register is shown in

Figure 14

and described in

Table 39

.

Figure 14. Reset Register (0x00000008)

31

Reserved

R-0x00000000

LEGEND: R/W = Read/Write; R = Read only; -n = Value after reset

Bit

31 - 2

1

0

Field Name

Reserved

DMA

SIU

Table 39. Reset Register Field Descriptions

Value Description

0x00000000 Reserved

0

1

TDMU and DMATCU reset

Reads:

Reset is complete. TDMU and DMATCU can be enabled for operation.

Reset is in progress.

0

1

0

1

0

1

Writes:

Writes of 0 have no affect.

Reset the TDMU and DMATCU.

SIU reset

Reads:

Reset is complete. SIU can be enabled for operation.

Reset is in progress.

Writes:

Writes of 0 have no affect.

Reset the SIU.

www.ti.com

2 1

DMA

0

SIU

R/W-0 R/W-0

42 TMS320C6452 TSIP SPRUF96A – October 2007 – Revised September 2008

Submit Documentation Feedback

Preliminary www.ti.com

7.2.4

SIU Global Control Register

The SIU global control register is shown in

Figure 15

and described in

Table 40 .

Figure 15. SIU Global Control Register (0x00000080)

31

Reserved

R-0x00000000

Registers

16

15

Reserved

R-0x00000000

LEGEND: R/W = Read/Write; R = Read only; -n = Value after reset

5 4

CLKD

R/W,0

3

Reserved

R,00

2 1 0

RCVENB XMTENB

R/W-0 R/W-0

Bit

31 - 5

4

3-2

1

0

Field Name

Reserved

CLKD

Reserved

RCVENB

XMTENB

Table 40. SIU Global Control Register Field Descriptions

Value Description

0x00000000 Reserved

0

1

0

Clock redundancy selection

Redundant clock mode. Transmit and receive share the same clock and frame sync. The common selections are those defined by SMTSRC, SMTCLKM, and SMTDATR in the transmit select and enable register. The RCVSRC, RCVCLKM, and RCVDATR fields are ignored.

Dual clock mode. Transmit and receive are specified totally independently.

0

1

0

1

Reserved

Receive enable

Receive serial interface is disabled/stopped.

Receive serial interface is enabled/running.

Transmit enable

Transmit serial interface is disabled/stopped.

Transmit serial interface is enabled/running.

7.2.5

Transmit Clock Source Register

The transmit clock source register is shown in

Figure 16

and described in

Table 41

.

Figure 16. Transmit Clock Source Register (0x000000A0)

31

Reserved

R-0x00000000

LEGEND: R/W = Read/Write; R = Read only; -n = Value after reset

Bit

31 - 1

0

Field Name

Reserved

XMTSRC

Table 41. Transmit Clock Source Register Field Descriptions

Value Description

0x00000000 Reserved

0

1

Transmit clock and frame sync selection

TCLK_A and TFS_A

TCLK_B and TFS_B

1 0

XMTSRC

R/W-0

SPRUF96A – October 2007 – Revised September 2008

Submit Documentation Feedback

TMS320C6452 TSIP 43

Registers

Preliminary www.ti.com

44 TMS320C6452 TSIP SPRUF96A – October 2007 – Revised September 2008

Submit Documentation Feedback

Preliminary www.ti.com

7.2.6

Transmit Control Register

The transmit control register is shown in

Figure 17

and described in

Table 42 .

Figure 17. Transmit Control Register (0x000000A4)

31 30 29

Reserved

R-0x0

XMTDATD

R/W-0x0000

Registers

24

23

XMTDATD

R/W-0x0000

15

Reserved

R-0x00

7

XMTFSYNCP

R/W-0

6

XMTFCLKP

R/W-0

5

XMTDCLKP

R/W-0

4

Reserved

R-00

LEGEND: R/W = Read/Write; R = Read only; -n = Value after reset

11

3 2

10 9

XMTDATR

R/W-00

16

XMTDIS

R/W-00

1 0

XMTCLKM

R/W-0

8

Table 42. Transmit Control Register Field Descriptions

(1)

Bit

31 - 30

29 - 16

Field Name

Reserved

XMTDATD

(2)

Value

0x0

0x0000

Description

Reserved

Transmit data delay [0-16383] n + 1.5

When clock polarity for data and frame sync differs.

(1)

(2)

15 - 10

9-8

Reserved

XMTDIS

(2)

0x00

00

01

10

11 n + 2 When clock polarity for data and frame sync is identical.

Reserved

Transmit output disable state

High impedance

Reserved

Driven low

Driven high

7 XMTFSYNCP

(2)

0

1

Transmit frame sync polarity

Transmit frame sync is active low.

Transmit frame sync is active high.

6

5

XMTFCLKP

XMTDCLKP

(2)

(2)

0

1

0

1

Transmit frame sync clock polarity

Transmit frame sync is sampled on the rising edge of TCLK_x.

Transmit frame sync is sampled on the falling edge of TCLK_x.

Transmit data clock polarity

Transmit data is driven on the rising edge of TCLK_x.

Transmit data is driven on the falling edge of TCLK_x.

4-3 Reserved 0 Reserved

If XMTCLKD is programmed to 0 or RCVSRC and XMTSRC will be written with the same value, then RCVFSYNCP and XMTFSYNCP must be programmed with the same value. Likewise, RCVFCLKP and XMTFCLKP must be programmed with the same value.

This field is write protected when SIU transmit is enabled.

SPRUF96A – October 2007 – Revised September 2008

Submit Documentation Feedback

TMS320C6452 TSIP 45

Preliminary

Registers

Bit

2-1

0

Table 42. Transmit Control Register Field Descriptions (continued)

Field Name

XMTDATR

(2)

XMTCLKM

(2)

Value

00

01

10

11

0

1

Description

Transmit data rate

8.192 Mbps

16.384 Mbps

Reserved

Reserved

Transmit clock mode

TCLK_x is a double rate clock.

TCLK_x is a single rate clock.

www.ti.com

46 TMS320C6452 TSIP SPRUF96A – October 2007 – Revised September 2008

Submit Documentation Feedback

Preliminary www.ti.com

7.2.7

Transmit Size Register

The transmit size register is shown in

Figure 18

and described in

Table 43

.

31

Reserved

R-0x000

24 23

Figure 18. Transmit Size Register (0x000000A8)

16 15 7 6

XMTFCNT

R/W-0x3

Reserved

R-0x00

XMTFSIZ

R/W-0x07F

Registers

LEGEND: R/W = Read/Write; R = Read only; -n = Value after reset

(1)

(2)

Bit

31 - 24

23 - 16

15 - 7

6 - 0

Field Name

Reserved

XMTFCNT

(2)

Reserved

XMTFSIZ

(2)

Table 43. Transmit Size Register Field Descriptions

(1)

Value

0x000

0x3

0x00

0x7F

Description

Reserved

Transmit frame count [0-255] n + 1 Number of frames per superframe

Reserved

Transmit frame size [0-27] n + 1 Number of logical timeslots per frame. Minimum number of logical timeslot periods per frame.

6 Values of 6 and less are reserved. Attempts to write a value of 6 or less result in a value of 0x7F being registered.

If CLKD is programmed to 0 or RCVSRC and XMTSRC will be written with the same value, then RCVFSIZ and XMTFSIZ must be programmed with the same value.

This field is write protected when SIU transmit is enabled.

7.2.8

Receive Clock Source Register

The receive clock source register is shown in

Figure 19

and described in

Table 44

.

Figure 19. Receive Clock Source Register (0x000000C0)

31

Reserved

R-0x00000000

LEGEND: R/W = Read/Write; R = Read only; -n = Value after reset

1 0

RCVSRC

R/W-0

Bit

31 - 1

0

Field Name

Reserved

RCVSRC

Table 44. Transmit Clock Source Register Field Descriptions

Value Description

0x00000000 Reserved

0

1

Receive clock and frame sync selection

TCLK_A and TFS_A

TCLK_B and TFS_B

0

SPRUF96A – October 2007 – Revised September 2008

Submit Documentation Feedback

TMS320C6452 TSIP 47

Preliminary

Registers

7.2.9

Receive Control Register

The receive control register is shown in

Figure 20

and described in

Table 45 .

31

Reserved

R-0x0

30 29

Figure 20. Receive Control Register (0x000000C4)

16 15

RCVDATD

R/W-0x0000

Reserved

R-0x00

3 2 7

RCVFSYNCP

R/W-0

6

RCVFCLKP

R/W-0

5

RCVDCLKP

R/W-0

4

Reserved

R-00

LEGEND: R/W = Read/Write; R = Read only; -n = Value after reset

RCVDATR

R/W-00 www.ti.com

1 0

RCVCLKM

R/W-0

8

Table 45. Receive Control Register Field Descriptions

(1)

(1)

(2)

Bit

31 - 30

29 - 16

15 -8

7

6

5

4-3

2-1

0

Field Name

Reserved

RCVDATD

(2)

Reserved

RCVFSYNCP

RCVFCLKP

RCVDCLKP

Reserved

RCVDATR

RCVCLKM

(2)

(2)

(2)

(2)

(2)

Value

0x0

0x0000

0x00

0

1

0

1

0

1

0

00

01

10

11

0

1

Description

Reserved

Receive data delay [0-16383] n + 1.5

When clock polarity for data and frame sync differs.

n + 2 When clock polarity for data and frame sync is identical.

Reserved

Receive frame sync polarity

Receive frame sync is active low.

Receive frame sync is active high.

Receive frame sync clock polarity

Receive frame sync is sampled on the rising edge of TCLK_x.

Receive frame sync is sampled on the falling edge of TCLK_x.

Receive data clock polarity

Receive data is sampled on the rising edge of TCLK_x.

Receive data is sampled on the falling edge of TCLK_x.

Reserved

Receive data rate

8.192 Mbps

16.384 Mbps

Reserved

Reserved

Receive clock mode

TCLK_x is a double rate clock.

TCLK_x is a single rate clock.

If CLKD is programmed to 0 or RCVSRC and XMTSRC will be written with the same value, then RCVFSYNCP and XMTFSYNCP must be programmed with the same value. Likewise, RCVFCLKP and XMTFCLKP must be programmed with the same value.

This field is write protected when SIU receive is enabled.

48 TMS320C6452 TSIP SPRUF96A – October 2007 – Revised September 2008

Submit Documentation Feedback

Preliminary www.ti.com

7.2.10

Receive Size Register

The receive size register is shown in

Figure 21

and described in

Table 46

.

31

Reserved

R-0x000

24 23

Figure 21. Receive Size Register (0x000000C8)

16 15 7 6

RCVFCNT

R/W-0x3

Reserved

R-0x00

RCVFSIZ

R/W-0x07F

Registers

LEGEND: R/W = Read/Write; R = Read only; -n = Value after reset

(1)

(2)

Bit

31 - 24

23 - 16

15 - 7

6 - 0

Field Name

Reserved

RCVFCNT

(2)

Reserved

RCVFSIZ

(2)

Table 46. Receive Size Register Field Descriptions

(1)

Value

0x000

0x3

0x00

0x7F

Description

Reserved

Receive frame count [0-255] n + 1 Number of frames per superframe

Reserved

Receive frame size [0-27] n + 1 Number of logical timeslots per frame. Minimum number of logical timeslot periods per frame.

6 Values of 6 and less are reserved. Attempts to write a value of 6 or less will result in a value of 0x7F being registered.

If CLKD is programmed to 0 or RCVSRC and XMTSRC will be written with the same value, then RCVFSIZ and XMTFSIZ must be programmed with the same value.

This field is write protected when SIU receive is enabled.

7.2.11

TDMU Global Control Register

The TDMU global control register is shown in

Figure 22

and described in

Table 47 .

Figure 22. TDMU Global Control Register (0x000000C0)

31

Reserved

R-0x00000000

LEGEND: R/W = Read/Write; R = Read only; -n = Value after reset

1 0

DMAENB

R/W-0

Bit

31 - 1

0

Field Name

Reserved

DMAENB

Table 47. TDMU Global Control Register Field Descriptions

Value

0

0

1

Description

Reserved

TDMU and DMATCU enable

TDMU and DMATCU is disabled/stopped.

TDMU and DMATCU is enabled/running.

0

SPRUF96A – October 2007 – Revised September 2008

Submit Documentation Feedback

TMS320C6452 TSIP 49

Preliminary

Registers

7.2.12

Transmit Free Running Frame Counter

The transmit free running frame counter is shown in

Figure 23

and described in

Table 48 .

31

Reserved

R-0x00

Figure 23. Transmit Free Running Frame Counter (0x00000104)

24 23

FRFC

R-0x000000

LEGEND: R/W = Read/Write; R = Read only; -n = Value after reset

Bit

31 - 24

23 - 0

Field Name

Reserved

FRFC

Table 48. Transmit Free Running Frame Counter Field Descriptions

Value

0x00

Description

Reserved

0x000000 Free running frame counter www.ti.com

0

7.2.13

Receive Free Running Frame Counter

The receive free running frame counter is shown in

Figure 24

and described in

Table 49 .

31

Reserved

R-0x00

Figure 24. Receive Free Running Frame Counter (0x00000108)

24 23

FRFC

R-0x000000

LEGEND: R/W = Read/Write; R = Read only; -n = Value after reset

Bit

31 - 24

23 - 0

Field Name

Reserved

FRFC

Table 49. Receive Free Running Frame Counter Field Descriptions

Value

0x00

Description

Reserved

0x000000 Free running frame counter

7.2.14

TDMU Global Configuration Register

The TDMU global configuration register is shown in

Figure 25

and described in

Table 50 .

Figure 25. TDMU Global Configuration Register (0x0000010C)

31

Reserved

R-0x00000000

1

LEGEND: R/W = Read/Write; R = Read only; -n = Value after reset

(1)

Bit

31 - 1

0

Field Name

Reserved

BEND

(1)

Table 50. TDMU Global Configuration Register Field Descriptions

Value Description

0x00000000 Reserved

0

1

Endian mode selection

Little endian format

Big endian format

This field is write protected once DMA is enabled.

0

BEND

R/W-0

0

50 TMS320C6452 TSIP SPRUF96A – October 2007 – Revised September 2008

Submit Documentation Feedback

Preliminary www.ti.com

Registers

7.2.15

Transmit Channel Bitmap Active Status Register

The transmit channel bitmap active status register is shown in

Figure 26

and described in

Table 51 .

Figure 26. Transmit Channel Bitmap Active Status Register (0x00000110)

31

Reserved

R-0

16

15

Reserved

R-0

2 1

CH0BMS

R-00

0

LEGEND: R/W = Read/Write; R = Read only; -n = Value after reset

Bit

31:2

1:0

Table 51. Transmit Channel Bitmap Active Status Register Field Descriptions

Field Name

Reserved

CH0BMS

Value

00

01

10

11

Description

Reserved

Transmit channel 0 active status. Defines whether A and B bitmap is active or inactive.

Both A and B bitmaps are inactive.

A bitmap is active. B bitmap is inactive.

A bitmap is inactive. B bitmap is active

Reserved

7.2.16

Receive Channel Bitmap Active Status Register

The receive channel bitmap active status register is shown in

Figure 27

and described in

Table 52 .

Figure 27. Receive Channel Bitmap Active Status Register (0x00000114)

31

Reserved

R-0

15

Reserved

R-0

16

2 1

CH0BMS

R-0

0

LEGEND: R/W = Read/Write; R = Read only; -n = Value after reset

Bit

31 - 2

1 - 0

Table 52. Receive Channel Bitmap Active Status Register Field Descriptions

Field Name

Reserved

CH0BMS

Value

0

00

01

10

11

Description

Reserved

Receive channel 0 active status. Defines whether A and B bitmap is active or inactive.

Both A and B bitmaps are inactive.

A bitmap is active. B bitmap is inactive.

A bitmap is inactive. B bitmap is active.

Reserved

SPRUF96A – October 2007 – Revised September 2008

Submit Documentation Feedback

TMS320C6452 TSIP 51

Registers

Preliminary www.ti.com

52 TMS320C6452 TSIP SPRUF96A – October 2007 – Revised September 2008

Submit Documentation Feedback

Preliminary www.ti.com

7.2.17

DMATCU Global Control Register

The DMATCU global control register is shown in

Figure 28

and described in

Table 53 .

Figure 28. DMATCU Global Control Register (0x00000180)

31

Reserved

R-0x000000

Registers

16

15

Reserved

R-0

LEGEND: R/W = Read/Write; R = Read only; -n = Value after reset

7 6

MAXPRI

R/W-0x7

4 3

Reserv ed

R-0b

2

PRI

R/W-0x7

(1)

Bit

31 - 7

6 - 4

3

2 - 0

Field Name

Reserved

MAXPRI

(1)

Reserved

PRI

(1)

Table 53. DMATCU Global Control Register Field Descriptions

Value Description

0x000000 Reserved

Maximum Transfer Priority. MAXPRI is expected to be programmed with a value less than or equal to PRI. When MAXPRI is greater than PRI, it is treated as if it were equal and no escalation or de-escalation takes place.

0

1

...

7

0b

Priority 0 - Highest priority

Priority 1

Priority 2-6

Priority 7 - Lowest priority.

Reserved

Transfer Priority.

Priority 0 - Highest priority 0

1

...

7

Priority 1

Priority 2-6

Priority 7 - Lowest priority

This field is write protected once DMA is enabled.

0

SPRUF96A – October 2007 – Revised September 2008

Submit Documentation Feedback

TMS320C6452 TSIP 53

Preliminary

Registers

7.2.18

Transmit Timeslot Delay Register

The transmit timeslot delay register is shown in

Figure 29

and described in

Table 54

.

Figure 29. Transmit Timeslot Delay Register (0x00000184)

31

Reserved

R-0x000000 www.ti.com

16

15 14

XMTSFINT

R-00b

13 12

XMTFRINT

R-00b

11

Reserved

9 8

R-00000b

LEGEND: R/W = Read/Write; R = Read only; -n = Value after reset

7 6

XMTFDLY

R/W-0x07F

(1)

Bit

31 - 16

15 - 14

13 - 12

11 - 10

9 - 0

Field Name

Reserved

XMTSFINT

(1)

XMTFRINT

(1)

Reserved

XMTFDLY

(1)

Table 54. Transmit Timeslot Register Field Descriptions

Value Description

0x000000 Reserved

00

01

10

11

Transmit superframe interrupt selection

Interrupt asserted on transfer acknowledge only.

Interrupt asserted on delay count only.

Interrupt asserted on either transfer acknowledge or delay count.

Interrupt asserted on both transfer acknowledge and delay count.

00

01

10

11

Transmit frame interrupt selection

Interrupt asserted on transfer acknowledge only.

Interrupt asserted on delay count only.

Interrupt asserted on either transfer acknowledge or delay count.

Interrupt asserted on both transfer acknowledge and delay count.

00000b Reserved

0x07F Transfer frame interrupt delay [0-127] n + 1 Number of logical timeslots the frame interrupt is delayed after going pending.

This field is write protected once DMA is enabled.

0

54 TMS320C6452 TSIP SPRUF96A – October 2007 – Revised September 2008

Submit Documentation Feedback

Preliminary www.ti.com

7.2.19

Receive Timeslot Delay Register

The receive timeslot delay register is shown in

Figure 30

and described in

Table 55 .

Figure 30. Receive Timeslot Delay Register (0x00000188)

31

Reserved

R-0x000000

Registers

16

15

R-00b

14

RCVSFINT

13 12

RCVFRINT

R-00b

11

Reserved

R-00000b

LEGEND: R/W = Read/Write; R = Read only; -n = Value after reset

7 6

RCVFDLY

R/W-0x07F

(1)

Bit

31 - 16

15 - 14

13 - 12

11 - 7

6 - 0

Field Name

Reserved

RCVSFINT

(1)

RCVFRINT

(1)

Reserved

RCVFDLY

(1)

Table 55. Receive Timeslot Delay Register Field Descriptions

Value Description

0x000000 Reserved

00

01

10

11

Receive superframe interrupt selection

Interrupt asserted on transfer acknowledge only.

Interrupt asserted on delay count only.

Interrupt asserted on either transfer acknowledge or delay count.

Interrupt asserted on both transfer acknowledge and delay count.

00

01

10

11

Receive frame interrupt selection

Interrupt asserted on transfer acknowledge only.

Interrupt asserted on delay count only.

Interrupt asserted on either transfer acknowledge or delay count.

Interrupt asserted on both transfer acknowledge and delay count.

00000b Reserved

0x07F Receive frame interrupt delay [0-127] n + 1 Number of logical timeslots the frame interrupt is delayed after going pending.

This field is write protected once DMA is enabled.

0

SPRUF96A – October 2007 – Revised September 2008

Submit Documentation Feedback

TMS320C6452 TSIP 55

Preliminary

Registers www.ti.com

7.2.20

Transmit Channel Configuration Active Status Register

The transmit channel configuration active status register is shown in

Figure 31

and described in

Table 56 .

Figure 31. Transmit Channel Configuration Active Status Register (0x00000190)

31 16

Reserved

R-00000

15

Reserved

R-00

2 1

CH0CS

R-00

0

LEGEND: R/W = Read/Write; R = Read only; -n = Value after reset

Bit

31 - 2

1 - 0

Table 56. Transmit Channel Configuration Active Status Register Field Descriptions

Field Name

Reserved

CH0CS

Value

0x00000

00

01

10

11

Description

Reserved

Transmit channel 5 active status. Defines whether the A and B configurations are active or inactive.

Both A and B configurations are inactive.

A configuration is active. B configuration is inactive.

A configuration is inactive. B configuration is active.

Reserved

7.2.21

Receive Channel Configuration Active Status Register

The receive channel configuration active status register is shown in

Figure 32

and described in

Table 57 .

Figure 32. Receive Channel Configuration Active Status Register (0x00000194)

31 16

Reserved

R-00

15

Reserved

R-00

2 1

CH0CS

R-00

0

LEGEND: R/W = Read/Write; R = Read only; -n = Value after reset

Bit

31 - 2

1 - 0

Table 57. Receive Channel Configuration Active Status Register Field Descriptions

Field Name

Reserved

CH0CS

Value Description

0x000000 Reserved

Receive channel 5 active status. Defines whether A and Configuration is active or inactive.

Both A and B configurations are inactive.

00

01

10

11

A configuration is active. B configuration is inactive.

A configuration is inactive. B configuration is active.

Reserved

56 TMS320C6452 TSIP SPRUF96A – October 2007 – Revised September 2008

Submit Documentation Feedback

www.ti.com

Preliminary

Registers

SPRUF96A – October 2007 – Revised September 2008

Submit Documentation Feedback

TMS320C6452 TSIP 57

Preliminary

Registers

7.2.22

Channel n Error Control Register

The channel n error control register is shown in

Figure 33

and described in

Table 58 .

Figure 33. Channel n Error Control Register

31

Reserved

R-0x000000 www.ti.com

16

15

Reserved

R-0x000000

9 8

CLRQOV

R/W-0

LEGEND: R/W = Read/Write; R = Read only; -n = Value after reset

7

Bit

31 - 9

8

7 - 2

1

0

Reserved

R-0x00

Field Name

Reserved

CLRQOV

Reserved

CLRQ

POPQ

Table 58. Channel n Error Control Register Field Descriptions

Value Description

0x000000 Reserved

0

1

0x00

Clear error queue overflow flag. This bit is always read as 0.

Write 0 has no effect.

Write 1 to clear the error queue overflow flag in the error count register.

Reserved

Clear error queue. This bit is always read as 0.

0

1

0

1

Write 0 has no effect.

Write 1 to clear the error queue of all error entries.

Pop the top entry off the queue. This bit is always read as 0.

Write 0 has no effect.

Write 1 to pop the top error entry off the error queue.

2 1 0

CLRQ POPQ

R/W-0 R/W-0

58 TMS320C6452 TSIP SPRUF96A – October 2007 – Revised September 2008

Submit Documentation Feedback

Preliminary www.ti.com

7.2.23

Channel n Error Count Register

The channel n error count register is shown in

Figure 34

and described in

Table 59

.

Figure 34. Channel n Error Count Register

31

Reserved

R-0x000000

Registers

16

15

Reserved

R-0x000000

9 8

EQOV

R-0b

LEGEND: R/W = Read/Write; R = Read only; -n = Value after reset

7

Bit

31 - 9

8

7 - 5

4 - 0

Reserved

R-0x0

5 4

ECNT

R-0x00

Field Name

Reserved

EQOV

Reserved

ECNT

Table 59. Channel n Error Count Register Field Descriptions

Value Description

0x000000 Reserved

Error Queue Overflow. The overflow flag is set to indicate that the error detection logic was unable to add at least one error entry to the error queue. Once the overflow flag is set it remains set until it is cleared by a write to the overflow clear bit in the error queue control register. Reading entries from the queue does not automatically clear the overflow flag.

0x0 Reserved

Error Count, the number of unread entries on the error queue.

0

7.2.24

Channel n Error Queue Register

The channel n error queue register is shown in

Figure 35

and described in

Table 60

.

Figure 35. Channel n Error Queue Register

31 24 23

ERRCODE

R-0x00

INFO

R-0x000000

0

LEGEND: R/W = Read/Write; R = Read only; -n = Value after reset

Bit

31 - 24

23 - 0

Field Name

ERRCODE

INFO

Table 60. Channel n Error Queue Register Field Descriptions

Value Description

Error Code

Error Information Field. Information specific to the cause of the error is provided in this field.

The specific format is error specific as defined by the following error code figures.

SPRUF96A – October 2007 – Revised September 2008

Submit Documentation Feedback

TMS320C6452 TSIP 59

Preliminary

Registers

7.2.25

CAT-0 Error Code Format Register

The CAT-0 error code format register is shown in

Figure 36

and described in

Table 61

.

Figure 36. CAT-0 Error Code Format Register

31 24 23

ERRC

R-0x00

Reserved

R-0x000000

LEGEND: R/W = Read/Write; R = Read only; -n = Value after reset

Bit

31 - 24

23 - 0

Field Name

ERRC

Reserved

Table 61. CAT-0 Error Code Format Register Field Descriptions

Value Description

Error code

0x000000 Reserved

7.2.26

CAT-1 Error Code Format Register

The CAT-1 error code format register is shown in

Figure 37

and described in

Table 62

.

Figure 37. CAT-1 Error Code Format Register

31 24 23

ERRC

R-0x00

FUNM

R-0x000000

LEGEND: R/W = Read/Write; R = Read only; -n = Value after reset

Bit

31 - 24

23 - 0

Field Name

ERRC

FNUM

Table 62. CAT-1 Error Code Format Register Field Descriptions

Reset Value

0x00

0x000000

Description

Error code

Free running frame counter value

7.2.27

CAT-2 Error Code Format Register

The CAT-2 error code format register is shown in

Figure 38

and described in

Table 63

.

31

ERRC

R-0x00

24 23

Figure 38. CAT-2 Error Code Format Register

16 15 8 7

Reserved

R-0x00

CIDA

R-0x00

CIDF

R-0x00

LEGEND: R/W = Read/Write; R = Read only; -n = Value after reset

Bit

31 - 24

23 - 16

15 - 8

7 - 0

Field Name

ERRC

Reserved

CIDA

CIDF

Table 63. CAT-2 Error Code Format Register Field Descriptions

Value

0x00

0x00

0x00

0x00

Description

Error code

Reserved

Active configuration ID

Data buffer configuration ID www.ti.com

0

0

0

60 TMS320C6452 TSIP SPRUF96A – October 2007 – Revised September 2008

Submit Documentation Feedback

Preliminary www.ti.com

Registers

7.2.28

CAT-3 Error Code Format Register

The CAT-3 error code format register is shown in

Figure 39

and described in

Table 64

.

31

ERRC

R-0x00

24 23

Figure 39. CAT-3 Error Code Format Register

8 7

Reserved

R-0x0000

CIDA

R-0x00

LEGEND: R/W = Read/Write; R = Read only; -n = Value after reset

Bit

31 - 24

23 - 8

7 - 0

Field Name

ERRC

Reserved

CIDA

Table 64. CAT-3 Error Code Format Register Field Descriptions

Value

0x00

0x0000

0x00

Description

Error code

Reserved

Active configuration ID

7.2.29

Channel n Enable Register

The channel n enable register is shown in

Figure 40

and described in

Table 65

.

31

Reserved

R-0x0000

Figure 40. Channel n Enable Register

16 15 8 7

CnID

R-0x00

Reserved

R-0x00

0

CHnENB

R-0x0

LEGEND: R/W = Read/Write; R = Read only; -n = Value after reset

Bit

31 - 16

16 - 8

7 - 1

0

Field Name

Reserved

CnID

Reserved

CHnENB

Table 65. Channel n Enable Register Field Descriptions

Value

0x0000

0x00b

0

1

Description

Reserved

Configuration Identification. Defines the configuration selection that takes effect on the next superframe synchronization event. The least significant bit determines whether the A or the

B channel bitmap and configuration registers are used.

Reserved

Channel n enable.

Channel n is disabled/stopped.

Channel n is enabled/running.

0

SPRUF96A – October 2007 – Revised September 2008

Submit Documentation Feedback

TMS320C6452 TSIP 61

Preliminary

Registers

7.2.30

Channel n Memory Address Register

The channel n memory address register is shown in

Figure 41

and described in

Table 66

.

Figure 41. Channel n Memory Address Register

31

BADDR

R/W-0x00000000

2 1 www.ti.com

00

R-00b

0

LEGEND: R/W = Read/Write; R = Read only; -n = Value after reset

Bit

31 - 0

Field Name

BADDR

Table 66. Channel n Memory Address Register Field Descriptions

Value Description

0x00000000 Memory Buffer Base Address. The two least significant bits are always forced to zero.

7.2.31

Channel n Frame Allocation Register

The channel n frame allocation register is shown in

Figure 42

and described in

Table 67 .

31

Figure 42. Channel n Frame Allocation Register

12 11

Reserved

R-0x00000

FALLOC

R/W-0x000

2 1

00

R-00b

0

LEGEND: R/W = Read/Write; R = Read only; -n = Value after reset

Bit

31 - 12

11 - 0

Field Name

Reserved

FALLOC

Table 67. Channel n Frame Allocation Register Field Descriptions

Value Description

0x00000 Reserved

Frame buffer allocation. Each frame in the memory buffer begins on successive increments of FALLOC from BADDR. The two least significant bits are always forced to zero.

7.2.32

Channel n Frame Size Register

The channel n frame size register is shown in

Figure 43

and described in

Table 68 .

31

Figure 43. Channel n Frame Size Register

12 11

Reserved

R-0x00000

FSIZE

R/W-0x000

2 1

00

R-00b

0

LEGEND: R/W = Read/Write; R = Read only; -n = Value after reset

Bit

31 - 12

11 - 0

Field Name

Reserved

FSIZE

Table 68. Channel n Frame Size Register Field Descriptions

Value Description

0x00000 Reserved

Frame size. Number of bytes to transfer for each frame. Applies only to transmit channels; ignored for receive channels. The two least significant bits are always forced to zero.

62 TMS320C6452 TSIP SPRUF96A – October 2007 – Revised September 2008

Submit Documentation Feedback

www.ti.com

Preliminary

Registers

SPRUF96A – October 2007 – Revised September 2008

Submit Documentation Feedback

TMS320C6452 TSIP 63

Preliminary

Registers

7.2.33

Channel n Frame Count Register

The channel n frame count register is shown in

Figure 44

and described in

Table 69 .

Figure 44. Channel n Frame Count Register

8 7 31

Reserved

R-0x000000

LEGEND: R/W = Read/Write; R = Read only; -n = Value after reset

FCOUNT

R/W-0x00 www.ti.com

0

Bit

31 - 8

7 - 0

Field Name

Reserved

FCOUNT

Table 69. Channel n Frame Count Register Field Descriptions

Value

0x000000

Description

Reserved

Frame Count. Number of frames in a buffer. Appropriate values are 1 through 255. Every

FCOUNT frames the location of the frame in the memory buffer wraps back to BADDR.

64 TMS320C6452 TSIP SPRUF96A – October 2007 – Revised September 2008

Submit Documentation Feedback

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 and should verify that such information is current and complete. All products are sold subject to TI’s terms and conditions of sale supplied at the time of order acknowledgment.

TI warrants performance of its hardware products to the specifications applicable at the time of sale in accordance with TI’s standard warranty. Testing and other quality control techniques are used to the extent TI deems necessary to support this warranty. Except where mandated by government requirements, testing of all parameters of each product is not necessarily performed.

TI assumes no liability for applications assistance or customer product design. Customers are responsible for their products and applications using TI components. To minimize the risks associated with customer products and applications, customers should provide adequate design and operating safeguards.

TI does not warrant or represent that any license, either express or implied, is granted under any TI patent right, copyright, mask work right, or other TI intellectual property right relating to any combination, machine, or process in which TI products or services are used. Information published by TI regarding third-party products or services does not constitute a license from TI to use such products or services or a warranty or endorsement thereof. Use of such information may require a license from a third party under the patents or other intellectual property of the third party, or a license from TI under the patents or other intellectual property of TI.

Reproduction of TI information in TI data books or data sheets is permissible only if reproduction is without alteration and is accompanied by all associated warranties, conditions, limitations, and notices. Reproduction of this information with alteration is an unfair and deceptive business practice. TI is not responsible or liable for such altered documentation. Information of third parties may be subject to additional restrictions.

Resale of TI products or services with statements different from or beyond the parameters stated by TI for that product or service voids all express and any implied warranties for the associated TI product or service and is an unfair and deceptive business practice. TI is not responsible or liable for any such statements.

TI products are not authorized for use in safety-critical applications (such as life support) where a failure of the TI product would reasonably be expected to cause severe personal injury or death, unless officers of the parties have executed an agreement specifically governing such use. Buyers represent that they have all necessary expertise in the safety and regulatory ramifications of their applications, and acknowledge and agree that they are solely responsible for all legal, regulatory and safety-related requirements concerning their products and any use of TI products in such safety-critical applications, notwithstanding any applications-related information or support that may be provided by TI. Further, Buyers must fully indemnify TI and its representatives against any damages arising out of the use of TI products in such safety-critical applications.

TI products are neither designed nor intended for use in military/aerospace applications or environments unless the TI products are specifically designated by TI as military-grade or "enhanced plastic." Only products designated by TI as military-grade meet military specifications. Buyers acknowledge and agree that any such use of TI products which TI has not designated as military-grade is solely at the Buyer's risk, and that they are solely responsible for compliance with all legal and regulatory requirements in connection with such use.

TI products are neither designed nor intended for use in automotive applications or environments unless the specific TI products are designated by TI as compliant with ISO/TS 16949 requirements. Buyers acknowledge and agree that, if they use any non-designated products in automotive applications, TI will not be responsible for any failure to meet such requirements.

Following are URLs where you can obtain information on other Texas Instruments products and application solutions:

Products

Amplifiers

Data Converters

DSP

Clocks and Timers

Interface

Logic

Power Mgmt

Microcontrollers amplifier.ti.com

dataconverter.ti.com

dsp.ti.com

www.ti.com/clocks interface.ti.com

logic.ti.com

power.ti.com

microcontroller.ti.com

RFID www.ti-rfid.com

RF/IF and ZigBee® Solutions www.ti.com/lprf

Applications

Audio

Automotive

Broadband

Digital Control

Medical

Military

Optical Networking

Security

Telephony

Video & Imaging

Wireless www.ti.com/audio www.ti.com/automotive www.ti.com/broadband www.ti.com/digitalcontrol www.ti.com/medical www.ti.com/military www.ti.com/opticalnetwork www.ti.com/security www.ti.com/telephony www.ti.com/video www.ti.com/wireless

Mailing Address: Texas Instruments, Post Office Box 655303, Dallas, Texas 75265

Copyright © 2008, Texas Instruments Incorporated

advertisement

Was this manual useful for you? Yes No
Thank you for your participation!

* Your assessment is very important for improving the workof artificial intelligence, which forms the content of this project

Related manuals

Download PDF

advertisement

Table of contents