Datasheet

Chapter 17
16-Bit Serial Peripheral Interface (16-Bit SPI)
17.1 Introduction
NOTE
For the chip-specific implementation details of this module's
instances see the chip configuration information.
The serial peripheral interface (SPI) module provides for full-duplex, synchronous, serial
communication between the MCU and peripheral devices. These peripheral devices can
include other microcontrollers, analog-to-digital converters, shift registers, sensors, and
memories, among others.
The SPI runs at a baud rate up to the bus clock divided by two in master mode and up to
the bus clock divided by four in slave mode. Software can poll the status flags, or SPI
operation can be interrupt driven.
NOTE
For the actual maximum SPI baud rate, refer to the Chip
Configuration details and to the device’s Data Sheet.
The SPI also supports a data length of 8 or 16 bits and includes a hardware match feature
for the receive data buffer.
17.1.1 Features
The SPI includes these distinctive features:
Master mode or slave mode operation
Full-duplex or single-wire bidirectional mode
Programmable transmit bit rate
MC9S08PA60 Reference Manual, Rev. 1, 9/2012
Freescale Semiconductor, Inc. 453