main
Ray Publish 0.1.0 d7c5ad1

PIC18F15Q40-I

Microchip Tech · Single Chip Microcomputer/Microcontroller · VQFN-20(3x3)

PIC18F15Q40-I from Microchip Tech, in a VQFN-20(3x3). Pinout and pin descriptions extracted from the manufacturer datasheet (extract_pins, cross-checked by a second model). Symbol, footprint, and 3D from KiCad-official CAD.

Pinout

Pin Name Type Function
1 RA3/MCLR/VPP input Input-only pin RA3 that acts as the MCLR Master Clear reset input when MCLRE is set, or as the VPP high-voltage programming pin.
2 RC5 bidirectional PORTC pin RC5 that also provides analog input ANC5, Timer3 clock T3CKI, Timer0 clock T0CKI, CCP1 input, PWM input 1, UART3 CTS and DSM carrier high input, selectable via PPS.
3 RC4 bidirectional PORTC pin RC4 that also provides analog input ANC4 and Timer3 gate input T3G, selectable via PPS.
4 RC3 bidirectional PORTC pin RC3 that also provides analog input ANC3, comparator inputs C1IN3- and C2IN3-, PWM input 2, CLC input 1 and UART3 RX, selectable via PPS.
5 RC6 bidirectional PORTC pin RC6 that also provides analog input ANC6, Timer1 clock T1CKI and SPI1 slave select SS1, selectable via PPS.
6 RC7 bidirectional PORTC pin RC7 that provides analog input ANC7 and interrupt-on-change IOCC7.
7 RB7 bidirectional PORTB pin RB7 that also provides analog input ANB7, SPI2 clock SCK2 and UART1 CTS, selectable via PPS.
8 RB6 bidirectional PORTB pin RB6 that also provides analog input ANB6, SPI1 clock SCK1 and I2C1 clock SCL1 with I2C logic levels.
9 RB5 bidirectional PORTB pin RB5 that also provides analog input ANB5, CLC input 3, SPI2 data input SDI2 and UART1 RX, selectable via PPS.
10 RB4 bidirectional PORTB pin RB4 that also provides analog input ANB4, CLC input 2, SPI1 data input SDI1 and I2C1 data SDA1 with I2C logic levels.
11 RC2 bidirectional PORTC pin RC2 that also provides analog input ANC2, ADC conversion trigger ADACT, comparator inputs C1IN2- and C2IN2-, PWM3 external reset, UART2 CTS, DSM carrier low and INT2 external interrupt.
12 RC1 bidirectional PORTC pin RC1 that also provides analog input ANC1, comparator inputs C1IN1- and C2IN1-, Timer4 input T4IN, PWM2 external reset, UART2 RX and INT1 external interrupt.
13 RC0 bidirectional PORTC pin RC0 that also provides analog input ANC0, comparator input C2IN0+ and INT0 external interrupt.
14 RA2 bidirectional PORTA pin RA2 that also provides analog input ANA2, ADC/DAC1/DAC2 negative reference VREF-, DAC1OUT2 output, ZCD input, CWG input and CLC input 0.
15 RA1/ICSPCLK bidirectional PORTA pin RA1 that also provides analog input ANA1, positive reference VREF+ for ADC and DACs, comparator inputs C1IN0- and C2IN0-, SPI2 slave select SS2, DSM source input and the ICSP clock ICSPCLK.
16 RA0/ICSPDAT bidirectional PORTA pin RA0 that also provides analog input ANA0, DAC1OUT1 output, comparator input C1IN0+ and the ICSP data pin ICSPDAT.
17 VSS power_in Ground reference pin for the device; the datasheet requires all VSS pins to be connected.
18 VDD power_in Positive supply pin for the device; the datasheet requires a 0.1 uF bypass capacitor to VSS on this pin.
19 RA5/CLKIN/OSC1 bidirectional PORTA pin RA5 that also provides analog input ANA5, Timer2 input T2IN, SMT1 window input, PWM1 external reset, and the external clock input CLKIN or primary oscillator pin OSC1 or secondary oscillator input SOSCI.
20 RA4/CLKOUT/OSC2 bidirectional PORTA pin RA4 that also provides analog input ANA4, Timer1 gate input T1G, SMT1 signal input, and CLKOUT, primary oscillator pin OSC2 or secondary oscillator output SOSCO.
21 EP passive Exposed pad (from the footprint; not named in the datasheet pin table).

