© 2004 Microchip Technology Inc. DS70065C-page 18-1
12-bit A/D
Converter
18
Section 18. 12-bit A/D Converter
HIGHLIGHTS
This section of the manual contains the following major topics:
18.1 Introduction .................................................................................................................. 18-2
18.2 Control Registers ......................................................................................................... 18-4
18.3 A/D Result Buffer ......................................................................................................... 18-4
18.4 A/D Terminology and Conversion Sequence ............................................................. 18-10
18.5 A/D Module Configuration.......................................................................................... 18-11
18.6 Selecting the Voltage Reference Source ................................................................... 18-11
18.7 Selecting the A/D Conversion Clock .......................................................................... 18-12
18.8 Selecting Analog Inputs for Sampling ........................................................................ 18-12
18.9 Enabling the Module .................................................................................................. 18-14
18.10 How to Start Sampling ............................................................................................... 18-14
18.11 How to Stop Sampling and Start Conversions ........................................................... 18-14
18.12 Controlling Sample/Conversion Operation................................................................. 18-19
18.13 Specifying How Conversion Results are Written into the Buffer ................................ 18-19
18.14 Conversion Sequence Examples............................................................................... 18-21
18.15 A/D Sampling Requirements...................................................................................... 18-26
18.16 Reading the A/D Result Buffer................................................................................... 18-27
18.17 Transfer Function....................................................................................................... 18-28
18.18 A/D Accuracy/Error .................................................................................................... 18-28
18.19 Connection Considerations........................................................................................ 18-28
18.20 Initialization ................................................................................................................ 18-29
18.21 Operation During Sleep and Idle Modes.................................................................... 18-30
18.22 Effects of a Reset....................................................................................................... 18-30
18.23 Special Function Registers Associated with the 12-bit A/D Converter....................... 18-31
18.24 Design Tips ................................................................................................................ 18-32
18.25 Related Application Notes.......................................................................................... 18-33
18.26 Revision History ......................................................................................................... 18-34