Electronic Components Datasheet Search
  New Zealand  ▼
ALLDATASHEET.CO.NZ

X  

PIC24HJ12GP201E/ML Datasheet(PDF) 153 Page - Microchip Technology

Part # PIC24HJ12GP201E/ML
Description  High-Performance, 16-Bit Microcontrollers
PDF  234 Pages
Scroll/Zoom Zoom In 100%  Zoom Out
Manufacturer  MICROCHIP [Microchip Technology]
Direct Link  http://www.microchip.com
Logo MICROCHIP - Microchip Technology

PIC24HJ12GP201E/ML Datasheet(HTML) 153 Page - Microchip Technology

Back Button PIC24HJ12GP201E/ML Datasheet HTML 149Page - Microchip Technology PIC24HJ12GP201E/ML Datasheet HTML 150Page - Microchip Technology PIC24HJ12GP201E/ML Datasheet HTML 151Page - Microchip Technology PIC24HJ12GP201E/ML Datasheet HTML 152Page - Microchip Technology PIC24HJ12GP201E/ML Datasheet HTML 153Page - Microchip Technology PIC24HJ12GP201E/ML Datasheet HTML 154Page - Microchip Technology PIC24HJ12GP201E/ML Datasheet HTML 155Page - Microchip Technology PIC24HJ12GP201E/ML Datasheet HTML 156Page - Microchip Technology PIC24HJ12GP201E/ML Datasheet HTML 157Page - Microchip Technology Next Button
Zoom Inzoom in Zoom Outzoom out
 153 / 234 page
background image
© 2007 Microchip Technology Inc.
Preliminary
DS70282B-page 151
PIC24HJ12GP201/202
17.0 10-BIT/12-BIT ANALOG-TO-
DIGITAL CONVERTER (ADC)
The PIC24HJ12GP201/202 devices have up to 10
ADC module input channels.
The AD12B bit (AD1CON1<10>),allows each of the
ADC modules to be configured as either a 10-bit, 4-
sample-and-hold ADC (default configuration) or a 12-
bit, 1-sample-and-hold ADC.
17.1
Key Features
The 10-bit ADC configuration has the following key
features:
• Successive Approximation (SAR) conversion
• Conversion speeds of up to 1.1 Msps
• Up to 10 analog input pins
• External voltage reference input pins
• Simultaneous sampling of up to four analog input
pins
• Automatic Channel Scan mode
• Selectable conversion trigger source
• Selectable Buffer Fill modes
• Operation during CPU Sleep and Idle modes
• 16-word conversion result buffer
The 12-bit ADC configuration supports all the above
features, except:
• In the 12-bit configuration, conversion speeds of
up to 500 ksps are supported
• There is only 1 sample-and-hold amplifier in the
12-bit configuration, so simultaneous sampling of
multiple channels is not supported.
Depending on the particular device pinout, the ADC
can have up to 10 analog input pins, designated AN0
through AN9. In addition, there are two analog input
pins for external voltage reference connections. These
voltage reference inputs can be shared with other
analog input pins.
The actual number of analog input pins and external
voltage reference input configuration will depend on the
specific device. Refer to the device data sheet for
further details.
A block diagram of the ADC is shown in Figure 17-1.
17.2
ADC Initialization
To configure the ADC module:
1.
Select
port
pins
as
analog
inputs
(AD1PCFGH<15:0> or AD1PCFGL<15:0>).
2.
Select voltage reference source to match
expected
range
on
analog
inputs
(AD1CON2<15:13>).
3.
Select the analog conversion clock to match
desired
data
rate
with
processor
clock
(AD1CON3<5:0>).
4.
Determine how many sample-and-hold chan-
nels will be used (AD1CON2<9:8> and
AD1PCFGH<15:0> or AD1PCFGL<15:0>).
5.
Select
the
appropriate
sample/conversion
sequence
(AD1CON1<7:5>
and
AD1CON3<12:8>).
6.
Select the way conversion results are presented
in the buffer (AD1CON1<9:8>).
a) Turn on the ADC module (AD1CON1<15>).
7.
Configure ADC interrupt (if required):
a) Clear the AD1IF bit.
b) Select ADC interrupt priority.
Note:
This data sheet summarizes the features
of the PIC24HJ12GP201/202 devices. It is
not intended to be a comprehensive
reference source. To complement the
information in this data sheet, refer to the
“PIC24H Family Reference Manual”.
Please see the Microchip web site
(www.microchip.com)
for
the
latest
PIC24H
Family
Reference
Manual
chapters.
Note:
The ADC module must be disabled before
the AD12B bit can be modified.



Html Pages

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100  ...More


Datasheet Download

Go To PDF Page


Link URL



Does ALLDATASHEET help your business so far?  [ DONATE ] 

About Alldatasheet   |   Advertisement   |   Contact us   |   Privacy Policy   |   Link to Datasheet    |   Link Exchange   |   Manufacturer List
All Rights Reserved©Alldatasheet.com


Mirror Sites
English : Alldatasheet.com  |   English : Alldatasheet.net  |   Chinese : Alldatasheetcn.com  |   German : Alldatasheetde.com  |   Japanese : Alldatasheet.jp
Russian : Alldatasheetru.com  |   Korean : Alldatasheet.co.kr  |   Spanish : Alldatasheet.es  |   French : Alldatasheet.fr  |   Italian : Alldatasheetit.com
Portuguese : Alldatasheetpt.com  |   Polish : Alldatasheet.pl  |   Vietnamese : Alldatasheet.vn
Indian : Alldatasheet.in  |   Mexican : Alldatasheet.com.mx  |   British : Alldatasheet.co.uk  |   New Zealand : Alldatasheet.co.nz
Family Site : ic2ic.com  |   icmetro.com