MOTOROLA
x
MC68HC16R1/916R1
USER’S MANUAL
(Continued)
Title
Paragraph
Page
TABLE OF CONTENTS
11.3
11.3.1
11.3.1.1
11.3.1.2
11.3.1.3
11.3.2
11.3.3
11.3.3.1
11.3.3.2
11.3.4
11.3.4.1
11.3.4.2
11.3.5
11.3.6
11.3.7
11.3.8
11.3.9
11.4
11.4.1
11.4.1.1
11.4.1.2
11.4.1.3
11.4.2
11.4.3
11.4.4
11.4.5
11.4.5.1
11.4.5.2
11.4.5.3
11.4.5.4
11.4.5.5
11.4.5.6
11.4.5.7
11.4.5.8
11.4.5.9
11.5
Serial Peripheral Interface (SPI) ..............................................................11-4
SPI Registers ..................................................................................11-6
SPI Control Register (SPCR) ..................................................11-6
SPI Status Register (SPSR) ....................................................11-6
SPI Data Register (SPDR) ......................................................11-6
SPI Pins ...........................................................................................11-6
SPI Operating Modes ......................................................................11-7
Master Mode ...........................................................................11-7
Slave Mode .............................................................................11-8
SPI Clock Phase and Polarity Controls ...........................................11-8
CPHA = 0 Transfer Format .....................................................11-9
CPHA = 1 Transfer Format ...................................................11-10
SPI Serial Clock Baud Rate ..........................................................11-11
Wired-OR Open-Drain Outputs .....................................................11-11
Transfer Size and Direction ...........................................................11-11
Write Collision ...............................................................................11-12
Mode Fault ....................................................................................11-12
Serial Communication Interface (SCI) ...................................................11-13
SCI Registers ................................................................................11-13
SCI Control Registers ...........................................................11-13
SCI Status Register ...............................................................11-16
SCI Data Register .................................................................11-16
SCI Pins ........................................................................................11-16
Receive Data Pins (RXDA, RXDB) ...............................................11-17
Transmit Data Pins (TXDA, TXDB) ...............................................11-17
SCI Operation ................................................................................11-17
Definition of Terms ................................................................11-17
Serial Formats .......................................................................11-18
Baud Clock ............................................................................11-18
Parity Checking .....................................................................11-19
Transmitter Operation ...........................................................11-19
Receiver Operation ...............................................................11-20
Idle-Line Detection ................................................................11-21
Receiver Wake-Up ................................................................11-22
Internal Loop .........................................................................11-22
MCCI Initialization .................................................................................11-23
SECTION 12
CONFIGURABLE TIMER MODULE 7
12.1
12.2
General ....................................................................................................12-1
Address Map ...........................................................................................12-2