M68HC16 Z SERIES
USER’S MANUAL
(Continued)
Paragraph
Title
Page
TABLE OF CONTENTS
MULTICHANNEL COMMUNICATION INTERFACE
MCCI Registers and Address Map ..........................................................10-2
MCCI Global Registers ....................................................................10-2
Low-Power Stop Mode ............................................................10-2
Privilege Levels .......................................................................10-3
MCCI Interrupts .......................................................................10-3
Pin Control and General-Purpose I/O .............................................10-4
Serial Peripheral Interface (SPI) ..............................................................10-4
SPI Registers ..................................................................................10-6
SPI Control Register (SPCR) ..................................................10-6
SPI Status Register (SPSR) ....................................................10-6
SPI Data Register (SPDR) ......................................................10-6
SPI Operating Modes ......................................................................10-7
Master Mode ...........................................................................10-7
Slave Mode .............................................................................10-8
SPI Clock Phase and Polarity Controls ...........................................10-8
CPHA = 0 Transfer Format .....................................................10-9
CPHA = 1 Transfer Format ...................................................10-10
SPI Serial Clock Baud Rate ..........................................................10-11
Wired-OR Open-Drain Outputs .....................................................10-11
Transfer Size and Direction ...........................................................10-11
Write Collision ...............................................................................10-12
Mode Fault ....................................................................................10-12
Serial Communication Interface (SCI) ...................................................10-13
SCI Registers ................................................................................10-13
SCI Control Registers ...........................................................10-13
SCI Status Register ...............................................................10-16
SCI Data Register .................................................................10-16
Receive Data Pins (RXDA, RXDB) ...............................................10-17
Transmit Data Pins (TXDA, TXDB) ...............................................10-17
SCI Operation ................................................................................10-17
Definition of Terms ................................................................10-17
Serial Formats .......................................................................10-18
Baud Clock ............................................................................10-18
Parity Checking .....................................................................10-19
Transmitter Operation ...........................................................10-19
Receiver Operation ...............................................................10-20
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
.
..