PIC18F87J50-I/PT - 8-Bit 48MHz USB MCU 128KB Flash | Microchip
MPN: PIC18F87J50-I/PT ✓ AktifPIC18F87J50-I/PT Ringkasan
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.
Alternatif penggantian untuk PIC18F87J50-I/PT — paket yang sama, pin-pada-pin kompatibel. Bagian paket yang berbeda memerlukan kerja ulang PCB diabaikan.
Variasi di dalam seri ini
Model-series yang sama yang kompatibel dengan penggantian PIC18F87J50-I/PT (sama faktor bentuk dan footprint) — berbeda di dalam ADC, Package, Operating Temperature, Core Architecture, I/O Pins.
PIC18F87J90-I/PT
✅ Drop-InKontak untuk harga
Lihat Datasheet →PIC18F86J50-I/PT
✅ Drop-In📋 Alternatif referensi (tidak dalam katalog)
PIC18F85J50-I/PT
✅ Drop-InKontak untuk harga
Lihat Datasheet →PIC18F87J10-I/PT
✅ Drop-InKontak untuk harga
Lihat Datasheet →PIC18F8722-I/PT
✅ Drop-InKontak untuk harga
Lihat Datasheet →PIC18F87J50-I/PT Rating Maksimal & Karakteristik Listrik
| 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 |
| Paket | 80-pin TQFP (PT), 12 x 12 mm, 1 mm height |
| Tipe Mounting | 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) |
| Suhu Kerja | -40 C to +85 C (industrial, -I suffix) |
| Level MSL | 3 (per JEDEC J-STD-020) |
| Status RoHS | Compliant |
Konfigurasi Pin PIC18F87J50-I/PT
| Pin produk 1 | OSC2 — Crystal/oscillator output; connects to external quartz or resonator |
| Pin produk 2 | OSC1 — Crystal/oscillator input; external clock source |
| Pin produk 3 | RA0 — Bidirectional I/O or analog input (AN0) |
| Pin produk 4 | RA1 — Bidirectional I/O or analog input (AN1) |
| Pin produk 5 | RA2 — Bidirectional I/O or analog input (AN2) |
| Pin produk 6 | RA3 — Bidirectional I/O or analog input (AN3) |
| Pin produk 7 | RA4 — Bidirectional I/O, ADC reference; shared with T0CKI |
| Pin produk 8 | RA5 — Bidirectional I/O or analog input (AN4) |
| Pin produk 9 | VSS — Ground reference |
| Pin produk 10 | RA6 — Bidirectional I/O or analog input (AN5) |
| Pin produk 11 | RA7 — Bidirectional I/O or analog input (AN6) |
| Pin produk 12 | RB0 — Bidirectional I/O; interrupt-on-change |
| Pin produk 13 | RB1 — Bidirectional I/O; interrupt-on-change |
| Pin produk 14 | RB2 — Bidirectional I/O; interrupt-on-change |
| Pin produk 15 | RB3 — Bidirectional I/O; interrupt-on-change |
| Pin produk 16 | RB4 — Bidirectional I/O; interrupt-on-change |
| Pin produk 17 | RB5 — Bidirectional I/O; interrupt-on-change; programming clock |
| Pin produk 18 | RB6 — Bidirectional I/O; interrupt-on-change; programming data |
| Pin produk 19 | RB7 — Bidirectional I/O; interrupt-on-change |
| Pin produk 20 | VSS — Ground reference |
| Pin produk 21 | VDD — Digital supply voltage |
| Pin produk 22 | RC0 — Bidirectional I/O or PWM1 output |
| Pin produk 23 | RC1 — Bidirectional I/O or PWM2 output |
| Pin produk 24 | RC2 — Bidirectional I/O or PWM3 output |
| Pin produk 25 | RC3 — Bidirectional I/O or PWM4 output |
| Pin produk 26 | RC4 — Bidirectional I/O; USB D- on micro variants |
| Pin produk 27 | RC5 — Bidirectional I/O; USB D+ on micro variants |
| Pin produk 28 | RC6 — Bidirectional I/O; UART TX |
| Pin produk 29 | RC7 — Bidirectional I/O; UART RX |
| Pin produk 30 | VSS — Ground reference |
| Pin produk 31 | VDD — Digital supply voltage |
| Pin produk 32 | D- — USB Full-Speed data minus (D-) |
| Pin produk 33 | D+ — USB Full-Speed data plus (D+) |
| Pin produk 34 | VBUS — USB bus voltage detection input |
| Pin produk 35 | RD0 — Bidirectional I/O / data bus bit 0 |
| Pin produk 36 | RD1 — Bidirectional I/O / data bus bit 1 |
| Pin produk 37 | RD2 — Bidirectional I/O / data bus bit 2 |
| Pin produk 38 | RD3 — Bidirectional I/O / data bus bit 3 |
| Pin produk 39 | RD4 — Bidirectional I/O / data bus bit 4 |
| Pin produk 40 | RD5 — Bidirectional I/O / data bus bit 5 |
| Pin produk 41 | RD6 — Bidirectional I/O / data bus bit 6 |
| Pin produk 42 | RD7 — Bidirectional I/O / data bus bit 7 |
| Pin produk 43 | VSS — Ground reference |
| Pin produk 44 | VDD — Digital supply voltage |
| Pin produk 45 | RE0 — Bidirectional I/O / address bus bit 0 |
| Pin produk 46 | RE1 — Bidirectional I/O / address bus bit 1 |
| Pin produk 47 | RE2 — Bidirectional I/O / address bus bit 2 |
| Pin produk 48 | RE3 — Bidirectional I/O / address bus bit 3 |
| Pin produk 49 | RE4 — Bidirectional I/O / address bus bit 4 |
| Pin produk 50 | RE5 — Bidirectional I/O / address bus bit 5 |
| Pin produk 51 | RE6 — Bidirectional I/O / address bus bit 6 |
| Pin produk 52 | RE7 — Bidirectional I/O / address bus bit 7 |
| Pin produk 53 | VSS — Ground reference |
| Pin produk 54 | VDD — Digital supply voltage |
| Pin produk 55 | RF0 — Bidirectional I/O / address bus bit 8 |
| Pin produk 56 | RF1 — Bidirectional I/O / address bus bit 9 |
| Pin produk 57 | RF2 — Bidirectional I/O / address bus bit 10 |
| Pin produk 58 | RF3 — Bidirectional I/O / address bus bit 11 |
| Pin produk 59 | RF4 — Bidirectional I/O / address bus bit 12 |
| Pin produk 60 | RF5 — Bidirectional I/O / address bus bit 13 |
| Pin produk 61 | RF6 — Bidirectional I/O / address bus bit 14 |
| Pin produk 62 | RF7 — Bidirectional I/O / address bus bit 15 |
| Pin produk 63 | AVDD — Analog supply for ADC |
| Pin produk 64 | AVSS — Analog ground for ADC |
| Pin produk 65 | RG0 — Bidirectional I/O; CCS trigger |
| Pin produk 66 | RG1 — Bidirectional I/O |
| Pin produk 67 | RG2 — Bidirectional I/O |
| Pin produk 68 | RG3 — Bidirectional I/O |
| Pin produk 69 | RG4 — Bidirectional I/O |
| Pin produk 70 | VSS — Ground reference |
| Pin produk 71 | VDD — Digital supply voltage |
| Pin produk 72 | RH0 — Bidirectional I/O |
| Pin produk 73 | RH1 — Bidirectional I/O |
| Pin produk 74 | RH2 — Bidirectional I/O |
| Pin produk 75 | RH3 — Bidirectional I/O |
| Pin produk 76 | RH4 — Bidirectional I/O |
| Pin produk 77 | RH5 — Bidirectional I/O |
| Pin produk 78 | RH6 — Bidirectional I/O |
| Pin produk 79 | RH7 — Bidirectional I/O |
| Pin produk 80 | MCLR/VPP — Master clear reset input / programming voltage |
Aplikasi Umum
PIC18F87J50-I/PT cocok untuk 6 aplikasis: 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.
Direkomendasikan
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).
Direkomendasikan
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.
Direkomendasikan
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).
Direkomendasikan
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.
Direkomendasikan
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).
Direkomendasikan
Ringkasan Produk Direkomendasikan
Data referensi engineering untuk PIC18F87J50-I/PT — pembandingan, panduan desain, dan informasi konformitas.
Panduan Pemilihan
Pembandingan dengan Alternatif
| Parameter Umum | Produk Ini | 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) |
Diferensiator Kunci
- 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)
Catatan Desain
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.
Informasi Konformitas
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).