mc68hc908gt8 Freescale Semiconductor, Inc, mc68hc908gt8 Datasheet - Page 197

no-image

mc68hc908gt8

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

Available stocks

Company
Part Number
Manufacturer
Quantity
Price
Part Number:
mc68hc908gt8CB
Manufacturer:
FRE/MOT
Quantity:
20 000
Part Number:
mc68hc908gt8CFB
Manufacturer:
Freescale Semiconductor
Quantity:
10 000
Part Number:
mc68hc908gt8CFBE
Manufacturer:
MOTOROLA
Quantity:
2 500
Chapter 16
Serial Peripheral Interface (SPI) Module
16.1 Introduction
This section describes the serial peripheral interface (SPI) module, which allows full-duplex, synchronous,
serial communications with peripheral devices.
The text that follows describes the SPI. The SPI I/O pin names are SS (slave select), SPSCK (SPI serial
clock), MOSI (master out slave in), and MISO (master in/slave out). The SPI shares four I/O pins with four
parallel I/O ports.
16.2 Features
Features of the SPI module include:
16.3 Functional Description
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.
If a port bit is configured for input, then an internal pullup device may be enabled for that port bit.
The following paragraphs describe the operation of the SPI module. Refer to
of the SPI I/O registers.
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
I/O (input/output) port bit(s) software configurable with pullup device(s) if configured as input port
bit(s)
SPRF (SPI receiver full)
SPTE (SPI transmitter empty)
MC68HC908GT16 • MC68HC908GT8 • MC68HC08GT16 Data Sheet, Rev. 5.0
Figure 16-2
for a summary
197

Related parts for mc68hc908gt8