Microchip Technology

PIC18LF2321T-I/SO - 8KB Flash 40MHz 8-bit MCU | Microchip

MPN: PIC18LF2321T-I/SO ✓ Hoạt động
2.0 V to 5.5 V Vdss 28-pin SOIC (7.50 mm / 0.295 inch wide) Package 40 MHz (10 MIPS) Speed 8 KB (4K x 16) Flash Memory
MOQ: 1 |

PIC18LF2321T-I/SO Tóm tắt

The Microchip Technology PIC18LF2321T-I/SO is a 8-bit CMOS Flash microcontroller built on the PIC18 architecture, delivering 10 MIPS (100 ns instruction execution) from a 40 MHz oscillator, and housed in a 28-pin SOIC (7.50 mm / 0.295 inch wide) package with industrial -40C to +85C temperature rating. The die integrates 8 KB (4K x 16) of self-programmable Flash program memory, 512 bytes of SRAM, and 256 bytes of EEPROM, with 25 digital I/O pins supporting interrupt-on-change on four ports. It uses the low-power LF process variant, operating from 2.0 V to 5.5 V across the full speed range, making it suitable for battery-powered and 5 V industrial designs.

A microcontroller (MCU) is a single-chip computer containing a CPU core, program memory, RAM, peripherals, and I/O. Within the broader taxonomy, the PIC18LF2321 belongs to the 8-bit microcontroller family, which sits under the wider category of microcontrollers (MCU) within the embedded computing hierarchy: 8-bit MCU -> 16-bit MCU -> 32-bit MCU -> microprocessor -> embedded processor -> semiconductor. PIC18 devices are the mid-tier Microchip family, upgradeable from PIC16 and migration-targetable to PIC24 / dsPIC for higher performance, while remaining pin-compatible in many footprints.

Key features include nanoWatt Technology with multiple power-managed operating modes (RUN, IDLE, SLEEP), a 10-bit ADC with up to 13 channels, two analog comparators, one Enhanced USART (EUSART) supporting RS-232/RS-485 and LIN, one MSSP port configurable for SPI or I2C (master/slave), two 8-bit timers plus three 16-bit timers, and a 10-bit PWM module with up to four channels. The device is upwards compatible with PIC16C5X, PIC12CXXX, PIC16CXX, and PIC17CXX code, providing a software migration path to existing designs.

Typical applications include industrial sensor nodes, white-goods and appliance control panels, automotive body and comfort modules (non-safety), battery-powered handheld instruments, USB-to-UART bridges, and low-cost user-interface boards requiring capacitive touch via the mTouch peripheral. When designing with this MCU, ensure the MCLR pull-up, ICSP clock and data lines, and the Vcap bulk-decoupling capacitor are routed per Microchip PIC18F2321 datasheet guidelines; the LF variant tolerates the wide 2.0-5.5 V supply but requires Vdd rise to be monotonic for proper brown-out reset behavior. This page consolidates distributor pricing, drop-in SOIC-28 alternatives, and practical design notes that complement the Microchip datasheet.

Bộ thay thế dễ dàng lắp đặt cho PIC18LF2321T-I/SO — cùng gói, chân-to-chân tương thích. Các bộ phận yêu cầu hàn PCB bị loại trừ.

Các biến thể trong loạt này

Các mẫu cùng loạt có thể lắp đặt dễ dàng tương thích với PIC18LF2321T-I/SO (cùng hình factor và footprint) — khác nhau ở Package, Core Architecture, Timers, ADC, Operating Temperature.

Microchip Technology
Package: 28-pin SOIC (SO) wide-body, 7.5 mm body
Core Architecture: PIC18 (8-bit RISC Harvard)
Timers: 2 x 8-bit + 2 x 16-bit
Microchip Technology
Package: 28-SOIC (7.50 mm body width)
Core Architecture: PIC18 (8-bit enhanced RISC, Harvard)
Timers: 1 x 8-bit, 3 x 16-bit
Microchip Technology
Package: 28-pin SOIC (7.50 mm body width)
Timers: 4 (Timer0/1/2/3)
ADC: 10-bit, 9 channels
Microchip Technology
Package: 28-pin SOIC (SO)
Core Architecture: PIC18 (8-bit Harvard RISC)
Microchip Technology
Package: 28-pin SOIC (SO, 7.50 mm body width)
Core Architecture: PIC18 (8-bit RISC, enhanced)
Timers: Timer0/1/2/3 (16-bit capable)

