
Serial Peripheral Interface (SPI)
Technical Data MC68HC908AZ60A — Rev 2.0
286 Serial Peripheral Interface (SPI) MOTOROLA
19.13.3 SPSCK (Serial Clock) . . . . . . . . . . . . . . . . . . . . . . . . . . . .307
19.13.4 SS (Slave Select) . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .308
19.13.5 V
SS
(Clock Ground) . . . . . . . . . . . . . . . . . . . . . . . . . . . . .309
19.14 I/O Registers . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .309
19.14.1 SPI Control Register . . . . . . . . . . . . . . . . . . . . . . . . . . . .310
19.14.2 SPI Status and Control Register . . . . . . . . . . . . . . . . . . .312
19.14.3 SPI Data Register . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .316
19.2 Introduction
This section describes the serial peripheral interface (SPI) module,
which allows full-duplex, synchronous, serial communications with
peripheral devices.
19.3 Features
Features of the SPI module include:
• Full-Duplex Operation
• Master and Slave Modes
• Double-Buffered Operation with Separate Transmit and Receive
Registers
• Four Master Mode Frequencies (Maximum = Bus Frequency ÷ 2)
• Maximum Slave Mode Frequency = Bus Frequency
• Serial Clock with Programmable Polarity and Phase
• Two Separately Enabled Interrupts with CPU Service:
– SPRF (SPI Receiver Full)
– SPTE (SPI Transmitter Empty)
• Mode Fault Error Flag with CPU Interrupt Capability
• Overflow Error Flag with CPU Interrupt Capability
• Programmable Wired-OR Mode
•I
2
C (Inter-Integrated Circuit) Compatibility