PIC24FV16KA304T-I/MV Microchip Technology, PIC24FV16KA304T-I/MV Datasheet - Page 213

16KB Flash, 2KB RAM, 512B EEPROM, 16 MIPS, 12-bit ADC, CTMU, 5V 48 UQFN 6x6x0.5m

PIC24FV16KA304T-I/MV

Manufacturer Part Number
PIC24FV16KA304T-I/MV
Description
16KB Flash, 2KB RAM, 512B EEPROM, 16 MIPS, 12-bit ADC, CTMU, 5V 48 UQFN 6x6x0.5m
Manufacturer
Microchip Technology
Series
PIC® XLP™ 24Fr
Datasheet

Specifications of PIC24FV16KA304T-I/MV

Processor Series
PIC24FV
Core
PIC
Data Bus Width
16 bit
Program Memory Type
Flash
Program Memory Size
16 KB
Data Ram Size
2 KB
Maximum Operating Temperature
+ 85 C
Mounting Style
SMD/SMT
Package / Case
UQFN-48
Development Tools By Supplier
MPLAB IDE Software
Minimum Operating Temperature
- 40 C
Core Processor
PIC
Core Size
16-Bit
Speed
32MHz
Connectivity
I²C, IrDA, LIN, SPI, UART/USART
Peripherals
Brown-out Detect/Reset, HLVD, POR, PWM, WDT
Number Of I /o
38
Eeprom Size
512 x 8
Ram Size
2K x 8
Voltage - Supply (vcc/vdd)
2 V ~ 5.5 V
Data Converters
A/D 16x12b
Oscillator Type
Internal
Operating Temperature
-40°C ~ 85°C
Lead Free Status / Rohs Status
 Details
 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 PIC24FV16KA304T-I/MV