Sci Baud Rate Generator - Motorola DSP56303 User Manual

24-bit digital signal processor
Table of Contents

Advertisement

SCI Programming Model
Table 8-5. SCI Clock Control Register (SCCR) Bit Definitions (Continued)
Bit
Reset
Bit Name
Number
Value
11–0
CD[11–0]
The SCI clock determines the data transmission (baud) rate and can also establish a periodic
interrupt that can act as an event timer or be used in any other timing function. Bits CD11–
CD0, SCP, and SCR[STIR] work together to determine the time base. If SCR[TMIE] = 1
when the periodic time-out occurs, the SCI timer interrupt is recognized and pending. The
SCI timer interrupt is automatically cleared when the interrupt is serviced. This interrupt
occurs every time the periodic timer times out.
Figure 8-5 shows the block diagram of the internal clock generation circuitry with the
formula to compute the bit rate when the internal clock is used.
F
core
Divide
By 2
Divide
by 16
STIR
Timer
Interrupt
(STMINT)
Fcore
bps = 64
(7(SCP) + 1)
where:
SCP = 0 or 1
CD = $000 to $FFF
8-20
0
Clock Divider
Specifies the divide ratio of the prescale divider in the SCI clock generator. A divide
ratio from 1 to 4096 (CD[11–0] = $000 to $FFF) can be selected.
12-bit Counter
CD[11–0]
CD + 1)
Figure 8-5. SCI Baud Rate Generator
DSP56303 User's Manual
Description
Prescaler:
Divide by
1 or 8
SCP
SCI Core Logic
Uses Divide by 16 for
Asynchronous
Uses Divide by 2 for
Synchronous
COD
SCKP
Divide
By 2
Internal Clock
If Asynchronous
Divide by 1 or 16
If Synchronous
Divide By 2
SCKP = 0 +
SCKP = 1
-
SCLK

Advertisement

Table of Contents
loading

Table of Contents