Sci Control Register (Scr); Sci Control Register (Scr) Bit Definitions - Motorola DSP56303 User Manual

24-bit digital signal processor
Table of Contents

Advertisement

SCI Programming Model
8.6.1

SCI Control Register (SCR)

The SCR is a read/write register that controls the serial interface operation. Seventeen of its
24 bits are defined.
.
23
22
15
14
SCKP
STIR
7
6
WOMS
RWU
—Reserved bit; read as 0; write to 0 for future compatibility.
Table 8-2. SCI Control Register (SCR) Bit Definitions
Bit
Reset
Bit Name
Number
Value
23–17
16
REIE
15
SCKP
14
STIR
8-12
21
20
13
12
TMIE
TIE
5
4
WAKE
SBK
Figure 8-3. SCI Control Register (SCR)
0
Reserved. Write to 0 for future compatibility.
0
Receive with Exception Interrupt Enable
Enables/disables the SCI receive data with exception interrupt. If REIE is cleared, the
receive data with exception interrupt is disabled. If both REIE and RDRF are set, and
PE, FE, and OR are not all cleared, the SCI requests an SCI receive data with
exception interrupt from the interrupt controller. Either a hardware RESET signal or a
software RESET instruction clears REIE.
0
SCI Clock Polarity
Controls the clock polarity sourced or received on the clock signal (SCLK), eliminating
the need for an external inverter. When SCKP is cleared, the clock polarity is positive;
when SCKP is set, the clock polarity is negative. In Synchronous mode, positive
polarity means that the clock is normally positive and transitions negative during valid
data. Negative polarity means that the clock is normally negative and transitions
positive during valid data. In Asynchronous mode, positive polarity means that the
rising edge of the clock occurs in the center of the period that data is valid. Negative
polarity means that the falling edge of the clock occurs during the center of the period
that data is valid. Either a hardware RESET signal or a software RESET instruction
clears SCKP.
0
Timer Interrupt Rate
Controls a divide-by-32 in the SCI Timer interrupt generator. When STIR is cleared, the
divide-by-32 is inserted in the chain. When STIR is set, the divide-by-32 is bypassed,
thereby increasing timer resolution by a factor of 32. Either a hardware RESET signal
or a software RESET instruction clears this bit. To ensure proper operation of the timer,
STIR must not be changed during timer operation (that is, if TMIE = 1).
DSP56303 User's Manual
19
18
11
10
RIE
ILIE
3
2
SSFTD
WDS2
Description
17
16
REIE
9
8
TE
RE
1
0
WDS1
WDS0

Advertisement

Table of Contents
loading

Table of Contents