MC68HC711PH8 Motorola, MC68HC711PH8 Datasheet - Page 123

no-image

MC68HC711PH8

Manufacturer Part Number
MC68HC711PH8
Description
High-density Complementary Metal Oxide Semiconductor (HCMOS) Microcomputer Unit
Manufacturer
Motorola
Datasheet
The serial peripheral interface (SPI), an independent serial communications subsystem, allows
the MCU to communicate synchronously with peripheral devices, such as transistor-transistor
logic (TTL) shift registers, liquid crystal (LCD) display drivers, analog-to-digital converter
subsystems, and other microprocessors. The SPI is also capable of inter-processor
communication in a multiple master system. The SPI system can be configured as either a master
or a slave device, with data rates as high as one half of the E clock rate when configured as a
master and as fast as the E clock rate when configured as a slave.
The SPI shares I/O with four of port D’s pins and is enabled by SPE in the SPCR:
7.1
The central element in the SPI system is the block containing the shift register and the read data
buffer (see Figure 7-1). The system is single buffered in the transmit direction and double buffered
in the receive direction. This means that new data for transmission cannot be written to the shifter
until the previous transfer is complete; however, received data is transferred into a parallel read
data buffer so the shifter is free to accept a second serial character. As long as the first character
is read out of the read data buffer before the next serial character is ready to be transferred, no
overrun condition occurs. A single MCU register address is used for reading data from the read
data buffer and for writing data to the shifter.
The SPI status block represents the SPI status functions (transfer complete, write collision, and mode
fault) performed by the serial peripheral status register (SPSR). The SPI control block represents those
functions that control the SPI system through the serial peripheral control register (SPCR).
MC68HC11PH8
The MC68HC11PH8 contains two serial peripheral interfaces having similar operation. For ease
of reference, a full description of SPI1 is given first, followed by a summary of SPI2 (Section 7.6).
SERIAL PERIPHERAL INTERFACE
Functional description
SERIAL PERIPHERAL INTERFACE
PD2
PD3
PD4
PD5
Pin
7
Alternate
function
MISO1
MOSI1
SCK1
SS1
MOTOROLA
TPG
7-1
7

Related parts for MC68HC711PH8