
L
G
R
Table of Contents
Technical Data
MC68HC05P18A
8
Table of Contents
MOTOROLA
Section 9. Serial Input/Output Ports (SIOP)
Contents . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .77
Introduction. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .77
SIOP Signal Format . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .78
Serial Clock (SCK) . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .78
Serial Data Input (SDI) . . . . . . . . . . . . . . . . . . . . . . . . . . . . .79
Serial Data Output (SDO). . . . . . . . . . . . . . . . . . . . . . . . . . .79
SIOP Registers. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .80
SIOP Control Register . . . . . . . . . . . . . . . . . . . . . . . . . . . . .80
SIOP Status Register . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .82
SIOP Data Register . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .83
9.1
9.2
9.3
9.3.1
9.3.2
9.3.3
9.4
9.4.1
9.4.2
9.4.3
Section 10. EEPROM
10.1
10.2
10.3
10.4
Contents . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .85
Introduction. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .85
EEPROM Programming Register. . . . . . . . . . . . . . . . . . . . . . .86
Programming/Erasing Procedures . . . . . . . . . . . . . . . . . . . . . .88
Section 11. Analog-to-Digital (A/D) Converter
Contents . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .91
Introduction. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .91
Analog Section . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .92
Ratiometric Conversion . . . . . . . . . . . . . . . . . . . . . . . . . . . .92
Reference Supply Voltage (V
REFH
) . . . . . . . . . . . . . . . . . . .92
Accuracy and Precision . . . . . . . . . . . . . . . . . . . . . . . . . . . .92
Conversion Process . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .92
Digital Section. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .93
Conversion Times . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .93
Internal versus External Oscillator . . . . . . . . . . . . . . . . . . . .93
Multi-Channel Operation . . . . . . . . . . . . . . . . . . . . . . . . . . .94
A/D Status and Control Register. . . . . . . . . . . . . . . . . . . . . . . .94
A/D Conversion Value Data Register . . . . . . . . . . . . . . . . . . . .96
11.1
11.2
11.3
11.3.1
11.3.2
11.3.3
11.4
11.5
11.5.1
11.5.2
11.5.3
11.6
11.7