English
Language : 

MC68HC908GP32 Datasheet, PDF (308/410 Pages) Motorola, Inc – M68HC08 Family of 8-bit microcontroller units (MCUs)
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
DMAS
SPE
SPRF
SPTE
OVRF
MODF
SPWOM
Figure 20-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.
If a port bit is configured for input, then an internal pullup device may be
enabled for that port bit. (See 16.5.3 Port C Input Pullup Enable
Register.)
Technical Data
306
MC68HC908GP32•MC68HC08GP32 — Rev. 6
Serial Peripheral Interface Module (SPI)
For More Information On This Product,
Go to: www.freescale.com
MOTOROLA