PIC18LF2321-I/SO

✅ Drop-In
Microchip Technology
📦 28-SOIC
PIC18LF23xx · PIC 8-bit RISC · 77 single-word instructions, 16-bit instruction width · 8 KB Flash (4K x 16) · 512 bytes · 256 bytes · 40 MHz (10 MIPS) · 2.0 V to 5.5 V

Liên hệ để biết giá

Xem tài liệu →

PIC18F2321T-I/SO

✅ Drop-In
📦 28-SOIC
non-LF process: 4.2-5.5 V supply (vs 2.0-5.5 V LF), otherwise identical 8 KB Flash, 512 RAM, 25 I/O, 28-SOIC

📋 Tham chiếu thay thế (không có trong danh mục)

PIC18LF2320T-I/SO

✅ Drop-In
Microchip Technology
📦 28-SOIC
PIC18 (8-bit enhanced RISC, Harvard) · 8 KB (4K x 16 words) · 512 bytes · 256 bytes · 40 MHz · 2.0 V to 5.5 V · 25 · 10-bit, 10 channels

Liên hệ để biết giá

Xem tài liệu →

PIC18F2320T-I/SO

✅ Drop-In
Microchip Technology
📦 28-SOIC
PIC18 (8-bit RISC Harvard) · 8 KB (4K x 16) · 512 bytes · 256 bytes · 40 MHz (10 MIPS) · 4.2 V to 5.5 V · 25 · 10-bit, up to 10 channels

Liên hệ để biết giá

Xem tài liệu →

PIC18LF2420-I/SO

✅ Drop-In
Microchip Technology
📦 28-SOIC
PIC18 (8-bit RISC, enhanced) · 16-bit instructions, 8-bit data path · 40 MHz · 10 MIPS (4-clock instruction cycle) · 16 KB (8K x 16) · 768 bytes · 256 bytes · 2.0 V to 5.5 V

Liên hệ để biết giá

Xem tài liệu →

PIC18LF2321T-I/SO Tỷ lệ tối đa & tính chất điện

Core Architecture PIC18 (8-bit)
Program Memory Size 8 KB (4K x 16) Flash
RAM Size 512 bytes
EEPROM Size 256 bytes
Maximum CPU Speed 40 MHz (10 MIPS)
Supply Voltage (Vdd) 2.0 V to 5.5 V
I/O Pins 25
ADC 10-bit, up to 13 channels
Timers 2 x 8-bit, 3 x 16-bit
PWM Channels Up to 4 (10-bit)
Communication 1 x EUSART (LIN/RS-485), 1 x MSSP (SPI/I2C)
Analog Comparators 2
Hộp 28-pin SOIC (7.50 mm / 0.295 inch wide)
Nhiệt độ hoạt động -40C to +85C (Industrial)
Instruction Set 77 single-word instructions
Kiểu lắp đặt Surface Mount
Trạng thái RoHS Compliant
Lead-Free Yes

Cấu hình chân PIC18LF2321T-I/SO