Key specifications

Parameter Value
Manufacturer Microchip Tech
Package VQFN-20(3x3)
Category Single Chip Microcomputer/Microcontroller
Pins 21

Electrical characteristics

Limits as printed in the datasheet (page.json metadata.characteristics carries them as data).

Parameter Symbol Min Typ Max Unit Conditions Page
Ambient temperature under bias TA -40 125 °C 875
Storage temperature TSTORE -65 150 °C 875
Voltage on VDD pin with respect to VSS VDD -0.3 6.5 V 875
Voltage on MCLR pin with respect to VSS MCLR -0.3 9 V 875
Voltage on all other pins with respect to VSS -0.3 V on all other pins; printed upper limit is VDD + 0.3V 875
Maximum current on VSS pin 350 mA -40°C ≤ TA ≤ +85°C 875
Maximum current on VSS pin 120 mA 85°C < TA ≤ +125°C 875
Maximum current on any standard I/O pin -50 50 mA 875
Clamp current IK -20 20 mA VPIN < 0 or VPIN > VDD 875
Total power dissipation 800 mW 875
Operating supply voltage VDD 1.8 5.5 V 877
Industrial operating ambient temperature range TA -40 85 °C Industrial temperature range 876
Extended operating ambient temperature range TA -40 125 °C Extended temperature range 876
RAM data retention voltage VDR 1.7 V Device in Sleep mode 877
VDD rise rate to ensure internal Power-on Reset signal SVDD 0.05 V/ms BOR and LPBOR disabled 877
Supply current XT = 4 MHz IDDXT4 640 870 μA 3.0V 878
Supply current XT = 4 MHz, PMD all 1's IDDXT4 490 700 μA 3.0V, PMD's all 1's 878
Supply current HFINTOSC = 16 MHz IDDHFO16 2 2.5 mA 3.0V 878
Supply current HFINTOSC = 16 MHz, PMD all 1's IDDHFO16 1.5 1.9 mA 3.0V, PMD's all 1's 878
Supply current HFINTOSC = 64 MHz IDDHFOPLL 6.7 8.2 mA 3.0V 878
Supply current HFINTOSC = 64 MHz, PMD all 1's IDDHFOPLL 4.5 5.4 mA 3.0V, PMD's all 1's 878
Supply current HS+PLL = 64 MHz IDDHSPLL64 5.6 13.8 mA 3.0V 878
Supply current Idle mode, HFINTOSC = 16 MHz IDDIDLE 1.4 1.8 mA 3.0V 878
Supply current Doze mode, HFINTOSC = 16 MHz, Doze Ratio = 16 IDDDOZE 1.5 1.9 mA 3.0V 878
Power-down current IPD base IPD 1.1 3.3 μA 3.0V, VREGPM 'b11, max at +85°C 879
Power-down current IPD base IPD 1.1 4.6 μA 3.0V, VREGPM 'b11, max at +125°C 879
Power-down current IPD base IPD 0.9 12.1 μA 3.0V, VREGPM 'b10, max at +85°C 879
Power-down current IPD base IPD 0.9 33.3 μA 3.0V, VREGPM 'b10, max at +125°C 879
Power-down current IPD base IPD 29.5 45.5 μA 3.0V, VREGPM 'b01, max at +85°C 879
Power-down current IPD base IPD 152 190 μA 3.0V, VREGPM 'b00, max at +85°C 879
Input low voltage, I/O port with TTL buffer VIL 0.8 V 4.5V ≤ VDD ≤ 5.5V 880
Input low voltage, I/O port with SMBus 2.0 VIL 0.8 V 2.7V ≤ VDD ≤ 5.5V 880
Input low voltage, I/O port with SMBus 3.0 VIL 0.8 V 880
Input high voltage, I/O port with TTL buffer VIH 2 V 4.5V ≤ VDD ≤ 5.5V 880
Input high voltage, I/O port with SMBus 2.0 VIH 2.1 V 2.7V ≤ VDD ≤ 5.5V 880
Input high voltage, I/O port with SMBus 3.0 VIH 1.35 V 880
Input leakage current, I/O ports IIL -125 125 nA VSS ≤ VPIN ≤ VDD, pin at high-impedance, 85°C 881
Input leakage current, I/O ports IIL -1000 1000 nA VSS ≤ VPIN ≤ VDD, pin at high-impedance, 125°C 881
Weak pull-up current IPUR 80 140 200 μA VDD = 3.0V, VPIN = VSS 881
Output low voltage, I/O ports VOL 0.6 V IOL = 10.0 mA, VPIN = 3.0V 881
Pin capacitance, all I/O pins CIO 5 50 pF 881
Brown-out Reset voltage VBOR 2.7 2.85 3 V BORV = 00 889
Brown-out Reset voltage VBOR 2.55 2.7 2.85 V BORV = 01 889
Brown-out Reset voltage VBOR 2.3 2.45 2.6 V BORV = 10 889
Brown-out Reset voltage VBOR 1.8 1.9 2.1 V BORV = 11 889
High/Low-voltage detect trip point VDET VDET 1.73 1.9 2.07 V HLVDSEL = 0000 889
High/Low-voltage detect trip point VDET VDET 4.23 4.65 5.07 V HLVDSEL = 1110 889
FVR 2x gain output accuracy VFVR2 -4 4 % VDD ≥ 2.5V, -40°C to 85°C 893
FVR 4x gain output accuracy VFVR4 -5 5 % VDD ≥ 4.75V, -40°C to 85°C 893
Internal LFINTOSC frequency FLFOSC 27.9 31 34.1 kHz 885
Secondary oscillator clock frequency FSEC 32.4 32.768 33.1 kHz 884
System clock frequency FOSC 64 MHz Note 2, Note 3 884
HS oscillator clock frequency FHS 20 MHz VDD > 2.5V 884
Instruction period TCY 62.5 ns 884
Thermal resistance junction to ambient, 20-pin VQFN θJA 79.7 °C/W 20-pin VQFN package 882
Maximum junction temperature TJMAX 150 °C 882
Power-on Reset release voltage VPOR 1.6 V BOR and LPBOR disabled 877
Power-on Reset rearm voltage VPORR 1 V BOR and LPBOR disabled 877

