English
Language : 

MC68HC08AB16A Datasheet, PDF (274/380 Pages) Motorola, Inc – HCMOS Microcontroller Unit
Freescale Semiconductor, Inc.
Serial Peripheral Interface Module (SPI)
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
RESERVED
TRANSMITTER CPU INTERRUPT REQUEST
RESERVED
RECEIVER/ERROR CPU INTERRUPT REQUEST
SPI
CONTROL
MODFEN
ERRIE
SPTIE
SPRIE
R
SPE
SPRF
SPTE
OVRF
MODF
SPWOM
Figure 16-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.
Technical Data
274
MC68HC08AB16A — Rev. 2.0
Serial Peripheral Interface Module (SPI)
For More Information On This Product,
Go to: www.freescale.com
MOTOROLA