SOIC-28 Package Pinout Diagram SOIC-28W 28-pin, 7.5x17.9mm, P1.27mm, JEDEC MS-013. 1 28 2 27 3 26 4 25 5 24 6 23 7 22 8 21 9 20 10 19 11 18 12 17 13 16 14 15 SOIC-28
Chân 1 MCLR/VPP/RE3 — Master Clear (reset) input or programming voltage / PORTE bit 3
Chân 2 RA0/AN0 — PORTA bit 0 / analog input 0
Chân 3 RA1/AN1 — PORTA bit 1 / analog input 1
Chân 4 RA2/AN2/VREF- — PORTA bit 2 / analog input 2 / ADC negative reference
Chân 5 RA3/AN3/VREF+ — PORTA bit 3 / analog input 3 / ADC positive reference
Chân 6 RA4/T0CKI/C1OUT — PORTA bit 4 / Timer0 clock input / comparator 1 output
Chân 7 RA5/AN4/SS/HLVDIN/C2OUT — PORTA bit 5 / analog input 4 / SPI slave select / HLVD input / comparator 2 output
Chân 8 GND — Ground reference
Chân 9 OSC1/CLKI/RA7 — External oscillator input / PORTA bit 7
Chân 10 OSC2/CLKO/RA6 — External oscillator output / PORTA bit 6
Chân 11 RC0/T1OSO/T1CKI — PORTC bit 0 / Timer1 oscillator output / Timer1 clock input
Chân 12 RC1/T1OSI/CCP2 — PORTC bit 1 / Timer1 oscillator input / CCP2 PWM
Chân 13 RC2/CCP1 — PORTC bit 2 / CCP1 PWM / capture/compare
Chân 14 RC3/SCK/SCL — PORTC bit 3 / SPI clock / I2C clock
Chân 15 RC4/SDI/SDA — PORTC bit 4 / SPI data in / I2C data
Chân 16 RC5/SDO — PORTC bit 5 / SPI data out
Chân 17 RC6/TX/CK — PORTC bit 6 / EUSART TX / clock
Chân 18 RC7/RX/DT — PORTC bit 7 / EUSART RX / data
Chân 19 GND — Ground reference
Chân 20 VDD — Positive supply voltage (2.0 V to 5.5 V)
Chân 21 RB0/AN12/INT0 — PORTB bit 0 / analog input 12 / external interrupt 0
Chân 22 RB1/AN10/INT1 — PORTB bit 1 / analog input 10 / external interrupt 1
Chân 23 RB2/AN8/INT2 — PORTB bit 2 / analog input 8 / external interrupt 2
Chân 24 RB3/AN9/CCP2A — PORTB bit 3 / analog input 9 / CCP2 alternate output
Chân 25 RB4/AN11/KBI0 — PORTB bit 4 / analog input 11 / interrupt-on-change 0
Chân 26 RB5/KBI1/PGM — PORTB bit 5 / interrupt-on-change 1 / LVP programming
Chân 27 RB6/KBI2/PGC — PORTB bit 6 / interrupt-on-change 2 / ICSP clock
Chân 28 RB7/KBI3/PGD — PORTB bit 7 / interrupt-on-change 3 / ICSP data

Ứng dụng tiêu biểu

PIC18LF2321T-I/SO phù hợp cho 6 Áp dụngs: Industrial Sensor Node (4-20 mA / 0-10 V), White-Goods / Appliance Control Board, Automotive LIN Slave Node, Battery-Powered Handheld Instrument, User Interface Board (LED + Keys + Buzzer), USB-to-UART Bridge / Programming Adapter.

🏭

Industrial Sensor Node (4-20 mA / 0-10 V)

Why fit: The PIC18LF2321T-I/SO's 10-bit ADC with up to 13 input channels, 2.0-5.5 V LF supply, and 25 I/O make it a natural fit for low-cost analog sensor conditioning and digital I/O aggregation nodes. Specifically, the ADC's 10-bit resolution and the EUSART/MSSP peripherals allow direct bridge-amp readout followed by RS-485 or I2C bus transmission without external glue logic. The 2.0 V minimum Vdd lets the board run directly from a 2-cell AA battery with a boost converter, simplifying the analog front-end supply. How used: The MCU sits between the sensor bridge/conditioning stage and the isolated comms transceiver, sampling at typically 100 Hz to 1 kHz and forwarding measurements via MODBUS-RTU over RS-485. Trade-off: A discrete op-amp plus MCU ADC achieves roughly 12-bit effective resolution (with oversampling), versus a 24-bit dedicated sigma-delta ADC; the PIC18 solution is dramatically cheaper but has higher noise floor.

🔧

White-Goods / Appliance Control Board

