mc68hc908ap8cfa Freescale Semiconductor, Inc, mc68hc908ap8cfa Datasheet - Page 211

no-image

mc68hc908ap8cfa

Manufacturer Part Number
mc68hc908ap8cfa
Description
M68hc08 Microcontrollers
Manufacturer
Freescale Semiconductor, Inc
Datasheet
Chapter 13
Serial Peripheral Interface Module (SPI)
13.1 Introduction
This section describes the serial peripheral interface (SPI) module, which allows full-duplex,
synchronous, serial communications with peripheral devices.
13.2 Features
Features of the SPI module include the following:
13.3 Pin Name Conventions and I/O Register Addresses
The text that follows describes the SPI. The SPI I/O pin names are SS (slave select), SPSCK (SPI serial
clock), CGND (clock ground), MOSI (master out slave in), and MISO (master in/slave out). The SPI
shares four I/O pins with four parallel I/O ports.
The full names of the SPI I/O pins are shown in
follows.
Figure 13-1
Freescale Semiconductor
Full-duplex operation
Master and slave modes
Double-buffered operation with separate transmit and receive registers
Four master mode frequencies (maximum = bus frequency ÷ 2)
Maximum slave mode frequency = bus frequency
Serial clock with programmable polarity and phase
Two separately enabled interrupts:
Mode fault error flag with CPU interrupt capability
Overflow error flag with CPU interrupt capability
Programmable wired-OR mode
SPRF (SPI receiver full)
SPTE (SPI transmitter empty)
summarizes the SPI I/O registers.
Pin Names:
Full SPI
SPI Generic
Pin Names:
SPI
PTC2/MISO
Table 13-1. Pin Name Conventions
MC68HC908AP Family Data Sheet, Rev. 4
MISO
PTC3/MOSI
Table
MOSI
13-1. The generic pin names appear in the text that
PTC4/SS
SS
PTC5/SPSCK
SPSCK
CGND
V
SS
209

Related parts for mc68hc908ap8cfa