Materials and finish

As the datasheet states them (page.json metadata.appearance; the 3D model's colours follow it).

Part Material Colour / plating Datasheet says Page
housing PPS body RxyPPS 362

CAD (KiCad official)

  • Symbol: PIC18F15Q40-I
  • Footprint: Package_DFN_QFN:QFN-20-1EP_3x3mm_P0.4mm_EP1.65x1.65mm
  • 3D model: VQFN-20(3x3), generated on the KiCad land (body 3 x 3 mm, terminals on the pads, 0.85 mm tall, datasheet A, nominal). Neither the vendor nor KiCad ships a 3D model for this package, so the dimensions come from the datasheet drawing where it was read and are defaults otherwise (see provenance.model_3d_generated), not the manufacturer's CAD (STEP)
  • 3D model files: pic18f15q40-i-reb-etched.step / pic18f15q40-i-reb-etched.glb carry the MPN laser-etched on the die in a toggleable Adom.LaserEtch group (Fusion-ready); pic18f15q40-i-reb.step / pic18f15q40-i-reb.glb are the bare package body.

Provenance

Data extracted from the manufacturer datasheet, not a distributor listing:

  • Datasheet: Microchip Tech datasheet (929 pp, sha256 ce30644d611621ec, retrieved 2026-11-23)
  • Extractor: parts-factory 2.0.0 / extract_pins 0.3, primary claude-haiku-5-5 (text), consensus claude-sonnet-5-5 (agreed), guards: pin_guards 0.1: passed. Pins are checked against the footprint pad set and their cited datasheet pages before publish.
  • CAD: KiCad official libraries (CC-BY-SA 4.0).

Datasheet PDF