English
Language : 

MC68HC08AZ16 Datasheet, PDF (214/527 Pages) Motorola, Inc – HCMOS Microcontroller Unit
Serial Peripheral Interface Module (SPI)
Functional description
INTERNAL BUS
CGMOUT ÷ 2
(FROM SIM)
÷2
CLOCK ÷ 8
DIVIDER ÷ 32
÷ 128
TRANSMIT DATA REGISTER
SHIFT REGISTER
76543210
RECEIVE DATA REGISTER
SPMSTR SPE
CLOCK
SELECT
SPR1 SPR0
CLOCK
LOGIC
PIN
CONTROL
LOGIC
M
S
SPMSTR CPHA CPOL
MISO
MOSI
SPSCK
SS
TRANSMITTER CPU INTERRUPT REQUEST
RECEIVER/ERROR CPU INTERRUPT REQUEST
SPI
CONTROL
MODFEN
ERRIE
SPTIE
SPRIE
SPWOM
SPE
SPRF
SPTE
OVRF
MODF
Figure 2. SPI module block diagram
The SPI module allows full-duplex, synchronous, serial communication
between the MCU and peripheral devices, including other MCUs.
Software can poll the SPI status flags or SPI operation can be
interrupt-driven.
The following paragraphs describe the operation of the SPI module.
5-spi
MOTOROLA
Serial Peripheral Interface Module (SPI)
MC68HC08AZ32
213