English
Language : 

MC68HC908GP32 Datasheet, PDF (306/410 Pages) Motorola, Inc – M68HC08 Family of 8-bit microcontroller units (MCUs)
Freescale Semiconductor, Inc.
Serial Peripheral Interface Module (SPI)
20.13.3 SPSCK (Serial Clock). . . . . . . . . . . . . . . . . . . . . . . . . . . . .326
20.13.4 SS (Slave Select) . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 326
20.13.5 CGND (Clock Ground) . . . . . . . . . . . . . . . . . . . . . . . . . . . . 327
20.14 I/O Registers. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 328
20.14.1 SPI Control Register. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 328
20.14.2 SPI Status and Control Register . . . . . . . . . . . . . . . . . . . . 330
20.14.3 SPI Data Register. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 333
20.2 Introduction
This section describes the serial peripheral interface (SPI) module,
which allows full-duplex, synchronous, serial communications with
peripheral devices.
20.3 Features
Technical Data
304
Features of the SPI module include:
• 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:
– SPRF (SPI receiver full)
– SPTE (SPI transmitter empty)
• Mode fault error flag with CPU interrupt capability
• Overflow error flag with CPU interrupt capability
• Programmable wired-OR mode
• I2C (inter-integrated circuit) compatibility
• I/O (input/output) port bit(s) software configurable with pullup
device(s) if configured as input port bit(s)
MC68HC908GP32•MC68HC08GP32 — Rev. 6
Serial Peripheral Interface Module (SPI)
For More Information On This Product,
Go to: www.freescale.com
MOTOROLA