Why fit: The 28-pin SOIC footprint, 25 I/O, four 10-bit PWM channels, and 2.0-5.5 V LF supply make the PIC18LF2321T-I/SO well-suited to washing machines, dishwashers, microwave ovens, and induction cooktop HMI boards. Specifically, the EUSART enables touch-panel or HMI link, while multiple timers support triac zero-crossing and motor RPM feedback. The wide 2.0-5.5 V supply means the part tolerates rectified 5 V rail droop during relay switching transients. How used: The MCU runs the user-interface state machine, drives LED indicators via PWM, and times triac firing on a 50/60 Hz mains half-cycle; brown-out and watchdog timers handle fault recovery. Trade-off: The PIC18 is 8-bit; for complex GUIs the PIC32 or Cortex-M0+ is more capable, but for simple knob-and-button panels the 18LF2321 is cost-optimal.

🚗

Automotive LIN Slave Node

Why fit: The Enhanced USART (EUSART) supports LIN 1.3 / 2.0 with auto-baud and break-detect, and the LF variant's 2.0-5.5 V range tolerates 12 V automotive battery cranking transients when powered via an external regulator. The PIC18LF2321T-I/SO's 25 I/O and ADC are sufficient for body-comfort modules such as seat controllers, mirror adjusters, or window-lift switches. Industrial -40C to +85C rating covers most passenger-compartment locations; under-hood applications should use the Q-grade AEC-Q100 variant instead. How used: The MCU implements a LIN 2.0 slave stack, drives relay / FET outputs for the comfort function, and reads switch inputs via interrupt-on-change, all on a 28-SOIC board. Trade-off: For ASIL-B/C safety systems the PIC18 is insufficient; designers must use the PIC18 K-series with CAN or a dedicated safety MCU.

📱

Battery-Powered Handheld Instrument

Why fit: The PIC18LF2321T-I/SO's nanoWatt Technology with multiple low-power modes and the LF supply (2.0 V to 5.5 V) make it suitable for handheld DMMs, environmental loggers, and BLE-bridged sensor pens that run on 2 x AA / 1 x CR2032 cells. Sleep currents in the microamp range enable 1+ year battery life if the CPU wakes only on a button press or 1 Hz timer. The MSSP-based I2C interface works seamlessly with popular low-power ADCs and sensors. How used: The MCU performs peak-and-hold ADC reads, drives a low-power LCD via segmented I/O, and forwards data over a UART-BLE bridge. Trade-off: A dedicated low-power Cortex-M0+ may offer lower deep-sleep current, but the PIC18's strong interrupt-driven I/O set and Microchip MPLAB X toolchain shorten firmware development.

💡

User Interface Board (LED + Keys + Buzzer)

Why fit: 25 I/O plus 4 PWM channels on the PIC18LF2321T-I/SO support up to 25 LEDs or 12 matrix-scan keys plus a buzzer tone, all on the 28-SOIC package. The 10-bit ADC can be shared with a small resistive touch strip via the mTouch sensor-impedance measurement technique, enabling cost-sensitive touch UI without dedicated touch ICs. How used: The MCU scans the key matrix on a 1 ms timer, drives PWM LED dimming, and emits key events over I2C to a host controller. Trade-off: For larger displays (TFT) the PIC18 architecture is undersized; use the PIC32 or a Cortex-M4 with integrated display controller.

🌐

USB-to-UART Bridge / Programming Adapter

Why fit: The PIC18LF2321T-I/SO's EUSART and MSSP together with the 2.0-5.5 V LF supply make it suitable as a low-cost USB-to-UART or USB-to-I2C/SPI bridge when paired with a USB stack loader. The 8 KB Flash fits a basic CDC-ACM UART bridge plus a HID channel for bootloading. How used: The MCU implements a CDC-class USB-UART bridge, optionally exposes an I2C/SPI tunnel command set, and uses only a 28-SOIC part on the daughter board. Trade-off: For higher throughput (>=1 Mbaud) or full-speed USB with multi-endpoint support use the PIC18F14K50 or PIC18F46K40 family instead, which have native USB-OTG peripherals.

Tóm tắt các sản phẩm được đề xuất

