PIC24FV16KA301-I/P Microchip Technology, PIC24FV16KA301-I/P Datasheet - Page 213

no-image

PIC24FV16KA301-I/P

Manufacturer Part Number
PIC24FV16KA301-I/P
Description
MCU 16KB FLASH 2KB RAM 20-PDIP
Manufacturer
Microchip Technology
Datasheet

Specifications of PIC24FV16KA301-I/P

Controller Family/series
PIC24F
Core Size
16bit
No. Of I/o's
17
Program Memory Size
16KB
Eeprom Memory Size
512Byte
Ram Memory Size
2KB
Cpu Speed
32MHz
Oscillator Type
External, Internal
Rohs Compliant
Yes
Processor Series
PIC24FV
Core
PIC
Data Bus Width
16 bit
Program Memory Type
Flash
Data Ram Size
2 KB
Maximum Operating Temperature
+ 85 C
Mounting Style
Through Hole
Package / Case
PDIP-20
Development Tools By Supplier
MPLAB IDE Software
Minimum Operating Temperature
- 40 C
Lead Free Status / Rohs Status
Lead free / RoHS Compliant
 2011 Microchip Technology Inc.
To perform an A/D conversion:
1.
2.
To perform an A/D sample and conversion using
Threshold Detect scanning:
1.
2.
Configure the A/D module:
a)
b)
c)
d)
e)
f)
g)
Configure A/D interrupt (if required):
a)
b)
Configure the A/D module:
a)
b)
c)
d)
e)
f)
Configure the Threshold compare channels:
Configure port pins as analog inputs and/or
select
(ANS<12:10>, ANS<5:0>).
Select voltage reference source to match
expected
(AD1CON2<15:13>).
Select the analog conversion clock to
match the desired data rate with the
processor clock (AD1CON3<7:0>).
Select the appropriate sample/conversion
sequence
AD1CON3<12:8>).
Select
presented in the buffer (AD1CON1<9:8>).
Select interrupt rate (AD1CON2<5:2>).
Turn on A/D module (AD1CON1<15>).
Clear the AD1IF bit.
Select A/D interrupt priority.
Configure port pins as analog inputs
(ANS<12:10>, ANS<5,0>).
Select voltage reference source to match
expected
(AD1CON2<15:13>).
Select the analog conversion clock to
match the desired data rate with the
processor clock (AD1CON3<7:0>).
Select
sequence (AD1CON1<7:5>, AD1CON3<12:8>).
Select how the conversion results are
presented in the buffer (AD1CON1<9:8>).
Select interrupt rate (AD1CON2<5:2>).
the
band
how
range
range
appropriate
(AD1CON1<7:5>
conversion
gap
on
on
reference
analog
analog
sample/conversion
results
inputs
inputs
inputs
and
are
PIC24FV32KA304 FAMILY
3.
Note:
a)
b)
c)
d)
e)
f)
Configure A/D interrupt (OPTIONAL):
a)
b)
Enable auto-scan (ASEN bit (AD1CON<15>)).
Select the Compare mode “Greater Than,
Less
(AD1CON5<1:0>)).
Select the threshold compare channels to
be scanned (ADCSSH, ADCSSL).
If the CTMU is required as a current source
for a threshold compare channel, enable
the
(ADCCTMUENH, ADCCTMUENL).
Write
corresponding ADC1BUFn registers.
Turn on the A/D module (AD1CON1<15>).
Clear the AD1IF bit.
Select A/D interrupt priority.
If
conversion using Threshold Detect in
Sleep Mode, the RC A/D clock source
must be selected before entering into
Sleep mode.
performing
corresponding
Than
the
threshold
or
Windowed”
an
A/D
CTMU
values
DS39995B-page 213
sample
(CM
into
channel
bits
the
and

Related parts for PIC24FV16KA301-I/P