Datasheet

The SPI is completely disabled in stop modes where the peripheral bus clock is
stopped and internal logic states are not retained. When the CPU wakes from these
stop modes, all SPI register content is reset.
Detailed descriptions of operating modes appear in Low Power Mode Options.
17.1.3 Block Diagrams
This section includes block diagrams showing SPI system connections, the internal
organization of the SPI module, and the SPI clock dividers that control the master mode
bit rate.
17.1.3.1 SPI System Block Diagram
The following figure shows the SPI modules of two MCUs connected in a master-slave
arrangement. The master device initiates all SPI data transfers. During a transfer, the
master shifts data out (on the MOSI pin) to the slave while simultaneously shifting data
in (on the MISO pin) from the slave. The transfer effectively exchanges the data that was
in the SPI shift registers of the two SPI systems. The SPSCK signal is a clock output
from the master and an input to the slave. The slave device must be selected by a low
level on the slave select input (SS pin). In this system, the master device has configured
its SS pin as an optional slave select output.
SPI SHIFTER
MASTER
8 OR 16 BITS
CLOCK
GENERATOR
MOSI
MISO
MISO
MOSI
SPSCK
SPSCK
SS
SS
SLAVE
SPI SHIFTER
8 OR 16 BITS
Figure 17-1. SPI System Connections
Chapter 17 16-Bit Serial Peripheral Interface (16-Bit SPI)
MC9S08PA60 Reference Manual, Rev. 1, 9/2012
Freescale Semiconductor, Inc. 455