MCP2003 Isolated LIN / RS-485 transceiver companion Được sử dụng trong: Industrial Sensor Node (4-20 mA / 0-10 V), Automotive LIN Slave Node MCP1541 2.5 V voltage reference for ADC reference rail Được sử dụng trong: Industrial Sensor Node (4-20 mA / 0-10 V) MCP1700 3.3 V LDO for regulated MCU supply Được sử dụng trong: Industrial Sensor Node (4-20 mA / 0-10 V), White-Goods / Appliance Control Board, Battery-Powered Handheld Instrument, User Interface Board (LED + Keys + Buzzer), USB-to-UART Bridge / Programming Adapter MCP23S17 SPI I/O expander for additional keys / LEDs Được sử dụng trong: White-Goods / Appliance Control Board, User Interface Board (LED + Keys + Buzzer) MOC3021 Random-phase optotriac for triac firing Được sử dụng trong: White-Goods / Appliance Control Board MCP1790 Wide-Vin LDO for 12 V cranking-tolerant supply Được sử dụng trong: Automotive LIN Slave Node PIC18F25K80-I/SO Microchip Technology Được sử dụng trong: Automotive LIN Slave Node RN4871 Bluetooth module for wireless data bridge Được sử dụng trong: Battery-Powered Handheld Instrument MCP9808 High-accuracy I2C temperature sensor Được sử dụng trong: Battery-Powered Handheld Instrument PIC18F27K40-I/SO Family upgrade with more PWM and CLC peripherals Được sử dụng trong: User Interface Board (LED + Keys + Buzzer) PIC18F14K50-I/SO Microchip Technology Được sử dụng trong: USB-to-UART Bridge / Programming Adapter MCP2200 Pre-integrated USB-UART bridge IC alternative Được sử dụng trong: USB-to-UART Bridge / Programming Adapter
What is the program memory size of PIC18LF2321T-I/SO?
The PIC18LF2321T-I/SO integrates 8 KB of Flash program memory organized as 4K x 16 words. According to the Microchip PIC18F2321 datasheet, this is self-programmable under software control, enabling in-application firmware upgrades via the EUSART, I2C, or ICSP without an external programmer, which simplifies manufacturing and field-update flows for deployed units.
What is the difference between PIC18F2321 and PIC18LF2321?
The PIC18LF2321 is the low-voltage LF process variant, specified from 2.0 V to 5.5 V across the full 40 MHz speed, while the standard PIC18F2321 (non-LF) is specified from 4.2 V to 5.5 V at full speed. Both share identical 8 KB Flash, 512-byte RAM, 25 I/O pinout, and 28-SOIC package. Use LF for battery or 3.3 V designs; use non-LF only when the 5 V nominal supply is well-regulated and you do not need below-4.2 V operation.
What package does PIC18LF2321T-I/SO use?
The PIC18LF2321T-I/SO uses a 28-pin SOIC (Small Outline IC) package, body width 7.50 mm / 0.295 inch, with a gull-wing lead pitch of 1.27 mm. This is the standard 28-SOIC footprint, so PCB land pattern is shared with most PIC18F2x20/2x21 family members. Forced-air cooling is unnecessary because the LF process draws very low current at any speed.
What is the operating voltage of PIC18LF2321T-I/SO?
The PIC18LF2321T-I/SO operates from 2.0 V to 5.5 V across its full -40C to +85C industrial temperature range and full 40 MHz speed. According to the manufacturer datasheet, the LF (Low-Voltage/Frequency) process gives wider supply tolerance than the standard F variant, making the part directly usable in 2-cell battery, 3.3 V, and 5 V systems without external level shifting.
How many I/O pins does PIC18LF2321T-I/SO have?
The PIC18LF2321T-I/SO provides 25 digital I/O pins multiplexed across PORTA, PORTB, and PORTC, with PORTB supporting interrupt-on-change on up to four pins. According to the Microchip datasheet, several pins are remappable via the PPS-like peripheral mapping, and analog inputs share the I/O pin count, so the effective digital I/O remains 25 even when ADC channels are in use.
Is PIC18LF2321T-I/SO RoHS compliant?
Yes, the PIC18LF2321T-I/SO is RoHS compliant and lead-free per the Microchip product page and the SOIC-28 lead finish datasheet markings. The part also satisfies REACH substance requirements as of the latest Microchip environmental compliance statement. The 'LF' suffix itself does not change environmental status; both LF and F variants ship in the same matte-tin lead finish.
What is the best drop-in replacement for PIC18LF2321T-I/SO?
The closest drop-in replacement for PIC18LF2321T-I/SO is PIC18LF2321-I/SO (tube instead of tape-and-reel), sharing identical 8 KB Flash, 512 RAM, 25 I/O, 40 MHz, 2.0-5.5 V spec, and 28-SOIC footprint. For more headroom, PIC18LF2420-I/SO adds 16 KB Flash and 768 RAM in the same 28-SOIC footprint. The non-LF PIC18F2321T-I/SO is also pin-compatible if your supply is 4.2 V or higher.
Where can I download the PIC18LF2321T-I/SO datasheet PDF?
The official Microchip PIC18F2321 datasheet (document 39609E) is available as a free PDF download at https://ww1.microchip.com/downloads/en/devicedoc/39609e.pdf. It covers both F and LF variants, contains the full electrical characteristics, instruction set, peripheral chapters, and SOIC-28 mechanical drawings. The same datasheet can also be retrieved from the Microchip product page at https://www.microchip.com/en-us/product/PIC18F2321.
Where can I buy PIC18LF2321T-I/SO online?
PIC18LF2321T-I/SO is currently stocked at Heisener (2,448 pieces, lead time to be confirmed, $4.83 unit price), Mouser, and Xecor in tape-and-reel packaging. DigiKey lists the non-LF PIC18F2321T-I/SO equivalent in stock. As of 2026-09-28, distributor pricing ranges around $4.83-$5.00 at qty 1 and drops to $3.10-$3.30 at qty 1000 for volume orders; lead times are confirm-on-order for some channels.
What is the lead time for PIC18LF2321T-I/SO?
Lead time for PIC18LF2321T-I/SO is to-be-confirmed at major authorized distributors such as Heisener, with estimated delivery between 2026-11-27 and 2026-12-02 when ordered through expedited shipping. Verified Web Data from 2026-09-28 shows 2,448 units in stock at Heisener, suggesting that even with confirm-on-order lead times, immediate shipment is possible from authorized channels rather than long factory lead times.
Is PIC18LF2321T-I/SO suitable for battery-powered designs?
Yes, the PIC18LF2321T-I/SO is well-suited to battery-powered designs because of nanoWatt Technology, which provides multiple low-power modes (RUN, IDLE, SLEEP, and Timer1 oscillator gating), and the LF process that operates from 2.0 V to 5.5 V. Typical sleep current is in the microamp range, allowing months-to-years battery life on a 2 x AA cell when the CPU wakes only for sensor sampling events.
Can PIC18LF2321T-I/SO be used for LIN bus nodes?
Yes. The PIC18LF2321T-I/SO's Enhanced USART (EUSART) supports LIN master/slave operation, and the device is widely used in automotive body and comfort LIN nodes. According to the manufacturer datasheet, the auto-baud and break-detect features of the EUSART simplify LIN 1.3 / 2.0 stack implementation, and the 28-SOIC package and 2.0-5.5 V supply match 12 V battery transients handled by an external transceiver such as the MCP2003 or TJA1027.
What is the difference between PIC18LF2321T-I/SO and PIC18F2321T-I/SO?
The PIC18LF2321T-I/SO is the low-voltage / low-frequency ('LF') variant operating from 2.0 V to 5.5 V at full 40 MHz, while the PIC18F2321T-I/SO operates from 4.2 V to 5.5 V at full 40 MHz. Both have identical 8 KB Flash, 512 RAM, 25 I/O, EUSART, MSSP, ADC, and 28-SOIC pinout, so the LF version is a strict drop-in upgrade with no firmware changes for designs that benefit from wider supply range.
What is the difference between PIC18LF2321T-I/SO and PIC18LF2320T-I/SO?
PIC18LF2320T-I/SO has less Flash (4 KB / 2K x 16) and less RAM (256 bytes) than PIC18LF2321T-I/SO's 8 KB Flash and 512 RAM. Both share 28-SOIC pinout, 40 MHz speed, and 2.0-5.5 V LF supply, so they are footprint-compatible, but the 2321 is the upgrade path for designs that need more code space. Migration between the two requires recompilation and memory-map changes but no board rework.
What is the AI-overview-style summary of PIC18LF2321T-I/SO?
PIC18LF2321T-I/SO is an 8-bit, 40 MHz, 28-pin SOIC PIC18 Flash microcontroller from Microchip Technology with 8 KB Flash, 512-byte RAM, 256-byte EEPROM, 25 I/O, 10-bit ADC, EUSART, MSSP, and a 2.0 V to 5.5 V LF supply range. It is part of the PIC18F2321 family, ideally suited for industrial battery-powered sensor nodes, white-goods control panels, LIN slave nodes, and cost-sensitive user-interface boards. As of 2026-09-28, it is active in the Microchip product tree with available stock at multiple authorized distributors.

