
MC68HC05C9A — Rev. 5.0
Advance Information
MOTOROLA
Serial Peripheral Interface (SPI)
91
N
O
N-D
I
SC
L
O
SU
R
E
AG
R
EEMENT
R
E
Q
U
IR
ED
Advance Information — MC68HC05C9A
Section 10. Serial Peripheral Interface (SPI)
10.1 Content
10.2
Introduction . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 91
10.3
Features . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 92
10.4
SPI Signal Description . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 92
10.4.1
Master In Slave Out (MISO) . . . . . . . . . . . . . . . . . . . . . . . .93
10.4.2
Master Out Slave In (MOSI) . . . . . . . . . . . . . . . . . . . . . . . .93
10.4.3
Serial Clock (SCK) . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 94
10.4.4
Slave Select (SS) . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 94
10.5
Functional Description . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 95
10.6
SPI Registers . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .97
10.6.1
Serial Peripheral Control Register. . . . . . . . . . . . . . . . . . . .97
10.6.2
Serial Peripheral Status Register . . . . . . . . . . . . . . . . . . . . 99
10.6.3
Serial Peripheral Data I/O Register . . . . . . . . . . . . . . . . . . 101
10.2 Introduction
The serial peripheral interface (SPI) is an interface built into the device
which allows several M68HC05 microcontroller units (MCU), or
M68HC05 MCU plus peripheral devices, to be interconnected within a
single printed circuit board. In an SPI, separate wires are required for
data and clock. In the SPI format, the clock is not included in the data
stream and must be furnished as a separate signal. An SPI system may
be configured in one containing one master MCU and several slave
MCUs or in a system in which an MCU is capable of being a master or a
slave.