English
Language : 

MC68HC08AS20 Datasheet, PDF (275/386 Pages) Freescale Semiconductor, Inc – M68HC08 Microcontrollers
INTERNAL BUS
TRANSMIT DATA REGISTER
BUS CLOCK
CLOCK
DIVIDER
÷2
÷8
÷ 32
÷ 128
SPMSTR SPE
CLOCK
SELECT
SPR1 SPR0
SHIFT REGISTER
76543210
RECEIVE DATA REGISTER
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
SPE
SPRF
SPTE
OVRF
MODF
SPWOM
Figure 18-1. 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. All SPI interrupts can be serviced by the CPU.
The following paragraphs describe the operation of the SPI module.
MC68HC08AS20 — Rev. 4.1
Freescale Semiconductor
Advance Information
275