PIC24FV32KA304 FAMILY
20/28/44/48-Pin, General Purpose, 16-Bit Flash
Microcontrollers with XLP Technology
Power Management Modes:
Run – CPU, Flash, SRAM and Peripherals On
Doze – CPU Clock Runs Slower than Peripherals
Idle – CPU Off, Flash, SRAM and Peripherals On
Sleep – CPU, Flash and Peripherals Off and SRAM on
Deep Sleep – CPU, Flash, SRAM and Most Peripherals
Off; Multiple Autonomous Wake-up Sources
• Low-Power Consumption:
- Run mode currents down to 8
μA,
typical
- Idle mode currents down to 2.2
μA,
typical
- Deep Sleep mode currents down to 20 nA, typical
- Real-Time Clock/Calendar currents down to
700 nA, 32 kHz, 1.8V
- Watchdog Timer 500 nA, 1.8V typical
•
•
•
•
•
Analog Features:
• 12-Bit, Up to 16-Channel Analog-to-Digital Converter:
- 100 ksps conversion rate
- Conversion available during Sleep and Idle
- Auto-sampling timer-based option for Sleep and
Idle modes
- Wake on auto-compare option
• Dual Rail-to-Rail Analog Comparators with
Programmable Input/Output Configuration
• On-Chip Voltage Reference
• Internal Temperature Sensor
• Charge Time Measurement Unit (CTMU):
- Used for capacitance sensing, 16 channels
- Time measurement, down to 200 ps resolution
- Delay/pulse generation, down to 1 ns resolution
High-Performance CPU:
• Modified Harvard Architecture
• Up to 16 MIPS Operation @ 32 MHz
• 8 MHz Internal Oscillator with 4x PLL Option and
Multiple Divide Options
• 17-Bit by 17-Bit Single-Cycle Hardware Multiplier
• 32-Bit by 16-Bit Hardware Divider, 16-Bit x 16-Bit
Working Register Array
• C Compiler Optimized Instruction Set Architecture
Special Microcontroller Features:
• Wide Operating Voltage Range:
- 1.8V to 3.6V (PIC24F devices)
- 2.0V to 5.5V (PIC24FV devices)
• Low Power Wake-up Sources and Supervisors:
- Ultra-Low Power Wake-up (ULPWU) for
Sleep/Deep Sleep
- Low-Power Watchdog Timer (DSWDT) for
Deep Sleep
- Extreme Low-Power Brown-out Reset (DSBOR)
for Deep Sleep, LPBOR for all other modes
• System Frequency Range Declaration bits:
- Declaring the frequency range optimizes the
current consumption.
• Standard Watchdog Timer (WDT) with On-Chip,
Low-Power RC Oscillator for Reliable Operation
• Programmable High/Low-Voltage Detect (HLVD)
• Standard Brown-out Reset (BOR) with 3 Programmable
Trip Points that can be Disabled in Sleep
• High-Current Sink/Source (18 mA/18 mA) on All I/O Pins
• Flash Program Memory:
- Erase/write cycles: 10,000 minimum
- 40 years’ data retention minimum
• Data EEPROM:
- Erase/write cycles: 100,000 minimum
- 40 years’ data retention minimum
• Fail-Safe Clock Monitor (FSCM)
• Programmable Reference Clock Output
• Self-Programmable under Software Control
• In-Circuit Serial Programming™ (ICSP™) and
In-Circuit Debug (ICD) via 2 Pins
Peripheral Features:
• Hardware Real-Time Clock and Calendar (RTCC):
- Provides clock, calendar and alarm functions
- Can run in Deep Sleep mode
- Can use 50/60 Hz power line input as clock source
• Programmable 32-bit Cyclic Redundancy Check
(CRC)
• Multiple Serial Communication modules:
- Two 3-/4-wire SPI modules
- Two I
2
C™ modules with multi-master/slave support
- Two UART modules supporting RS-485, RS-232,
LIN/J2602, IrDA
®
• Five 16-Bit Timers/Counters with Programmable
Prescaler:
- Can be paired as 32-bit timers/counters
• Three 16-Bit Capture Inputs with Dedicated Timers
• Three 16-Bit Compare/PWM Output with Dedicated
Timers
• Configurable Open-Drain Outputs on Digital I/O Pins
• Up to Three External Interrupt Sources
2011-2012 Microchip Technology Inc.
DS39995C-page 1
PIC24FV32KA304 FAMILY
Compare/PWM
Output
Comparators
CTMU (ch)
12
12
13
13
16
16
Memory
Capture
Input
Timers
16-Bit
EE Data
(bytes)
SRAM
(bytes)
PIC24F
Device
Flash
Program
(bytes)
Pins
12-Bit A/D (ch)
UART w/
IrDA
®
PIC24FV16KA301/
PIC24F16KA301
PIC24FV32KA301/
PIC24F32KA301
PIC24FV16KA302/
PIC24F16KA302
PIC24FV32KA302/
PIC24F32KA302
PIC24FV16KA304/
PIC24F16KA304
PIC24FV32KA304/
PIC24F32KA304
20
20
28
28
44
44
16K
32K
16K
32K
16K
32K
2K
2K
2K
2K
2K
2K
512
512
512
512
512
512
5
5
5
5
5
5
3
3
3
3
3
3
3
3
3
3
3
3
2
2
2
2
2
2
2
2
2
2
2
2
2
2
2
2
2
2
12
12
13
13
16
16
3
3
3
3
3
3
DS39995C-page 2
2011-2012 Microchip Technology Inc.
RTCC
Y
Y
Y
Y
Y
Y
I
2
C™
SPI
PIC24FV32KA304 FAMILY
Pin Diagrams
20-Pin SPDIP/SSOP/SOIC
(1)
MCLR/RA5
RA0
RA1
RB0
RB1
RB2
RA2
RA3
RB4
RA4
1
2
3
4
5
6
7
8
9
10
20
19
18
17
16
15
14
13
12
11
V
DD
V
SS
RB15
RB14
RB13
RB12
RA6 or V
CAP
RB9
RB8
RB7
24FVXXKA301
Pin Features
Pin
PIC24FVXXKA301
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
MCLR/V
PP
/RA5
PGEC2/V
REF
+/CV
REF
+/AN0/C3INC/SCK2/CN2/RA0
PGED2/CV
REF
-/V
REF
-/AN1/SDO2/CN3/RA1
PGED1/AN2/ULPWU/CTCMP/C1IND/C2INB/C3IND/U2TX/SDI2/
OC2/CN4/RB0
PGEC1/AN3/C1INC/C2INA/U2RX/OC3/CTED12/CN5/RB1
AN4/SDA2/T5CK/T4CK/U1RX/CTED13/CN6/RB2
OSCI/AN13/C1INB/C2IND/CLKI/CN30/RA2
OSCO/AN14/C1INA/C2INC/CLKO/CN29/RA3
PGED3/SOSCI/AN15/U2RTS/CN1/RB4
PGEC3/SOSCO/SCLKI/U2CTS/CN0/RA4
U1TX/C2OUT/OC1/IC1/CTED1/INT0/CN23/RB7
SCL1/U1CTS/C3OUT/CTED10/CN22/RB8
SDA1/T1CK/U1RTS/IC2/CTED4/CN21/RB9
V
CAP
AN12/HLVDIN/SCK1/SS2/IC3/CTED2/INT2/CN14/RB12
AN11/SDO1/OCFB/CTPLS/CN13/RB13
CV
REF
/AN10/C3INB/RTCC/SDI1/C1OUT/OCFA/CTED5/INT1/
CN12/RB14
AN9/C3INA/SCL2/T3CK/T2CK/REFO/SS1/CTED6/CN11/RB15
V
SS
/AV
SS
V
DD
/AV
DD
MCLR/V
PP
/RA5
PGEC2/V
REF
+/CV
REF
+/AN0/C3INC/SCK2/CN2/RA0
PGED2/CV
REF
-/V
REF
-/AN1/SDO2/CN3/RA1
PGED1/AN2/ULPWU/CTCMP/C1IND/C2INB/C3IND/U2TX/SDI2/
OC2/CN4/RB0
PGEC1/AN3/C1INC/C2INA/U2RX/OC3/CTED12/CN5/RB1
AN4/SDA2/T5CK/T4CK/U1RX/CTED13/CN6/RB2
OSCI/AN13/C1INB/C2IND/CLKI/CN30/RA2
OSCO/AN14/C1INA/C2INC/CLKO/CN29/RA3
PGED3/SOSCI/AN15/U2RTS/CN1/RB4
PGEC3/SOSCO/SCLKI/U2CTS/CN0/RA4
U1TX/INT0/CN23/RB7
SCL1/U1CTS/C3OUT/CTED10/CN22/RB8
SDA1/T1CK/U1RTS/IC2/CTED4/CN21/RB9
C2OUT/OC1/IC1/CTED1/INT2/CN8/RA6
AN12/HLVDIN/SCK1/SS2/IC3/CTED2/CN14/RB12
AN11/SDO1/OCFB/CTPLS/CN13/RB13
CV
REF
/AN10/C3INB/RTCC/SDI1/C1OUT/OCFA/CTED5/INT1/
CN12/RB14
AN9/C3INA/SCL2/T3CK/T2CK/REFO/SS1/CTED6/CN11/RB15
V
SS
/AV
SS
V
DD
/AV
DD
PIC24FXXKA301
Legend:
Note 1:
Pin numbers in
bold
indicate pin function differences between PIC24FV and PIC24F devices.
PIC24F32KA304 device pins have a maximum voltage of 3.6V and are not 5V tolerant.
2011-2012 Microchip Technology Inc.
24FXXKA301
DS39995C-page 3
PIC24FV32KA304 FAMILY
Pin Diagrams
28-Pin SPDIP/SSOP/SOIC
(1,2)
MCLR/RA5
RA0
RA1
RB0
RB1
RB2
RB3
V
SS
RA2
RA3
RB4
RA4
V
DD
RB5
1
2
3
4
5
6
7
8
9
10
11
12
13
14
28
27
26
25
24
23
22
21
20
19
18
17
16
15
V
DD
V
SS
RB15
RB14
RB13
RB12
RB11
RB10
RA6 or V
CAP
RA7
RB9
RB8
RB7
RB6
Pin
PIC24FVXXKA302
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
MCLR/V
PP
/RA5
V
REF
+/CV
REF
+/AN0/C3INC/CTED1/CN2/RA0
CV
REF
-/V
REF
-/AN1/CN3/RA1
PGED1/AN2/ULPWU/CTCMP/C1IND/C2INB/C3IND/U2TX/CN4/RB0
PGEC1/AN3/C1INC/C2INA/U2RX/CTED12/CN5/RB1
AN4/C1INB/C2IND/SDA2/T5CK/T4CK/U1RX/CTED13/CN6/RB2
AN5/C1INA/C2INC/SCL2/CN7/RB3
V
SS
OSCI/AN13/CLKI/CN30/RA2
OSCO/AN14/CLKO/CN29/RA3
SOSCI/AN15/U2RTS/CN1/RB4
SOSCO/SCLKI/U2CTS/CN0/RA4
V
DD
PGED3/ASDA
(1)
/SCK2/CN27/RB5
PGEC3/ASCL
(1)
/SDO2/CN24/RB6
U1TX/C2OUT/OC1/INT0/CN23/RB7
SCL1/U1CTS/C3OUT/CTED10/CN22/RB8
SDA1/T1CK/U1RTS/IC2/CTED4/CN21/RB9
SDI2/IC1/CTED3/CN9/RA7
V
CAP
PGED2/SDI1/OC3/CTED11/CN16/RB10
PGEC2/SCK1/OC2/CTED9/CN15/RB11
AN12/HLVDIN/SS2/IC3/CTED2/INT2/CN14/RB12
AN11/SDO1/OCFB/CTPLS/CN13/RB13
MCLR/V
PP
/RA5
V
REF
+/CV
REF
+/AN0/C3INC/CTED1/CN2/RA0
CV
REF
-/V
REF
-/AN1/CN3/RA1
PGED1/AN2/ULPWU/CTCMP/C1IND/C2INB/C3IND/U2TX/CN4/RB0
PGEC1/AN3/C1INC/C2INA/U2RX/CN5/RB1
AN4/C1INB/C2IND/SDA2/T5CK/T4CK/U1RX/CTED13/CN6/RB2
AN5/C1INA/C2INC/SCL2/CN7/RB3
V
SS
OSCI/AN13/CLKI/CN30/RA2
OSCO/AN14/CLKO/CN29/RA3
SOSCI/AN15/U2RTS/CN1/RB4
SOSCO/SCLKI/U2CTS/CN0/RA4
V
DD
PGED3/ASDA
(1)
/SCK2/CN27/RB5
PGEC3/ASCL
(1)
/SDO2/CN24/RB6
U1TX/INT0/CN23/RB7
SCL1/U1CTS/C3OUT/CTED10/CN22/RB8
SDA1/T1CK/U1RTS/IC2/CTED4/CN21/RB9
SDI2/IC1/CTED3/CN9/RA7
C2OUT/OC1/CTED1/INT2/CN8/RA6
PGED2/SDI1/OC3/CTED11/CN16/RB10
PGEC2/SCK1/OC2/CTED9/CN15/RB11
AN12/HLVDIN/SS2/IC3/CTED2/CN14/RB12
AN11/SDO1/OCFB/CTPLS/CN13/RB13
PIC24FXXKA302
CV
REF
/AN10/C3INB/RTCC/C1OUT/OCFA/CTED5/INT1/CN12/RB14 CV
REF
/AN10/C3INB/RTCC/C1OUT/OCFA/CTED5/INT1/CN12/
RB14
AN9/C3INA/T3CK/T2CK/REFO/SS1/CTED6/CN11/RB15
V
SS
/AV
SS
V
DD
/AV
DD
AN9/C3INA/T3CK/T2CK/REFO/SS1/CTED6/CN11/RB15
V
SS
/AV
SS
V
DD
/AV
DD
Legend:
Note 1:
2:
Pin numbers in
bold
indicate pin function differences between PIC24FV and PIC24F devices.
Alternative multiplexing for SDA1 (ASDA1) and SCL1 (ASCL1) when the I2CSEL Configuration bit is set.
PIC24F32KA304 device pins have a maximum voltage of 3.6V and are not 5V toleran.t
PIC24FVXXKA302
PIC24FXXKA302
Pin Features
DS39995C-page 4
2011-2012 Microchip Technology Inc.
PIC24FV32KA304 FAMILY
Pin Diagrams
28-Pin QFN
(1,2,3)
RA1
RA0
MCLR/RA5
V
DD
V
SS
RB15
RB14
28 27 26 25 24 23 22
RB0
RB1
RB2
RB3
V
SS
RA2
RA3
1
2
3
4
5
6
7
21
20
PIC24FVXXKA302
19
18
PIC24FXXKA302
17
16
15
8 9 10 11 12
13
14
RB4
RA4
V
DD
RB5
RB6
RB7
RB8
RB13
RB12
RB11
RB10
RA6 or V
CAP
RA7
RB9
Pin Features
Pin
PIC24FVXXKA302
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
PGED1/AN2/ULPWU/CTCMP/C1IND/C2INB/C3IND/U2TX/CN4/RB0
PGEC1/AN3/C1INC/C2INA/U2RX/CTED12/CN5/RB1
AN4/C1INB/C2IND/SDA2/T5CK/T4CK/U1RX/CTED13/CN6/RB2
AN5/C1INA/C2INC/SCL2/CN7/RB3
V
SS
OSCI/AN13/CLKI/CN30/RA2
OSCO/AN14/CLKO/CN29/RA3
SOSCI/AN15/U2RTS/CN1/RB4
SOSCO/SCLKI/U2CTS/CN0/RA4
V
DD
PGED3/ASDA1 /SCK2/CN27/RB5
PGEC3/ASCL1
(2)
/SDO2/CN24/RB6
U1TX/C2OUT/OC1/INT0/CN23/RB7
SCL1/U1CTS/C3OUT/CTED10/CN22/RB8
SDA1/T1CK/U1RTS/IC2/CTED4/CN21/RB9
SDI2/IC1/CTED3/CN9/RA7
V
CAP
PGED2/SDI1/OC3/CTED11/CN16/RB10
PGEC2/SCK1/OC2/CTED9/CN15/RB11
AN12/HLVDIN/SS2/IC3/CTED2/INT2/CN14/RB12
AN11/SDO1/OCFB/CTPLS/CN13/RB13
CV
REF
/AN10/C3INB/RTCC/C1OUT/OCFA/CTED5/INT1/CN12/
RB14
AN9/C3INA/T3CK/T2CK/REFO/SS1/CTED6/CN11/RB15
V
SS
/AV
SS
V
DD
/AV
DD
MCLR/V
PP
/RA5
V
REF
+/CV
REF
+/AN0/C3INC/CTED1/CN2/RA0
CV
REF
-/V
REF
-/AN1/CN3/RA1
(2)
PIC24FXXKA302
PGED1/AN2/ULPWU/CTCMP/C1IND/C2INB/C3IND/U2TX/CN4/RB0
PGEC1/AN3/C1INC/C2INA/U2RX/CTED12/CN5/RB1
AN4/C1INB/C2IND/SDA2/T5CK/T4CK/U1RX/CTED13/CN6/RB2
AN5/C1INA/C2INC/SCL2/CN7/RB3
V
SS
OSCI/AN13/CLKI/CN30/RA2
OSCO/AN14/CLKO/CN29/RA3
SOSCI/AN15/U2RTS/CN1/RB4
SOSCO/SCLKI/U2CTS/CN0/RA4
V
DD
PGED3/ASDA1
(2)
/SCK2/CN27/RB5
PGEC3/ASCL1
(2)
/SDO2/CN24/RB6
U1TX/INT0/CN23/RB7
SCL1/U1CTS/C3OUT/CTED10/CN22/RB8
SDA1/T1CK/U1RTS/IC2/CTED4/CN21/RB9
SDI2/IC1/CTED3/CN9/RA7
C2OUT/OC1/CTED1/INT2/CN8/RA6
PGED2/SDI1/OC3/CTED11/CN16/RB10
PGEC2/SCK1/OC2/CTED9/CN15/RB11
AN12/HLVDIN/SS2/IC3/CTED2/CN14/RB12
AN11/SDO1/OCFB/CTPLS/CN13/RB13
CV
REF
/AN10/C3INB/RTCC/C1OUT/OCFA/CTED5/INT1/CN12/
RB14
AN9/C3INA/T3CK/T2CK/REFO/SS1/CTED6/CN11/RB15
V
SS
/AV
SS
V
DD
/AV
DD
MCLR/V
PP
/RA5
V
REF
+/CV
REF
+/AN0/C3INC/CN2/RA0
CV
REF
-/V
REF
-/AN1/CN3/RA1
Legend:
Note 1:
2:
3:
Pin numbers in
bold
indicate pin function differences between PIC24FV and PIC24F devices.
Exposed pad on underside of device is connected to V
SS
.
Alternative multiplexing for SDA1 (ASDA1) and SCL1 (ASCL1) when the I2CSEL Configuration bit is set.
PIC24F32KA304 device pins have a maximum voltage of 3.6V and are not 5V tolerant.
2011-2012 Microchip Technology Inc.
DS39995C-page 5