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

X  

PIC24FV32KA302-I/ML Datasheet(PDF) 209 Page - Microchip Technology

Part # PIC24FV32KA302-I/ML
Description  20/28/44/48-Pin, General Purpose, 16-Bit Flash Microcontrollers with XLP Technology
PDF  364 Pages
Scroll/Zoom Zoom In 100%  Zoom Out
Manufacturer  MICROCHIP [Microchip Technology]
Direct Link  http://www.microchip.com
Logo MICROCHIP - Microchip Technology

PIC24FV32KA302-I/ML Datasheet(HTML) 209 Page - Microchip Technology

Back Button PIC24FV32KA302-I/ML Datasheet HTML 205Page - Microchip Technology PIC24FV32KA302-I/ML Datasheet HTML 206Page - Microchip Technology PIC24FV32KA302-I/ML Datasheet HTML 207Page - Microchip Technology PIC24FV32KA302-I/ML Datasheet HTML 208Page - Microchip Technology PIC24FV32KA302-I/ML Datasheet HTML 209Page - Microchip Technology PIC24FV32KA302-I/ML Datasheet HTML 210Page - Microchip Technology PIC24FV32KA302-I/ML Datasheet HTML 211Page - Microchip Technology PIC24FV32KA302-I/ML Datasheet HTML 212Page - Microchip Technology PIC24FV32KA302-I/ML Datasheet HTML 213Page - Microchip Technology Next Button
Zoom Inzoom in Zoom Outzoom out
 209 / 364 page
background image
 2011-2013 Microchip Technology Inc.
DS39995D-page 209
PIC24FV32KA304 FAMILY
To perform an A/D conversion:
1.
Configure the A/D module:
a) Configure the port pins as analog inputs
and/or select band gap reference inputs
(ANS<12:10>, ANS<5:0>).
b) Select voltage reference source to match
the expected range on the analog inputs
(AD1CON2<15:13>).
c)
Select the analog conversion clock to
match the desired data rate with the
processor clock (AD1CON3<7:0>).
d) Select the appropriate sample/conver-
sion sequence (AD1CON1<7:4> and
AD1CON3<12:8>).
e) Select
how
conversion
results
are
presented in the buffer (AD1CON1<9:8>).
f)
Select the interrupt rate (AD1CON2<6:2>).
g) Turn on the A/D module (AD1CON1<15>).
2.
Configure the A/D interrupt (if required):
a) Clear the AD1IF bit.
b) Select the A/D interrupt priority.
To perform an A/D sample and conversion using
Threshold Detect scanning:
1.
Configure the A/D module:
a)
Configure the port pins as analog inputs
(ANS<12:10>, ANS<5,0>).
b) Select the voltage reference source to
match the expected range on the analog
inputs (AD1CON2<15:13>).
c)
Select the analog conversion clock to
match the desired data rate with the
processor clock (AD1CON3<7:0>).
d)
Select
the
appropriate
sample/conversion
sequence (AD1CON1<7:4>, AD1CON3<12:8>).
e)
Select how the conversion results are
presented in the buffer (AD1CON1<9:8>).
f)
Select the interrupt rate (AD1CON2<6:2>).
2.
Configure the threshold compare channels:
a)
Enable auto-scan – ASEN bit (AD1CON5<15>).
b)
Select the Compare mode, “Greater Than,
Less Than or Windowed” – CMx bits
(AD1CON5<1:0>).
c)
Select the threshold compare channels to
be scanned (ADCSSH, ADCSSL).
d)
If the CTMU is required as a current
source for a threshold compare channel,
enable the corresponding CTMU channel
(ADCCTMUENH, ADCCTMUENL).
e)
Write the threshold values into the
corresponding ADC1BUFn registers.
f)
Turn on the A/D module (AD1CON1<15>).
3.
Configure the A/D interrupt (OPTIONAL):
a)
Clear the AD1IF bit.
b)
Select the A/D interrupt priority.
Note:
If
performing
an
A/D
sample
and
conversion using Threshold Detect in Sleep
Mode, the RC A/D clock source must be
selected before entering into Sleep mode.



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