PIC18F87J50-I/PT - 8-Bit 48MHz USB MCU 128KB Flash | Microchip
N.º da peça: PIC18F87J50-I/PT ✓ Ativo| Qtd. | Preço unitário | Total |
|---|---|---|
| 1 | $9.85 | $9,85 |
| 10 | $9.1 | $91,00 |
| 100 | $8.2 | $820,00 |
| 250 | $7.55 | $1.887,50 |
| 500 | $7.05 | $3.525,00 |
| 1.000 | $6.4 | $6.400,00 |
PIC18F87J50-I/PT Visão geral
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.
Alternativas drop-in para PIC18F87J50-I/PT — mesmo encapsulamento, compatível pino a pino. Peças de encapsulamento diferente que exigem retrabalho na PCB são excluídas.
Variantes desta série
Modelos da mesma série compatíveis como drop-in com PIC18F87J50-I/PT (mesmo formato e footprint) — diferindo em ADC, Package, Operating Temperature, Core Architecture, I/O Pins.
Ferramenta de comparação rápida — selecione peças alternativas para comparação lado a lado:
PIC18F87J90-I/PT
✅ Drop-In✓ Em estoque
$6.1 / unidade
Ver ficha técnica →PIC18F86J50-I/PT
✅ Drop-In📋 Alternativa de referência (fora do catálogo)
PIC18F85J50-I/PT
✅ Drop-In✓ Em estoque
$3.8 / unidade
Ver ficha técnica →PIC18F87J10-I/PT
✅ Drop-In✓ Em estoque
$5.1 / unidade
Ver ficha técnica →PIC18F8722-I/PT
✅ Drop-In✓ Em estoque
$6.5 / unidade
Ver ficha técnica →PIC18F87J50-I/PT Classificações máximas e características elétricas
| 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 |
| Encapsulamento | 80-pin TQFP (PT), 12 x 12 mm, 1 mm height |
| Tipo de montagem | 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) |
| Temperatura de operação | -40 C to +85 C (industrial, -I suffix) |
| Nível MSL | 3 (per JEDEC J-STD-020) |
| Status RoHS | Compliant |
Configuração de pinos do PIC18F87J50-I/PT
| Pino 1 | OSC2 — Crystal/oscillator output; connects to external quartz or resonator |
| Pino 2 | OSC1 — Crystal/oscillator input; external clock source |
| Pino 3 | RA0 — Bidirectional I/O or analog input (AN0) |
| Pino 4 | RA1 — Bidirectional I/O or analog input (AN1) |
| Pino 5 | RA2 — Bidirectional I/O or analog input (AN2) |
| Pino 6 | RA3 — Bidirectional I/O or analog input (AN3) |
| Pino 7 | RA4 — Bidirectional I/O, ADC reference; shared with T0CKI |
| Pino 8 | RA5 — Bidirectional I/O or analog input (AN4) |
| Pino 9 | VSS — Ground reference |
| Pino 10 | RA6 — Bidirectional I/O or analog input (AN5) |
| Pino 11 | RA7 — Bidirectional I/O or analog input (AN6) |
| Pino 12 | RB0 — Bidirectional I/O; interrupt-on-change |
| Pino 13 | RB1 — Bidirectional I/O; interrupt-on-change |
| Pino 14 | RB2 — Bidirectional I/O; interrupt-on-change |
| Pino 15 | RB3 — Bidirectional I/O; interrupt-on-change |
| Pino 16 | RB4 — Bidirectional I/O; interrupt-on-change |
| Pino 17 | RB5 — Bidirectional I/O; interrupt-on-change; programming clock |
| Pino 18 | RB6 — Bidirectional I/O; interrupt-on-change; programming data |
| Pino 19 | RB7 — Bidirectional I/O; interrupt-on-change |
| Pino 20 | VSS — Ground reference |
| Pino 21 | VDD — Digital supply voltage |
| Pino 22 | RC0 — Bidirectional I/O or PWM1 output |
| Pino 23 | RC1 — Bidirectional I/O or PWM2 output |
| Pino 24 | RC2 — Bidirectional I/O or PWM3 output |
| Pino 25 | RC3 — Bidirectional I/O or PWM4 output |
| Pino 26 | RC4 — Bidirectional I/O; USB D- on micro variants |
| Pino 27 | RC5 — Bidirectional I/O; USB D+ on micro variants |
| Pino 28 | RC6 — Bidirectional I/O; UART TX |
| Pino 29 | RC7 — Bidirectional I/O; UART RX |
| Pino 30 | VSS — Ground reference |
| Pino 31 | VDD — Digital supply voltage |
| Pino 32 | D- — USB Full-Speed data minus (D-) |
| Pino 33 | D+ — USB Full-Speed data plus (D+) |
| Pino 34 | VBUS — USB bus voltage detection input |
| Pino 35 | RD0 — Bidirectional I/O / data bus bit 0 |
| Pino 36 | RD1 — Bidirectional I/O / data bus bit 1 |
| Pino 37 | RD2 — Bidirectional I/O / data bus bit 2 |
| Pino 38 | RD3 — Bidirectional I/O / data bus bit 3 |
| Pino 39 | RD4 — Bidirectional I/O / data bus bit 4 |
| Pino 40 | RD5 — Bidirectional I/O / data bus bit 5 |
| Pino 41 | RD6 — Bidirectional I/O / data bus bit 6 |
| Pino 42 | RD7 — Bidirectional I/O / data bus bit 7 |
| Pino 43 | VSS — Ground reference |
| Pino 44 | VDD — Digital supply voltage |
| Pino 45 | RE0 — Bidirectional I/O / address bus bit 0 |
| Pino 46 | RE1 — Bidirectional I/O / address bus bit 1 |
| Pino 47 | RE2 — Bidirectional I/O / address bus bit 2 |
| Pino 48 | RE3 — Bidirectional I/O / address bus bit 3 |
| Pino 49 | RE4 — Bidirectional I/O / address bus bit 4 |
| Pino 50 | RE5 — Bidirectional I/O / address bus bit 5 |
| Pino 51 | RE6 — Bidirectional I/O / address bus bit 6 |
| Pino 52 | RE7 — Bidirectional I/O / address bus bit 7 |
| Pino 53 | VSS — Ground reference |
| Pino 54 | VDD — Digital supply voltage |
| Pino 55 | RF0 — Bidirectional I/O / address bus bit 8 |
| Pino 56 | RF1 — Bidirectional I/O / address bus bit 9 |
| Pino 57 | RF2 — Bidirectional I/O / address bus bit 10 |
| Pino 58 | RF3 — Bidirectional I/O / address bus bit 11 |
| Pino 59 | RF4 — Bidirectional I/O / address bus bit 12 |
| Pino 60 | RF5 — Bidirectional I/O / address bus bit 13 |
| Pino 61 | RF6 — Bidirectional I/O / address bus bit 14 |
| Pino 62 | RF7 — Bidirectional I/O / address bus bit 15 |
| Pino 63 | AVDD — Analog supply for ADC |
| Pino 64 | AVSS — Analog ground for ADC |
| Pino 65 | RG0 — Bidirectional I/O; CCS trigger |
| Pino 66 | RG1 — Bidirectional I/O |
| Pino 67 | RG2 — Bidirectional I/O |
| Pino 68 | RG3 — Bidirectional I/O |
| Pino 69 | RG4 — Bidirectional I/O |
| Pino 70 | VSS — Ground reference |
| Pino 71 | VDD — Digital supply voltage |
| Pino 72 | RH0 — Bidirectional I/O |
| Pino 73 | RH1 — Bidirectional I/O |
| Pino 74 | RH2 — Bidirectional I/O |
| Pino 75 | RH3 — Bidirectional I/O |
| Pino 76 | RH4 — Bidirectional I/O |
| Pino 77 | RH5 — Bidirectional I/O |
| Pino 78 | RH6 — Bidirectional I/O |
| Pino 79 | RH7 — Bidirectional I/O |
| Pino 80 | MCLR/VPP — Master clear reset input / programming voltage |
Aplicações típicas
PIC18F87J50-I/PT é adequado para 6 aplicaçãos: 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.
Recomendado
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).
Recomendado
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.
Recomendado
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).
Recomendado
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.
Recomendado
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).
Recomendado
Resumo dos produtos recomendados
Dados de referência de engenharia para PIC18F87J50-I/PT — comparação, orientação de projeto e informações de conformidade.
Guia de seleção
Comparação com alternativas
| Parâmetro | Este produto | 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) |
Principais diferenciais
- Largest Flash density in same-package 80-pin PIC18J family (vs PIC18F86J50-I/PT)
- Integrated USB 2.0 FS SIE eliminates external PHY (vs PIC18F8722-I/PT)
- picoPower Deep-Sleep mode extends battery lifetime (vs PIC18F86J50-I/PT)
Notas de projeto
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.
Informações de conformidade
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).