
MC68HC912B32 MC68HC12BE32 — Rev. 3.0
Advance Information
MOTOROLA
Serial Interface
271
Advance Information — MC68HC912B32 MC68HC12BE32
Section 14. Serial Interface
14.1 Contents
14.2
Introduction. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .272
14.3
14.3.1
14.3.2
14.3.3
14.3.3.1
14.3.3.2
14.3.3.3
14.3.3.4
14.3.3.5
14.3.3.6
Serial Communication Interface (SCI) . . . . . . . . . . . . . . . . . .273
Data Format . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .273
SCI Baud Rate Generation. . . . . . . . . . . . . . . . . . . . . . . . .275
SCI Register Descriptions . . . . . . . . . . . . . . . . . . . . . . . . .276
SCI Baud Rate Control Register . . . . . . . . . . . . . . . . . .276
SCI Control Register 1. . . . . . . . . . . . . . . . . . . . . . . . . .277
SCI Control Register 2. . . . . . . . . . . . . . . . . . . . . . . . . .280
SCI Status Register 1. . . . . . . . . . . . . . . . . . . . . . . . . . .281
SCI Status Register 2. . . . . . . . . . . . . . . . . . . . . . . . . . .283
SCI Data Register . . . . . . . . . . . . . . . . . . . . . . . . . . . . .284
14.4
14.4.1
14.4.2
14.4.3
14.4.4
14.4.5
14.4.5.1
14.4.5.2
14.4.5.3
14.4.5.4
14.4.5.5
Serial Peripheral Interface (SPI). . . . . . . . . . . . . . . . . . . . . . .285
SPI Baud Rate Generation. . . . . . . . . . . . . . . . . . . . . . . . .285
SPI Operation. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .286
SS Output. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .288
Bidirectional Mode (MOMI or SISO). . . . . . . . . . . . . . . . . .289
SPI Register Descriptions . . . . . . . . . . . . . . . . . . . . . . . . .289
SPI Control Register 1 . . . . . . . . . . . . . . . . . . . . . . . . . .290
SPI Control Register 2 . . . . . . . . . . . . . . . . . . . . . . . . . .292
SPI Baud Rate Register. . . . . . . . . . . . . . . . . . . . . . . . .293
SPI Status Register . . . . . . . . . . . . . . . . . . . . . . . . . . . .294
SPI Data Register . . . . . . . . . . . . . . . . . . . . . . . . . . . . .295
14.5
14.5.1
14.5.2
14.5.3
Port S . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .296
Port S Data Register . . . . . . . . . . . . . . . . . . . . . . . . . . . . .296
Port S Data Direction Register . . . . . . . . . . . . . . . . . . . . . .297
Pullup and Reduced Drive Register for Port S. . . . . . . . . .298