Microchip PIC24EP512GU810 Manual

Microchip Ikke kategoriseret PIC24EP512GU810

Læs gratis den danske manual til Microchip PIC24EP512GU810 (96 sider) i kategorien Ikke kategoriseret. Denne vejledning er vurderet som hjælpsom af 33 personer og har en gennemsnitlig bedømmelse på 4.8 stjerner ud af 17 anmeldelser. Har du et spørgsmål om Microchip PIC24EP512GU810, eller vil du spørge andre brugere om produktet?

Side 1/96
© 2010-2013 Microchip Technology Inc. DS70621C-page 16-1
Analog-to-Digital
Converter (ADC)
16
Section 16. Analog-to-Digital Converter (ADC)
HIGHLIGHTS
This section of the manual contains the following major topics:
16.1 Introduction .................................................................................................................. 16-2
16.2 Control Registers .........................................................................................................16-6
16.3 Overview of Sample and Conversion Sequence ....................................................... 16-17
16.4 ADC Configuration ..................................................................................................... 16-28
16.5 ADC Interrupt Generation ..........................................................................................16-35
16.6 Analog Input Selection for Conversion....................................................................... 16-37
16.7 Specifying Conversion Results Buffering for Devices with DMA and with ADC DMA Enable
Bit (ADDMAEN) Set ................................................................................................... 16-52
16.8 ADC Configuration Example ...................................................................................... 16-56
16.9 ADC Configuration for 1.1 Msps ................................................................................ 16-57
16.10 Sample and Conversion Sequence Examples for Devices without DMA and for Devices
with DMA but with ADC DMA Enable Bit (ADDMAEN) Clear .................................... 16-59
16.11 Sample and Conversion Sequence Examples for Devices with DMA and with ADDMAEN
Bit Set ........................................................................................................................ 16-71
16.12 Configuration Examples for Devices with Internal Op Amps ..................................... 16-81
16.13 Analog-to-Digital Sampling Requirements ................................................................. 16-84
16.14 Reading the ADC Result Buffer ................................................................................. 16-85
16.15 Transfer Functions ..................................................................................................... 16-87
16.16 ADC Accuracy/Error................................................................................................... 16-89
16.17 Connection Considerations........................................................................................ 16-89
16.18 Operation During Sleep and Idle Modes.................................................................... 16-89
16.19 Effects of a Reset....................................................................................................... 16-90
16.20 Design Tips ................................................................................................................ 16-91
16.21 Related Application Notes.......................................................................................... 16-92
16.22 Revision History ......................................................................................................... 16-93
dsPIC33E/PIC24E Family Reference Manual
DS70621C-page 16-2 © 2010-2013 Microchip Technology Inc.
16.1 INTRODUCTION
This document describes the features and associated operational modes of the Successive
Approximation (SAR) Analog-to-Digital Converter (ADC) modules available on the
dsPIC33E/PIC24E families of devices.
This ADC module can be configured by the user application to function as a 10-bit, 4-channel
ADC or a 12-bit, single channel ADC.
On devices with Direct Memory Access (DMA), this ADC module can be configured to use DMA
or use a dedicated, 16-word memory mapped buffer instead of DMA.
An ADC module block diagram for devices without op amps is provided in Figure 16-1. The ADC
module block diagram for devices with op amps is provided in Figure 16-2.
The following key features are common to all dsPIC33E/PIC24E devices:
SAR conversion
Up to 1.1 Msps conversion speed in 10-bit mode
Up to 500 ksps conversion speed in 12-bit mode
Up to 32 analog input pins
External voltage reference input pins
Four unipolar, differential Sample-and-Hold (S&H) amplifiers
Simultaneous sampling of up to four analog input pins
Automatic Channel Scanning mode
Selectable conversion trigger source
Up to 16-word conversion result buffer
Operation during CPU Sleep and Idle modes
Additional features are available on select dsPIC33E/PIC24E devices:
Connections for up to three internal op amps (not available on all devices)
Connections to the Charge Time Measurement Unit (CTMU) and temperature
measurement diode (not available on all devices)
Channel selection and triggering can be controlled by the Peripheral Trigger Generator
(PTG) (not available on all devices)
Selectable Buffer Fill modes (not available on all devices)
DMA support, including Peripheral Indirect Addressing (PIA) (not available on all devices)
Depending on the device variant, the ADC module may have up to 49 analog input pins, designated
AN0-AN48, and four op amp outputs, designated OA1-OA3 and OA5. These analog inputs and
op amp outputs are connected by multiplexers to four S&H amplifiers, designated CH0-CH3. The
analog input multiplexers have two sets of control bits, designated as MUXA (CHySA/CHyNA) and
MUXB (CHySB/CHyNB). These control bits select a particular analog input for conversion. The
MUXA and MUXB control bits can alternatively select the analog input for conversion. Unipolar
differential conversions are possible on all channels using certain input pins.
Note: This family reference manual section is meant to serve as a complement to device
data sheets. Depending on the device variant, this manual section may not apply to
all dsPIC33E/PIC24E devices.
Please consult the note at the beginning of the “Analog-to-Digital Converter
(ADC)” chapter in the current device data sheet to check whether this document
supports the device you are using.
Device data sheets and family reference manual sections are available for
download from the Microchip Worldwide Web site at: http://www.microchip.com
Note: Op amps are not available on all devices. Refer to the Op Amp/Comparator”
chapter in the specific device data sheet for availability.
Note: Refer to the “Analog-to-Digital Converter (ADC)” chapter in the specific device
data sheet to determine the availability of these additional features.


Produkt Specifikationer

Mærke: Microchip
Kategori: Ikke kategoriseret
Model: PIC24EP512GU810

Har du brug for hjælp?

Hvis du har brug for hjælp til Microchip PIC24EP512GU810 stil et spørgsmål nedenfor, og andre brugere vil svare dig