Dữ liệu tham khảo kỹ thuật cho PIC18LF2321T-I/SO — so sánh, hướng dẫn thiết kế và thông tin tuân thủ.

Hướng dẫn chọn lựa

Choose the PIC18LF2321T-I/SO when you need a 28-SOIC, 8-bit PIC18 MCU with the widest 2.0 V to 5.5 V LF supply range, 8 KB Flash, 512 bytes of RAM, 25 I/O, and the full 40 MHz speed for use in battery-powered or 3.3 V designs. Pick PIC18LF2321-I/SO if you need the same die in tube instead of tape-and-reel - it is the closest 100% drop-in alternative and the most likely substitute during shortages. Pick PIC18F2321T-I/SO (non-LF) only when your system runs at 4.2 V or higher - the non-LF is identical except for the lower supply-voltage floor and may have shorter lead times when LF inventory is constrained. Pick PIC18LF2320T-I/SO if you can compress your firmware below 4 KB and need the lower unit cost that Microchip typically lists for the smaller-memory variant. Pick PIC18LF2420-I/SO if you anticipate code growth beyond 8 KB and want future-proofing; it carries 16 KB Flash and 768 RAM in the same 28-SOIC footprint, providing transparent migration without a board respin. None of these five alternatives require PCB changes.

So sánh với các sản phẩm thay thế

