English
Language : 

MC68HC908LJ24 Datasheet, PDF (16/464 Pages) Motorola, Inc – Microcontrollers
Table of Contents
Freescale Semiconductor, Inc.
Data Sheet
16
13.10.2 PTB1/RxD (Receive Data) . . . . . . . . . . . . . . . . . . . . . . . . . 267
13.11 I/O Registers. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 268
13.11.1 SCI Control Register 1 . . . . . . . . . . . . . . . . . . . . . . . . . . . . 269
13.11.2 SCI Control Register 2 . . . . . . . . . . . . . . . . . . . . . . . . . . . . 271
13.11.3 SCI Control Register 3 . . . . . . . . . . . . . . . . . . . . . . . . . . . . 274
13.11.4 SCI Status Register 1. . . . . . . . . . . . . . . . . . . . . . . . . . . . . 276
13.11.5 SCI Status Register 2 (SCS2) . . . . . . . . . . . . . . . . . . . . . . 280
13.11.6 SCI Data Register . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 281
13.11.7 SCI Baud Rate Register . . . . . . . . . . . . . . . . . . . . . . . . . . .282
13.11.8 SCI Infrared Control Register . . . . . . . . . . . . . . . . . . . . . . . 285
Section 14. Serial Peripheral Interface Module (SPI)
14.1 Contents . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .287
14.2 Introduction . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 288
14.3 Features . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 288
14.4 Pin Name Conventions and I/O Register Addresses . . . . . . . 289
14.5 Functional Description . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .290
14.5.1 Master Mode . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 291
14.5.2 Slave Mode . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 292
14.6 Transmission Formats . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .293
14.6.1 Clock Phase and Polarity Controls. . . . . . . . . . . . . . . . . . . 293
14.6.2 Transmission Format When CPHA = 0 . . . . . . . . . . . . . . . 294
14.6.3 Transmission Format When CPHA = 1 . . . . . . . . . . . . . . . 296
14.6.4 Transmission Initiation Latency . . . . . . . . . . . . . . . . . . . . . 297
14.7 Queuing Transmission Data . . . . . . . . . . . . . . . . . . . . . . . . . . 299
14.8 Error Conditions . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 300
14.8.1 Overflow Error . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 300
14.8.2 Mode Fault Error . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 302
14.9 Interrupts. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .304
14.10 Resetting the SPI . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 306
14.11 Low-Power Modes . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 307
14.11.1 Wait Mode . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .307
MC68HC908LJ24/LK24 — Rev. 2
Table of Contents
For More Information On This Product,
Go to: www.freescale.com
MOTOROLA