English
Language : 

MC68HC908GT16 Datasheet, PDF (324/412 Pages) Motorola, Inc – Microcontrollers
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
SPWOM
SPRF
SPTE
OVRF
MODF
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
324
MC68HC908GT16 • MC68HC908GT8 — Rev. 2
Serial Peripheral Interface Module (SPI)
MOTOROLA