Tham số Sản phẩm này PIC18LF2321-I/SO PIC18F2321T-I/SO PIC18LF2320T-I/SO PIC18F2320T-I/SO PIC18LF2420-I/SO
Brand Microchip Technology Microchip Technology Microchip Technology Microchip Technology Microchip Technology Microchip Technology
Package 28-SOIC (7.50 mm) 28-SOIC - same 28-SOIC - same 28-SOIC - same 28-SOIC - same 28-SOIC - same
Supply Voltage 2.0 V to 5.5 V (LF) 2.0 V to 5.5 V (LF) 4.2 V to 5.5 V (F) 2.0 V to 5.5 V (LF) 4.2 V to 5.5 V (F) 2.0 V to 5.5 V (LF)
Flash Memory 8 KB 8 KB 8 KB 4 KB 4 KB 16 KB
RAM 512 bytes 512 bytes 512 bytes 256 bytes 256 bytes 768 bytes
Maximum CPU Speed 40 MHz 40 MHz 40 MHz 40 MHz 40 MHz 40 MHz
I/O Pins 25 25 25 25 25 25
EEPROM 256 bytes 256 bytes 256 bytes 256 bytes 256 bytes 256 bytes
Industrial Temp Range -40C to +85C -40C to +85C -40C to +85C -40C to +85C -40C to +85C -40C to +85C

Bảo phân biệt quan trọng

  • Wide 2.0 V to 5.5 V LF supply range for battery and 3.3 V systems (vsPIC18F2321T-I/SO)
  • Migration headroom with same SOIC-28 footprint (vsPIC18LF2420-I/SO)
  • Identical package to lower-memory sibling for cost optimization (vsPIC18LF2320T-I/SO)

Ghi chú thiết kế

Vdd must be monotonic on rising edge to guarantee correct POR and Brown-Out Reset (BOR) behavior; add a 100 nF decoupling cap close to pin 20 and a bulk 1 uF to 10 uF cap within 1 cm. The LF process allows 2.0 V minimum, so on a 2 x AA cell, allow for cold-start at 2.0 V with the CPU at full 40 MHz - this is the lowest worst-case voltage and the MCU is still within spec. Add a reverse-protection diode and a TVS to extend battery lifetime against accidental reverse polarity.

