PIC18F46K40-I/P - 64KB Flash, 8-Bit MCU, 40-PDIP | Microchip
부품 번호: PIC18F46K40-I/P ✓ 활성| 수량 | 단가 | 합계 |
|---|---|---|
| 1 | $3.95 | $3.95 |
| 10 | $3.55 | $35.50 |
| 100 | $3.1 | $310.00 |
| 500 | $2.75 | $1,375.00 |
| 1,000 | $2.4 | $2,400.00 |
PIC18F46K40-I/P 개요
An 8-bit microcontroller (MCU) is a programmable processor that executes instructions 8 bits at a time, paired with on-chip Flash, RAM, EEPROM, and peripherals. The PIC18 family extends the baseline PIC16 architecture with a 16-bit instruction word, linear program memory up to 128 KB, hardware multiplier, and priority-interrupt handling. Within that hierarchy, PIC18F46K40-I/P sits in the K40 sub-family — Microchip's XLP eXtreme Low-Power + Core Independent Peripheral tier — targeting battery and 5 V mixed-signal designs.
Headline features include 64 KB self-programmable Flash, 4 KB RAM, 256 B EEPROM, 36 I/O pins, 10-bit ADC up to 35 channels, up to 2 comparators, and PWM/CCP/CWG/HLT/CRC peripherals. XLP nanoWatt technology drives active current to ~50 µA/MIPS and sleep current below 100 nA, enabling years of operation from a single battery. The 64 MHz internal oscillator eliminates the external crystal in many designs.
Architecturally, the K40 uses Harvard buses with separate program Flash and data SRAM paths, an 8x8 hardware multiplier for 16-bit math in one cycle, and a 31-level hardware stack. CIPs like CWG (Complementary Waveform Generator) and configurable logic cells let events trigger without CPU wake-up, reducing firmware load for sensor-front-end, motor-control, and SMPS housekeeping loops.
Typical applications include industrial IoT sensor nodes, home appliance user-interface controllers, automotive body and lighting modules, USB-CDC/HID peripherals, low-power wireless sensor hubs, and small motor / fan speed controllers. Wide 2.3 V–5.5 V operation allows drop-in use on legacy 5 V rails alongside modern 3.3 V subsystems.
Design tip: route a 0.1 µF decoupling capacitor within 3 mm of every VDD/VSS pair and keep VDD/VSS traces short. Leave ICSPCLK/ICSPDAT accessible for in-circuit programming and debugging, and consult the device errata before locking the final silicon revision.
This page synthesizes distributor stock, same- and cross-brand drop-in alternatives, application notes, and parameter comparisons not aggregated on any single manufacturer or distributor page, helping engineers choose confidently between PIC18F46K40-I/P and its siblings for cost, AEC-Q100, or footprint reasons.
드롭인 대체품: PIC18F46K40-I/P — 동일 패키지, 핀 호환. PCB 재작업이 필요한 다른 패키지 부품은 제외됩니다.
이 시리즈의 변형
다음과 드롭인 호환되는 동일 시리즈 모델: PIC18F46K40-I/P (동일 폼 팩터 및 풋프린트) — 차이점: Package, Program Memory (Flash), ADC, Operating Temperature, Timers.
빠른 비교 도구 — 나란히 비교할 대체 부품을 선택하십시오:
PIC18F45K40-I/P
✅ 드롭인📋 참조 대체품 (카탈로그에 없음)
PIC18F4620-I/PT
✅ 드롭인✓ 재고 있음
$5.45 / 개
데이터시트 보기 →PIC18F458-I/P
✅ 드롭인✓ 재고 있음
$7.45 / 개
데이터시트 보기 →PIC18F45Q43-I/P
✅ 드롭인✓ 재고 있음
$2.62 / 개
데이터시트 보기 →PIC18F46K40-I/P 최대 정격 & 전기적 특성
| Family | PIC18 (XLP) |
| Core | PIC18 8-bit RISC |
| Program Memory (Flash) | 64 KB (32K x 16) |
| RAM | 4 KB |
| EEPROM | 256 B |
| Maximum CPU Frequency | 64 MHz (16 MIPS) |
| Supply Voltage (VDD) | 2.3 V to 5.5 V |
| I/O Pins | 36 |
| ADC | 10-bit, up to 35 channels (ADC2 with Computation) |
| DAC | 5-bit, 1 channel |
| Comparators | Up to 2 |
| PWM Modules | CCP + CWG + PWM |
| Timers | WWDT + multiple 8/16-bit timers |
| 패키지 | 40-pin PDIP (P) |
| 동작 온도 | -40C to +85C (Industrial, 'I' suffix) |
| 실장 유형 | Through-Hole (DIP) |
| Programming | ICSP (In-Circuit Serial Programming) and ICD |
PIC18F46K40-I/P 핀 구성
| 핀 1 | RA2 — Digital I/O / analog input |
| 핀 2 | RA3 — Digital I/O / analog input |
| 핀 3 | RA4 — Digital I/O |
| 핀 4 | RA5 — Digital I/O |
| 핀 5 | RA6 — Digital I/O |
| 핀 6 | OSC1 — Crystal / external clock input |
| 핀 7 | OSC2 — Crystal output |
| 핀 8 | VDD — Positive supply (2.3 V - 5.5 V) |
| 핀 9 | VSS — Ground |
| 핀 10 | ICSPDAT — In-Circuit Serial Programming data |
| 핀 11 | ICSPCLK — In-Circuit Serial Programming clock |
| 핀 12 | RB0 — Digital I/O / analog input |
| 핀 13 | RB1 — Digital I/O / analog input |
| 핀 14 | RB2 — Digital I/O / analog input |
| 핀 15 | RB3 — Digital I/O / analog input |
| 핀 16 | RB4 — Digital I/O |
| 핀 17 | RB5 — Digital I/O |
| 핀 18 | RB6 — Digital I/O |
| 핀 19 | RB7 — Digital I/O |
| 핀 20 | VSS — Ground |
| 핀 21 | VDD — Positive supply |
| 핀 22 | RC0 — Digital I/O |
| 핀 23 | RC1 — Digital I/O |
| 핀 24 | RC2 — Digital I/O |
| 핀 25 | RC3 — Digital I/O |
| 핀 26 | RC4 — Digital I/O |
| 핀 27 | RC5 — Digital I/O |
| 핀 28 | RC6 — Digital I/O |
| 핀 29 | RC7 — Digital I/O |
| 핀 30 | RE0 — Digital I/O |
| 핀 31 | RE1 — Digital I/O |
| 핀 32 | RE2 — Digital I/O |
| 핀 33 | RE3 — Digital I/O |
| 핀 34 | MCLR — Master Clear (active-low reset) |
| 핀 35 | RD0 — Digital I/O |
| 핀 36 | RD1 — Digital I/O |
| 핀 37 | RD2 — Digital I/O |
| 핀 38 | RD3 — Digital I/O |
| 핀 39 | RD4 — Digital I/O |
| 핀 40 | RD5 — Digital I/O |
일반적인 애플리케이션
PIC18F46K40-I/P 적합 용도: 7 애플리케이션s: Industrial IoT Sensor Node, Home Appliance User-Interface Controller, Automotive Body and Lighting Module, Low-Power Wireless Sensor Hub, USB HID / CDC Peripheral, Small Motor / Fan Speed Controller, Sensor Front-End with Local Decision Logic.
Industrial IoT Sensor Node
The PIC18F46K40-I/P fits industrial IoT sensor nodes thanks to XLP nanoWatt sleep currents below 100 nA and Core Independent Peripherals that let the device stay in deep sleep while ADC2, comparators, and CWG watch inputs. The wide 2.3 V-5.5 V VDD lets the same board run from a 3.3 V LDO or a 5 V industrial rail. With 64 KB Flash it can host MQTT-over-LoRa/TLS lite stacks or Modbus firmware, and 36 I/O drive multiple sensor channels.
추천
Home Appliance User-Interface Controller
PIC18F46K40-I/P is well suited to home-appliance user-interface controllers, where the 64 MHz core, 10-bit ADC2 with Computation, and CCP/CWG/PWM give designers glitch-free capacitive-touch scanning and buzzer/H-bridge control. The 5 V tolerance makes it tolerant of legacy appliance harness voltages, and 64 KB Flash comfortably holds segmented-LCD or matrix-key UI state machines plus motor-control algorithms.
추천
Automotive Body and Lighting Module
For automotive body / lighting modules, the PIC18F46K40-I/P provides 5 V tolerance across 2.3-5.5 V rails (typical of body controllers) with 64 KB Flash for CAN-friendly / LIN-friendly firmware stacks. The CWG (Complementary Waveform Generator) drives FET half-bridges for LED lighting and the comparators handle over-current protection without CPU wake-up, reducing BOM by replacing analog discrete comparators.
추천
Low-Power Wireless Sensor Hub
The PIC18F46K40-I/P is a strong fit for low-power wireless sensor hubs because XLP nanoWatt technology keeps quiescent current under 100 nA in deep sleep while the 5-bit DAC + comparators qualify external sensor events. With 64 KB Flash and the 64 MHz core, the part can run small Zigbee/Thread/BLE-side application-layer code via SPI-attached radio modules without bogging down.
추천
USB HID / CDC Peripheral
PIC18F46K40-I/P can act as the brains of a low-cost USB HID / CDC peripheral, using MPLAB CODE CONFIGURATOR to enable the on-chip USB SIE-less bit-banged mode paired with a USB-capable companion chip. The 64 KB Flash is ample for USB descriptors, report formatting, and a custom command set; 36 I/O is plenty for keyboard-mouse combos or measurement-reporting CDC devices.
추천
Small Motor / Fan Speed Controller
For small motor / fan speed control the PIC18F46K40-I/P brings CCP/PWM plus the CWG (Complementary Waveform Generator) to drive MOSFET half-bridges with deterministic dead-time. The 10-bit ADC2 with Computation gives BLDC back-EMF sampling and over-current monitoring, while 64 KB Flash holds a small 6-step or FOC field-oriented control loop for fans and small appliances.
추천
Sensor Front-End with Local Decision Logic
In a sensor-front-end with local decision logic, PIC18F46K40-I/P uses its configurable logic cells and CWG to qualify sensor events without waking the CPU — events that would normally draw mA can now run on <1 µA bias. The 36 I/O cover parallel RGB / environmental sensors and the 5-bit DAC drives reference-voltage trimming in analog front-ends, while 64 KB Flash runs adaptive filtering algorithms.
추천
추천 제품 요약
엔지니어링 참조 데이터: PIC18F46K40-I/P — 비교, 설계 지침 및 규정 준수 정보.
선택 가이드
대체품과의 비교
| 파라미터 | 이 제품 | PIC18F45K40-I/P | PIC18F4620-I/P | PIC18F458-I/P | PIC18F45Q43-I/P |
|---|---|---|---|---|---|
| Package | PDIP-40 | PDIP-40 - same | PDIP-40 - same | PDIP-40 - same | PDIP-40 - same |
| Brand | Microchip Technology | Microchip Technology | Microchip Technology | Microchip Technology | Microchip Technology |
| Program Memory (Flash) | 64 KB | 32 KB (-50%) | 64 KB (same) | 32 KB (-50%) | 32 KB (-50%) |
| RAM | 4 KB | 4 KB (same) | 3.9 KB (same) | 1.5 KB (-62%) | 2 KB (-50%) |
| EEPROM | 256 B | 256 B (same) | 256 B (same) | 256 B (same) | 256 B (same) |
| Maximum CPU Frequency | 64 MHz (16 MIPS) | 64 MHz (same) | 40 MHz (-37%) | 40 MHz (-37%) | 64 MHz (same) |
| Supply Voltage (VDD) | 2.3 V to 5.5 V | 2.3 V to 5.5 V (same) | 2.0 V to 5.5 V (-0.3 V min, near-match) | 2.0 V to 5.5 V (near-match) | 2.3 V to 5.5 V (same) |
| I/O Pins | 36 | 36 (same) | 36 (same) | 33 (-8%) | 36 (same) |
| XLP / NanoWatt Sleep | Yes (<100 nA) | Yes (same) | No | No | Yes (next-gen) |
주요 차별점
- Best-in-class XLP low-power architecture (vs PIC18F4620-I/P)
- Core Independent Peripherals (CWG, configurable logic cells) (vs PIC18F45K40-I/P)
- 64 KB Flash with F6 family pinout (vs PIC18F458-I/P)
설계 노트
Estimated: with VDD = 3.3 V, all peripherals off and CPU in sleep, the data sheet lists typical sleep current under 100 nA at 25 C. With the 64 MHz core active, expect 5-15 mA active current at full I/O load. Place a 0.1 µF ceramic decoupling capacitor within 3 mm of every VDD/VSS pin pair and a 1 µF bulk capacitor near pin 21 (VDD).
Route the ICSPDAT/ICSPCLK lines (pins 10/11) and MCLR (pin 34) to a programming/debug header that is accessible after PCB assembly, since these pins are required for in-circuit programming with MPLAB ICD 3 or PICkit. Keep the high-frequency oscillator traces (OSC1/OSC2) short and guard them with a ground pour to reduce EMI susceptibility.
Always read the PIC18F46K40 silicon errata (Microchip publication DS80000785 family) before locking your design — early revisions had ADC2 and PWM-related anomalies that are documented there. Verify the 'I' temperature grade (-40 C to +85 C) matches your deployment, and never operate the part outside its 2.3 V to 5.5 V range, as VDD spikes above 5.5 V will permanently damage the silicon.
규정 준수 정보
Per Microchip product page, PIC18F46K40-I/P is RoHS compliant and lead-free. Industrial 'I' temperature grade (-40 to +85 C). AEC-Q100 qualification is NOT claimed for this Industrial-grade part — for AEC-Q100 automotive grade consult PIC18F46K40-E/P or Q-graded variants; halogen-free status not explicitly stated on Microchip product page.