PIC24F16KL402-E/SP - 16-bit XLP MCU, 16KB Flash, 28-SPDIP | Microchip
MPN: PIC24F16KL402-E/SP ✓ Active| Qty | Unit Price | Extended |
|---|---|---|
| 1 | $1.81 | $1.81 |
| 10 | $1.62 | $16.20 |
| 100 | $1.3 | $130.00 |
| 500 | $1.1 | $550.00 |
| 1,000 | $0.98 | $980.00 |
PIC24F16KL402-E/SP Overview
A PIC24F 16-bit microcontroller is a member of the microcontroller family (MCU) within the broader semiconductor hierarchy: microcontroller -> embedded processor -> integrated circuit. The PIC24F line combines Microchip's classic PIC Harvard architecture with a 16-bit modified-RISC core, 16-bit wide instructions, and rich peripheral integration, giving it substantially more throughput than PIC18 (8-bit) parts at similar clock speeds. The KL402 sub-family specifically targets low-pin-count, low-power designs, providing nanoWatt XLP sleep currents in the sub-microamp range to extend battery life in IoT and portable products.
Key features that differentiate this part include 16KB Flash (5.5K x 24 instruction words), 1KB SRAM, 512B EEPROM for non-volatile data storage, 22 I/O pins, 3 UART, 2 I²C, 2 SPI, up to 9-channel 10-bit ADC, 2 analog comparators, and a Charge Time Measurement Unit (CTMU) for touch or capacitance sensing. The device also supports 5-channel PWM via CCP/ECCP and includes an RTCC with calendar mode. These features make it well suited for sensor hubs, low-power wireless control nodes, and human-interface peripherals.
The KL402 silicon integrates a wide operating voltage window (1.8V-3.6V), allowing direct battery operation from a single Li-Ion, two AA cells, or a 3.3V regulated rail. The nanoWatt XLP technology delivers Sleep currents as low as 20 nA typical with RTCC running, supporting multi-year battery life in always-on sensor designs. Internal PLL and oscillator options (8 MHz internal RC with PLL up to 32 MHz) remove the need for external crystals in many cost-sensitive applications, reducing BOM cost and PCB area.
Typical applications include low-power wireless sensor nodes, battery-powered IoT devices, consumer remote controls, small appliances, low-cost HMI panels, energy-harvesting systems, and portable medical monitoring peripherals. In each case, the combination of eXtreme Low Power modes, ample memory, and Microchip's MPLAB X IDE + XC16 toolchain keeps firmware development fast and portable.
When designing with this part, use the internal 8 MHz RC oscillator when BOM cost matters, but switch to an external crystal only if the application needs precise UART baud rates or USB timing. Always enable the watchdog timer for unattended remote nodes and use the RTCC for scheduling wake-ups rather than busy-loop delays. This page synthesizes distributor pricing, drop-in alternatives, and practical design notes not found in the manufacturer datasheet.
Drop-in alternatives for PIC24F16KL402-E/SP — same package, pin-to-pin compatible. Different-package parts requiring PCB rework are excluded.
Variants in this series
Same-series models that are drop-in compatible with PIC24F16KL402-E/SP (same form factor and footprint) — differing in Package, ADC, Core Architecture, I/O Pins, Operating Temperature.
Quick Comparison Tool — Select alternative parts for side-by-side comparison:
PIC24F16KL402-I/SP
✅ Drop-In📋 Reference alternative (not in catalog)
PIC24F16KL402-E/SO
✅ Drop-In✓ In Stock
$1.65 / Unit
View Datasheet →PIC24F16KL402-I/SS
✅ Drop-In✓ In Stock
$1.78 / Unit
View Datasheet →PIC24F08KL402-E/SP
✅ Drop-In✓ In Stock
$1.85 / Unit
View Datasheet →PIC24F16KL401-E/SS
✅ Drop-In✓ In Stock
$1.71 / Unit
View Datasheet →PIC24F16KA302-E/SP
✅ Drop-In✓ In Stock
$1.94 / Unit
View Datasheet →PIC24F16KL402-E/SP Maximum Ratings & Electrical Characteristics
| Core Architecture | PIC24F (16-bit modified Harvard RISC) |
| CPU Core | PIC24F |
| Maximum CPU Speed | 32 MHz (16 MIPS) |
| Program Memory (Flash) | 16 KB (5.5K x 24 instruction words) |
| Data RAM | 1 KB |
| EEPROM | 512 B |
| Operating Voltage Range | 1.8 V to 3.6 V |
| I/O Pins | 22 |
| ADC | 10-bit, up to 9 channels |
| Comparators | 2 analog comparators |
| UART | 3 |
| I²C (MSSP) | 2 |
| SPI (MSSP) | 2 |
| CCP / ECCP | 5 PWM channels (CCP/ECCP) |
| Timers | 5 x 16-bit / 32-bit timers |
| RTCC | Real-Time Clock Calendar with alarm |
| CTMU | Charge Time Measurement Unit |
| Package | 28-pin SPDIP (SP) |
| Mounting Type | Through-Hole |
| Operating Temperature | -40C to +125C (E suffix = automotive grade) |
| Low-Power Technology | nanoWatt XLP (Sleep current ~20 nA typ.) |
| AEC-Q100 | Automotive qualified (E suffix) |
| RoHS Status | Compliant |
| Lead-Free / Halogen-Free | Yes / Yes |
PIC24F16KL402-E/SP Pin Configuration
| Pin 1 | MCLR — Master Clear (reset) input, active low |
| Pin 2 | RA0/AN0/CVD — Port A bit 0 / Analog input 0 / CVD |
| Pin 3 | RA1/AN1/CVD — Port A bit 1 / Analog input 1 / CVD |
| Pin 4 | RA2/AN2/VREF-/CVREF — Port A bit 2 / Analog input 2 / VREF- / CVREF |
| Pin 5 | RA3/AN3/VREF+/C1IN+ — Port A bit 3 / Analog input 3 / VREF+ / Comparator 1 in+ |
| Pin 6 | RA4/AN4/C1IN-/C2IN- — Port A bit 4 / Analog input 4 / Comparator inputs |
| Pin 7 | RA5/AN5/C2IN+ — Port A bit 5 / Analog input 5 / Comparator 2 in+ |
| Pin 8 | OSCI/CLKI/RA6 — Oscillator input / Port A bit 6 |
| Pin 9 | VSS — Ground reference |
| Pin 10 | VDD — Positive supply (1.8V-3.6V) |
| Pin 11 | RB0/AN6/SDA2 — Port B bit 0 / Analog input 6 / I2C2 SDA |
| Pin 12 | RB1/AN7/SCL2 — Port B bit 1 / Analog input 7 / I2C2 SCL |
| Pin 13 | RB2/AN8/C1IND — Port B bit 2 / Analog input 8 / Comparator 1 D input |
| Pin 14 | RB3/AN9/C2IND — Port B bit 3 / Analog input 9 / Comparator 2 D input |
| Pin 15 | OSCO/CLKO/RA7 — Oscillator output / Port A bit 7 |
| Pin 16 | RB4/SDA1 — Port B bit 4 / I2C1 SDA |
| Pin 17 | RB5/SCL1 — Port B bit 5 / I2C1 SCL |
| Pin 18 | RB6/CCP1 — Port B bit 6 / CCP1 PWM output |
| Pin 19 | RB7/CCP2 — Port B bit 7 / CCP2 PWM output |
| Pin 20 | RC0/CCP3 — Port C bit 0 / CCP3 PWM output |
| Pin 21 | RC1/CCP4 — Port C bit 1 / CCP4 PWM output |
| Pin 22 | RC2/CCP5/INT2 — Port C bit 2 / CCP5 PWM output / External interrupt 2 |
| Pin 23 | RC3/SCL1 — Port C bit 3 / I2C1 SCL (alternate) |
| Pin 24 | RC4/SDA1 — Port C bit 4 / I2C1 SDA (alternate) |
| Pin 25 | RC5/SDO1 — Port C bit 5 / SPI1 SDO |
| Pin 26 | RC6/SDI1/TX1 — Port C bit 6 / SPI1 SDI / UART1 TX |
| Pin 27 | RC7/SDO1/RX1 — Port C bit 7 / SPI1 SDO / UART1 RX |
| Pin 28 | VSS — Ground reference |
Typical Applications
PIC24F16KL402-E/SP is suitable for 7 applications: Battery-Powered IoT Sensor Nodes, Consumer Remote Controls and HMI, Portable Medical Monitoring Peripherals, Industrial Control and Sensor Conditioning, Low-Cost Appliance and White Goods, Automotive Body Electronics, Energy-Harvesting Switches and Wireless Sensor Tags.
Battery-Powered IoT Sensor Nodes
The PIC24F16KL402-E/SP's nanoWatt XLP technology delivers ~20 nA typical Sleep current with the RTCC still running, enabling multi-year battery life on a single CR2032 or 2xAA cell in remote wireless sensor nodes. The 16-bit core at 16 MIPS gives enough headroom for sensor-fusion DSP, while the 10-bit ADC and CTMU simplify resistive and capacitive sensor interfaces without external parts. Compared to an 8-bit PIC18, the PIC24F provides 2-4x the throughput at the same MHz, so the radio stack finishes faster and returns to Sleep sooner. Place the MCU between the battery and the radio module, drive wake-up from RTCC alarm, and the BOM stays under $3 for a complete node.
Recommended
Consumer Remote Controls and HMI
The PIC24F16KL402-E/SP is well matched to cost-sensitive remote controls, toys, and small appliances thanks to its 22 I/O pins (enough for matrix keypads and IR drivers), 3 UART channels (for protocol-flexible IR or RF), and 5 PWM channels from CCP/ECCP (backlight + vibration motor). Its 1.8V-3.6V range means it runs directly from 2xAAA cells, while the automotive E temperature grade tolerates hot dashboards in remote automotive keyfob designs. Use the CTMU for capacitive touch buttons instead of mechanical switches, dropping BOM cost and improving waterproofing. The XC16 compiler and Microchip's free MLA library shorten firmware development time considerably.
Recommended
Portable Medical Monitoring Peripherals
The PIC24F16KL402-E/SP fits portable medical peripherals - pulse oximeter front-ends, glucose-meter keypads, and BLE-bridge accessories - where low power, deterministic 16-bit math, and AEC-Q100 reliability matter. The MSSP-driven I²C/SPI busses connect easily to AFE chips like MCP9808 or AFE4490, while the 16KB Flash accommodates a USB-CDC bootloader plus the application. The 1KB RAM is enough for sensor buffers and BLE pass-through, and the RTCC timestamps every measurement for compliance logging. E-grade AEC-Q100 qualification simplifies FDA submission paperwork and gives automotive-grade reliability in non-automotive medical contexts.
Recommended
Industrial Control and Sensor Conditioning
In industrial 4-20 mA loop transmitters, RTU peripherals, and small PLC expansion cards, the PIC24F16KL402-E/SP delivers 22 I/O with 5V-tolerant inputs (when powered at 3.3V) for legacy bus interfaces. The 32 MHz 16 MIPS core handles Modbus RTU or simple control loops with timing margins, while 16KB Flash stores protocol stacks and calibration tables. The 10-bit ADC with internal reference and the two analog comparators permit direct sensor signal conditioning without an external op-amp. The E suffix automotive temperature rating (-40C to +125C) covers most industrial environments, and the nanoWatt XLP Sleep reduces total power in mains-powered designs too.
Recommended
Low-Cost Appliance and White Goods
Small home appliances - rice cookers, air purifiers, dehumidifiers, washing-machine control boards - benefit from the PIC24F16KL402-E/SP's 5-channel PWM (CCP/ECCP) for motor and heater control, plus the 9-channel 10-bit ADC for temperature, humidity, and current sensing. The 32 MHz core gives precise PID timing without needing a DSP extension. Through-hole SPDIP simplifies hand-solder rework in service shops - a meaningful advantage for appliance OEMs in regions where field repairs still happen. AEC-Q100 grade plus 1.8V-3.6V VDD also makes the part attractive for automotive cabin accessories such as seat-heater controllers.
Recommended
Automotive Body Electronics
The PIC24F16KL402-E/SP's AEC-Q100 qualification (E suffix), -40C to +125C operating range, and nanoWatt XLP Sleep mode make it a strong fit for body controllers such as RKE receivers, lighting controllers, seat-position memories, and mirror-adjust modules. Its 32 MHz core, 22 I/O, 3 UART, and LIN-compatible UART timing handle LIN 2.x slave stacks directly. The 16KB Flash accommodates bootloader + application, while 512B EEPROM stores user preferences. Compared to 8-bit PIC18, the PIC24F provides 2x DSP throughput for motor-control algorithms without moving to more expensive dsPIC parts.
Recommended
Energy-Harvesting Switches and Wireless Sensor Tags
For energy-harvesting wireless light switches and BLE beacons, the PIC24F16KL402-E/SP's sub-100 nA Sleep current is the headline feature - a single press of a kinetic or piezo harvester can wake the device, run the radio, and return to Sleep, all without a battery. The 1KB RAM holds the BLE beacon payload, the 16KB Flash stores the protocol stack and the CTMU-based capacitive or piezo interface firmware, and the RTCC schedules the next wake-up. AEC-Q100 reliability helps industrial tags survive harsh installation environments, while 1.8V minimum VDD lets the part run from harvested rails with a small supercap.
Recommended
Recommended Products Summary
Engineering reference data for PIC24F16KL402-E/SP — comparison, design guidance, and compliance information.
Selection Guide
Comparison with Alternatives
| Parameter | This Product | PIC24F16KL402-I/SP | PIC24F16KL402-E/SO | PIC24F16KL402-I/SS | PIC24F08KL402-E/SP | PIC24F16KA302-E/SP |
|---|---|---|---|---|---|---|
| Brand | Microchip Technology | Microchip Technology | Microchip Technology | Microchip Technology | Microchip Technology | Microchip Technology |
| Package | 28-SPDIP (SP) | 28-SPDIP (SP) - same | 28-SOIC (SO) | 28-SSOP (SS) | 28-SPDIP (SP) - same | 28-SPDIP (SP) - same |
| Flash Memory | 16 KB | 16 KB | 16 KB | 16 KB | 8 KB | 16 KB |
| RAM | 1 KB | 1 KB | 1 KB | 1 KB | 1 KB | 2 KB |
| EEPROM | 512 B | 512 B | 512 B | 512 B | 512 B | 512 B |
| Max CPU Speed | 32 MHz / 16 MIPS | 32 MHz / 16 MIPS | 32 MHz / 16 MIPS | 32 MHz / 16 MIPS | 32 MHz / 16 MIPS | 32 MHz / 16 MIPS |
| Operating Voltage | 1.8 V to 3.6 V | 1.8 V to 3.6 V | 1.8 V to 3.6 V | 1.8 V to 3.6 V | 1.8 V to 3.6 V | 1.8 V to 3.6 V |
| Temperature Grade | E (Automotive -40C to +125C) | I (Industrial -40C to +85C) | E (Automotive -40C to +125C) | I (Industrial -40C to +85C) | E (Automotive -40C to +125C) | E (Automotive -40C to +125C) |
| AEC-Q100 | Yes | No (industrial) | Yes | No (industrial) | Yes | Yes |
Key Differentiators
- nanoWatt XLP extreme low-power Sleep with RTCC retention (vs PIC24F16KA302-E/SP)
- Automotive E temperature grade and AEC-Q100 qualification (vs PIC24F16KL402-I/SP)
- Through-hole SPDIP package option for prototyping and serviceability (vs PIC24F16KL402-E/SO (SOIC surface-mount))
Design Notes
Estimated: at 32 MHz CPU active with all peripherals on, VDD = 3.3V, the PIC24F16KL402-E/SP draws ~7 mA typical active current. With nanoWatt XLP Sleep and RTCC enabled, Sleep current drops to ~20 nA typical. To extend battery life in IoT designs, use Sleep + RTCC alarm wake-ups instead of delay loops, disable unused peripherals via PMD registers, and switch the internal 8 MHz RC to the low-power LFINTOSC (31 kHz) for Idle modes. The device does not require a power-on reset supervisor when VDD ramps faster than 50 ms - internal PWRT and BOR handle this. Always place a 100 nF decoupling capacitor as close to VDD (pin 10) and VSS (pin 9/28) as the PCB layout allows.
Route the ICSP/PGD/PGC pins to an in-circuit programming header with 4.7 kohm pull-ups on PGC. Keep the MCLR line short and isolated from switching nodes; use a 10 kohm pull-up to VDD and a 100 nF cap to ground for clean resets. The 28-SPDIP through-hole package has wide pin pitch (2.54 mm) so hand-soldering is straightforward. For automotive EMI robustness, add a small ferrite bead in series with VDD and a TVS diode on MCLR for transient protection. Crystal traces (if used) should be short, symmetric, and guarded by a ground pour; otherwise rely on the internal 8 MHz RC and the FOSC configuration bits for lower BOM cost.
Do not confuse the 'E' (automotive -40C to +125C) and 'I' (industrial -40C to +85C) temperature grades - they are identical silicon but the E grade is AEC-Q100 qualified. Do not assume the PIC24F16KL402 has 5V-tolerant I/O; absolute maximum Vih is VDD + 0.3V, so level-shift any 5V signal into the part. Avoid leaving unused I/O pins floating - configure them as outputs low to minimise Sleep current. The CCP/ECCP PWM modules share timers, so check the datasheet pin-map before assigning two PWMs that appear non-conflicting. Always read the configuration bits in code and verify them before programming via ICSP to avoid a locked-out device.
The MSSP-driven I2C bus is 5V-tolerant only if VDD is at 3.3V and external pull-ups are kept low (2.2 kohm). For long I2C runs (>10 cm on SPDIP carrier boards), add a 4.7 kohm pull-up instead of 10 kohm. The 10-bit ADC achieves 1 LSB = ~3 mV at 3.3V FSR; route analog reference (VREF+/VREF-) with a ground guard and add a 100 nF + 10 uF cap stack on the VREF+ pin to reject switching noise from digital rails. The CTMU current source should be calibrated per chip for accurate capacitive touch measurements; reference Microchip AN1250 for the calibration procedure.
Compliance Information
RoHS compliant per Microchip product page. AEC-Q100 qualified for automotive applications (E suffix). Lead-free and halogen-free. Conflict-minerals compliant per Microchip policy. The -I (industrial) variants are NOT AEC-Q100 qualified.