mc68hc708mp16 Freescale Semiconductor, Inc, mc68hc708mp16 Datasheet - Page 255

no-image

mc68hc708mp16

Manufacturer Part Number
mc68hc708mp16
Description
M68hc08 Microcontrollers
Manufacturer
Freescale Semiconductor, Inc
Datasheet

Available stocks

Company
Part Number
Manufacturer
Quantity
Price
Part Number:
mc68hc708mp16CFU
Manufacturer:
FRE/MOT
Quantity:
20 000
13.5.1 Master Mode
MC68HC708MP16
Freescale Semiconductor
Addr.
$001C
$001D
$001B
SPI Status and Control
NOTE:
SPI Control Register
Name
Register (SPSCR)
SPI Data Register
Rev. 3.1
(SPCR)
(SPDR)
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.
The SPI operates in master mode when the SPI master bit, SPMSTR, is
set.
Configure the SPI modules as master or slave before enabling them.
Enable the master SPI before enabling the slave SPI. Disable the slave
SPI before disabling the master SPI. (See
Register.)
Figure 13-2. SPI I/O Register Summary
Reset:
Reset:
Reset:
Read:
Write:
Read: SPRF
Write:
Read:
Write:
Serial Peripheral Interface Module (SPI)
SPRIE
Bit 7
R7
T7
0
0
= Unimplemented
ERRIE
DMAS
R6
T6
6
0
0
SPMSTR
OVRF
R5
T5
5
1
0
Indeterminate after reset
MODF
CPOL
R4
T4
4
0
0
Serial Peripheral Interface Module (SPI)
CPHA
SPTE
13.14.1 SPI Control
R3
T3
3
1
1
MODFEN
SPWOM
R2
T2
2
0
0
SPR1
Technical Data
SPE
R1
T1
1
0
0
SPTIE
Bit 0
SPR0
R0
T0
0
0
255

Related parts for mc68hc708mp16