English
Language : 

MC9S08QE16CLC Datasheet, PDF (241/350 Pages) Freescale Semiconductor, Inc – Low-power wireless applications, Gas, water and heater meters
SPE
ENABLE
SPI SYSTEM
LSBFE
Tx BUFFER (WRITE SPID)
SHIFT
OUT
SPI SHIFT REGISTER
SHIFT
IN
Rx BUFFER (READ SPID)
SHIFT
DIRECTION
SHIFT
CLOCK
Rx BUFFER Tx BUFFER
FULL
EMPTY
SPC0
BIDIROE
PIN CONTROL
M
S
M
S
MOSI
(MOMI)
MISO
(SISO)
BUS RATE
CLOCK
SPIBR
CLOCK GENERATOR
MSTR
MASTER/SLAVE
MODE SELECT
CLOCK
LOGIC
MODE FAULT
DETECTION
MASTER CLOCK
SLAVE CLOCK
MODFEN
SSOE
M
S
MASTER/
SLAVE
SPSCK
SS
SPRF
SPTEF
SPTIE
MODF
SPIE
Figure 14-3. SPI Module Block Diagram
SPI
INTERRUPT
REQUEST
14.1.3 SPI Baud Rate Generation
As shown in Figure 14-4, the clock source for the SPI baud rate generator is the bus clock. The three
prescale bits (SPPR2:SPPR1:SPPR0) choose a prescale divisor of 1, 2, 3, 4, 5, 6, 7, or 8. The three rate
select bits (SPR3:SPR2:SPR1:SPR0) divide the output of the prescaler stage by 2, 4, 8, 16, 32, 64, 128,
256,or 512 to get the internal SPI master mode bit-rate clock.
MC9S08AC60 Series Data Sheet, Rev. 3
Freescale Semiconductor
241