Generated by kicad-footprint-generator · KiCad file format 20260206
PIC18F27K40T-I
Microchip Tech · Microcontroller Units (MCUs/MPUs/SOCs) · SSOP-28-208mil
PIC18F27K40T-I from Microchip Tech, in a SSOP-28-208mil. 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 | RE3/MCLR/VPP | input | Input-only pin RE3 that serves as the MCLR/VPP function (device Reset when MCLR is enabled) and as an interrupt-on-change input (IOCE3). |
| 2 | RA0 | bidirectional | PORTA bit 0 with analog input ANA0, comparator inputs C1IN0-/C2IN0-, and interrupt-on-change IOCA0, with a weak pull-up available. |
| 3 | RA1 | bidirectional | PORTA bit 1 with analog input ANA1, comparator inputs C1IN1-/C2IN1-, and interrupt-on-change IOCA1, with a weak pull-up available. |
| 4 | RA2 | bidirectional | PORTA bit 2 with analog input ANA2, DAC1OUT1, Vref- (DAC and ADC), comparator inputs C1IN0+/C2IN0+, and interrupt-on-change IOCA2. |
| 5 | RA3 | bidirectional | PORTA bit 3 with analog input ANA3, Vref+ (DAC and ADC), comparator input C1IN1+, DSM carrier-low output MDCARL, and interrupt-on-change IOCA3. |
| 6 | RA4 | bidirectional | PORTA bit 4 with analog input ANA4, Timer0 clock input T0CKI, DSM carrier-high output MDCARH, and interrupt-on-change IOCA4. |
| 7 | RA5 | bidirectional | PORTA bit 5 with analog input ANA5, DSM source input MDSRC, MSSP slave select SS1, and interrupt-on-change IOCA5. |
| 8 | VSS | power_in | Ground reference pin for the device. |
| 9 | RA7/CLKIN/OSC1 | bidirectional | PORTA bit 7 with analog input ANA7, interrupt-on-change IOCA7, and the OSC1/CLKIN oscillator input in the oscillator modes that use it. |
| 10 | RA6/CLKOUT/OSC2 | bidirectional | PORTA bit 6 with analog input ANA6, interrupt-on-change IOCA6, and the OSC2/CLKOUT pin, which carries the clock output when enabled by CLKOUTEN. |
| 11 | RC0/SOSCO | bidirectional | PORTC bit 0 with analog input ANC0, Timer1/Timer3 clock and gate inputs (T1CKI, T3CKI, T3G), interrupt-on-change IOCC0, and the secondary oscillator output SOSCO. |
| 12 | RC1/SOSCI | bidirectional | PORTC bit 1 with analog input ANC1, CCP2 output, interrupt-on-change IOCC1, and the secondary oscillator input SOSCI/SOSCIN. |
| 13 | RC2 | bidirectional | PORTC bit 2 with analog input ANC2, Timer5 clock input T5CKI, CCP1 input/output, and interrupt-on-change IOCC2. |
| 14 | RC3 | bidirectional | PORTC bit 3 with analog input ANC3, Timer2 input T2IN, interrupt-on-change IOCC3, and MSSP1 SCK1/SCL1 which uses I2C logic levels when assigned to this pin. |
| 15 | RC4 | bidirectional | PORTC bit 4 with analog input ANC4, interrupt-on-change IOCC4, and MSSP1 SDI1/SDA1 which uses I2C logic levels when assigned to this pin. |
| 16 | RC5 | bidirectional | PORTC bit 5 with analog input ANC5, Timer4 input T4IN, and interrupt-on-change IOCC5. |
| 17 | RC6 | bidirectional | PORTC bit 6 with analog input ANC6, interrupt-on-change IOCC6, and the EUSART1 clock CK1 (TX1/CK1 output). |
| 18 | RC7 | bidirectional | PORTC bit 7 with analog input ANC7, interrupt-on-change IOCC7, and the EUSART1 receive/data input RX1/DT1. |
| 19 | VSS | power_in | Ground reference pin for the device. |
| 20 | VDD | power_in | Positive supply pin for the device; the supply voltage limits are not stated in the extracted text. |
| 21 | RB0 | bidirectional | PORTB bit 0 with analog input ANB0, comparator input C2IN1+, CWG1 input, ZCD input ZCDIN, interrupt-on-change IOCB0, and external interrupt INT0. |
| 22 | RB1 | bidirectional | PORTB bit 1 with analog input ANB1, comparator inputs C1IN3-/C2IN3-, interrupt-on-change IOCB1, and external interrupt INT1. |
| 23 | RB2 | bidirectional | PORTB bit 2 with analog input ANB2, interrupt-on-change IOCB2, and external interrupt INT2. |
| 24 | RB3 | bidirectional | PORTB bit 3 with analog input ANB3, comparator inputs C1IN2-/C2IN2-, and interrupt-on-change IOCB3. |
| 25 | RB4 | bidirectional | PORTB bit 4 with analog input ANB4, Timer5 gate input T5G, and interrupt-on-change IOCB4. |
| 26 | RB5 | bidirectional | PORTB bit 5 with analog input ANB5, Timer1 gate input T1G, and interrupt-on-change IOCB5. |
| 27 | RB6/ICSPCLK | bidirectional | PORTB bit 6 with analog input ANB6, interrupt-on-change IOCB6, and the ICSPCLK In-Circuit Serial Programming clock pin. |
| 28 | RB7/ICSPDAT | bidirectional | PORTB bit 7 with analog input ANB7, DAC1OUT2 output, Timer6 input T6IN, interrupt-on-change IOCB7, and the ICSPDAT In-Circuit Serial Programming data pin. |
Key specifications
| Parameter | Value |
|---|---|
| Manufacturer | Microchip Tech |
| Package | SSOP-28-208mil |
| Category | Single Chip Microcomputer/Microcontroller |
| Pins | 28 |
Electrical characteristics
Limits as printed in the datasheet (page.json metadata.characteristics carries them as data).
| Parameter | Symbol | Min | Typ | Max | Unit | Conditions | Page |
|---|---|---|---|---|---|---|---|
| Supply voltage VDD (FOSC ≤ 16 MHz) | VDD | 2.3 | 5.5 | V | FOSC ≤ 16 MHz | 647 | |
| Supply voltage VDD (FOSC > 16 MHz) | VDD | 2.5 | 5.5 | V | FOSC > 16 MHz | 647 | |
| Supply voltage VDD (FOSC > 32 MHz) | VDD | 3 | 5.5 | V | FOSC > 32 MHz | 647 | |
| RAM data retention voltage VDR | VDR | 1.7 | V | Device in Sleep mode | 647 | ||
| VDD rise rate to ensure internal POR signal | SVDD | 0.05 | V/ms | BOR or LPBOR disabled | 648 | ||
| Operating ambient temperature range (Industrial) | TA | -40 | 85 | °C | Industrial temperature range | 646 | |
| Ambient temperature under bias | TA | -40 | 125 | °C | 645 | ||
| Storage temperature | -65 | 150 | °C | 645 | |||
| Voltage on VDD pin with respect to VSS (PIC18F) | VDD | -0.3 | 6.5 | V | PIC18F24/25K40 | 645 | |
| Voltage on MCLR pin with respect to VSS | -0.3 | 9 | V | 645 | |||
| Voltage on all other pins with respect to VSS | -0.3 | V | Upper limit printed as VDD + 0.3V | 645 | |||
| Maximum current on VSS pin | 350 | mA | -40°C ≤ TA ≤ +85°C | 645 | |||
| Maximum current on VDD pin (28-pin device) | VDD | 250 | mA | -40°C ≤ TA ≤ +85°C | 645 | ||
| Maximum current on any standard I/O pin | -50 | 50 | mA | 645 | |||
| Clamp current IK | IK | -20 | 20 | mA | VPIN < 0 or VPIN > VDD | 645 | |
| Total power dissipation | 800 | mW | 645 | ||||
| Supply current IDD, XT = 4 MHz | IDDXT4 | 550 | 750 | μA | XT = 4 MHz, 3.0V | 649 | |
| Supply current IDD, HFINTOSC = 16 MHz | IDDHFO16 | 2 | 2.7 | mA | HFINTOSC = 16 MHz, 3.0V | 649 | |
| Supply current IDD, HFINTOSC = 64 MHz with PLL | IDDHFOPLL | 7.5 | 9.5 | mA | HFINTOSC = 64 MHz, 3.0V | 649 | |
| Supply current IDD, HS+PLL = 64 MHz | IDDHSPLL64 | 7 | 9 | mA | HS+PLL = 64 MHz, 3.0V | 649 | |
| Power-down current IPD base | IPD | 0.4 | 4 | μA | 3.0V; Max column at +85°C | 651 | |
| Power-down current IPD, Low-Frequency INTOSC/WDT | IPD_WDT | 0.6 | 5 | μA | 3.0V; Max column at +85°C | 651 | |
| Power-down current IPD, Secondary Oscillator (SOSC) | IPD_SOSC | 0.8 | 8.5 | μA | 3.0V; Max column at +85°C | 651 | |
| Power-down current IPD, Low-Power BOR (LPBOR) | IPD_LPBOR | 0.7 | 5 | μA | 3.0V; Max column at +85°C | 651 | |
| Power-down current IPD, FVR | IPD_FVR | 32 | 53 | μA | 3.0V; FVRCON = 0x81 or 0x84; Max at +85°C | 651 | |
| Power-down current IPD, Brown-out Reset (BOR) | IPD_BOR | 14 | 19 | μA | 3.0V; Max column at +85°C | 651 | |
| Power-down current IPD, Comparator | IPD_CMP | 31 | 47 | μA | 3.0V; Max column at +85°C | 651 | |
| Input low voltage, I/O with TTL buffer | VIL | 0.8 | V | 4.5V ≤ VDD ≤ 5.5V | 652 | ||
| Input low voltage, I/O port (standard) | VIL | 0.15 | ×VDD | 1.8V ≤ VDD ≤ 4.5V | 652 | ||
| Input low voltage, I/O with Schmitt Trigger buffer | VIL | 0.2 | ×VDD | 2.0V ≤ VDD ≤ 5.5V | 652 | ||
| Input low voltage, I/O with I2C levels | VIL | 0.3 | ×VDD | 2.0V ≤ VDD ≤ 5.5V | 652 | ||
| Input low voltage, I/O with SMBus levels | VIL | 0.8 | V | 2.7V ≤ VDD ≤ 5.5V | 652 | ||
| Input low voltage, MCLR | VIL | 0.2 | ×VDD | 652 | |||
| Input high voltage, I/O with TTL buffer | VIH | 2 | V | 4.5V ≤ VDD ≤ 5.5V | 652 | ||
| Input high voltage, I/O with Schmitt Trigger buffer | VIH | 0.8 | ×VDD | 2.0V ≤ VDD ≤ 5.5V | 652 | ||
| Input high voltage, I/O with I2C levels | VIH | 0.7 | ×VDD | 652 | |||
| Input high voltage, I/O with SMBus levels | VIH | 2.1 | V | 2.7V ≤ VDD ≤ 5.5V | 652 | ||
| Input high voltage, MCLR | VIH | 0.7 | ×VDD | 652 | |||
| Input leakage current, I/O ports (85°C) | IIL | -125 | 5 | 125 | nA | VSS ≤ VPIN ≤ VDD, pin at high-impedance, 85°C | 652 |
| Weak pull-up current | IPUR | 25 | 120 | 200 | μA | VDD=3.0V, VPIN=VSS | 652 |
| Output low voltage, I/O ports | VOL | 0.6 | V | IOL=10.0 mA, VDD=3.0V | 652 | ||
| I/O pin capacitance | CIO | 5 | 50 | pF | 652 | ||
| FVR 1x gain (1.024V) output accuracy | VFVR1 | -4 | 4 | % | VDD ≥ 2.5V, -40°C to 85°C | 663 | |
| FVR 2x gain (2.048V) output accuracy | VFVR2 | -4 | 4 | % | VDD ≥ 2.5V, -40°C to 85°C | 663 | |
| FVR 4x gain (4.096V) output accuracy | VFVR4 | -5 | 5 | % | VDD ≥ 4.75V, -40°C to 85°C | 663 | |
| Comparator input offset voltage | VIOFF | -60 | 60 | mV | VDD=3.0V, TA=25°C; VICM=VDD/2 | 662 | |
| Comparator hysteresis | VHYST | 10 | 25 | 40 | mV | VDD=3.0V, TA=25°C | 663 |
| Comparator response time, rising edge | TRESP | 300 | 600 | ns | VDD=3.0V, TA=25°C | 663 | |
| ADC integral error | EIL | -1 | 0.1 | 1 | LSb | VDD=3.0V, TA=25°C, TAD=1µs; ADCREF+=3.0V, ADCREF-=0V | 661 |
| ADC differential error | EDL | -1 | 0.1 | 1 | LSb | VDD=3.0V, TA=25°C, TAD=1µs; ADCREF+=3.0V, ADCREF-=0V | 661 |
| ADC offset error | EOFF | -2.5 | 0.5 | 2.5 | LSb | VDD=3.0V, TA=25°C, TAD=1µs; ADCREF+=3.0V, ADCREF-=0V | 661 |
| ADC reference voltage (ADREF+ - ADREF-) | VADREF | 1.8 | V | Upper limit printed as VDD | 661 | ||
| ADC clock period TAD (FOSC-based) | TAD | 1 | 9 | μs | Using FOSC as ADC clock source, ADOCS = 0 | 661 | |
| DAC absolute accuracy | VACC | -5 | 5 | LSb | VDD=3.0V, TA=25°C | 663 | |
| DAC settling time | TST | 10 | μs | DACR<4:0> transitions from 00000 to 01111 | 663 | ||
| Zero-cross pin maximum source or sink current | IZCD_MAX | 600 | μA | VDD=3.0V, TA=25°C | 663 | ||
| Thermal resistance junction to ambient (SSOP) | θJA | 90 | °C/W | 28-pin SSOP package | 653 | ||
| Thermal resistance junction to case (SSOP) | θJC | 24 | °C/W | 28-pin SSOP package | 654 | ||
| Maximum junction temperature | TJMAX | 150 | °C | 654 |
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 | 276 |
CAD (KiCad official)
- Symbol:
PIC18F27K40T-I - Footprint:
Package_SO:SSOP-28_5.3x10.2mm_P0.65mm - 3D model: SSOP-28-208mil (KiCad packages3D, STEP)
- 3D model files:
pic18f27k40t-i-ss-etched.step/pic18f27k40t-i-ss-etched.glbcarry the MPN laser-etched on the die in a toggleableAdom.LaserEtchgroup (Fusion-ready);pic18f27k40t-i-ss.step/pic18f27k40t-i-ss.glbare the bare package body.
Provenance
Data extracted from the manufacturer datasheet, not a distributor listing:
- Datasheet: Microchip Tech datasheet (720 pp, sha256
043510e914313694, retrieved 2026-11-18) - Extractor: parts-factory
2.0.0/extract_pins 0.3, primaryclaude-haiku-5-5(text), consensusclaude-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).