mc68hc908qb4 Freescale Semiconductor, Inc, mc68hc908qb4 Datasheet - Page 157

no-image

mc68hc908qb4

Manufacturer Part Number
mc68hc908qb4
Description
M68hc08 Microcontrollers
Manufacturer
Freescale Semiconductor, Inc
Datasheet
15.3 Functional Description
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.
Freescale Semiconductor
SPMSTR
RECEIVER/ERROR INTERRUPT REQUEST
DIVIDER
CLOCK
TRANSMITTER INTERRUPT REQUEST
BUSCLK
÷ 128
SPE
÷ 32
÷ 2
÷ 8
SPR1
SELECT
CLOCK
Figure 15-2. SPI Module Block Diagram
SPR0
MC68HC908QB8 Data Sheet, Rev. 2
7
CONTROL
TRANSMIT DATA REGISTER
RECEIVE DATA REGISTER
6
SPI
SHIFT REGISTER
INTERNAL BUS
5
4
3
MODF
OVRF
SPRF
SPTE
SPMSTR
2
1
MODFEN
ERRIE
SPTIE
SPRIE
SPE
0
CLOCK
LOGIC
CPHA
CPOL
SPWOM
M
S
CONTROL
LOGIC
PIN
Functional Description
MISO
MOSI
SPSCK
SS
157

Related parts for mc68hc908qb4