English
Language : 

MC68HC08AS20 Datasheet, PDF (272/386 Pages) Freescale Semiconductor, Inc – M68HC08 Microcontrollers
18.13.3
18.13.4
18.13.5
SPSCK (Serial Clock) . . . . . . . . . . . . . . . . . . . . . . . . . . . . 295
SS (Slave Select) . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 296
VSS (Clock Ground). . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 297
18.14 I/O Registers. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 297
18.14.1 SPI Control Register . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 298
18.14.2 SPI Status and Control Register . . . . . . . . . . . . . . . . . . . .300
18.14.3 SPI Data Register . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 304
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 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 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
272
MC68HC08AS20 —Rev. 4.1
Freescale Semiconductor