Z8F640x/Z8F480x/Z8F320x/Z8F240x/Z8F160x
Z8 Encore!®
99
Serial Peripheral Interface
Overview
TM
The Serial Peripheral Interface (SPI) is a synchronous interface allowing several SPI-
type devices to be interconnected. SPI-compatible devices include EEPROMs, Analog-to-
Digital Converters, and ISDN devices. Features of the SPI include:
•
•
•
•
•
•
Full-duplex, synchronous, character-oriented communication
Four-wire interface
Data transfers rates up to a maximum of one-fourth the system clock frequency
Error detection
Write and mode collision detection
Dedicated Baud Rate Generator
Architecture
The SPI may be configured as either a Master (in single or multi-master systems) or a
Slave as illustrated in Figures 74 through 76.
SPI Master
To Slave’s SS Pin
From Slave
SS
8-bit Shift Register
Bit 7 Bit 0
MISO
MOSI
SCK
To Slave
To Slave
Baud Rate
Generator
Figure 74. SPI Configured as a Master in a Single Master, Single Slave System
PS017610-0404
Serial Peripheral Interface