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

24-bit digital signal processor
Table of Contents

Advertisement

8.6.3

SCI Clock Control Register (SCCR)

The SCCR is a read/write register that controls the selection of clock modes and baud rates for
the transmit and receive sections of the SCI interface. The SCCR is cleared by a hardware
signal.
RESET
23
22
15
14
TCM
RCM
7
6
CD7
CD6
Reserved. Read as 0. Write to 0 for future compatibility.
Table 8-5. SCI Clock Control Register (SCCR) Bit Definitions
Bit
Reset
Bit Name
Number
23–16
15
TCM
14
RCM
13
SCP
12
COD
21
20
13
12
SCP
COD
5
CD5
CD4
Figure 8-4. SCI Clock Control Register (SCCR)
Value
0
Reserved. Write to 0 for future compatibility.
0
Transmit Clock Source
Selects whether an internal or external clock is used for the transmitter. If TCM is
cleared, the internal clock is used. If TCM is set, the external clock (from the SCLK
signal) is used.
0
Receive Clock Mode Source
Selects whether an internal or external clock is used for the receiver. If RCM is
cleared, the internal clock is used. If RCM is set, the external clock (from the SCLK
signal) is used.
TCM
RCM
TX Clock RX Clock
0
0
0
1
1
0
1
1
0
Clock Prescaler
Selects a divide by 1 (SCP is cleared) or divide by 8 (SCP is set) prescaler for the
clock divider. The output of the prescaler is further divided by 2 to form the SCI clock.
0
Clock Out Divider
The clock output divider is controlled by COD and the SCI mode. If the SCI mode is
synchronous, the output divider is fixed at divide by 2. If the SCI mode is
asynchronous, either:
n
If COD is cleared and SCLK is an output (that is, TCM and RCM are both
cleared), then the SCI clock is divided by 16 before being output to the SCLK
signal. Thus, the SCLK output is a 1
n
If COD is set and SCLK is an output, the SCI clock is fed directly out to the
SCLK signal. Thus, the SCLK output is a 16
Serial Communication Interface (SCI)
19
11
CD11
4
3
CD3
Description
SCLK
Internal
Internal
Output
Internal
External
Input
External
Internal
Input
External
External
Input
SCI Programming Model
18
17
10
9
CD10
CD9
2
1
CD2
CD1
Mode
Synchronous/asynchronous
Asynchronous only
Asynchronous only
Synchronous/asynchronous
clock.
baud clock.
16
8
CD8
0
CD0
8-19

Advertisement

Table of Contents
loading

Table of Contents