PIC24F04KA201 FAMILY 14/20-Pin General Purpose, 16-Bit Flash Microcontrollers with XLP Technology Power Management Modes: Analog Features: Run CPU, Flash, SRAM and Peripherals On 10-Bit, up to 9-Channel Analog-to-Digital Converter: Doze CPU Clock Runs Slower than Peripherals - 500 ksps conversion rate Idle CPU Off, Flash, SRAM and Peripherals On - Conversion available during Sleep and Idle Sleep CPU, Flash and Peripherals Off and SRAM Dual Analog Comparators with Programmable Input/ On Output Configuration Deep Sleep CPU, Flash, SRAM and Charge Time Measurement Unit (CTMU): Most Peripherals Off - Used for capacitance sensing Run mode Currents Down to 8 A Typical - Compatible with mTouch capacitive sensing Idle mode Currents Down to 2 A Typical - Time measurement, down to 1 ns resolution Deep Sleep mode Currents Down to 20 nA Typical - Delay/pulse generation, down to 1 ns resolution Watchdog Timer 350 nA, 1.8V Typical Special Microcontroller Features: High-Performance CPU: Operating Voltage Range of 1.8V to 3.6V Modified Harvard Architecture High-Current Sink/Source (18 mA/18 mA) on All I/O Pins Up to 16 MIPS Operation 32 MHz Flash Program Memory: 8 MHz Internal Oscillator with 4x PLL Option and - Erase/write cycles: 10000 minimum Multiple Divide Options - 40 years data retention minimum 17-Bit by 17-Bit Single-Cycle Hardware Multiplier Fail-Safe Clock Monitor 32-Bit by 16-Bit Hardware Divider System Frequency Range Declaration bits: 16-Bit x 16-Bit Working Register Array - Declaring the frequency range helps in optimizing the C Compiler Optimized Instruction Set Architecture current consumption. Flexible Watchdog Timer (WDT) with On-Chip, Peripheral Features: Low-Power RC Oscillator for Reliable Operation Serial Communication modules: In-Circuit Serial Programming (ICSP) 2 - SPI, I C and UART modules Programmable High/Low-Voltage Detect (HLVD) Three 16-Bit Timers/Counters with Programmable Brown-out Reset (BOR): Prescaler - Standard BOR with three programmable trip points 16-Bit Capture Inputs can be disabled in Sleep 16-Bit Compare/PWM Output Extreme Low-Power DSBOR for Deep Sleep, Configurable Open-Drain Outputs on Digital I/O Pins LPBOR for all other modes Up to Three External Interrupt Sources PIC24F Device 04KA200 14 4K 512 3 1 1 1 1 1 7 2 7 04KA201 20 4K 512 3 1 1 1 1 1 9 2 9 2009-2014 Microchip Technology Inc. DS30009937C-page 1 Pins Program Memory (bytes) SRAM (bytes) Timers 16-Bit Input Capture Output Compare/ PWM UART/ IrDA SPI 2 I C 10-Bit A/D (ch) Comparators CTMU (ch)PIC24F04KA201 PIC24F04KA200 PIC24F04KA201 FAMILY Pin Diagrams (1) 14-Pin PDIP, TSSOP MCLR/VPP/RA5 1 14 VDD PGC2/AN0/VREF+/CN2/RA0 VSS 2 13 PGD2/AN1/VREF-/CN3/RA1 REFO/U1RX/SS1/T2CK/T3CK/INT0/CTPLS/CN11/RB15 3 12 OSCI/CLKI/AN4/C1INB/CN30/RA2 AN10/CVREF/U1TX/SDI1/OCFA/C1OUT/INT1/CTED2/CN12/RB14 4 11 OSCO/CLKO/AN5/C1INA/CN29/RA3 OC1/IC1/C2OUT/INT2/CTED1/CN8/RA6 5 10 PGD3/SOSCI/AN2/C2INB/HLVDIN/CN1/RB4 SDA1/U1BCLK/U1RTS/SDO1/CN21/RB9 6 9 PGC3/SOSCO/AN3/C2INA/T1CK/CN0/RA4 SCL1/U1CTS/SCK1/CN22/RB8 7 8 (1) 20-Pin PDIP, SSOP, SOIC MCLR/VPP/RA5 1 20 VDD PGC2/AN0/VREF+/CN2/RA0 19 VSS 2 PGD2/AN1/VREF-/CN3/RA1 REFO/SS1/T2CK/T3CK/CN11/RB15 3 18 AN2/C2INB/CN4/RB0 AN10/CVREF/SDI1/OCFA/C1OUT/INT1/CN12/RB14 4 17 AN3/C2INA/CN5/RB1 AN11/SDO1/CTPLS/CN13/RB13 5 16 U1RX/CN6/RB2 AN12/HLVDIN/SCK1/CTED2/CN14/RB12 6 15 OSCI/CLKI/AN4/C1INB/CN30/RA2 OC1/IC1/C2OUT/INT2/CTED1/CN8/RA6 7 14 OSCO/CLKO/AN5/C1INA/CN29/RA3 SDA1/U1BCLK/U1RTS/CN21/RB9 8 13 PGD3/SOSCI/CN1/RB4 SCL1/U1CTS/CN22/RB8 9 12 PGC3/SOSCO/T1CK/CN0/RA4 U1TX/INT0/CN23/RB7 11 10 Note 1: All device pins have a maximum voltage of 3.6V and are not 5V tolerant. DS30009937C-page 2 2009-2014 Microchip Technology Inc.