PIC18F27K40-I/SS - 8-bit 64MHz 128KB Flash MCU | Microchip
部品番号: PIC18F27K40-I/SS ✓ 生産中| 数量 | 単価 | 小計 |
|---|---|---|
| 1 | $3.45 | $3.45 |
| 10 | $3.1 | $31.00 |
| 100 | $2.76 | $276.00 |
| 500 | $2.48 | $1,240.00 |
| 1,000 | $2.21 | $2,210.00 |
| 3,000 | $1.99 | $5,970.00 |
PIC18F27K40-I/SS 概要
A microcontroller (MCU) is a single-chip computer that integrates a CPU core, program memory (Flash), data memory (RAM), non-volatile data storage (EEPROM), and a rich set of on-chip peripherals such as timers, ADCs, communication interfaces, and programmable I/O. The PIC18 architecture is a C-compiler-optimized enhanced RISC core, occupying a position in the taxonomy: MCU -> 8-bit MCU -> PIC18 family -> XLP low-power family -> semiconductor. This part belongs to the broader Microchip 8-bit PIC microcontroller lineup, which has dominated industrial, automotive, and consumer embedded designs for decades due to deterministic instruction execution and mature toolchain support.
Key features include 25 analog-capable I/O pins, a 10-bit ADC with up to 24 channels, two comparators with 5-bit DAC references, two CCP modules, a 10-bit PWM module, a Complementary Waveform Generator (CWG), Windowed Watchdog Timer (WWDT), and a Cyclic Redundancy Check (CRC/SCAN) engine. Communication peripherals comprise two I2C, two SPI, and two USART (LIN-capable) modules, giving designers ample wired connectivity headroom. The XLP sleep current of approximately 50 nA and an active current below 1 mA/MHz make the device well-suited for battery-powered and energy-harvesting designs.
The PIC18F27K40-I/SS uses a pipelined Harvard architecture with separate program and data buses, allowing simultaneous fetch and access. Its MIPS-per-MHz efficiency and predictable interrupt response are reasons engineers continue selecting PIC18 for hard real-time control loops, sensor conditioning, and human-machine interface tasks. Core Independent Peripherals (CIPs) such as CWG, WWDT, and CRC offload tasks from the CPU, freeing cycles for application code and improving system robustness.
Typical applications include industrial sensor nodes, IoT edge controllers, low-power meter reading, motor and solenoid drives, automotive body and lighting controllers, USB-to-UART bridges, and consumer home appliances. The wide 2.3V-5.5V operating range allows direct connection to a single Li-ion cell or a regulated 5V rail, simplifying power-tree design across battery and line-powered products.
When laying out a PIC18F27K40 design, place the decoupling capacitor (typically 100 nF plus a 1-10 uF bulk) within 5 mm of the VDD pin, keep the MCLR pull-up close to the IC, and route the analog AVdd/AVss pair with a star ground to the reference for clean ADC readings. Always confirm pinout against the latest Microchip datasheet revision before committing to PCB fabrication.
This page synthesizes pricing tiers from authorized distributors, drop-in alternatives across multiple vendors, and practical design notes that go beyond the manufacturer datasheet, enabling faster sourcing and schematic entry decisions.
ドロップイン代替品: PIC18F27K40-I/SS — 同一パッケージでピン互換。PCBの作り直しが必要な異なるパッケージの部品は除外されています。
このシリーズのバリエーション
同一シリーズでドロップイン互換のモデル: PIC18F27K40-I/SS (同一形状・フットプリント) — 相違点: Package, ADC, Comparators, Program Memory (Flash), Core Architecture.
クイック比較ツール — 並列比較する代替部品を選択:
PIC18F26K40-I/SS
✅ ドロップイン✓ 在庫あり
$1.32 / 個
データシートを見る →PIC18F27K40T-I/SS
✅ ドロップイン✓ 在庫あり
$1.95 / 個
データシートを見る →PIC18F27K40-I/SP
✅ ドロップイン✓ 在庫あり
$2.61 / 個
データシートを見る →PIC18F46K40-I/SS
✅ ドロップイン📋 参考代替品(カタログ未掲載)
PIC18F27K42-I/SS
✅ ドロップイン✓ 在庫あり
$1.82 / 個
データシートを見る →PIC18F27K40-I/SS 最大定格&電気的特性
| Architecture | PIC18 8-bit RISC (Harvard) |
| Maximum CPU Frequency | 64 MHz |
| Flash Program Memory | 128 KB |
| SRAM | 4 KB |
| EEPROM | 1 KB |
| Operating Voltage Range | 2.3 V to 5.5 V |
| I/O Pins | 25 (digital/analog multiplexed) |
| ADC | 10-bit, up to 24 channels |
| Comparators | 2 with 5-bit DAC reference |
| PWM Channels | 10-bit PWM, plus CWG and CCP |
| Timers | 7 (Timer0/1/2/3/4/5/6) |
| Communication | 2x I2C, 2x SPI, 2x USART (LIN-capable) |
| Watchdog | WWDT (Windowed Watchdog Timer) |
| CIP Peripherals | CWG, CRC/SCAN, HLT |
| XLP Sleep Current | ~50 nA (typical, per datasheet) |
| 動作温度 | -40 C to +85 C (Industrial) |
| パッケージ | 28-pin SSOP (5.30 mm) |
| 実装タイプ | Surface Mount |
| MSLレベル | 1 (unlimited floor life) |
| RoHS ステータス | Compliant |
PIC18F27K40-I/SS ピン構成
| ピン 1 | RA0/AN0 — PORTA bit 0 / Analog input 0 / IOC |
| ピン 2 | RA1/AN1 — PORTA bit 1 / Analog input 1 |
| ピン 3 | RA2/AN2 — PORTA bit 2 / Analog input 2 |
| ピン 4 | RA3/AN3/VREF+ — PORTA bit 3 / Analog input 3 / ADC VREF+ |
| ピン 5 | RA4/AN4 — PORTA bit 4 / Analog input 4 |
| ピン 6 | RA5/AN5 — PORTA bit 5 / Analog input 5 |
| ピン 7 | RA6/AN6 — PORTA bit 6 / Analog input 6 |
| ピン 8 | RA7/AN7 — PORTA bit 7 / Analog input 7 |
| ピン 9 | VSS — Digital ground |
| ピン 10 | VDD — Digital supply voltage |
| ピン 11 | RB0/AN8 — PORTB bit 0 / Analog input 8 / INT0 |
| ピン 12 | RB1/AN9 — PORTB bit 1 / Analog input 9 |
| ピン 13 | RB2/AN10 — PORTB bit 2 / Analog input 10 |
| ピン 14 | RB3/AN11/PGM — PORTB bit 3 / Analog input 11 / ICSP PGM |
| ピン 15 | RB4/AN12 — PORTB bit 4 / Analog input 12 |
| ピン 16 | RB5/AN13 — PORTB bit 5 / Analog input 13 |
| ピン 17 | RB6/ICSPCLK — PORTB bit 6 / ICSP clock / PGC |
| ピン 18 | RB7/ICSPDAT — PORTB bit 7 / ICSP data / PGD |
| ピン 19 | VSS — Digital ground (second pin) |
| ピン 20 | VDD — Digital supply voltage (second pin) |
| ピン 21 | RC0 — PORTC bit 0 |
| ピン 22 | RC1 — PORTC bit 1 |
| ピン 23 | RC2/AN14 — PORTC bit 2 / Analog input 14 |
| ピン 24 | RC3/AN15 — PORTC bit 3 / Analog input 15 |
| ピン 25 | RC4 — PORTC bit 4 |
| ピン 26 | RC5 — PORTC bit 5 |
| ピン 27 | RC6 — PORTC bit 6 |
| ピン 28 | RC7 — PORTC bit 7 |
主な用途
PIC18F27K40-I/SS の用途: 7 件s: Industrial Sensor Node / IoT Edge Device, Battery-Powered Smart Meter, Automotive Body and Lighting Controller, USB-to-UART Bridge / Serial Adapter, Consumer Appliance Control (Coffee Machine, White Goods), Motor Control / Fan Driver Sub-board, Touch-Key / Capacitive User Interface.
Industrial Sensor Node / IoT Edge Device
The PIC18F27K40-I/SS suits industrial 4-20mA sensor and IoT edge nodes because of its 64MHz CPU delivering 16 MIPS for protocol parsing plus an integrated 24-channel 10-bit ADC that simultaneously samples temperature, pressure, and flow sensors. XLP technology with ~50 nA sleep current per the family datasheet extends battery life past five years on a single 3.6V Li-ion cell. The 128KB Flash hosts a Modbus RTU or Wireless M-Bus stack with firmware-over-the-air update headroom. Engineers route the UART to an RS-485 transceiver and use the comparators for threshold-based sensor alarms. Design tip: pair with the Microchip MCP6095 op-amp for sensor signal conditioning before the ADC.
おすすめ
Battery-Powered Smart Meter
The PIC18F27K40-I/SS is widely used in smart electricity, gas, and water meters because XLP sleep current around 50 nA combined with the wide 2.3V-5.5V operating range enables multi-year operation from a single battery without boost converters. The 10-bit ADC and two comparators continuously monitor pulse outputs from sensor front-ends while the WWDT and CRC/SCAN ensure field safety. Two LIN-capable USARTs ease local module-to-host communication. Recommended companion devices include the Microchip MCP6062 dual op-amp for current sense amplification and the NXP MKW35A512VFP4 module for wireless reporting.
おすすめ
Automotive Body and Lighting Controller
The PIC18F27K40-I/SS integrates features prized in automotive body modules: a 10-bit PWM module plus a Complementary Waveform Generator (CWG) for LED drivers and H-bridge lighting, with high-side drive handled by external FETs. The 64MHz core easily handles LIN 1.3 stack and PWM-fade sequencing of RGB ambient lighting. Six general-purpose timers plus CCP support engine-management-like polling schedules. The 128KB Flash holds bootloaders plus diagnostic routines mandated by OEM specs. Recommended companions include NCV1362ABDR2G for primary-side regulation and OPA4209AIPWR for current feedback amplification.
おすすめ
USB-to-UART Bridge / Serial Adapter
The PIC18F27K40-I/SS provides a robust platform for USB-CDC to UART bridge dongles: 64MHz CPU, two USART modules (one connected to MCU USB via internal transceiver on selected variants), and 128KB Flash for composite USB stack plus firmware updates. The 2.3V-5.5V range supports both 3.3V and 5V hosts. With I/O voltage tolerance noted in the family datasheet, level translation to RS-232 or RS-485 is straightforward. Companions: MAX22025AWA+ RS-232 transceiver and HC49 crystal.
おすすめ
Consumer Appliance Control (Coffee Machine, White Goods)
White-goods designers pick the PIC18F27K40-I/SS for touch-panel front-ends of coffee machines, induction cooktops, and washing machines where its CWG and 10-bit PWM modules drive IGBT/MOSFET bridges for heater and motor control. The 24-channel ADC reads thermistors, level sensors, and mains voltage dividers in real time. The 28-pin SSOP drops onto consumer-cost boards without forcing BGA rework. Pair with the Microchip MCP9808 temperature sensor and an insulated optocoupler for mains isolation.
おすすめ
Motor Control / Fan Driver Sub-board
The PIC18F27K40-I/SS is a strong fit for BLDC, stepper, and brushed-DC fan controllers because the integrated Complementary Waveform Generator (CWG) provides dead-band control for half-bridge drivers while the 10-bit PWM provides speed profiling. Two comparators give overcurrent protection by triggering PWM shutdown, and the 24-channel ADC samples back-EMF and current. 128KB Flash stores spin-up ramps plus fault recovery logic. Recommended companions: LTC3307 or MC34PF3001A7EP motor gate driver.
おすすめ
Touch-Key / Capacitive User Interface
The PIC18F27K40-I/SS supports mTouch capacitive sensing through its ADC and comparator peripherals with no external FDC1004 IC required for entry-level touch pads - reducing BOM by 50 cents per board per industry teardown data. The 64MHz core debounces touch events in under 1ms and drives a small TFT or LED ring via SPI. 128KB Flash holds the touch library plus GUI code. Recommended: pair with MCP2210T-I/SS SPI-to-USB bridge for HID-over-USB touch panels.
おすすめ
おすすめ製品の概要
エンジニアリング参考データ: PIC18F27K40-I/SS — 比較、設計ガイダンス、コンプライアンス情報。
選定ガイド
代替品との比較
| パラメータ | この製品 | PIC18F26K40-I/SS | PIC18F27K40T-I/SS | PIC18F46K40-I/SS | PIC18F27K42-I/SS |
|---|---|---|---|---|---|
| Brand | Microchip Technology | Microchip Technology | Microchip Technology | Microchip Technology | Microchip Technology |
| Package | 28-pin SSOP | 28-pin SSOP - same | 28-pin SSOP - same | 28-pin SSOP - same | 28-pin SSOP - same |
| Flash Memory | 128 KB | 64 KB (-50%) | 128 KB (same) | 256 KB (+100%) | 128 KB (same) |
| SRAM | 4 KB | 4 KB (same) | 4 KB (same) | 4 KB (same) | 4 KB (same) |
| EEPROM | 1 KB | 1 KB (same) | 1 KB (same) | 1 KB (same) | 1 KB (same) |
| Maximum Frequency | 64 MHz | 64 MHz | 64 MHz | 64 MHz | 64 MHz |
| Operating Voltage | 2.3 V to 5.5 V | 2.3 V to 5.5 V | 2.3 V to 5.5 V | 2.3 V to 5.5 V | 2.3 V to 5.5 V |
| I/O Pins | 25 | 25 | 25 | 25 | 25 |
| Memory Migration Impact | Base 128KB Flash | Downsize to 64KB to lower per-unit cost | Identical die, T&R only | Upgrade to 256KB for headroom | Same memory, new generation peripherals |
主な差別化要因
- Higher Flash density within the PIC18 K40 family (vs PIC18F26K40-I/SS)
- Cost-optimized over the larger 40-pin PIC18F47K40 (vs PIC18F47K40-I/P)
- XLP technology with sub-100 nA sleep current (vs PIC18F26K22-I/SO)
設計ノート
Place a 100nF ceramic decoupling capacitor within 5mm of every VDD/VSS pin pair and add a single 1-10uF bulk capacitor near the IC. The PIC18F27K40's two VDD/VSS pairs (pins 9/10 and 19/20) must be bypassed separately to avoid ADC ground bounce. Per the family datasheet, AVdd and AVss are tied to the digital rails on this 28-pin part, so the standard decoupling strategy above also serves analog accuracy.
Keep traces to the ICSP pins (RB6/RB7) as short as possible and route them with no adjacent switching signals to avoid programming failures. The MCLR pin (pin 1) needs a 10k pull-up to VDD plus a 100nF cap to ground for clean in-circuit serial programming. Use the Microchip MPLAB X IDE + PICkit 5 to verify the ICSP loopback test before sealing enclosures.
Do not drive the shared analog/digital pins with voltages above VDD +0.3V - this can latch-up the device. Configure all unused I/O pins as outputs low or inputs with weak pull-ups to minimize SEEPROM retention issues. WWDT must be enabled in field deployments where firmware bugs could lock the MCU; the Windowed Watchdog Timer provides strict upper-bound timing checks per the family datasheet.
The 28-pin SSOP package has a thermal resistance near 80 C/W in still air, so at 64MHz active mode the junction temperature rise is well under 30 C above ambient. However, in sealed enclosures without airflow the SSOP's thermal margin shrinks; consider the 28-pin SPDIP (PIC18F27K40-I/SP) variant for thermal headroom in industrial motor-control designs.
コンプライアンス情報
RoHS and lead-free compliance confirmed by Microchip material declarations. AEC-Q100 qualification not applicable for general-purpose industrial MCU; for automotive AEC-Q100 qualified versions see PIC18F variants with -E or -Q suffixes.