DSPIC30F2012 Microchip Technology Inc., DSPIC30F2012 Datasheet - Page 111

no-image

DSPIC30F2012

Manufacturer Part Number
DSPIC30F2012
Description
Dspic30f2011/2012/3012/3013 High-performance Digital Signal Controllers
Manufacturer
Microchip Technology Inc.
Datasheet

Available stocks

Company
Part Number
Manufacturer
Quantity
Price
Part Number:
DSPIC30F2012-20E/ML
Manufacturer:
MICROCHIP/微芯
Quantity:
20 000
Part Number:
DSPIC30F2012-20E/SO
Manufacturer:
MICROCHIP/微芯
Quantity:
20 000
Part Number:
DSPIC30F2012-20I/ML
Manufacturer:
MICROCHIP/微芯
Quantity:
20 000
Part Number:
DSPIC30F2012-20I/SO
Manufacturer:
MICROCHI
Quantity:
20 000
Part Number:
DSPIC30F2012-20I/SO
0
Part Number:
DSPIC30F2012-20I/SP
Manufacturer:
Microchip Technology
Quantity:
135
Part Number:
DSPIC30F2012-20I/SP
Manufacturer:
MICROCHIP/微芯
Quantity:
20 000
16.0
The 12-bit Analog-to-Digital Converter allows conver-
sion of an analog input signal to a 12-bit digital number.
This module is based on a Successive Approximation
Register (SAR) architecture and provides a maximum
sampling rate of 200 ksps. The ADC module has up to
10 analog inputs which are multiplexed into a sample
and hold amplifier. The output of the sample and hold
is the input into the converter which generates the
result. The analog reference voltage is software select-
able to either the device supply voltage (AV
the voltage level on the (V
has a unique feature of being able to operate while the
device is in Sleep mode with RC oscillator selection.
FIGURE 16-1:
© 2006 Microchip Technology Inc.
Note: This data sheet summarizes features of this group
of dsPIC30F devices and is not intended to be a complete
reference source. For more information on the CPU,
peripherals, register descriptions and general device
functionality, refer to the “dsPIC30F Family Reference
Manual” (DS70046).
A
A
AN0
AN1
AN2
AN3
AN4
AN5
AN6
AN7
AN8
AN9
VDD
VSS
12-BIT ANALOG-TO-DIGITAL
CONVERTER (ADC) MODULE
/V
/V
REF
REF
+
-
12-BIT ADC FUNCTIONAL BLOCK DIAGRAM
REF
+/V
REF
0000
0001
0010
0011
0100
0101
0110
0111
1000
1001
-) pin. The ADC
dsPIC30F2011/2012/3012/3013
DD
/AV
SS
S/H
) or
Sample
CH0
The ADC module has six 16-bit registers:
• A/D Control Register 1 (ADCON1)
• A/D Control Register 2 (ADCON2)
• A/D Control Register 3 (ADCON3)
• A/D Input Select Register (ADCHS)
• A/D Port Configuration Register (ADPCFG)
• A/D Input Scan Selection Register (ADCSSL)
The ADCON1, ADCON2 and ADCON3 registers
control the operation of the ADC module. The ADCHS
register selects the input channels to be converted. The
ADPCFG register configures the port pins as analog
inputs or as digital I/O. The ADCSSL register selects
inputs for scanning.
The block diagram of the 12-bit ADC module is shown
in Figure 16-1.
Note:
12-bit SAR
Switches
The SSRC<2:0>, ASAM, SMPI<3:0>,
BUFM and ALTS bits, as well as the
ADCON3 and ADCSSL registers, must
not be written to while ADON = 1. This
would lead to indeterminate results.
DAC
Input
16-word, 12-bit
Sample/Sequence
Dual Port
Buffer
Comparator
Conversion Logic
Control
Input MUX
Control
DS70139E-page 109

Related parts for DSPIC30F2012