PIC18F47K40-E/P - 8-bit 64MHz 128KB Flash 40-PDIP MCU | Microchip
部品番号: PIC18F47K40-E/P ✓ 生産中| 数量 | 単価 | 小計 |
|---|---|---|
| 1 | $3.92 | $3.92 |
| 10 | $3.49 | $34.90 |
| 100 | $2.96 | $296.00 |
| 500 | $2.51 | $1,255.00 |
| 1,000 | $2.18 | $2,180.00 |
PIC18F47K40-E/P 概要
A microcontroller (MCU) is a single-chip computer that integrates a CPU core, program memory (Flash), data memory (RAM and EEPROM), and peripheral blocks such as timers, ADCs, communication interfaces, and GPIO onto one IC. PIC18 microcontrollers sit within Microchip's 8-bit MCU family — positioned above baseline PIC16 parts for higher performance and richer peripherals — and belong to the broader embedded-controller hierarchy that includes 16-bit PIC24 and dsPIC, 32-bit SAM, and competing ARM Cortex-M0/M0+ devices from other vendors. The PIC18F47K40 specifically targets applications needing generous Flash, ample RAM, and rich analog/digital integration at low power.
Key features include 128 KB self-programmable Flash, 3728 bytes of SRAM, 1024 bytes of EEPROM, a 10-bit ADC with computation, multiple PWM/CWG/CCP modules, EUSART, I2C, SPI, and ultra-low-power sleep modes. The XLP designation indicates nanoWatt technology for battery-friendly operation, with typical sleep currents below 100 nA. The -E suffix designates the Extended operating temperature range (-40C to +125C).
Architecturally, the PIC18F47K40 uses Microchip's enhanced mid-range 8-bit core with a hardware multiply, a 31-level hardware stack, and an interrupt controller capable of context save/restore. CIPs let peripherals (CWG, CRC/SCAN, WWDT, SMT, CLC) operate without CPU intervention, reducing firmware complexity and active-mode current. The 5V-tolerant I/O and 2.3V-5.5V supply range allow direct interfacing to legacy 5V logic and analog front ends without level shifters.
Typical applications include consumer appliances, IoT sensor nodes, battery-powered instruments, industrial control panels, automotive body/comfort subsystems, and USB/HID human-interface devices. Designers select the PIC18F47K40 for projects needing more code space than a PIC16 can offer, deterministic real-time response from the 8-bit core, and the simplicity of MPLAB X IDE with free XC8 compiler support.
When designing with this device, verify the 40-pin PDIP footprint against your PCB mechanical constraints (through-hole vs SMD) and confirm that the 2.3V minimum VDD suits any 1.8V sensors on your board — the LF variant (PIC18LF47K40) is recommended for 1.8V-3.6V-only rails. The -E/P part operates at Extended temperature and is supplied in anti-static tubes.
This page synthesizes distributor pricing, drop-in 40-PDIP alternatives, and practical design notes not found in the manufacturer datasheet alone, helping engineers select and source the right 8-bit MCU for their embedded design.
ドロップイン代替品: PIC18F47K40-E/P — 同一パッケージでピン互換。PCBの作り直しが必要な異なるパッケージの部品は除外されています。
このシリーズのバリエーション
同一シリーズでドロップイン互換のモデル: PIC18F47K40-E/P (同一形状・フットプリント) — 相違点: Package, ADC, DAC, Mounting Type, Program Memory (Flash).
クイック比較ツール — 並列比較する代替部品を選択:
PIC18F47K40-I/P
✅ ドロップイン✓ 在庫あり
$2.88 / 個
データシートを見る →PIC18F47K42-E/P
✅ ドロップイン✓ 在庫あり
$5.2 / 個
データシートを見る →PIC18F47K42-I/P
✅ ドロップイン ⚠️ 仕様未検証✓ 在庫あり
$4.1 / 個
データシートを見る →PIC18F47J53-I/P
✅ ドロップイン📋 参考代替品(カタログ未掲載)
PIC18F46K40-E/P
✅ ドロップイン✓ 在庫あり
$2.3 / 個
データシートを見る →PIC18F46Q84-E/P
✅ ドロップイン✓ 在庫あり
$2.18 / 個
データシートを見る →PIC18F47K40-E/P 最大定格&電気的特性
| Core | PIC18 8-bit enhanced mid-range |
| CPU Speed | 64 MHz (16 MIPS) |
| Program Memory (Flash) | 128 KB (64K x 16) |
| SRAM | 3728 bytes |
| EEPROM | 1024 bytes |
| Operating Voltage (VDD) | 2.3 V to 5.5 V |
| I/O Pins | 36 |
| パッケージ | 40-pin PDIP (P) |
| 動作温度 | -40 C to +125 C (Extended, -E suffix) |
| Timers | Multiple 8/16-bit timers with CCP/PWM |
| Communication | EUSART, I2C, SPI |
| Core Independent Peripherals | CWG, WWDT, CRC/SCAN, SMT, CLC, HLT |
| XLP (eXtreme Low Power) | Yes (nanoWatt technology) |
| 実装タイプ | Through-Hole (DIP) |
| MSLレベル | Not Applicable (through-hole) |
PIC18F47K40-E/P ピン構成
| ピン 1 | RA0 — PORTA bit 0 / analog input |
| ピン 2 | RA1 — PORTA bit 1 / analog input |
| ピン 3 | RA2 — PORTA bit 2 / analog input |
| ピン 4 | RA3 — PORTA bit 3 / analog input / VREF+ |
| ピン 5 | RA4 — PORTA bit 4 / analog input |
| ピン 6 | RA5 — PORTA bit 5 / analog input |
| ピン 7 | RA6 — PORTA bit 6 / oscillator |
| ピン 8 | RA7 — PORTA bit 7 / oscillator |
| ピン 9 | VSS — Ground reference |
| ピン 10 | VDD — Positive supply voltage (2.3V-5.5V) |
| ピン 11 | RB0 — PORTB bit 0 / interrupt-on-change |
| ピン 12 | RB1 — PORTB bit 1 |
| ピン 13 | RB2 — PORTB bit 2 |
| ピン 14 | RB3 — PORTB bit 3 |
| ピン 15 | RB4 — PORTB bit 4 |
| ピン 16 | RB5 — PORTB bit 5 |
| ピン 17 | RB6 — PORTB bit 6 / ICSP programming clock |
| ピン 18 | RB7 — PORTB bit 7 / ICSP programming data |
| ピン 19 | VSS — Ground reference |
| ピン 20 | VDD — Positive supply voltage (2.3V-5.5V) |
| ピン 21 | RC0 — PORTC bit 0 |
| ピン 22 | RC1 — PORTC bit 1 |
| ピン 23 | RC2 — PORTC bit 2 |
| ピン 24 | RC3 — PORTC bit 3 |
| ピン 25 | RC4 — PORTC bit 4 |
| ピン 26 | RC5 — PORTC bit 5 |
| ピン 27 | RC6 — PORTC bit 6 |
| ピン 28 | RC7 — PORTC bit 7 |
| ピン 29 | RE0 — PORTE bit 0 (read-only on some K40 variants) |
| ピン 30 | RE1 — PORTE bit 1 (read-only on some K40 variants) |
| ピン 31 | RE2 — PORTE bit 2 (read-only on some K40 variants) |
| ピン 32 | RE3 — PORTE bit 3 (read-only / MCLR on some variants) |
| ピン 33 | MCLR — Master Clear reset input (active low) |
| ピン 34 | RD0 — PORTD bit 0 |
| ピン 35 | RD1 — PORTD bit 1 |
| ピン 36 | RD2 — PORTD bit 2 |
| ピン 37 | RD3 — PORTD bit 3 |
| ピン 38 | RD4 — PORTD bit 4 |
| ピン 39 | RD5 — PORTD bit 5 |
| ピン 40 | RD6 — PORTD bit 6 |
主な用途
PIC18F47K40-E/P の用途: 6 件s: Consumer Appliance Control, Battery-Powered IoT Sensor Node, Industrial Control Panel HMI, Automotive Body and Comfort Subsystem, USB HID Human Interface Device, Educational and Hobby Electronics.
Consumer Appliance Control
The PIC18F47K40-E/P's 128 KB Flash, 36 GPIO, and 5V tolerance suit appliance control boards (washing machines, microwave ovens, refrigerators). Its 64 MHz CPU executes real-time motor-control loops via the CWG and PWM peripherals while the ADC with computation handles sensor inputs. XLP sleep currents below 100 nA let standby-mode appliances meet energy-star idle budgets. CIPs like CLC let designers implement hardware-only safety interlocks without CPU intervention, reducing BOM cost and firmware complexity versus discrete logic.
おすすめ
Battery-Powered IoT Sensor Node
XLP nanoWatt technology makes the PIC18F47K40-E/P attractive for battery-driven sensor hubs that sleep most of the time. Sleep current under 100 nA combined with interrupt-on-change wake-up from 36 GPIO pins enables multi-year coin-cell operation. The 10-bit ADC with computation offloads averaging and threshold detection from the CPU, further reducing active-mode energy. EUSART, I2C, and SPI ports connect to radios (LoRa, BLE modules), environmental sensors, and EEPROM/FRAM memory. Wide 2.3V-5.5V VDD accepts fresh and end-of-life alkaline or Li-primary cells without boost converters.
おすすめ
Industrial Control Panel HMI
Industrial HMIs with TFT displays, keypads, and indicator LEDs benefit from the PIC18F47K40-E/P's 64 MHz throughput and 3728-byte SRAM buffer for menu state machines. The CWG peripheral generates complementary PWM outputs for backlight dimming, while multiple CCP/PWM channels drive status LEDs or buzzer tones. Extended -40C to +125C operation tolerates factory-floor enclosures and outdoor cabinets. The hardware CRC/SCAN engine validates firmware integrity at boot, supporting IEC 61508 SIL-1 system-level designs when combined with proper watchdogs.
おすすめ
Automotive Body and Comfort Subsystem
With -40C to +125C Extended temperature range, the PIC18F47K40-E/P fits automotive body modules such as seat controllers, mirror adjusters, and interior lighting drivers. The 5V supply tolerance interfaces directly to legacy 12V-bus-derived rails with simple LDO regulators, while the 36 GPIO count handles multiple motor outputs and switch inputs. WWDT (Windowed Watchdog Timer) provides an additional safety net beyond the standard WDT. For systems requiring formal AEC-Q100 qualification, Microchip's automotive-graded PIC18 variants should be sourced instead.
おすすめ
USB HID Human Interface Device
Although the PIC18F47K40-E/P lacks an integrated USB peripheral, designers can implement low-speed USB HID devices using the EUSART plus an external bridge or use the CWG to bit-bang signaling with software USB stacks. 64 MHz CPU headroom comfortably supports 1 ms USB polling while still handling key-matrix scanning and LED animations. 128 KB Flash accommodates HID report descriptors, capacitive-touch firmware, and bootloaders via the PIC's self-programmable Flash. The 5V-tolerant I/O drives LEDs and optocouplers directly.
おすすめ
Educational and Hobby Electronics
The PIC18F47K40-E/P's 40-PDIP through-hole package is breadboard-friendly, making it ideal for university courses, maker projects, and rapid prototyping. Compatibility with PICkit 4 and ICD 4 programmers plus free MPLAB X IDE / XC8 compiler removes cost barriers. The 36 GPIO pins, multiple peripherals, and 128 KB Flash support projects ranging from line-following robots to home automation controllers. Microchip's PIC10/12/16/18 demo boards and tutorials provide ready-to-run code samples for ADC, PWM, I2C, and UART peripherals.
おすすめ
おすすめ製品の概要
エンジニアリング参考データ: PIC18F47K40-E/P — 比較、設計ガイダンス、コンプライアンス情報。
選定ガイド
代替品との比較
| パラメータ | この製品 | PIC18F47K40-I/P | PIC18F47K42-E/P | PIC18F46K40-E/P | PIC18F47J53-I/P |
|---|---|---|---|---|---|
| Brand | Microchip Technology | Microchip Technology | Microchip Technology | Microchip Technology | Microchip Technology |
| Package | 40-PDIP (P) | 40-PDIP (P) - same | 40-PDIP (P) - same | 40-PDIP (P) - same | 40-PDIP (P) - same |
| Flash Memory | 128 KB | 128 KB | 128 KB | 64 KB | 128 KB |
| SRAM | 3728 bytes | 3728 bytes | 8192 bytes | 3728 bytes | 3728 bytes |
| 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.0 V to 3.6 V |
| CPU Speed | 64 MHz (16 MIPS) | 64 MHz (16 MIPS) | 64 MHz (16 MIPS) | 64 MHz (16 MIPS) | 48 MHz (12 MIPS) |
| Temperature Range | -40 C to +125 C | -40 C to +85 C | -40 C to +125 C | -40 C to +125 C | -40 C to +85 C |
| Integrated USB | No | No | No | No | Yes (USB 2.0 FS OTG) |
| CIP Generation | K40 (CWG, WWDT, CRC/SCAN, SMT, CLC, HLT) | K40 (same) | K42 (more CIPs, 16-bit PWM, DSM) | K40 (same) | J53 (older, no CWG/CLC) |
主な差別化要因
- Highest Flash density in the 40-pin K40 family (vs PIC18F46K40-E/P)
- Extended temperature range (-40C to +125C) (vs PIC18F47K40-I/P)
- Rich Core Independent Peripheral (CIP) set on-chip (vs PIC18F47J53-I/P)
- 5V-tolerant supply rail (F variant) (vs PIC18F47J53-I/P)
設計ノート
The PIC18F47K40-E/P's VDD range is 2.3V to 5.5V; bypass VDD pins (20 and 20/40 area) with at least one 100 nF and one 10 uF low-ESR ceramic capacitor placed within 5 mm of the IC pins. For battery applications, use the PIC18LF47K40 for sub-2.3V operation. Enable the XLP sleep modes by setting IDLEN=0 and configuring unused peripherals to PMD bits; sleep currents drop below 100 nA with RTCC running.
Place decoupling capacitors on each VDD/VSS pair as close as possible to the pins. Use a single ground plane and route high-speed signals (EUSART, SPI) over continuous reference planes. ICSP pins RB6 (PGC) and RB7 (PGD) are shared with PORTB; ensure no load on these pins during in-circuit programming, or use isolation resistors to avoid programming conflicts.
Do not omit the MCLR pull-up resistor — a floating MCLR can cause spurious resets or prevent normal startup. Use 10 kohm to VDD for normal operation, or disable MCLR via the CONFIG register for direct VDD connection. The PIC18F47K40 has separate configuration registers for WDT, oscillator, and code protection; lock bits must be cleared during development. Do not exceed 5.5V on VDD or on any I/O pin, even momentarily, as it can damage the part.
The internal 64 MHz oscillator eliminates external crystal components and is accurate to within +/-2% over temperature. For UART communication at higher baud rates, calibrate the OSCTUNE register against a known reference (e.g., a PC COM port or a GPS 1PPS) to reduce bit-error rate. Long PCB traces to ADC inputs should be guarded or bypassed; the ADC sample-hold capacitor is sensitive to injection noise during conversion.
コンプライアンス情報
RoHS and lead-free compliant per Microchip product page (PIC18F47K40 family). Not AEC-Q100 qualified — for safety-critical automotive, select AEC-Q100-graded PIC18 variants. REACH and conflict-mineral compliance per Microchip corporate statements.