ROHS MC9S08QE128 Reference Manual page 249

Table of Contents

Advertisement

Write:
SCIxBDH:SCIxBDL
Write:
SCIxC1
Write;
SCIxC2
Write:
SCIxC3
Wait for TDRE, then write data to SCIxD
Wait for RDRF, then read data from SCIxD
A small number of applications will use RWU to manage automatic receiver wakeup, SBK to send break characters, and
R8 and T8 for 9-bit data.
LBKDIE
SCIxBDH
SCIxBDL
SBR7
Baud rate = BUSCLK / (16 x SBR12:SBR0)
LOOPS
SCIxC1
Module configuration
TIE
SCIxC2
Local interrupt enables Tx and Rx enable
TDRE
SCIxS1
Interrupt flags
LBKDIF
SCIxS2
Configure LIN support options and monitor receiver activity
R8
SCIxS3
9th data bits
R7/T7
SCIxD
Read: Rx data; write: Tx data
Freescale Semiconductor
Module Initialization:
to set
to configure
to configure
to enable
Module Use:
RXEDGIE
SBR12
SBR6
SBR5
SBR4
SCISWAI
RSRC
TCIE
RIE
ILIE
TC
RDRF
IDLE
RXEDGIF
RXINV
T8
TXDIR
TXINV
Rx/Tx pin
Tx data path
direction in
polarity
single-wire
mode
R6/T6
R5/T5
R4/T4
Figure 14-2. SCI Module Quick Start
MC9S08QE128 MCU Series Reference Manual, Rev. 2
Chapter 14 Serial Communications Interface (S08SCIV4)
baud rate
1-wire/2-wire, 9/8-bit data, wakeup, and parity, if used.
interrupts, enable Rx and Tx, RWU
Enable Rx wakeup, SBK sends break character
Rx error interrupt sources. Also controls pin direction in
1-wire modes. R8 and T8 only used in 9-bit data modes.
SBR11
SBR10
SBR3
SBR2
M
WAKE
ILT
TE
RE
OR
NF
Rx error flags
RWUID
BRK13
ORIE
NEIE
Local interrupt enables
R3/T3
R2/T2
SBR9
SBR8
SBR1
SBR0
PE
PT
RWU
SBK
Rx wakeup and send break
FE
PF
LBKDE
RAF
FEIE
PEIE
R1/T1
R0/T0
249

Hide quick links:

Advertisement

Table of Contents
loading

Related Products for ROHS MC9S08QE128

This manual is also suitable for:

Mc9s08qe96Mc9s08qe64

Table of Contents