s908az32ag2cfue Freescale Semiconductor, Inc, s908az32ag2cfue Datasheet - Page 166

no-image

s908az32ag2cfue

Manufacturer Part Number
s908az32ag2cfue
Description
M68hc08 Microcontrollers 8-bit Microcontroller
Manufacturer
Freescale Semiconductor, Inc
Datasheet
Serial Peirpheral Interface (SPI)
The generic names of the SPI I/O registers are:
Table 17-2
17.4 Functional Description
Figure 17-1
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. All SPI interrupts can be serviced by the CPU.
The following paragraphs describe the operation of the SPI module.
166
$0010
$0011
$0012
Addr
SPI control register (SPCR)
SPI status and control register (SPSCR)
SPI data register (SPDR)
shows the names and the addresses of the SPI I/O registers.
Register Name
summarizes the SPI I/O registers and
SPI Status and Control
SPI Control Register
Register (SPSCR)
SPI Data Register
(SPCR)
(SPDR)
SPI Control Register (SPCR)
SPI Status and Control Register (SPSCR)
SPI Data Register (SPDR)
Reset:
Reset:
Reset:
R/W
Read:
Read:
Read:
Write:
Write:
Write:
Figure 17-1. SPI I/O Register Summary
Table 17-2. I/O Register Addresses
MC68HC908AZ32A Data Sheet, Rev. 2
SPRIE
SPRF
Bit 7
R7
T7
R
0
0
Register Name
= Reserved
ERRIE
R6
T6
R
6
0
0
Figure 17-2
SPMSTR
OVRF
R5
T5
5
1
0
Unaffected by Reset
MODF
shows the structure of the SPI module.
CPOL
R4
T4
4
0
0
Address
$0010
$0011
$0012
= Unimplemented
CPHA
SPTE
R3
T3
3
1
1
MODFEN
SPWOM
R2
T2
2
0
0
Freescale Semiconductor
SPR1
SPE
R1
T1
1
0
0
SPTIE
SPR0
Bit 0
R0
T0
0
0

Related parts for s908az32ag2cfue