English
Language : 

MC68HC08AS32 Datasheet, PDF (14/394 Pages) Motorola, Inc – M68HC08 Family of 8-bit microcontroller units (MCUs)
Table of Contents
Advance Information
14
17.8 I/O Signals . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .256
17.8.1 PTE0/TxD (Transmit Data) . . . . . . . . . . . . . . . . . . . . . . . .256
17.8.2 PTE1/RxD (Receive Data) . . . . . . . . . . . . . . . . . . . . . . . .256
17.9 I/O Registers. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .257
17.9.1 SCI Control Register 1 . . . . . . . . . . . . . . . . . . . . . . . . . . .257
17.9.2 SCI Control Register 2 . . . . . . . . . . . . . . . . . . . . . . . . . . .261
17.9.3 SCI Control Register 3 . . . . . . . . . . . . . . . . . . . . . . . . . . .263
17.9.4 SCI Status Register 1 . . . . . . . . . . . . . . . . . . . . . . . . . . . .265
17.9.5 SCI Status Register 2 . . . . . . . . . . . . . . . . . . . . . . . . . . . .269
17.9.6 SCI Data Register . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .270
17.9.7 SCI Baud Rate Register . . . . . . . . . . . . . . . . . . . . . . . . . .271
Section 18. Serial Peripheral Interface (SPI)
18.1 Contents . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .275
18.2 Introduction . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .276
18.3 Features . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .276
18.4 Pin Name and Register Name Conventions . . . . . . . . . . . . . .277
18.5 Functional Description . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .278
18.5.1 Master Mode . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .280
18.5.2 Slave Mode . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .281
18.6 Transmission Formats . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .282
18.6.1 Clock Phase and Polarity Controls . . . . . . . . . . . . . . . . . .282
18.6.2 Transmission Format When CPHA = 0 . . . . . . . . . . . . . . .283
18.6.3 Transmission Format When CPHA = 1 . . . . . . . . . . . . . . .284
18.6.4 Transmission Initiation Latency . . . . . . . . . . . . . . . . . . . . .286
18.7 Error Conditions . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .288
18.7.1 Overflow Error . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .288
18.7.2 Mode Fault Error . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .290
18.8 Interrupts. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .292
18.9 Queuing Transmission Data . . . . . . . . . . . . . . . . . . . . . . . . . .293
18.10 Resetting the SPI . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .295
18.11 Low-Power Modes . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .296
18.11.1 Wait Mode . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .296
18.11.2 Stop Mode . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .296
18.12 SPI During Break Interrupts . . . . . . . . . . . . . . . . . . . . . . . . . .297
Table of Contents
MC68HC08AS32 — Rev. 3.0
MOTOROLA