English
Language : 

MC68HC711D3_05 Datasheet, PDF (72/138 Pages) Freescale Semiconductor, Inc – Microcontrollers
Serial Communications Interface (SCI)
IDLE — Idle Line Detected Flag
This flag is set if the RxD line is idle. Once cleared, IDLE is not set again until the RxD line has been
active and becomes idle again. The IDLE flag is inhibited when RWU = 1. Clear IDLE by reading SCSR
with IDLE set and then reading SCDR.
0 = RxD line active
1 = RxD line idle
OR — Overrun Error Flag
OR is set if a new character is received before a previously received character is read from SCDR.
Clear the OR flag by reading SCSR with OR set and then reading SCDR.
0 = No overrun
1 = Overrun detected
NF — Noise Error Flag
NF is set if majority sample logic detects anything other than a unanimous decision. Clear NF by
reading SCSR with NF set and then reading SCDR.
0 = Unanimous decision
1 = Noise detected
FE — Framing Error Bit
FE is set when a 0 is detected where a stop bit was expected. Clear the FE flag by reading SCSR with
FE set and then reading SCDR.
0 = Stop bit detected
1 = Zero detected
6.7.5 Baud Rate Register
The baud rate register (BAUD) is used to select different baud rates for the SCI system. The SCP1 and
SCP0 bits function as a prescaler for the SCR2–SCR0 bits. Together, these five bits provide multiple baud
rate combinations for a given crystal frequency. Normally, this register is written once during initialization.
The prescaler is set to its fastest rate by default out of reset and can be changed at any time. Refer to
Table 6-1 and Table 6-2 for normal baud rate selections.
Address: $002B
Bit 7
6
5
4
3
2
Read:
TCLR
0
SCP1
SCP0
RCKB
SCR2
Write:
Reset: 0
0
0
0
0
U
U = Unaffected
Figure 6-7. Baud Rate Register (BAUD)
1
SCR1
U
Bit 0
SCR0
U
TCLR — Clear Baud Rate Counters (Test)
RCKB — SCI Baud Rate Clock Check (Test)
MC68HC711D3 Data Sheet, Rev. 2.1
72
Freescale Semiconductor