English
Language : 

MC68HC812A4 Datasheet, PDF (14/342 Pages) Motorola, Inc – 16-bit device composed of standard on-chip peripheral modules connected by an intermodule bus. Modules include
Table of Contents
14.9 Modes of Operation . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .259
14.10 Low-Power Options . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .259
14.10.1 Run Mode. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .259
14.10.2 Wait Mode . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .259
14.10.3 Stop Mode . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .259
14.11 Interrupt Sources . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .260
14.12 General-Purpose I/O Ports . . . . . . . . . . . . . . . . . . . . . . . . . . .260
14.13 Serial Character Transmission using the SCI. . . . . . . . . . . . .260
14.13.1 Equipment . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .260
14.13.2 Code Listing . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .261
Section 15. Serial Peripheral Interface (SPI)
15.1 Contents . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .263
15.2 Introduction . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .264
15.3 Features . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .264
15.4 Block Diagram . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .265
15.5 Register Map . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .266
15.6 Functional Description . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .266
15.6.1 Master Mode . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .267
15.6.2 Slave Mode . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .268
15.6.3 Baud Rate Generation . . . . . . . . . . . . . . . . . . . . . . . . . . . .268
15.6.4 Clock Phase and Polarity . . . . . . . . . . . . . . . . . . . . . . . . . .268
15.6.5 SS Output. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .271
15.6.6 Single-Wire Operation . . . . . . . . . . . . . . . . . . . . . . . . . . . .272
15.7 SPI Register Descriptions and Reset Initialization . . . . . . . . .273
15.7.1 SPI Control Register 1 . . . . . . . . . . . . . . . . . . . . . . . . . . . .273
15.7.2 SPI Control Register 2 . . . . . . . . . . . . . . . . . . . . . . . . . . . .275
15.7.3 SPI Baud Rate Register . . . . . . . . . . . . . . . . . . . . . . . . . . .276
15.7.4 SPI Status Register . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .277
15.7.5 SPI Data Register. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .278
15.8 External Pins. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .279
15.8.1 MISO (Master In, Slave Out) . . . . . . . . . . . . . . . . . . . . . . .279
15.8.2 MOSI (Master Out, Slave In) . . . . . . . . . . . . . . . . . . . . . . .279
MC68HC812A4 — Rev. 3.0
14
Table of Contents
Advance Information
MOTOROLA