PIC18F2523-E/SO - 8-Bit 40MHz 32KB Flash MCU 28-SOIC | Microchip
MPN: PIC18F2523-E/SO ✓ Active| Qty | Unit Price | Extended |
|---|---|---|
| 1 | $8.28 | $8.28 |
| 10 | $7.45 | $74.50 |
| 100 | $6.55 | $655.00 |
| 500 | $5.78 | $2,890.00 |
| 1,000 | $5.2 | $5,200.00 |
PIC18F2523-E/SO Overview
A microcontroller (MCU) is a single-chip computer that integrates a CPU, non-volatile program memory (Flash), working memory (RAM), and a rich set of peripherals on a single silicon die. Within the broader semiconductor taxonomy, an MCU belongs to the family of embedded processors, sitting between simple digital logic ICs and full application processors. PIC18F devices specifically employ an enhanced Harvard RISC architecture with a C-compiler-friendly instruction set, hardware 8x8 single-cycle multiplication, and a priority-level interrupt controller that simplify firmware development for real-time embedded products.
The PIC18F2523 distinguishes itself with a 12-bit ADC (vs. 10-bit on older PIC18F parts), an internal oscillator block tunable from 31 kHz to 8 MHz and up to 32 MHz via 4x PLL, a Fail-Safe Clock Monitor that permits safe shutdown on clock loss, an Enhanced Capture/Compare/PWM (ECCP) module, and three 16-bit timers. The wide-body 28-SOIC footprint offers generous board-level handling for industrial temperature grades (-40C to +125C) and through-hole-style manufacturing flows.
Typical applications include industrial sensor signal conditioning, motor control loops (BLDC, stepper, brushed DC via PWM), home-automation user interfaces, automotive body and HVAC modules, USB-to-UART bridging front ends, and general-purpose embedded control. The on-chip 12-bit ADC removes the need for an external converter when interfacing with analog sensors, reducing BOM cost and PCB area.
Designers should review the PIC18F2523 datasheet for the pin-compatibility migration path to the PIC18F25K22 family when modernized peripherals, lower power, and CIP (Core Independent Peripherals) are desired. The E suffix denotes the -40C to +125C extended temperature grade, and the /SO suffix denotes the 28-pin wide-body SOIC package. This page synthesizes distributor pricing, drop-in alternatives, and practical design notes not found in the manufacturer datasheet alone.
Drop-in alternatives for PIC18F2523-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 PIC18F2523-E/SO (same form factor and footprint) — differing in Package, Timers, ADC, Operating Temperature, Program Memory (Flash).
Quick Comparison Tool — Select alternative parts for side-by-side comparison:
PIC18F2523-I/SO
✅ Drop-In✓ In Stock
$3.12 / Unit
View Datasheet →PIC18F2423-E/SO
✅ Drop-In✓ In Stock
$4.42 / Unit
View Datasheet →PIC18F2423-I/SO
✅ Drop-In📋 Reference alternative (not in catalog)
PIC18F2480-E/SO
✅ Drop-In ⚠️ Specs Unverified✓ In Stock
$9.42 / Unit
View Datasheet →PIC18F2520-E/SO
✅ Drop-In✓ In Stock
$4.6 / Unit
View Datasheet →PIC18F2523-E/SO Maximum Ratings & Electrical Characteristics
| Architecture | PIC18F RISC, 8-bit Harvard |
| Program Memory (Flash) | 32 KB (16K x 16 words) |
| RAM | 1.5 KB |
| EEPROM | 256 bytes |
| Maximum CPU Speed | 40 MHz / 10 MIPS |
| Supply Voltage (VDD) | 4.2 V to 5.5 V |
| ADC | 12-bit, up to 10 channels |
| Timers | 3 x 16-bit + 1 x 8-bit |
| PWM / ECCP | 1 Enhanced CCP + 2 CCP modules |
| I/O Pins | 25 |
| Internal Oscillator | 31 kHz to 8 MHz, up to 32 MHz with 4x PLL |
| Communication | EUSART, MSSP (SPI / I2C) |
| Operating Temperature | -40 C to +125 C (E grade) |
| Package | 28-pin SOIC (SO), 0.295" / 7.50 mm body width |
| Mounting Type | Surface Mount |
| MSL Level | 1 |
| RoHS Status | Compliant |
PIC18F2523-E/SO Pin Configuration
| Pin 1 | MCLR/RE3 — Master Clear (Reset) input / RE3 digital input |
| Pin 2 | RA0/AN0 — PORTA bit 0 / Analog input 0 |
| Pin 3 | RA1/AN1 — PORTA bit 1 / Analog input 1 |
| Pin 4 | RA2/AN2/VREF- — PORTA bit 2 / Analog input 2 / ADC VREF- |
| Pin 5 | RA3/AN3/VREF+ — PORTA bit 3 / Analog input 3 / ADC VREF+ |
| Pin 6 | RA4/T0CKI/C1OUT — PORTA bit 4 / Timer0 clock / Comparator 1 output |
| Pin 7 | RA5/AN4/SS/HLVDIN — PORTA bit 5 / Analog input 4 / SPI SS / HLVD input |
| Pin 8 | RE0/RD/AN5 — PORTE bit 0 / Parallel slave read / Analog input 5 |
| Pin 9 | RE1/WR/AN6 — PORTE bit 1 / Parallel slave write / Analog input 6 |
| Pin 10 | RE2/CS/AN7 — PORTE bit 2 / Parallel slave chip select / Analog input 7 |
| Pin 11 | VDD — Positive supply voltage |
| Pin 12 | VSS — Ground reference |
| Pin 13 | OSC1/CLKIN — Crystal oscillator input / External clock input |
| Pin 14 | OSC2/CLKOUT — Crystal oscillator output / Clock output |
| Pin 15 | RC0/T1OSO/T1CKI — PORTC bit 0 / Timer1 oscillator output / Timer1 clock |
| Pin 16 | RC1/T1OSI/CCP2 — PORTC bit 1 / Timer1 oscillator input / CCP2 PWM |
| Pin 17 | RC2/CCP1/P1A — PORTC bit 2 / Enhanced CCP1 / PWM output A |
| Pin 18 | RC3/SCK/SCL — PORTC bit 3 / SPI clock / I2C clock |
| Pin 19 | RC4/SDI/SDA — PORTC bit 4 / SPI data in / I2C data |
| Pin 20 | RC5/SDO — PORTC bit 5 / SPI data out |
| Pin 21 | RC6/TX/CK — PORTC bit 6 / EUSART TX / EUSART clock |
| Pin 22 | RC7/RX/DT — PORTC bit 7 / EUSART RX / EUSART data |
| Pin 23 | RB0/INT0/FLT0 — PORTB bit 0 / External interrupt 0 / ECCP fault |
| Pin 24 | RB1/INT1 — PORTB bit 1 / External interrupt 1 |
| Pin 25 | RB2/INT2 — PORTB bit 2 / External interrupt 2 |
| Pin 26 | RB3/CCP2/P1B — PORTB bit 3 / CCP2 / ECCP PWM output B |
| Pin 27 | RB4/KBI0 — PORTB bit 4 / Interrupt-on-change |
| Pin 28 | RB5/KBI1/PGM — PORTB bit 5 / Interrupt-on-change / LVP program |
Typical Applications
PIC18F2523-E/SO is suitable for 6 applications: Industrial Sensor Signal Conditioning, BLDC and Stepper Motor Control, Home Automation User Interfaces, Automotive Body and HVAC Modules, USB to UART Bridging Front Ends, General-Purpose Embedded Control (GPL/GPL+ Replacement).
Industrial Sensor Signal Conditioning
The PIC18F2523-E/SO is well matched to industrial multi-signal conditioning front ends because its on-chip 12-bit ADC with up to 10 input channels lets one MCU digitize temperature, pressure, flow, and level signals directly. The 10 MIPS core at 40 MHz supports digital filtering (IIR/FIR) and linearization math on each conversion. The E grade -40 C to +125 C rating handles outdoor panel and factory-floor environments. A typical design uses the internal 31 kHz to 8 MHz oscillator block with 4x PLL, eliminating an external crystal and reducing BOM cost while the Fail-Safe Clock Monitor provides protection against oscillator failure in mission-critical loops.
Recommended
BLDC and Stepper Motor Control
The PIC18F2523-E/SO drives brushed DC, unipolar/bipolar stepper, and small BLDC motors through its Enhanced CCP (ECCP) module and two additional CCP channels, providing up to three complementary PWM outputs with programmable dead-band and auto-shutdown. The 10 MIPS throughput sustains field-oriented control or trapezoidal commutation loops at 20 kHz PWM frequency with margin for sensor decoding. The 12-bit ADC samples back-EMF or current-sense amplifiers with adequate resolution for torque control, while the E grade temperature rating supports motor housing environments reaching +125 C junction temperatures during stall conditions.
Recommended
Home Automation User Interfaces
The PIC18F2523-E/SO is well suited to wall-mounted home automation control panels because its 32 KB flash holds application logic plus LCD/segment display drivers, while 1.5 KB RAM accommodates user-interface state machines, button-debounce buffers, and serial protocol stacks. The EUSART connects to RS-485 or to a Wi-Fi/BLE module, and the MSSP block talks I2C to expand keypad or sensor I/O. The 12-bit ADC reads ambient light sensors and potentiometers for dimmer control, and the E grade rating covers attic and outdoor junction box installations in climates where temperatures approach +125 C in direct sun.
Recommended
Automotive Body and HVAC Modules
In 12V automotive body and HVAC control modules the PIC18F2523-E/SO handles fan-speed control via PWM, temperature sensor scanning via the 12-bit ADC, and LIN bus communication via EUSART with LIN protocol handled in firmware. The wide 4.2 V to 5.5 V supply tolerance absorbs 12 V cranking transients when paired with a TVS and LDO pre-regulator. The E grade -40 C to +125 C rating supports under-dash and HVAC plenum locations. Designers should still pair the part with external watchdog ICs and load-dump protection for full automotive robustness, and consider AEC-Q100-qualified variants for true OEM programs.
Recommended
USB to UART Bridging Front Ends
Although the PIC18F2523-E/SO lacks native USB, its 10 MIPS throughput easily handles software-only USB-Low-Speed device stacks or a UART bridge for legacy RS-232 peripherals when paired with an external FTDI-style USB-UART bridge. The MSSP block operates in SPI mode for higher-bandwidth peripherals while the EUSART handles the async data path at up to 5 Mbps (BRG dependent). The E grade rating covers industrial enclosures; this approach is common in retrofit point-of-sale terminals, legacy industrial equipment upgrades, and developer boards that expose a PIC firmware-update channel over USB.
Recommended
General-Purpose Embedded Control (GPL/GPL+ Replacement)
The PIC18F2523-E/SO is a strong fit for greenfield embedded control products that need deterministic real-time response, on-chip ADC and PWM, and a robust toolchain at low BOM cost. The enhanced flash supports field firmware updates via bootloader over UART, and the 256-byte EEPROM provides non-volatile parameter storage for calibration constants. Migration paths to the PIC18F25K22 family provide more modern peripherals at similar cost. This general-purpose profile covers vending machines, security keypads, low-end printers, appliance controls, and instrumentation front panels.
Recommended
Recommended Products Summary
Engineering reference data for PIC18F2523-E/SO — comparison, design guidance, and compliance information.
Selection Guide
Comparison with Alternatives
| Parameter | This Product | PIC18F2523-I/SO | PIC18F2423-E/SO | PIC18F2480-E/SO | PIC18F2520-E/SO |
|---|---|---|---|---|---|
| Brand | Microchip Technology | Microchip Technology | Microchip Technology | Microchip Technology | Microchip Technology |
| Package | 28-SOIC | 28-SOIC - same | 28-SOIC - same | 28-SOIC - same | 28-SOIC - same |
| Flash Program Memory | 32 KB | 32 KB | 16 KB | 16 KB | 32 KB |
| RAM | 1.5 KB | 1.5 KB | 1.5 KB | 1.5 KB | 1.5 KB |
| ADC Resolution | 12-bit | 12-bit | 12-bit | 10-bit | 10-bit |
| Temperature Grade | E: -40 C to +125 C | I: -40 C to +85 C | E: -40 C to +125 C | E: -40 C to +125 C | E: -40 C to +125 C |
| Maximum CPU Speed | 40 MHz / 10 MIPS | 40 MHz / 10 MIPS | 40 MHz / 10 MIPS | 40 MHz / 10 MIPS | 40 MHz / 10 MIPS |
| Special Peripherals | ECCP + 2x CCP, 12-bit ADC, MSSP, EUSART | Same set as target | Same set as target | Adds CAN module, 10-bit ADC | 10-bit ADC instead of 12-bit |
| Lifecycle Status | Active | Active | Active | Active | Active |
Key Differentiators
- Extended -40 C to +125 C temperature grade (vs PIC18F2523-I/SO)
- 12-bit ADC vs 10-bit ADC (vs PIC18F2520-E/SO)
- On-chip CAN peripheral (vs PIC18F2480-E/SO)
Design Notes
Estimated: at 40 MHz CPU, 5V VDD, full peripheral operation, the PIC18F2523-E/SO draws approximately 16 mA active, 5.8 uA sleep (typical). Place a 100 nF decoupling capacitor within 5 mm of the VDD pin, and add a bulk 10 uF tantalum or aluminum-polymer capacitor near the IC to suppress VDD transients when the internal ADC and PWM modules switch loads simultaneously. Use MCP1700 or similar low-Iq LDO to feed the analog AVdd pin (pin 4 VREF- path) for best ADC linearity.
Route the ICSP PGC/PGD lines (RB6/RB7) as short as possible and avoid running them next to switching signals or PWM traces. Place a 4.7 kohm pull-up on MCLR (pin 1) to VDD rather than driving it directly; this allows ICSP programming and prevents spurious resets. Keep the crystal traces (OSC1/OSC2) symmetric and within 5 mm of the device, with the crystal case grounded on both sides for noise immunity.
The 12-bit ADC achieves its rated accuracy only when the analog supply is well decoupled and the analog inputs have adequate acquisition time. Use an acquisition time of at least 1.4 us (16 TAD at FOSC=40 MHz, 16 TAD divider) and add a 100 ohm series resistor plus 100 nF shunt cap at each analog input to limit switching transients. Avoid routing digital signals directly under analog traces; use a ground-fill guard band between the analog and digital sections of the board.
Do not leave the WDT (Watchdog Timer) disabled in production firmware; a single software lockup can permanently disable the end product if no watchdog exists. Configure the Brown-Out Reset (BOR) voltage to match your supply tolerance; the default BOR may be too low for some 5V regulators. When migrating from PIC18F2523 to PIC18F25K22, verify the ADC channel mapping and CCP/PWM remapping in the K22 datasheet before reusing existing firmware - register addresses differ between families.
Compliance Information
RoHS and REACH compliant per Microchip product documentation. E grade denotes -40C to +125C temperature range but is NOT AEC-Q100 qualified - for true automotive qualification consider PIC18F25K22 automotive variants. Halogen-free per Microchip Material Declaration Sheet.