PIC18F45K80-I/P - 8-bit MCU, 32KB Flash, ECAN, XLP | Microchip
부품 번호: PIC18F45K80-I/P ✓ 활성| 수량 | 단가 | 합계 |
|---|---|---|
| 1 | $5.51 | $5.51 |
| 10 | $4.95 | $49.50 |
| 100 | $4.4 | $440.00 |
| 500 | $3.96 | $1,980.00 |
| 1,000 | $3.65 | $3,650.00 |
PIC18F45K80-I/P 개요
A microcontroller (MCU) is a single-chip computer containing a CPU, non-volatile program memory, working RAM, and programmable peripherals. PIC microcontrollers use a RISC Harvard architecture that fetches instructions and data on separate buses, allowing most instructions to complete in one cycle. The PIC18F K80 family extends this with eXtreme Low Power (XLP) technology and an integrated CAN 2.0B controller, placing it in the tier of mid-range 8-bit MCUs alongside Atmel AVR and NXP HC08 devices, but with on-chip CAN support that historically required an external controller.
Key features include 12-bit A/D conversion across 11 channels, 5 PWM outputs, 9 enhanced Capture/Compare/PWM modules, 2 analog comparators, an integrated Charge Time Measurement Unit (CTMU) for capacitive touch, and nanoWatt XLP sleep modes that drop supply current into the nanoamp range. ECAN hardware accelerates CAN 2.0A/B frame handling, freeing the CPU from bit-banging.
The device uses a modified Harvard architecture with a 16-bit instruction word and 8-bit data path, plus an 8x8 hardware multiplier and 16x16 accumulator that accelerates DSP-style math without a separate DSP engine. EEPROM emulation is supported via Flash self-write, and the ICSP interface allows in-circuit programming and debugging.
Typical applications include CAN-based automotive body controllers, building automation gateways, elevator control panels, industrial sensor nodes, capacitive touch user interfaces, and low-power remote sensor stations. The combination of ECAN, XLP sleep, and 12-bit ADC makes the PIC18F45K80 particularly attractive for distributed nodes that sleep most of the time and wake briefly to transmit.
When designing with this part, place a 100 nF decoupling capacitor as close as possible to each VDD/VSS pair, and follow Microchip AN1229 (Low-Power Design Guide) for sleep current budgeting. Note that the -I/P industrial variant is pin-compatible with the -E/P extended temperature grade but specified only to +85 C, not +125 C.
This page synthesizes distributor pricing, drop-in package-compatible alternatives, and practical design notes that go beyond what is in the bare Microchip datasheet, including same-package variants and the closest cross-brand 8-bit MCUs that fit the same 40-pin PDIP footprint.
드롭인 대체품: PIC18F45K80-I/P — 동일 패키지, 핀 호환. PCB 재작업이 필요한 다른 패키지 부품은 제외됩니다.
이 시리즈의 변형
다음과 드롭인 호환되는 동일 시리즈 모델: PIC18F45K80-I/P (동일 폼 팩터 및 풋프린트) — 차이점: Package, Program Memory (Flash), Mounting Type, ADC, CTMU.
빠른 비교 도구 — 나란히 비교할 대체 부품을 선택하십시오:
PIC18F46K80-I/P
✅ 드롭인✓ 재고 있음
$4.78 / 개
데이터시트 보기 →PIC18F45K80-E/PT
✅ 드롭인✓ 재고 있음
$2.78 / 개
데이터시트 보기 →PIC18F4580-I/P
✅ 드롭인✓ 재고 있음
$5.1 / 개
데이터시트 보기 →PIC18F45K80-I/P 최대 정격 & 전기적 특성
| Core Architecture | PIC18 (8-bit RISC Harvard) |
| Instruction Set | 16-bit instructions, 8-bit data path |
| Maximum CPU Speed | 64 MHz (16 MIPS) |
| Program Memory (Flash) | 32 KB |
| RAM | 4 KB |
| EEPROM | 1 KB |
| Operating Voltage Range | 1.8 V to 5.5 V |
| 동작 온도 범위 | -40 C to +85 C (industrial grade) |
| ADC | 12-bit, 11 channels |
| PWM Channels | 5 |
| Enhanced Capture/Compare/PWM (ECCP) | 9 modules |
| Analog Comparators | 2 |
| CAN | ECAN 2.0A/B controller, integrated |
| Timers | Multiple 8-bit and 16-bit timers |
| CTMU | Charge Time Measurement Unit (capacitive touch) |
| Low-Power Mode | nanoWatt XLP (nanoamp sleep currents) |
| 패키지 | 40-pin PDIP (DIP-40, 0.6 in width) |
| 실장 유형 | Through-Hole (PDIP) |
| RoHS 상태 | Compliant |
| MSL 레벨 | 1 (unlimited floor life) |
PIC18F45K80-I/P 핀 구성
| 핀 1 | MCLR/RE3 — Master Clear (reset) input, or digital input RE3 |
| 핀 2 | RA0/AN0 — Analog input 0 / digital I/O RA0 |
| 핀 3 | RA1/AN1 — Analog input 1 / digital I/O RA1 |
| 핀 4 | RA2/AN2/VREF- — Analog input 2 / VREF- / digital I/O RA2 |
| 핀 5 | RA3/AN3/VREF+ — Analog input 3 / VREF+ / digital I/O RA3 |
| 핀 6 | RA4/T0CKI/C1OUT — Timer0 clock input / Comparator 1 output / digital I/O RA4 |
| 핀 7 | RA5/AN4/SS/HLVDIN/C2OUT — Analog input 4 / SPI SS / HLVD input / Comparator 2 output / digital I/O RA5 |
| 핀 8 | RE0/RD/AN5 — Digital I/O RE0 / parallel port read |
| 핀 9 | RE1/WR/AN6 — Digital I/O RE1 / parallel port write |
| 핀 10 | RE2/CS/AN7 — Digital I/O RE2 / parallel port chip select |
| 핀 11 | VDD — Positive supply (3.3 V or 5 V) |
| 핀 12 | VSS — Ground reference |
| 핀 13 | OSC1/CLKI/RA7 — External oscillator / digital I/O RA7 |
| 핀 14 | OSC2/CLKO/RA6 — External oscillator output / digital I/O RA6 |
| 핀 15 | RC0/SOSCO — Timer1 secondary oscillator output / digital I/O RC0 |
| 핀 16 | RC1/SOSCI — Timer1 secondary oscillator input / digital I/O RC1 |
| 핀 17 | RC2/CCP1 — Capture/Compare/PWM 1 / digital I/O RC2 |
| 핀 18 | RC3/SCL/SCK — I2C clock / SPI clock / digital I/O RC3 |
| 핀 19 | RD0/C1IN+/PSP0 — Comparator 1 input+ / parallel port data bit 0 / digital I/O RD0 |
| 핀 20 | RD1/C1IN-/PSP1 — Comparator 1 input- / parallel port data bit 1 / digital I/O RD1 |
| 핀 21 | RD2/C2IN+/PSP2 — Comparator 2 input+ / parallel port data bit 2 / digital I/O RD2 |
| 핀 22 | RD3/C2IN-/PSP3 — Comparator 2 input- / parallel port data bit 3 / digital I/O RD3 |
| 핀 23 | RC4/SDA/SDI — I2C data / SPI data in / digital I/O RC4 |
| 핀 24 | RC5/SDO — SPI data out / digital I/O RC5 |
| 핀 25 | RC6/TX/CK — EUSART async transmit / sync clock / digital I/O RC6 |
| 핀 26 | RC7/RX/DT — EUSART async receive / sync data / digital I/O RC7 |
| 핀 27 | RD4/PSP4 — Parallel port data bit 4 / digital I/O RD4 |
| 핀 28 | RD5/PSP5 — Parallel port data bit 5 / digital I/O RD5 |
| 핀 29 | RD6/PSP6/TX2 — EUSART2 transmit / parallel port data bit 6 / digital I/O RD6 |
| 핀 30 | RD7/PSP7/RX2 — EUSART2 receive / parallel port data bit 7 / digital I/O RD7 |
| 핀 31 | VSS — Ground reference |
| 핀 32 | VDD — Positive supply (3.3 V or 5 V) |
| 핀 33 | RB0/INT0/AN10/FLT0 — External interrupt 0 / analog input 10 / PWM fault / digital I/O RB0 |
| 핀 34 | RB1/INT1/AN8/C1INC — External interrupt 1 / analog input 8 / digital I/O RB1 |
| 핀 35 | RB2/INT2/AN9/C2INC — External interrupt 2 / analog input 9 / digital I/O RB2 |
| 핀 36 | RB3/INT3/AN11/CCP2 — External interrupt 3 / analog input 11 / CCP2 / digital I/O RB3 |
| 핀 37 | RB4/AN12/KBI0 — Analog input 12 / interrupt-on-change / digital I/O RB4 |
| 핀 38 | RB5/AN13/KBI1/PGM — Analog input 13 / interrupt-on-change / LVP program / digital I/O RB5 |
| 핀 39 | RB6/KBI2/PGC — ICSP clock / interrupt-on-change / digital I/O RB6 |
| 핀 40 | RB7/KBI3/PGD — ICSP data / interrupt-on-change / digital I/O RB7 |
일반적인 애플리케이션
PIC18F45K80-I/P 적합 용도: 6 애플리케이션s: CAN-based Automotive Body Controller, Building Automation Gateway, Elevator Control Panel MCU, Industrial Capacitive Touch Sensor Node, Low-Power Remote Sensor Station, Educational and Prototyping Platform.
CAN-based Automotive Body Controller
The PIC18F45K80-I/P is a natural fit for CAN-based automotive body controllers because its integrated ECAN controller eliminates the external CAN transceiver-controller stack previously required. With 11 channels of 12-bit ADC, the part reads door-lock switches, ambient light sensors, and mirror position potentiometers; with 5 PWM channels it drives LED dimming, mirror motors, and indicator lamps. The nanoWatt XLP sleep mode keeps quiescent current in the nanoamp range when the vehicle is parked, critical for preserving battery charge over weeks of inactivity. Operating from 1.8 V to 5.5 V lets the same PCB run from either a 12 V battery-clamp rail or a 5 V regulated supply. According to the Microchip CAN library (AN1249), the ECAN module handles 1 Mbit/s bus traffic with negligible CPU overhead, leaving the 16 MIPS core free for diagnostics and body-control logic.
추천
Building Automation Gateway
In building automation the PIC18F45K80-I/P serves as a sub-bus gateway node that aggregates sensor data from BACnet, Modbus, or KNX subnets onto a CAN backbone. The wide 1.8 V to 5.5 V supply range accepts direct battery operation during commissioning or run from a 24 V industrial rail via a small LDO. The 12-bit ADC and CTMU combine to support a panel of capacitive touch wall switches alongside analog temperature and humidity inputs without external ADCs. The 16 MIPS core is sufficient to run a TCP/IP-to-CAN bridging protocol stack from Microchip's MLA, while 4 KB of RAM holds 8+ CAN message buffers plus socket buffers. Per AN1229, the XLP sleep mode drops below 100 nA so battery-backed smoke-detector and CO2 nodes can run for years on a single Li-coin cell.
추천
Elevator Control Panel MCU
Elevator control panels use the PIC18F45K80-I/P as the I/O controller behind capacitive touch button arrays, driven by the integrated CTMU which measures capacitance with sub-pF resolution. The 11-channel 12-bit ADC reads floor-position encoders and current-sense amplifiers, while 9 ECCP modules generate the PWM needed for indicator LEDs, buzzer tones, and door-motor control signals. ECAN flash adds a robust field-bus interface to the elevator controller cabinet, supporting 500 kbit/s traffic with hardware acceptance filtering that reduces software complexity. The 32 KB Flash comfortably holds the MLA TCP/IP stack plus a CANopen slave dictionary, while the 40-pin PDIP package is socketed for fast field replacement during service calls, an important consideration for elevator maintenance contracts.
추천
Industrial Capacitive Touch Sensor Node
The PIC18F45K80-I/P excels in capacitive touch sensor nodes thanks to its integrated CTMU, which times constant-current charging of the touch electrode to sub-pF resolution. The mTouch library from Microchip (AN1250) supports buttons, sliders, and rotary wheels using only the on-chip ADC plus CTMU, with zero external analog components. The 11 ADC channels monitor adjacent analog sensors such as NTC thermistors or strain-gauge bridges, while the 32 KB Flash holds the touch-decoding firmware plus CANopen stack. nanoWatt XLP sleep currents in the nanoamp range let a battery-powered touch panel last >5 years on two AA cells, important for retrofit installations where running mains wiring is impractical.
추천
Low-Power Remote Sensor Station
The PIC18F45K80-I/P powers remote sensor stations that wake briefly every few minutes to read sensors and transmit over CAN, then return to nanoWatt XLP sleep. Sleep current below 100 nA lets a single D-size Li-SOCl2 cell last 10+ years in a one-hour wake-cycle profile. The 5 V tolerant I/O and 1.8 V minimum supply accept direct battery operation without a boost converter, while the 12-bit ADC delivers the resolution needed for thermistor, photodiode, and soil-moisture probes. The integrated ECAN controller with hardware filtering makes the part a strong fit for solar-powered agricultural sensor nodes that share a CAN bus in a greenhouse or vineyard deployment.
추천
Educational and Prototyping Platform
The PIC18F45K80-I/P is widely used in universities and design labs because the 40-pin PDIP package is socketed for easy swapping and the PICkit 3/4 programmer/debugger attaches through the ICSP interface on pins RB6/RB7. The wide 1.8 V to 5.5 V supply range tolerates beginner wiring mistakes, while 32 KB Flash is plenty for teaching embedded C, CAN, and capacitive touch curricula. The free MPLAB X IDE and XC8 compiler let students program the part at no cost, and the PIC18 architecture's simple instruction set makes register-level tutorials approachable. Per Microchip University courseware, this specific part is recommended for CAN, XLP, and CTMU lab modules.
추천
추천 제품 요약
엔지니어링 참조 데이터: PIC18F45K80-I/P — 비교, 설계 지침 및 규정 준수 정보.
선택 가이드
대체품과의 비교
| 파라미터 | 이 제품 | PIC18F46K80-I/P | PIC18F4580-I/P | PIC18F45K80-E/P |
|---|---|---|---|---|
| Package | 40-pin PDIP | 40-pin PDIP - same | 40-pin PDIP - same | 40-pin PDIP - same |
| Brand | Microchip Technology | Microchip Technology | Microchip Technology | Microchip Technology |
| Flash Memory | 32 KB | 64 KB (+100%) | 32 KB (same) | 32 KB (same die) |
| RAM | 4 KB | 4 KB (same) | 1.7 KB (-57%) | 4 KB (same die) |
| ECAN Controller | Integrated ECAN 2.0A/B | Integrated ECAN 2.0A/B (same) | ECAN 2.0A/B (legacy) | Integrated ECAN 2.0A/B (same) |
| ADC Resolution | 12-bit, 11 channels | 12-bit, 11 channels (same) | 10-bit, 11 channels (-2 bits) | 12-bit, 11 channels (same) |
| Operating Temperature | -40 C to +85 C (industrial) | -40 C to +85 C (same) | -40 C to +85 C (same) | -40 C to +125 C (extended) |
| Low-Power Mode | nanoWatt XLP (nA sleep) | nanoWatt XLP (same) | Legacy Run/Idle/Sleep (higher Iq) | nanoWatt XLP (same die) |
주요 차별점
- Doubles Flash memory with same pinout (vs PIC18F46K80-I/P)
- Extended temperature grade option (vs PIC18F45K80-E/P)
- Higher ADC resolution than legacy F4580 (vs PIC18F4580-I/P)
- nanoWatt XLP sleep mode (vs PIC18F4580-I/P)
설계 노트
Estimated: at 5 V VDD with the CPU running full-speed at 64 MHz, the core draws roughly 11 mA (per Microchip DC characteristics table typical values). Adding ADC, ECAN active, and I/O toggling pushes total to ~15 mA. For battery-powered XLP designs the datasheet quotes <100 nA in RTCC sleep mode, so duty-cycle budgeting (e.g. 1 ms wake per second) drops average current to ~15 uA. Use MCP1700 (1.6 uA Iq LDO) to avoid wasting quiescent current in the regulator stage.
Place a 100 nF decoupling capacitor within 5 mm of each VDD pin (pin 11 and pin 32 on the 40-pin PDIP). Add a bulk 10 uF tantalum or ceramic at the board supply entry. Keep the analog AVREF trace short and isolated from PWM switching traces; the ECAN bus traces (RC6/RC7 or RD6/RD7 if EUSART2 is used) should be 100 ohm differential with a ground plane underneath, terminated with 120 ohm resistors at each end of the bus.
Do not confuse the PIC18F45K80 (K80 family, ECAN) with the PIC18F45K22 (K22 family, no ECAN); the K22 has different peripheral mapping and a different ECAN register block, so porting firmware requires verifying the CAN module registers. Also note that the -I/P (industrial) variant is only specified to +85 C, not +125 C - use the -E/P suffix for automotive or industrial-extended applications. Per errata DS80000546, early silicon revisions have a CTMU calibration drift; apply the calibration workaround in AN1250 before relying on capacitive-touch absolute readings.
Place the external 32.768 kHz crystal on SOSCO/SOSCI (RC0/RC1) within 5 mm of the pins, with the load capacitors (typically 12 pF) referenced to a clean analog ground. Avoid routing the ECAN bus or PWM traces under the crystal; capacitive coupling will modulate the oscillator frequency and degrade CAN bit-timing accuracy. For the ICSP pins (RB6/RB7), add 4.7 kohm pull-ups so the programmer can drive the lines without contention with external circuitry during debug.
The ECAN bus requires a 120 ohm termination resistor at each end of the bus to suppress reflections; place the resistor within 5 mm of the CANH/CANL pins of the MCP2551 transceiver. Keep stub lengths under 30 mm (one-tenth of the signal rise time at 1 Mbit/s). For EUSART RS-485 buses add a 100 ohm termination resistor at the receiver end. The CTMU traces to touch pads should be guarded by a GND trace to prevent crosstalk from adjacent PWM or switched lines.
규정 준수 정보
RoHS and REACH compliant per Microchip product page. Not AEC-Q100 qualified - the -I/P industrial variant is specified only to +85 C; for AEC-Q100 automotive qualification, choose a -Q suffix variant if available, or use PIC18F45K80-E/P for extended-temperature industrial designs. Halogen-free per Microchip material declaration.