Sci Data Registers; Sci Receive Register (Srx); Sci Programming Model-Data Registers - Motorola DSP56303 User Manual

24-bit digital signal processor
Table of Contents

Advertisement

SCI Programming Model
8.6.4

SCI Data Registers

The SCI data registers are divided into two groups: receive and transmit, as shown in Figure
8-7. There are two receive registers: a Receive Data Register (SRX) and a serial-to-parallel
Receive Shift Register. There are also two transmit registers: a Transmit Data Register (called
either STX or STXA) and a parallel-to-serial Transmit Shift Register.
23
16
SRX
RXD
Note: SRX is the same register decoded at three different addresses.
23
16
STX
SCI Transmit Data Shift Register
23
16
Note: Bytes are masked on the fly.
1. STX is the same register decoded at four different addresses.
Figure 8-7. SCI Programming Model—Data Registers

8.6.4.1 SCI Receive Register (SRX)

Data bits received on the
complete word is received, the data portion of the word is transferred to the byte-wide SRX.
This process converts serial data to parallel data and provides double buffering. Double
buffering promotes flexibility and increased throughput since the programmer can save (and
process) the previous word while the current word is being received.
The SRX can be read at three locations as SRXL, SRXM, and SRXH. When SRXL is read,
the contents of the SRX are placed in the lower byte of the data bus and the remaining bits on
8-22
15
8
7
SRX
SCI Receive Data Shift Register
(a) Receive Data Register
15
8
7
STX
15
8
7
STXA
(b) Transmit Data Register
signal are shifted into the SCI receive shift register. When a
RXD
DSP56303 User's Manual
0
SCI Receive Data Register High (Read Only)
SCI Receive Data Register Middle (Read Only)
SRX
SCI Receive Data Register Low (Read Only)
0
SCI Transmit Data Register High (Write Only)
SCI Transmit Data Register Middle (Write Only)
STX
SCI Transmit Data Register Low (Write Only)
TXD
0
SCI Transmit Data Address Register (Write Only)

Advertisement

Table of Contents
loading

Table of Contents