PIC18F1320-E/SO - 8KB Flash 8-bit MCU, 25MHz, 18-SOIC | Microchip
MPN: PIC18F1320-E/SO ✓ Active| Qty | Unit Price | Extended |
|---|---|---|
| 1 | $4.86 | $4.86 |
| 10 | $4.37 | $43.70 |
| 100 | $3.78 | $378.00 |
| 500 | $3.2 | $1,600.00 |
| 1,000 | $2.72 | $2,720.00 |
| 3,000 | $2.3 | $6,900.00 |
PIC18F1320-E/SO Overview
What is a PIC18F microcontroller? The PIC18F family is Microchip's enhanced 8-bit microcontroller line that extends the baseline PIC16 architecture with a 16-bit instruction word, hardware multiplier, and linear program memory addressing up to 2 MB. It belongs to the broader microcontrollers > embedded controllers > integrated circuits > semiconductor device taxonomy, serving as the core computing element in countless battery-powered, automotive, and industrial subsystems.
Key features include 8KB of self-programmable flash, 256 bytes of SRAM, 10-bit multi-channel analog-to-digital conversion, an enhanced capture/compare/PWM (ECCP) module, and six software-controlled nanoWatt power-managed modes that drop consumption to as low as 0.1 uA in standby. The wide 2.0V to 5.5V operating range lets a single design serve both 3.3V and 5V rails, simplifying BOM across product variants.
The device executes one instruction per 4-clock cycle at up to 25 MHz (40 MHz on the -I industrial parts), yielding 10 MIPS throughput. Integrated peripherals include a USART with LIN support, MSSP for SPI/I2C, two 8-bit timers plus two 16-bit timers, dual analog comparators, and a configurable reference - all on-chip, eliminating external glue logic in compact 18-pin designs.
Typical applications include remote controls, sensor interface front-ends, white-goods motor control, battery chargers, low-end smart meters, and industrial sensor hubs. Industrial temperature range of -40C to +125C, plus an E suffix denoting high-temperature plastic encapsulation, makes it suitable for harsh-environment controllers and under-hood automotive nodes.
When laying out the PCB, place the 0.1 uF VDD decoupling capacitor within 5 mm of the VDD pin and use a solid ground pour beneath the part. Leave pin 1 (MCLR) accessible for in-circuit serial programming (ICSP); a 10 kohm pull-up to VDD is required if the internal pull-up is not used. Avoid routing high-speed signals adjacent to the analog AVss/AVdd pair to minimize crosstalk into the ADC.
This page consolidates real distributor pricing, drop-in alternative MPNs, application guidance, and a pin-by-pin comparison that the bare datasheet does not provide, giving procurement and design engineers a single source of verified information for the PIC18F1320-E/SO.
Drop-in alternatives for PIC18F1320-E/SO — 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 PIC18F1320-E/SO (same form factor and footprint) — differing in Package, Core Architecture, Power-Saving Modes, Program Memory (Flash), Timers.
Quick Comparison Tool — Select alternative parts for side-by-side comparison:
PIC18F1320-I/SO
✅ Drop-In✓ In Stock
$2.85 / Unit
View Datasheet →PIC18F1320T-I/SO
✅ Drop-In ⚠️ Specs Unverified✓ In Stock
$4.21 / Unit
View Datasheet →PIC18F1220-E/SO
✅ Drop-In📋 Reference alternative (not in catalog)
PIC18F1220-I/SS
✅ Drop-In✓ In Stock
$2.18 / Unit
View Datasheet →PIC18F1230-I/P
✅ Drop-In✓ In Stock
$3.05 / Unit
View Datasheet →PIC18F1220-H/SO
✅ Drop-In✓ In Stock
$2.15 / Unit
View Datasheet →PIC18F1320-E/SO Maximum Ratings & Electrical Characteristics
| Core Architecture | PIC18 8-bit Harvard RISC |
| Program Memory (Flash) | 8 KB (4K x 16 words) |
| Data RAM | 256 bytes |
| Data EEPROM | 256 bytes |
| Maximum Clock Frequency | 25 MHz (E suffix) |
| Instruction Execution Time | 200 ns (4 Tcy per instruction) |
| Operating Voltage Range | 2.0 V to 5.5 V |
| I/O Pins | 16 |
| A/D Converter | 10-bit, 7 channels |
| Package | 18-pin SOIC (SO, 7.50 mm width) |
| Operating Temperature Range | -40C to +125C (E suffix) |
| Standby Current (nanoWatt) | 0.1 uA typical |
| Timers | 2 x 8-bit, 2 x 16-bit |
| Communication Peripherals | EUSART, MSSP (SPI/I2C) |
| ICSP Programming | Yes (In-Circuit Serial Programming) |
| RoHS Status | Compliant |
PIC18F1320-E/SO Pin Configuration
| Pin 1 | MCLR/VPP — Master Clear (reset) input / programming voltage |
| Pin 2 | RA0/AN0 — Digital I/O / analog input channel 0 |
| Pin 3 | RA1/AN1 — Digital I/O / analog input channel 1 |
| Pin 4 | RA2/AN2/VREF- — Digital I/O / analog input 2 / ADC negative reference |
| Pin 5 | RA3/AN3/VREF+ — Digital I/O / analog input 3 / ADC positive reference |
| Pin 6 | RA4/AN4 — Digital I/O / analog input 4 (open-drain) |
| Pin 7 | RA5/AN5 — Digital I/O / analog input 5 |
| Pin 8 | VSS — Ground reference |
| Pin 9 | OSC1/CLKI/RA7 — Crystal oscillator input / external clock / digital I/O |
| Pin 10 | OSC2/CLKO/RA6 — Crystal oscillator output / clock out / digital I/O |
| Pin 11 | RC0/T1OSO — Digital I/O / Timer1 oscillator output |
| Pin 12 | RC1/T1OSI/CCP2 — Digital I/O / Timer1 oscillator input / CCP2 PWM |
| Pin 13 | RC2/CCP1 — Digital I/O / CCP1 PWM output |
| Pin 14 | RC3 — Digital I/O |
| Pin 15 | RC4 — Digital I/O |
| Pin 16 | RC5 — Digital I/O |
| Pin 17 | RC6/TX/CK — Digital I/O / EUSART TX / clock line |
| Pin 18 | RC7/RX/DT — Digital I/O / EUSART RX / data line |
| Pin 19 | VDD — Positive supply (2.0 V to 5.5 V) |
Typical Applications
PIC18F1320-E/SO is suitable for 6 applications: Battery-Operated Remote Controls, Industrial Sensor Hubs, White-Goods Motor Control, Smart Meter Edge Nodes, Automotive Body Controllers, Battery Chargers and Power Banks.
Battery-Operated Remote Controls
The PIC18F1320-E/SO is well matched to handheld remote controls because its nanoWatt standby current of just 0.1 uA lets a single coin cell run for years between replacements. The 2.0V to 5.5V supply range accepts 2xAA, 2xAAA, or CR2032 cells directly without regulation. The integrated EUSART plus MSSP handles IR, sub-GHz radio, or BLE module links, while the 10-bit ADC and ECCP module can drive haptic feedback or status LED PWM. Real-world designs achieve <1 uA average draw with sleep + wake-on-pin. Compared with discrete 8-bit logic, the on-chip flash simplifies OTA-less firmware updates via ICSP.
Recommended
Industrial Sensor Hubs
In industrial sensor hubs, the PIC18F1320-E/SO aggregates analog and digital signals from thermocouples, RTDs, pressure transducers, and switches. Its 10-bit ADC with 7 channels handles multiple sensor inputs simultaneously, while the 16 I/O pins fan out to relay drivers, optocouplers, and indicator LEDs. The -40C to +125C E-grade is essential for cabinet-mounted controls where ambient can reach 80C plus self-heating. The 8 KB flash stores calibration tables and linearization routines, while the 256-byte EEPROM retains configuration across power cycles without an external FRAM.
Recommended
White-Goods Motor Control
The PIC18F1320-E/SO drives small BLDC, stepper, and universal-motor stages in dishwashers, washing machines, and refrigerator compressors. The ECCP module outputs complementary PWM with programmable dead time, dead-band control, and fault inputs - directly interfacing half-bridge drivers like the IRS2003 or FAN7842. The 16 I/O and the analog reference generator support tachometer feedback from Hall sensors or BEMF. The wide operating temperature and 25 MHz throughput let the firmware close current and speed loops at 1 kHz with margin.
Recommended
Smart Meter Edge Nodes
Smart-meter edge nodes - electricity, gas, and water - use the PIC18F1320-E/SO to digitize metering pulses, log consumption, and drive low-power RF or PLC modems. The 10-bit ADC and analog comparators detect zero-crossing of the AC mains for line-frequency measurement, while the EUSART plus MSSP drive UART-based or SPI-based radio modules. With nanoWatt standby at 0.1 uA, battery-backed nodes last over 10 years. The 8 KB flash fits DLMS/COSEM or simple Modbus stacks. Production designs benefit from the extended -40C to +125C temperature range for outdoor enclosures.
Recommended
Automotive Body Controllers
Under-hood and in-cabin automotive body controllers leverage the PIC18F1320-E/SO for seat controllers, mirror adjusters, climate sensors, and lighting drivers. The E-grade -40C to +125C rating covers under-hood applications, while the 16 I/O pins drive relays and LED strings directly. The 10-bit ADC reads battery voltage, temperature, and current sense, while the EUSART supports LIN bus for body-network communication. Production designers should validate against AEC-Q100 requirements, which may mandate a Q-graded part; the standard E suffix is suitable for non-safety automotive body electronics.
Recommended
Battery Chargers and Power Banks
Lithium-ion battery chargers and USB power banks use the PIC18F1320-E/SO as the supervisor that monitors cell voltage, current, and temperature, drives status LEDs, and communicates with a host over USB. The 10-bit ADC measures up to 7 cell-monitoring points, while the ECCP module generates PWM to control a buck or boost converter. The 2.0V to 5.5V supply directly accepts a single Li-ion cell. EEPROM stores calibration and charging profiles that persist across power cycles, and the nanoWatt modes keep quiescent draw low when no device is connected.
Recommended
Recommended Products Summary
Engineering reference data for PIC18F1320-E/SO — comparison, design guidance, and compliance information.
Selection Guide
Comparison with Alternatives
| Parameter | This Product | PIC18F1320-I/SO | PIC18F1320T-I/SO | PIC18F1220-E/SO | PIC18F1220-I/SS | PIC18F1230-I/P | PIC18F1220-H/SO |
|---|---|---|---|---|---|---|---|
| Package | 18-SOIC (SO) | 18-SOIC (SO) - same | 18-SOIC (SO) - same | 18-SOIC (SO) - same | SSOP-20 - different | PDIP-18 - different | 18-SOIC (SO) - same |
| Brand | Microchip Technology | Microchip Technology | Microchip Technology | Microchip Technology | Microchip Technology | Microchip Technology | Microchip Technology |
| Program Memory | 8 KB Flash | 8 KB Flash | 8 KB Flash | 4 KB Flash (-50%) | 4 KB Flash (-50%) | 8 KB Flash | 4 KB Flash (-50%) |
| Maximum Clock | 25 MHz | 40 MHz (+60%) | 40 MHz (+60%) | 25 MHz | 40 MHz | 25 MHz | 25 MHz |
| Operating Temperature | -40C to +125C (E) | -40C to +85C (I) | -40C to +85C (I) | -40C to +125C (E) | -40C to +85C (I) | -40C to +85C (I) | -40C to +125C (H) |
| Operating Voltage | 2.0 V to 5.5 V | 2.0 V to 5.5 V | 2.0 V to 5.5 V | 2.0 V to 5.5 V | 2.0 V to 5.5 V | 2.0 V to 5.5 V | 2.0 V to 5.5 V |
| I/O Pins | 16 | 16 | 16 | 16 | 16 | 16 | 16 |
| ADC Resolution / Channels | 10-bit / 7 ch | 10-bit / 7 ch | 10-bit / 7 ch | 10-bit / 7 ch | 10-bit / 7 ch | 10-bit / 4 ch | 10-bit / 7 ch |
| EEPROM | 256 bytes | 256 bytes | 256 bytes | 256 bytes | 256 bytes | 128 bytes | 256 bytes |
Key Differentiators
- Extended temperature range for harsh environments (vs PIC18F1320-I/SO)
- Higher program memory for code headroom (vs PIC18F1220-E/SO)
- SOIC-18 package for high-volume SMT assembly (vs PIC18F1230-I/P)
Design Notes
The PIC18F1320-E/SO nanoWatt Technology provides six software-controlled power modes including Sleep (CPU off, peripherals off, 0.1 uA typical), Idle (CPU off, peripherals on), and prioritized peripheral wake-up. To achieve datasheet standby numbers, disable all unused peripherals via PMD registers before entering Sleep and configure wake-on-change (IOC) on interrupt pins. Estimated: with all peripherals disabled and only the watchdog enabled, the typical Sleep current is 0.1 uA at 3.0 V per the Microchip datasheet, allowing a CR2032 coin cell to last >10 years.
Place the 0.1 uF VDD decoupling capacitor within 5 mm of the VDD pin (pin 19 on the 18-SOIC), using a short, wide trace or via directly to the ground pour. Add a bulk 10 uF tantalum or aluminum electrolytic capacitor on the same node to handle digital transient current. Tie AVSS pin to the same ground as VSS via a single-point connection to avoid ground-loop noise coupling into the ADC. Keep analog traces (AN0-AN5) short and routed away from switching nodes such as PWM outputs.
Do not omit the MCLR pull-up resistor. The MCLR pin (pin 1) must be tied to VDD through a 10 kohm resistor for normal operation; without it the part will hold in reset. If using ICSP, follow the Microchip ICSP programming specification for the diode/series-resistor network. Also ensure configuration bits are set correctly: the oscillator selection (Fosc) must match the external crystal or internal RC used, and the watchdog timer (WDT) must be disabled unless explicitly needed. Brown-out reset (BOR) should be enabled to ensure safe startup at low VDD.
Route the crystal or resonator traces symmetrically from OSC1 (pin 9) and OSC2 (pin 10) with short, equal-length traces to the load capacitors. Place the load caps within 5 mm of the IC pins and connect their common ground directly to VSS. For ADC accuracy, surround analog pins (AN0-AN5) with a ground guard ring on the PCB to reject digital switching noise. Route PWM outputs (CCP1, CCP2) away from analog input traces.
Compliance Information
RoHS compliant per Microchip product page. E suffix denotes extended temperature plastic grade but is not AEC-Q100 qualified; for AEC-Q100 automotive applications, choose a Q-graded PIC18 part.