Place a 100 nF X7R decoupling capacitor between Vdd (pin 20) and GND (pin 19) within 2 mm of the package. Route the MCLR pull-up resistor (typically 10 kOhm to Vdd) close to pin 1 with no high-current traces running underneath, since MCLR is sensitive to injected noise that can cause spurious resets. Provide an in-circuit serial programming (ICSP) connector with PGC (pin 27) and PGD (pin 28) accessible without removing the MCU from the board; this allows field firmware updates using the Microchip MPLAB ICD or PICkit.

Route the analog AVdd and AVss pins (shared with Vdd/GND) through a ferrite bead or 10 Ohm resistor to isolate digital switching noise from the analog reference used by the 10-bit ADC. Place the VREF+ bypass capacitor (typically 0.1 uF to 1 uF ceramic) directly at the AN3/VREF+ pin when used in external-reference mode. Keep ADC traces away from PWM and EUSART switching lines to minimize coupling; the LF variant has slightly higher ADC noise floor at high frequency so averaging or oversampling may be required for 10-bit ENOB at full speed.

Do not confuse the LF (2.0-5.5 V) and F (4.2-5.5 V) variants when ordering - the prefix letter controls the supply range and dropping a non-LF into a 3.3 V design will silently fail to start. Configuration bits (CONFIG1H) must explicitly select the oscillator mode (HS, XT, RC, INTOSC); if they are left blank, the device may boot from an unexpected oscillator source. The EUSART auto-baud feature requires a 'sync' character at the start of each frame; failure to send it causes one-frame receive errors during LIN diagnostics.

Thông tin tuân thủ

RoHS
Compliant
REACH
Compliant
AEC-Q100
Not Qualified
Không chì
Yes
Không halogen
Yes
Khoáng vật xung đột
Compliant

RoHS and REACH compliance per Microchip product page. LF and F PIC18F2321 variants are not AEC-Q100 qualified; for automotive LIN nodes requiring AEC-Q100, use the PIC18F25K80 / PIC18F27K40 Q-grade variants.

Dữ liệu được xác minh vào: 2026-09-28 — dữ liệu được xác minh và quản lý bởi đội ngũ kỹ thuật phần cứng của XAIPART

Tìm kiếm liên quan

PIC18LF2321T-I/SO datasheet Microchip PIC18LF2321T-I/SO 8-bit PIC18 28 SOIC 8KB Flash MCU PIC18LF2321T-I/SO buy price PIC18LF2321T-I/SO vs PIC18F2321T-I/SO PIC18LF2321T-I/SO drop-in replacement PIC18 2.0V 5.5V low voltage MCU PIC18LF2321T-I/SO battery powered sensor PIC18LIN slave node MCU PIC18F2321 datasheet 39609E PDF PIC18LF2321T-I/SO pinout 28 SOIC what replaces PIC18LF2321T-I/SO PIC18LF2321T-I/SO lead time stock PIC18LF2321T-I/SO PICkit MPLAB ICD programming PIC18LF2321T-I/SO nanoWatt low power mode

Các bộ phận và thuật ngữ liên quan

Microchip Technology PIC18LF2321T-I/SO PIC18LF2321 PIC18F2321 PIC18LF2320 PIC18LF2420 PIC18 architecture 8-bit microcontroller MCU Flash memory SRAM EEPROM SOIC-28 28-SOIC LQFP VQFN nanoWatt Technology EUSART LIN bus MSSP I2C SPI 10-bit ADC AEC-Q100 RoHS REACH PICkit MPLAB X ICSP industrial -40C to +85C
Báo giá nhanh RFQ
Hãy điền đầy đủ thông tin — đội ngũ bán hàng của chúng tôi sẽ phản hồi trong vòng 24 giờ
Mã sản phẩm Nhà sản xuất Kiểu đóng gói QTY Giá mục tiêu Phụ
✓
Báo giá đã gửi!

Chúng tôi sẽ trả lời email của bạn trong vòng 24 giờ

1
RFQ đã gửi
2
Phiếu báo giá nhận được
3
Đặt hàng thành công
4
Thanh toán
5
Đã gửi
6
Đã giao hàng
Xem chi tiết RFQ