SERIAL COMMUNICATION INTERFACE (SCI)
6 - 50
PORT C
MOTOROLA
X:$FFF0
1
5
1
4
1
3
1
2
1
1
1
0
9
8
7
6
5
4
3210
SCKP
TMIE
1
RIE
ILIE
1
RE
W
OMS
R
WU
W
AKE
SBK
SSFTD
WDS2
WDS1
WDS0
SCI CONTR
OL REGISTER (SCR)
(READ/WRITE)
STIR
1.
HARD
W
ARE OR SOFTW
ARE RESET
2.
PR
OGRAM SCR
WITH DESIRED MODE AND FEA
TURES
.
3.
TURN ON
TRANSMITTER (TE = 1).
4.
OPTIONALL
Y ENABLE
TRANSMITTER INTERR
UPTS (TIE = 1).
TIE
TE
5.
SET
THE SCI CLOCK PRESCALER BIT AND
THE CLOCK DIVIDER BITS IN
THE SCCR.
6
.
SET
THE
TXD BIT IN PCC
T
O ENABLE
THE SCI
TRANSMITTER SYSTEM.
CCx
Function
0
GPIO
1
Ser
ial Interf
ace
7.
THE
TRANSMITTER
WILL FIRST BR
O
ADCAST A PREAMBLE OF ONES BEFORE BEGINNING D
A
T
A
TRANSMISSION:
10 ONES
WILL BE
TRANSMITTED FOR
THE 10-BIT ASYNCHR
ONOUS MODE.
11 ONES
WILL BE
TRANSMITTED FOR
THE 11-BIT ASYNCHR
ONOUS MODE.
X:$FFE1
2
3
9
8
7
6
5
4
3210
CC8
CC7
CC6
CC5
CC4
CC3
CC2
1
CC0
POR
T C CONTR
OL REGISTER (PCC)
0
SCI
TXD
NO
TE:
If
TE is cleared while tr
ansmitting a char
acter
, the tr
ansmission of the char
acter will be completed bef
ore the tr
ansmitter is disab
led.
Figure 6-25 Asynchronous SCI Transmitter Initialization
F
re
e
sc
a
le
S
e
m
ic
o
n
d
u
c
to
r,
I
Freescale Semiconductor, Inc.
For More Information On This Product,
Go to: www.freescale.com
n
c
.
..