PIC18F87J50-I/PT - 8-Bit 48MHz USB MCU 128KB Flash | Microchip
MPN: PIC18F87J50-I/PT ✓ Hoạt độngPIC18F87J50-I/PT Tóm tắt
An 8-bit microcontroller (MCU) is a single-chip computer that integrates a CPU, RAM, non-volatile program memory, peripherals, and I/O on one die; within Microchip's taxonomy the PIC18 family sits above the baseline PIC10/12/16 series and below the PIC24/dsPIC parts, while the J-suffix '18J' family specifically supports low-voltage 3.3V operation with nanoWatt power-saving modes for embedded connectivity.
Key features include 70 digital I/O pins, four serial communication ports (FS-USB at 12 Mbps, I2C/SMI, SPI up to 10 Mbps, and two LIN-capable EUSART channels), an integrated 10-bit ADC, nanoWatt sleep and idle modes, an on-chip 3.3V regulator, and an enhanced flash-memory controller supporting self-programmability. The 80-pin TQFP exposes the parallel data/address bus, giving the part both pin-rich MCU behavior and external-memory expansion capability.
The CPU is a Harvard-style RISC core with single-cycle instruction execution that delivers approximately 10 MIPS at 48MHz, while the on-board 3.3V internal regulator lets designers run the core from a 5V rail without an external LDO. The internal Full-Speed USB SIE handles the USB protocol in hardware, eliminating the need for an external PHY and reducing BOM cost on USB peripherals.
Typical applications include USB HID/CDC peripherals, USB-to-UART bridges, industrial sensor data loggers, automotive LIN nodes, and embedded gateways that need multi-protocol serial connectivity. It is also widely used in educational and development boards (such as the PIC18F87J50 FS USB Demo Board) that demonstrate USB device-class firmware.
When designing with the PIC18F87J50, reserve at least one decoupling 0.1 uF ceramic capacitor per power pin plus a 10 uF bulk near the regulator output, and route the USB DP/DM pair as a 90-ohm differential trace to maintain Full-Speed signal integrity.
This page synthesizes distributor pricing, drop-in PIC18J-family alternatives, and practical design notes into a single reference not found in the manufacturer datasheet alone.
Bộ thay thế dễ dàng lắp đặt cho PIC18F87J50-I/PT — cùng gói, chân-to-chân tương thích. Các bộ phận yêu cầu hàn PCB bị loại trừ.
Các biến thể trong loạt này
Các mẫu cùng loạt có thể lắp đặt dễ dàng tương thích với PIC18F87J50-I/PT (cùng hình factor và footprint) — khác nhau ở ADC, Package, Operating Temperature, Core Architecture, I/O Pins.
PIC18F87J90-I/PT
✅ Drop-InLiên hệ để biết giá
Xem tài liệu →PIC18F86J50-I/PT
✅ Drop-In📋 Tham chiếu thay thế (không có trong danh mục)
PIC18F85J50-I/PT
✅ Drop-InLiên hệ để biết giá
Xem tài liệu →PIC18F87J10-I/PT
✅ Drop-InLiên hệ để biết giá
Xem tài liệu →PIC18F8722-I/PT
✅ Drop-InLiên hệ để biết giá
Xem tài liệu →PIC18F87J50-I/PT Tỷ lệ tối đa & tính chất điện
| Product Series | PIC18F87Jxx (PIC18J family) |
| CPU Architecture | 8-bit PIC18 RISC, Harvard |
| Program Memory (Flash) | 128 KB (64K x 16) |
| RAM | 3,936 bytes |
| Maximum Clock Speed | 48 MHz |
| Performance | Up to 10 MIPS |
| Supply Voltage (Vdd) | 2.0 V to 3.6 V core (4.2 V to 5.5 V via internal regulator) |
| I/O Pins | 70 |
| Hộp | 80-pin TQFP (PT), 12 x 12 mm, 1 mm height |
| Kiểu lắp đặt | Surface Mount |
| USB Peripheral | USB 2.0 Full-Speed / Low-Speed device (12 Mbps) |
| Communication Interfaces | FS-USB, 2x EUSART (LIN-capable), 2x MSSP (I2C/SPI up to 10 Mbps) |
| ADC | 10-bit, multi-channel |
| Power-Saving Modes | nanoWatt (Sleep, Idle, Deep Sleep variants) |
| Nhiệt độ hoạt động | -40 C to +85 C (industrial, -I suffix) |
| Cấp MSL | 3 (per JEDEC J-STD-020) |
| Trạng thái RoHS | Compliant |
Cấu hình chân PIC18F87J50-I/PT
| Chân 1 | OSC2 — Crystal/oscillator output; connects to external quartz or resonator |
| Chân 2 | OSC1 — Crystal/oscillator input; external clock source |
| Chân 3 | RA0 — Bidirectional I/O or analog input (AN0) |
| Chân 4 | RA1 — Bidirectional I/O or analog input (AN1) |
| Chân 5 | RA2 — Bidirectional I/O or analog input (AN2) |
| Chân 6 | RA3 — Bidirectional I/O or analog input (AN3) |
| Chân 7 | RA4 — Bidirectional I/O, ADC reference; shared with T0CKI |
| Chân 8 | RA5 — Bidirectional I/O or analog input (AN4) |
| Chân 9 | VSS — Ground reference |
| Chân 10 | RA6 — Bidirectional I/O or analog input (AN5) |
| Chân 11 | RA7 — Bidirectional I/O or analog input (AN6) |
| Chân 12 | RB0 — Bidirectional I/O; interrupt-on-change |
| Chân 13 | RB1 — Bidirectional I/O; interrupt-on-change |
| Chân 14 | RB2 — Bidirectional I/O; interrupt-on-change |
| Chân 15 | RB3 — Bidirectional I/O; interrupt-on-change |
| Chân 16 | RB4 — Bidirectional I/O; interrupt-on-change |
| Chân 17 | RB5 — Bidirectional I/O; interrupt-on-change; programming clock |
| Chân 18 | RB6 — Bidirectional I/O; interrupt-on-change; programming data |
| Chân 19 | RB7 — Bidirectional I/O; interrupt-on-change |
| Chân 20 | VSS — Ground reference |
| Chân 21 | VDD — Digital supply voltage |
| Chân 22 | RC0 — Bidirectional I/O or PWM1 output |
| Chân 23 | RC1 — Bidirectional I/O or PWM2 output |
| Chân 24 | RC2 — Bidirectional I/O or PWM3 output |
| Chân 25 | RC3 — Bidirectional I/O or PWM4 output |
| Chân 26 | RC4 — Bidirectional I/O; USB D- on micro variants |
| Chân 27 | RC5 — Bidirectional I/O; USB D+ on micro variants |
| Chân 28 | RC6 — Bidirectional I/O; UART TX |
| Chân 29 | RC7 — Bidirectional I/O; UART RX |
| Chân 30 | VSS — Ground reference |
| Chân 31 | VDD — Digital supply voltage |
| Chân 32 | D- — USB Full-Speed data minus (D-) |
| Chân 33 | D+ — USB Full-Speed data plus (D+) |
| Chân 34 | VBUS — USB bus voltage detection input |
| Chân 35 | RD0 — Bidirectional I/O / data bus bit 0 |
| Chân 36 | RD1 — Bidirectional I/O / data bus bit 1 |
| Chân 37 | RD2 — Bidirectional I/O / data bus bit 2 |
| Chân 38 | RD3 — Bidirectional I/O / data bus bit 3 |
| Chân 39 | RD4 — Bidirectional I/O / data bus bit 4 |
| Chân 40 | RD5 — Bidirectional I/O / data bus bit 5 |
| Chân 41 | RD6 — Bidirectional I/O / data bus bit 6 |
| Chân 42 | RD7 — Bidirectional I/O / data bus bit 7 |
| Chân 43 | VSS — Ground reference |
| Chân 44 | VDD — Digital supply voltage |
| Chân 45 | RE0 — Bidirectional I/O / address bus bit 0 |
| Chân 46 | RE1 — Bidirectional I/O / address bus bit 1 |
| Chân 47 | RE2 — Bidirectional I/O / address bus bit 2 |
| Chân 48 | RE3 — Bidirectional I/O / address bus bit 3 |
| Chân 49 | RE4 — Bidirectional I/O / address bus bit 4 |
| Chân 50 | RE5 — Bidirectional I/O / address bus bit 5 |
| Chân 51 | RE6 — Bidirectional I/O / address bus bit 6 |
| Chân 52 | RE7 — Bidirectional I/O / address bus bit 7 |
| Chân 53 | VSS — Ground reference |
| Chân 54 | VDD — Digital supply voltage |
| Chân 55 | RF0 — Bidirectional I/O / address bus bit 8 |
| Chân 56 | RF1 — Bidirectional I/O / address bus bit 9 |
| Chân 57 | RF2 — Bidirectional I/O / address bus bit 10 |
| Chân 58 | RF3 — Bidirectional I/O / address bus bit 11 |
| Chân 59 | RF4 — Bidirectional I/O / address bus bit 12 |
| Chân 60 | RF5 — Bidirectional I/O / address bus bit 13 |
| Chân 61 | RF6 — Bidirectional I/O / address bus bit 14 |
| Chân 62 | RF7 — Bidirectional I/O / address bus bit 15 |
| Chân 63 | AVDD — Analog supply for ADC |
| Chân 64 | AVSS — Analog ground for ADC |
| Chân 65 | RG0 — Bidirectional I/O; CCS trigger |
| Chân 66 | RG1 — Bidirectional I/O |
| Chân 67 | RG2 — Bidirectional I/O |
| Chân 68 | RG3 — Bidirectional I/O |
| Chân 69 | RG4 — Bidirectional I/O |
| Chân 70 | VSS — Ground reference |
| Chân 71 | VDD — Digital supply voltage |
| Chân 72 | RH0 — Bidirectional I/O |
| Chân 73 | RH1 — Bidirectional I/O |
| Chân 74 | RH2 — Bidirectional I/O |
| Chân 75 | RH3 — Bidirectional I/O |
| Chân 76 | RH4 — Bidirectional I/O |
| Chân 77 | RH5 — Bidirectional I/O |
| Chân 78 | RH6 — Bidirectional I/O |
| Chân 79 | RH7 — Bidirectional I/O |
| Chân 80 | MCLR/VPP — Master clear reset input / programming voltage |
Ứng dụng tiêu biểu
PIC18F87J50-I/PT phù hợp cho 6 Áp dụngs: USB Full-Speed HID Peripherals, USB-to-UART / Industrial Bridge, Industrial Sensor Data Logger, Automotive LIN/J2602 Nodes, Educational / Maker Development Platforms, Medical Device Communication Interfaces.
USB Full-Speed HID Peripherals
The PIC18F87J50-I/PT is purpose-built for USB HID devices: its on-chip 12 Mbps SIE handles Full-Speed USB protocol in hardware, eliminating the external PHY and reducing BOM cost for keyboards, game controllers, custom input devices, and USB data-acquisition modules. The 128 KB Flash comfortably fits Microchip's free USB HID class stack plus application firmware, while the 70 I/O pins expose enough buttons, LEDs, and serial expansion for mid-complexity peripherals. Unlike an external USB controller, the integrated USB SIE + 48 MHz PIC18 core delivers deterministic latency with no extra firmware cycles spent servicing the bus. Trade-off: at 48 MHz full CPU load, current consumption rises to roughly 25 mA, so USB HID designs targeting bus-powered segments of the USB budget need to gate peripheral power. Recommended companions are TPD1E04U04 (ESD diode on DP/DM) and the SN65LVPE502 dual USB 2.0 redriver for downstream ports.
Được đề xuất
USB-to-UART / Industrial Bridge
The PIC18F87J50-I/PT operates as a high-density USB-to-UART bridge, mapping 2x EUSART (LIN-capable) plus 2x MSSP (I2C/SPI up to 10 Mbps) channels to a host PC via USB CDC. Each of the four serial ports is independent so up to four legacy devices can be exposed as virtual COM ports on the host side, which is ideal for industrial gateways, RS-232 service ports, and field-service equipment retrofits. The 48 MHz core and 10 MIPS throughput keep latency under 1 ms at 115200 baud without DMA, so control loops in the host can treat the bridge as transparent. Unlike an FTDI-only UART bridge, the '87J50 also exposes USB vendor-class endpoints for custom protocols. Trade-off: CEC/CSC firmware overhead means effective throughput tops out at roughly 800 kbps aggregate across all four ports. Recommended companions are MAX3232 (RS-232 line driver) and the TBD (USB ESD protection array).
Được đề xuất
Industrial Sensor Data Logger
The PIC18F87J50-I/PT's 70 I/O pins, 10-bit ADC, 4 serial peripherals, and 128 KB of Flash make it well-suited for multi-channel sensor data logging in industrial applications. Designers can connect 8-12 analog sensors (RTDs, thermocouples, pressure transducers) directly to the ADC inputs plus dozens of digital sensors over the four serial buses, with sample data streamed to a host via USB or buffered to an external EEPROM through the parallel data/address bus. The nanoWatt deep-sleep mode drops quiescent current to single-digit microamps, allowing battery-saver mode between sample bursts over 24-48 hour unattended runs. Trade-off: the on-chip Flash does not support wear-leveling like NAND, so logging applications that need month-long retention should pair the part with a small external EEPROM (e.g. 24LC512). Recommended companions are MCP3424 (16-bit ADC companion) and TBD battery backup IC for RTC timestamp.
Được đề xuất
Automotive LIN/J2602 Nodes
The PIC18F87J50-I/PT's LIN-capable EUSART, wide operating temperature range (-40 C to +85 C industrial grade), and 5V-tolerant I/O support J2602 LIN slave nodes for in-cabin and body-electronics clusters. Each of the two EUSART blocks can be configured for LIN master/slave with hardware-driven break/sync detection, eliminating the firmware overhead of bit-banging. The 80-pin TQFP package exposes dedicated CCP and PWM pins for supplementary motor control loops. Trade-off: the -I grade is industrial, not AEC-Q100 qualified, so this part is best suited for aftermarket telematics or non-safety automotive modules. Recommended companions are TLE7259-3 (LIN transceiver) and the MCP2551 (CAN fallback for harness nodes).
Được đề xuất
Educational / Maker Development Platforms
The PIC18F87J50-I/PT is widely used in textbooks, training curricula, and maker development boards that demonstrate full USB device-class firmware, real-time I/O, and multi-protocol serial bridging. Microchip's official PIC18F87J50 FS USB Demo Board uses this exact part to teach USB enumerator, HID, CDC, and DFU bootloaders, and the generous 128 KB Flash allows demonstration of full USB stacks plus bootloader in a single image. Students also benefit from the 70 I/O pins, which expose enough GPIO for breadboard-friendly prototyping. Trade-off: the 80-pin TQFP requires careful thermal management in dense prototype harnesses, so educational kits are best paired with break-out boards. Recommended companions are the pickit-4 debugger (PICkit 4 PG164140) and the Curiosity HPC development board.
Được đề xuất
Medical Device Communication Interfaces
The PIC18F87J50-I/PT integrates a USB Full-Speed device, RS-232-capable EUSART, and I2C/SPI peripherals that suit medical device interface boards for patient monitors, bedside diagnostic instruments, and laboratory analyzers. The 128 KB of Flash provides ample headroom for FDA-documented code bases plus modular communication stacks, and the wide 70 GPIO count lets engineers drive LCDs, keypads, and status indicators. USB CDC emulates a virtual COM port to host-side medical record software, while the I2C bus connects to sensor front-ends and the SPI bus to display controllers. Trade-off: this is an industrial-grade (not medical-AEC-Q100) part; medical IEC 60601-1 compliance requires the OEM to implement isolation and EMC mitigations around the MCU. Recommended companions are ADuM3160 (USB isolator) and MAX78615 (medical isolation transformer).
Được đề xuất
Tóm tắt các sản phẩm được đề xuất
Dữ liệu tham khảo kỹ thuật cho PIC18F87J50-I/PT — so sánh, hướng dẫn thiết kế và thông tin tuân thủ.
Hướng dẫn chọn lựa
So sánh với các sản phẩm thay thế
| Tham số | Sản phẩm này | PIC18F87J90-I/PT | PIC18F86J50-I/PT | PIC18F85J50-I/PT | PIC18F87J10-I/PT | PIC18F8722-I/PT |
|---|---|---|---|---|---|---|
| Brand | Microchip Technology | Microchip Technology | Microchip Technology | Microchip Technology | Microchip Technology | Microchip Technology |
| Package | TQFP-80 (PT), 12 x 12 mm | TQFP-80 (PT) - same | TQFP-80 (PT) - same | TQFP-80 (PT) - same | TQFP-80 (PT) - same | TQFP-80 (PT) - same |
| Program Memory (Flash) | 128 KB | 128 KB | 64 KB (-50%) | 32 KB (-75%) | 16 KB (-87%) | 128 KB |
| Maximum Clock | 48 MHz (10 MIPS) | 48 MHz | 48 MHz | 48 MHz | 40 MHz (-17%) | 40 MHz (-17%) |
| USB Peripheral | USB 2.0 FS + LS SIE (12 Mbps) | USB 2.0 FS + LS SIE | USB 2.0 FS + LS SIE | USB 2.0 FS + LS SIE | USB 2.0 FS + LS SIE | None (5V native) |
| Supply Voltage Range | 2.0 V to 3.6 V core (4.2-5.5 V via reg.) | 2.0 V to 3.6 V | 2.0 V to 3.6 V | 2.0 V to 3.6 V | 2.0 V to 3.6 V | 4.2 V to 5.5 V (5V native) |
| I/O Pins | 70 | 70 | 70 | 70 | 70 | 70 |
| Power-Saving Modes | nanoWatt (Sleep, Idle) | picoPower nanoWatt + Deep Sleep | nanoWatt (Sleep, Idle) | nanoWatt (Sleep, Idle) | nanoWatt (Sleep, Idle) | NanoPower (Sleep, Idle) |
Bảo phân biệt quan trọng
- Largest Flash density in same-package 80-pin PIC18J family (vsPIC18F86J50-I/PT)
- Integrated USB 2.0 FS SIE eliminates external PHY (vsPIC18F8722-I/PT)
- picoPower Deep-Sleep mode extends battery lifetime (vsPIC18F86J50-I/PT)
Ghi chú thiết kế
Place a 0.1 uF decoupling capacitor on each VDD/VDDCORE pin pair within 2 mm of the pin. Add a 10 uF bulk capacitor at the regulator output (VDDCORE) and a second 10 uF bulk at the USB VBUS-related rail. Route the USB DP/DM trace as a 90-ohm differential pair with series impedance matching; keep the pair length-matched to within 150 mil to maintain Full-Speed signal integrity.
Reserved 'no-connect' pins on the 80-pin TQFP can be tied to VSS through a 100 kohm resistor to reduce EMI susceptibility, but do not route signals near the high-speed USB DP/DM pair. Keep the crystal oscillator traces short and symmetric, and provide an analog ground island around AVDD/AVSS if the ADC is used in noisy environments. The exposed thermal pad on the bottom of the TQFP package should be soldered to the PCB for thermal relief.
Estimated: at 48 MHz CPU clock and Full-Speed USB 12 Mbps traffic, simultaneous peripheral activity (4x UART + 2x SPI at 10 Mbps peak) can starve the USB isochronous endpoint if packet service time exceeds 1 ms. Add a software endpoint priority scheme (USB SOF-driven scheduling) and ensure no single UART FIFO overflows the USB poll interval. The DP/DM pair needs an external ESD diode array (e.g., TPD1E04U04) rated for IEC 61000-4-2 air discharge; without it, hot-plug events can latch the USB transceiver into POR.
Thông tin tuân thủ
Industrial-grade (-40C to +85C), RoHS compliant per Microchip product page. Not AEC-Q100 qualified; the -I suffix is industrial grade. For automotive AEC-Q100 designs consider the PIC18F87J50-I/PT-...QFN automotive variants (separate ordering code).