English
Language : 

MC68HC08AS32 Datasheet, PDF (276/394 Pages) Motorola, Inc – M68HC08 Family of 8-bit microcontroller units (MCUs)
Serial Peripheral Interface (SPI)
18.13.3
18.13.4
18.13.5
SPSCK (Serial Clock) . . . . . . . . . . . . . . . . . . . . . . . . . . . .299
SS (Slave Select) . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .300
VSS (Clock Ground) . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .301
18.14 I/O Registers. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .301
18.14.1 SPI Control Register . . . . . . . . . . . . . . . . . . . . . . . . . . . . .302
18.14.2 SPI Status and Control Register . . . . . . . . . . . . . . . . . . . .304
18.14.3 SPI Data Register . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .308
18.2 Introduction
This section describes the serial peripheral interface (SPI) module,
which allows full-duplex, synchronous, serial communications with
peripheral devices.
18.3 Features
Features of the SPI module include:
• Full-duplex operation
• Master mode and slave mode
• 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 with CPU service:
– 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
Advance Information
276
Serial Peripheral Interface (SPI)
MC68HC08AS32 — Rev. 3.0
MOTOROLA