beautypg.com

S.a.i, Programming reference – Motorola DSP56012 User Manual

Page 260

background image

B-28

DSP56012 User’s Manual

MOTOROLA

Programming Reference

Application:

Date:

Programmer:

Sheet 2 of 4

S.A.I.

15 14 13 12 11 10

9

8

7

6

5

4

3

2

1

0

Transmitter Control/

X:$FFE4

Reset = $0000

Status Register (TCS)

T0EN

T1EN

TMST

TWL0

*

0

TWL1

TLRS

TCKP

TDIR

TDWE

TXIE

TREL

TLDE

TRDE

T2EN

T0EN

Description

0

Transmitter 0 disabled

1

Transmitter 0 enabled

T2EN

Description

0

Transmitter 2 disabled

1

Transmitter 2 enabled

T1EN

Description

0

Transmitter 1 disabled

1

Transmitter 1 enabled

TWL1 TWL0

Number of Bits/Word

0

0

16

0

1

24

1

0

32

1

1

Reserved

TDIR

Description

0

Data shifted out MSB first

1

Data shifted out LSB first

TLRS

Description

0

WST low identifies Left data word;
WST high identifies Right data word

1

WST high identifies Left data word;
WST low identifies Right data word

TCKP

Description

0

Polarity is negative

1

Polarity is positive

TREL

Description

0

WSR occurs with first bit

1

WSR occurs 1 cycle earlier

TDWE Description

0

Last bit transmitted eight times

1

First bit transmitted eight times

TXIE

Description

0

Transmitter interrupts disabled

1

Transmitter interrupts enabled

TLDE

Description—Read Only

0

Left data register full

1

Left data register empty

TRDE

Description—Read Only

0

Right data register full

1

Right data register empty

TMST

Description

0

SAI slave

1

SAI master

TXIL

Description

0

Tx interrupt vector location at $1x

1

Tx interrupt vector location at $4x

TXIL

*

= Reserved, write as 0

SAI Transmitter Control/Status Register (TCS)