PIC18LF2321T-I/ML - 8-bit MCU, 8KB Flash, 40MHz, 28-QFN | Microchip
부품 번호: PIC18LF2321T-I/ML ✓ 활성| 수량 | 단가 | 합계 |
|---|---|---|
| 1 | $3.07 | $3.07 |
| 10 | $2.74 | $27.40 |
| 100 | $2.34 | $234.00 |
| 500 | $2.05 | $1,025.00 |
| 1,000 | $1.78 | $1,780.00 |
PIC18LF2321T-I/ML 개요
An 8-bit microcontroller (MCU) is a programmable system-on-a-chip integrating an 8-bit CPU core, Flash program memory, SRAM data memory, peripherals such as timers, ADC, UART, and I/O onto a single die. The PIC18 family sits in Microchip's mid-range 8-bit portfolio, above baseline PIC10/12/16 parts, and is widely used for cost-sensitive embedded control. Architecturally a microcontroller falls under the broader hierarchy: microcontroller -> embedded processor -> integrated circuit -> semiconductor.
Key features include ten 10-bit ADC channels with auto-acquisition, two enhanced USART modules, two MSSP ports for SPI / I2C, a 10-bit PWM with enhanced capture/compare, nanoWatt Technology for power-managed sleep modes drawing as low as 100 nA in Sleep, and 25 I/O pins with interrupt-on-change capability. The RISC-style PIC18 core provides 77 single-word instructions, interrupt-driven operation, and a hardware multiplier for 8x8 single-cycle multiplications.
Typical applications include low-power sensor nodes, industrial control panels, consumer appliances, USB/serial bridge adapters, motor control with back-EMF sensing, and battery management front-ends. Its small 6x6 mm QFN footprint suits compact designs while exposing enough peripheral density for human-machine interface (HMI) and instrumentation tasks.
When designing with this part, verify that the chosen debugger/programmer (e.g. PICkit 3, ICD 3, MPLAB SNAP) supports the PIC18F/LF family and that your PCB layout exposes the PGC/PGD ICSP pins plus MCLR/Vpp for in-circuit serial programming. Consider migrating to a PIC18F25K22 or PIC18F26K22 if more memory, a richer peripheral set, or extended voltage tolerance is required.
드롭인 대체품: PIC18LF2321T-I/ML — 동일 패키지, 핀 호환. PCB 재작업이 필요한 다른 패키지 부품은 제외됩니다.
이 시리즈의 변형
다음과 드롭인 호환되는 동일 시리즈 모델: PIC18LF2321T-I/ML (동일 폼 팩터 및 풋프린트) — 차이점: Package, ADC, Operating Temperature, Program Memory (Flash), I/O Pins.
빠른 비교 도구 — 나란히 비교할 대체 부품을 선택하십시오:
PIC18LF2321-I/ML
✅ 드롭인✓ 재고 있음
$2.1 / 개
데이터시트 보기 →PIC18LF2320T-I/ML
✅ 드롭인📋 참조 대체품 (카탈로그에 없음)
PIC18F2321T-I/ML
✅ 드롭인✓ 재고 있음
$2.96 / 개
데이터시트 보기 →PIC18LF2221T-I/ML
✅ 드롭인✓ 재고 있음
$1.84 / 개
데이터시트 보기 →PIC18LF2321-I/SO
✅ 드롭인✓ 재고 있음
$2.4 / 개
데이터시트 보기 →PIC18LF14K22T-I/ML
✅ 드롭인✓ 재고 있음
$2.85 / 개
데이터시트 보기 →PIC18LF2321T-I/ML 최대 정격 & 전기적 특성
| Family | PIC18F |
| Core | 8-bit RISC |
| Instruction Set | 77 single-word instructions |
| Program Memory | 8 KB Flash |
| Data SRAM | 512 bytes |
| EEPROM | 256 bytes |
| Maximum CPU Speed | 40 MHz (10 MIPS) |
| Operating Voltage | 2.0 V to 5.5 V |
| I/O Pins | 25 |
| ADC | 10-bit, up to 10 channels |
| PWM | 10-bit enhanced CCP |
| Communication | 2x USART, 2x MSSP (SPI/I2C) |
| 패키지 | 28-QFN (6x6 mm) |
| 동작 온도 | -40 °C to +85 °C (Industrial) |
| 실장 유형 | Surface Mount |
| RoHS 상태 | Compliant |
PIC18LF2321T-I/ML 핀 구성
| 핀 1 | MCLR/Vpp/RE3 — Master Clear (reset) input / ICSP programming voltage / digital input |
| 핀 2 | RA0/AN0/CVREF — Digital I/O / analog input channel 0 / comparator voltage reference output |
| 핀 3 | RA1/AN1 — Digital I/O / analog input channel 1 |
| 핀 4 | RA2/AN2/VREF- — Digital I/O / analog input channel 2 / ADC negative reference |
| 핀 5 | RA3/AN3/VREF+ — Digital I/O / analog input channel 3 / ADC positive reference |
| 핀 6 | RA4/T0CKI/C1OUT — Digital I/O / Timer0 clock input / comparator 1 output |
| 핀 7 | RA5/AN4/SS/HLVDIN/C2OUT — Digital I/O / analog input channel 4 / SPI slave select / HLVD input / comparator 2 output |
| 핀 8 | VSS — Ground reference |
| 핀 9 | RA7/OSC1/CLKI — Digital I/O / crystal oscillator input / external clock input |
| 핀 10 | RA6/OSC2/CLKO — Digital I/O / crystal oscillator output / clock output |
| 핀 11 | RC0/T1OSO/T13CKI — Digital I/O / Timer1 oscillator output / Timer1/Timer3 clock input |
| 핀 12 | RC1/T1OSI/CCP2 — Digital I/O / Timer1 oscillator input / Capture/Compare/PWM 2 |
| 핀 13 | RC2/CCP1 — Digital I/O / Capture/Compare/PWM 1 |
| 핀 14 | RC3/SCK/SCL — Digital I/O / MSSP SPI clock / I2C clock |
| 핀 15 | RC4/SDI/SDA — Digital I/O / MSSP SPI data in / I2C data |
| 핀 16 | RC5/SDO — Digital I/O / MSSP SPI data out |
| 핀 17 | RC6/TX/CK — Digital I/O / EUSART asynchronous transmit / synchronous clock |
| 핀 18 | RC7/RX/DT — Digital I/O / EUSART asynchronous receive / synchronous data |
| 핀 19 | VSS — Ground reference |
| 핀 20 | VDD — Positive supply voltage |
| 핀 21 | RB0/AN12/INT0 — Digital I/O / analog input channel 12 / external interrupt 0 |
| 핀 22 | RB1/AN10/INT1 — Digital I/O / analog input channel 10 / external interrupt 1 |
| 핀 23 | RB2/AN8 — Digital I/O / analog input channel 8 |
| 핀 24 | RB3/AN9 — Digital I/O / analog input channel 9 |
| 핀 25 | RB4/AN11/KBI0 — Digital I/O / analog input channel 11 / interrupt-on-change |
| 핀 26 | RB5/KBI1/PGM — Digital I/O / interrupt-on-change / ICSP data LVP |
| 핀 27 | RB6/KBI2/PGC — Digital I/O / interrupt-on-change / ICSP clock |
| 핀 28 | RB7/KBI3/PGD — Digital I/O / interrupt-on-change / ICSP data |
일반적인 애플리케이션
PIC18LF2321T-I/ML 적합 용도: 6 애플리케이션s: Low-Power Battery Sensor Node, Industrial Control Panel HMI, Consumer Appliance Motor Control, USB/Serial Bridge Adapter, Battery Management Front-End, Instrumentation and Data Logger.
Low-Power Battery Sensor Node
The PIC18LF2321T-I/ML is well suited for wireless sensor nodes running from a 3 V coin cell or two AA cells, leveraging its 2.0 V to 5.5 V operating range and nanoWatt sleep currents as low as 100 nA in Sleep mode. The integrated 10-bit ADC with up to 10 channels accommodates temperature, humidity, and battery-voltage monitoring without external signal conditioning. With the EUSART running at 2400 baud for periodic telemetry, the average current draw stays well under the battery self-discharge rate of ~1% per year, giving multi-year node life. Designers should leverage the RTCC + Sleep + WDT wake-up pattern instead of polling loops to minimize active duty cycle.
추천
Industrial Control Panel HMI
For front-panel operator interfaces with LED indicators and rotary encoder inputs, the PIC18LF2321T-I/ML provides ample I/O count (25 pins) and PWM channels for backlight dimming and buzzer tone generation. The 40 MHz / 10 MIPS CPU core comfortably runs state-machine control code in C with MPLAB XC8 at -O2 optimization, leaving cycles for debounced switch scanning. The MSSP ports drive character LCDs (via SPI) or I/O expanders (via I2C), while the USART connects to a downstream PLC or HMI master. The 2.0 V to 5.5 V range tolerates industrial 24 V rails stepped down by a small buck regulator, and the industrial -40 °C to +85 °C grade is factory-floor rated.
추천
Consumer Appliance Motor Control
Small brushless DC or brushed DC motor controllers in washing appliances, fans, and kitchen blenders benefit from the PIC18LF2321T-I/ML's 10-bit enhanced CCP PWM for variable-speed drive and the 10-bit ADC for back-EMF and current sensing. The 40 MIPS performance supports sensorless BLDC commutation algorithms such as back-EMF zero-crossing detection at up to ~20 kRPM without CPU saturation. Watchdog Timer, BOR, and Fail-Safe Clock Monitor provide functional safety primitives for appliances governed by IEC 60730. Two USARTs allow simultaneous debug logging and communication with an inverter or main controller board.
추천
USB/Serial Bridge Adapter
Although the PIC18LF2321T-I/ML itself lacks a hardware USB peripheral, it can serve as the I2C/SPI-to-UART bridge controller behind an external USB-to-UART bridge such as the MCP2200 or MCP2221. The dual USART handles high-speed RS-232/RS-485 traffic while MSSP drives external Flash or EEPROM for buffering. This arrangement is popular in low-cost industrial adapter dongles and debug bridges where full PIC18F14K50 USB is overkill. The wide voltage range permits operation directly from the 5 V USB rail or 3.3 V logic on the downstream device.
추천
Battery Management Front-End
The PIC18LF2321T-I/ML's low minimum Vin of 2.0 V enables operation down to the deep-discharge threshold of Li-ion/LiFePO4 packs, providing cell balancing, fuel-gauge ADC sampling, and SMBus/I2C communication to a host charger IC. The 10-bit ADC delivers sufficient resolution for coulomb-counting algorithms when paired with a current-sense resistor in the 5 mΩ to 50 mΩ range. EEPROM-backed configuration storage retains cell parameters across power cycles. nanoWatt sleep modes keep quiescent draw below 5 µA to preserve shelf life on stored packs.
추천
Instrumentation and Data Logger
Stand-alone portable data loggers for environmental, automotive, or industrial monitoring benefit from the PIC18LF2321T-I/ML's combination of 8 KB Flash for firmware, 256 bytes EEPROM for non-volatile parameter storage, and 10-channel 10-bit ADC for multi-sensor acquisition. With a real-time clock companion on the MSSP I2C bus, the MCU can wake from Sleep at sub-minute intervals, sample sensors, and write records to an external SPI Flash such as the SST25VF016B. The 28-QFN 6x6 mm footprint enables pocket-sized logger enclosures.
추천
추천 제품 요약
엔지니어링 참조 데이터: PIC18LF2321T-I/ML — 비교, 설계 지침 및 규정 준수 정보.
선택 가이드
대체품과의 비교
| 파라미터 | 이 제품 | PIC18LF2321-I/ML | PIC18LF2320T-I/ML | PIC18F2321T-I/ML | PIC18LF2221T-I/ML | PIC18LF14K22T-I/ML |
|---|---|---|---|---|---|---|
| Brand | Microchip Technology | Microchip Technology | Microchip Technology | Microchip Technology | Microchip Technology | Microchip Technology |
| Package | 28-QFN (6x6 mm) | 28-QFN (6x6 mm) - same | 28-QFN (6x6 mm) - same | 28-QFN (6x6 mm) - same | 28-QFN (6x6 mm) - same | 28-QFN (6x6 mm) - same |
| Operating Voltage | 2.0 V to 5.5 V (LF) | 2.0 V to 5.5 V | 2.0 V to 5.5 V | 4.2 V to 5.5 V | 2.0 V to 5.5 V | 1.8 V to 5.5 V (XLP) |
| Flash Program Memory | 8 KB | 8 KB | 8 KB | 8 KB | 4 KB | 16 KB |
| SRAM | 512 bytes | 512 bytes | 512 bytes | 512 bytes | 256 bytes | 512 bytes |
| EEPROM | 256 bytes | 256 bytes | 256 bytes | 256 bytes | 256 bytes | 256 bytes |
| ADC Channels | 10 | 10 | 10 | 10 | 10 | 8 |
| Maximum CPU Speed | 40 MHz (10 MIPS) | 40 MHz | 40 MHz | 40 MHz | 40 MHz | 64 MHz (16 MIPS) |
| I/O Pins | 25 | 25 | 25 | 25 | 25 | 24 |
주요 차별점
- 2.0 V to 5.5 V wide operating voltage for battery-powered designs (vs PIC18F2321T-I/ML)
- Compact 6x6 mm 28-QFN footprint for space-constrained designs (vs PIC18LF2321-I/SO (28-SOIC))
- nanoWatt Technology with sub-µA sleep current for energy harvesting (vs PIC18F2321T-I/ML)
- Balanced 8 KB Flash / 512 bytes SRAM for cost-sensitive C code projects (vs PIC18LF2221T-I/ML)
설계 노트
The PIC18LF2321T-I/ML supports 2.0 V to 5.5 V operation. Place a 100 nF decoupling capacitor within 5 mm of each VDD/VSS pair (there are two pairs on the 28-QFN), and add a 10 µF bulk tantalum or ceramic capacitor at the supply rail entry point. Enable the on-chip Brown-out Reset (BOR) with the maximum trip threshold to prevent code execution below the minimum operating voltage, which can cause Flash corruption during in-circuit programming.
Route the ICSP clock (PGC, RB6) and data (PGD, RB7) lines as a short, parallel pair away from switching signals. Include a 4.7 kΩ pull-up on MCLR/Vpp to VDD to ensure a defined reset state; in-circuit programming requires MCLR to be pulled to ~12 V, so use a low-leakage diode or programmable voltage rail if MCLR is shared with an external reset supervisor. The QFN exposed thermal pad must be soldered to the PCB ground plane for thermal and electrical performance.
Do not leave the ADC enabled while the CPU is in Sleep mode if you need minimum quiescent current - disable the ADC (ADON = 0) before entering Sleep. Configuration word bits (CONFIG1L..CONFIG1H) are write-once after programming; mismatching the oscillator configuration bit (FOSC) with your actual crystal or resonator can lock the device out of subsequent ICSP programming. Always read back CONFIG words before performing a Bulk Erase during development.
For ADC accuracy beyond 8 bits, average multiple samples in software or enable the ADC Acquisition Timer to avoid source-impedance errors. Place an external op-amp buffer (e.g. MCP6021) between high-impedance sensors and the analog input pin; the PIC18F ADC S/H capacitor is only 5 pA leakage and tolerates up to 2.5 kΩ source impedance at full 10-bit accuracy. Avoid routing ADC traces parallel to PWM or switching signals - cross them at 90° if overlap is unavoidable.
Estimated: At 40 MHz and 5.5 V, the PIC18LF2321T-I/ML consumes ~11 mA (0.060 W). The 28-QFN package has θJA around 30 °C/W (4-layer 1 oz copper), giving a junction temperature rise of ~1.8 °C above ambient. No heatsinking is required for industrial applications. However, if the device is placed near a switching regulator or other heat source, derate ambient temperature by 1.8 °C per °C of nearby thermal load to maintain junction below 85 °C.
규정 준수 정보
RoHS and REACH compliant per Microchip product environmental compliance documentation as of 2026-09-28. The 'LF' family is industrial grade only; for AEC-Q100 automotive qualified parts, migrate to PIC18F2321T-I/ML automotive flow part or PIC18F-K series automotive variants.