MC68HC711PH8 Motorola, MC68HC711PH8 Datasheet - Page 128

no-image

MC68HC711PH8

Manufacturer Part Number
MC68HC711PH8
Description
High-density Complementary Metal Oxide Semiconductor (HCMOS) Microcomputer Unit
Manufacturer
Motorola
Datasheet
7
7.5.1
SPIE — Serial peripheral interrupt enable
Set the SPIE bit to a one to request a hardware interrupt sequence each time the SPIF or MODF
status flag is set. SPI interrupts are inhibited if this bit is clear or if the I bit in the condition code
register is one.
SPE — Serial peripheral system enable
When the SPE bit is set, the port D pins 2, 3, 4, and 5 are dedicated to the SPI functions and lose
their general purpose I/O functions. When the SPI system is enabled and expects any of PD[4:2]
to be inputs then those pins will be inputs regardless of the state of the associated DDRD bits. If
any of PD[4:2] are expected to be outputs then those pins will be outputs only if the associated
DDRD bits are set. However, if the SPI is in the master mode, DDD5 determines whether PD5 is
an error detect input (DDD5 = 0) or a general-purpose output (DDD5 = 1).
DWOM — Port D wired-OR mode
MSTR — Master mode select
CPOL — Clock polarity
When the clock polarity bit is cleared and data is not being transferred, the SCK pin of the master
device has a steady state low value. When CPOL is set, SCK idles high. Refer to Figure 7-2 and
Section 7.2.1.
MOTOROLA
7-6
SPI control (SPCR)
1 (set)
0 (clear) –
1 (set)
0 (clear) –
1 (set)
0 (clear) –
1 (set)
0 (clear) –
1 (set)
0 (clear) –
SPCR — SPI control register
A hardware interrupt sequence is requested each time SPIF or
MODF is set.
SPI interrupts are inhibited.
Port D [5:2] is dedicated to the SPI.
Port D has its default I/O functions and the clock generator is stopped.
Port D [5:2] buffers configured for open-drain outputs.
Port D [5:2] buffers configured for normal CMOS outputs.
Master mode
Slave mode
SCK is active low.
SCK is active high.
Address
$0028
SERIAL PERIPHERAL INTERFACE
SPIE
bit 7
bit 6
SPE DWOM MSTR CPOL CPHA SPR1 SPR0 0000 01uu
bit 5
bit 4
bit 3
bit 2
bit 1
MC68HC11PH8
bit 0
on reset
State
TPG

Related parts for MC68HC711PH8