Sci Status Register (Ssr) - Freescale Semiconductor DSP56311 User Manual

24-bit digital signal processor (dsp)
Hide thumbs Also See for DSP56311:
Table of Contents

Advertisement

8.6.2 SCI Status Register (SSR)

The SSR is a read-only register that indicates the status of the SCI.
23
22
15
14
7
6
R8
FE
—Reserved bit; read as 0; write to 0 for future compatibility.
Bit
Bit
Number
Name
23–8
7
R8
6
FE
5
PE
Freescale Semiconductor
21
20
13
12
5
PE
OR
Table 8-3. SCI Status Register
Table 8-4. SCI Status Register (SSR) Bit Definitions
Reset
Value
0
Reserved. Write to 0 for future compatibility.
0
Received Bit 8
In 11-bit Asynchronous Multidrop mode, the R8 bit indicates whether the received byte
is an address or data. R8 is set for addresses and is cleared for data. R8 is not affected
by reads of the SRX or SCI status register. A hardware RESET signal, a software
RESET instruction, an SCI individual reset, or a STOP instruction clears R8.
0
Framing Error Flag
In Asynchronous mode, FE is set when no stop bit is detected in the data string
received. FE and RDRE are set simultaneously when the received word is transferred to
the SRX. However, the FE flag inhibits further transfer of data into the SRX until it is
cleared. FE is cleared when the SCI status register is read followed by a read of the
SRX. A hardware RESET signal, a software RESET instruction, an SCI individual reset,
or a STOP instruction clears FE. In 8-bit Synchronous mode, FE is always cleared. If the
byte received causes both framing and overrun errors, the SCI receiver recognizes only
the overrun error.
0
Parity Error
In 11-bit Asynchronous modes, PE is set when an incorrect parity bit is detected in the
received character. PE and RDRF are set simultaneously when the received word is
transferred to the SRX. If PE is set, further data transfer into the SRX is not inhibited. PE
is cleared when the SCI status register is read, followed by a read of SRX. A hardware
RESET signal, a software RESET instruction, an SCI individual reset, or a STOP
instruction also clears PE. In 10-bit Asynchronous mode, 11-bit multidrop mode, and
8-bit Synchronous mode, the PE bit is always cleared since there is no parity bit in these
modes. If the byte received causes both parity and overrun errors, the SCI receiver
recognizes only the overrun error.
DSP56311 User's Manual, Rev. 2
19
11
4
3
IDLE
Description
SCI Programming Model
18
17
10
9
2
1
RDRF
TDRE
16
8
0
TRNE
8-15

Advertisement

Table of Contents
loading

Table of Contents