English
Language : 

MC68HC705C8A Datasheet, PDF (137/222 Pages) Motorola, Inc – HCMOS Microcontroller Unit
Technical Data — MC68HC705C8A
Section 11. Serial Peripheral Interface (SPI)
11.1 Contents
11.2 Introduction . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .137
11.3 Features . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .138
11.4 Operation . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .140
11.4.1 Pin Functions in Master Mode . . . . . . . . . . . . . . . . . . . . . .141
11.4.2 Pin Functions in Slave Mode . . . . . . . . . . . . . . . . . . . . . . .142
11.5 Multiple-SPI Systems . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .143
11.6 Serial Clock Polarity and Phase . . . . . . . . . . . . . . . . . . . . . . .144
11.7 SPI Error Conditions . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .145
11.7.1 Mode Fault Error . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .145
11.7.2 Write Collision Error . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .145
11.7.3 Overrun Error . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .146
11.8 SPI Interrupts . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .146
11.9 SPI I/O Registers . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .146
11.9.1 SPI Data Register. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .147
11.9.2 SPI Control Register. . . . . . . . . . . . . . . . . . . . . . . . . . . . . .147
11.9.3 SPI Status Register . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .149
11.2 Introduction
The serial peripheral interface (SPI) module allows full-duplex,
synchronous, serial communication with peripheral devices.
MC68HC705C8A — Rev. 2.0
MOTOROLA
Serial Peripheral Interface (SPI)
Technical Data
137