Datasheet

Serial Peripheral Interface (SPI)
Functional Description
MC68HC908GR8 Rev 4.0 Technical Data
MOTOROLA Serial Peripheral Interface (SPI) 299
The full names of the SPI I/O pins are shown in Table 20-1. The generic
pin names appear in the text that follows.
20.5 Functional Description
Figure 20-1 summarizes the SPI I/O registers and Figure 20-2 shows the
structure of the SPI module.
Table 20-1. Pin Name Conventions
SPI Generic
Pin Names:
MISO MOSI SS
SPSCK CGND
Full SPI
Pin Names:
SPI PTD1/ATD9
PTD2/ATD1
0
PTD0/AT
D8
PTD3/ATD11
V
SS
Addr.Register Name Bit 7654321Bit 0
$0010
SPI Control Register
(SPCR)
Read:
SPRIE
DMAS
SPMSTR CPOL CPHA SPWOM SPE SPTIE
Write:
Reset:00101000
$0011
SPI Status and Control
Register (SPSCR)
Read: SPRF
ERRIE
OVRF MODF SPTE
MODFEN SPR1 SPR0
Write:
Reset:00001000
$0012
SPI Data Register
(SPDR)
Read: R7 R6 R5 R4 R3 R2 R1 R0
Write: T7 T6 T5 T4 T3 T2 T1 T0
Reset: Unaffected by reset
= Unimplemented
Figure 20-1. SPI I/O Register Summary
Frees
cale Semiconductor,
I
Freescale Semiconductor, Inc.
For More Information On This Product,
Go to: www.freescale.com
nc...