component
PIC32MK0512MCF064-E/PT
Public Made by Adomby adom
Microchip Tech Microcontroller Units (MCUs/MPUs/SOCs), TQFP-64(10x10). Pinout cross-checked by two models against the datasheet, KiCad symbol/footprint/3D.
main
Ray
Publish 0.1.0
d49e102
PIC32MK0512MCF064-E
Microchip Tech · Microcontroller Units (MCUs/MPUs/SOCs) · TQFP-64(10x10)
PIC32MK0512MCF064-E from Microchip Tech, in a TQFP-64(10x10). 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 | TCK/RPA7/PWM10H/PWM4L/PMD5/RA7 | bidirectional | JTAG test clock input (TCK) shared with port pin RA7 (8x driver, Schmitt Trigger input), which also carries remappable RPA7, PWM10H/PWM4L and PMD5 alternate functions. |
| 2 | RPB14/PWM1H/VBUSON1/PMD6/RB14 | bidirectional | Port pin RB14 (8x driver, Schmitt Trigger I/O) that also serves as remappable RPB14, PWM1H output, USB1 VBUS power-control output VBUSON1 and PMD6. |
| 3 | RPB15/PWM7H/PWM1L/PMD7/RB15 | bidirectional | Port pin RB15 (8x driver, Schmitt Trigger I/O) that also serves as remappable RPB15, PWM7H or PWM1L output (PWM7H when PWMAPIN1 = 1) and PMD7. |
| 4 | AN19/CVD19/RPG6/PMA5/RG6 | bidirectional | Analog input AN19 (also CVD19) shared with port pin RG6 (4x driver, Schmitt Trigger I/O), which is also remappable (RPG6) and carries PMP address PMA5. |
| 5 | AN18/CVD18/RPG7/PMA4/RG7(6) | bidirectional | Analog input AN18 (also CVD18) shared with port pin RG7 (4x driver); the datasheet recommends this pin for the I2C SCL clock (Note 6). |
| 6 | AN17/CVD17/RPG8/PMA3/RG8(7) | bidirectional | Analog input AN17 (also CVD17) shared with port pin RG8 (4x driver); the datasheet recommends this pin for the I2C SDA data line (Note 7). |
| 7 | MCLR | input | Master Clear input; an active-low input that forces a device Reset (Schmitt Trigger input). |
| 8 | AN16/CVD16/RPG9/PMA2/RG9 | bidirectional | Analog input AN16 (also CVD16) shared with port pin RG9 (4x driver, Schmitt Trigger I/O), also remappable (RPG9) and carrying PMP address PMA2. |
| 9 | VSS | power_in | Ground reference for logic, I/O pins and USB; must be connected at all times. |
| 10 | VDD | power_in | Positive supply for peripheral logic and I/O pins; must be connected at all times. |
| 11 | AN10/CVD10/RPA12/RA12 | bidirectional | Analog input AN10 (also CVD10) shared with port pin RA12 (4x driver, Schmitt Trigger I/O) and remappable RPA12. |
| 12 | AN9/CVD9/RPA11/USBOEN1/RA11 | bidirectional | Analog input AN9 (also CVD9) shared with port pin RA11 (4x driver, Schmitt Trigger I/O), also remappable (RPA11) and carrying USBOEN1. |
| 13 | OA2OUT/AN0/C2IN4-/C4IN3-/RPA0/RA0 | bidirectional | Op amp 2 output OA2OUT shared with analog input AN0 and comparator inputs, and with port pin RA0 (4x driver) and remappable RPA0. |
| 14 | OA2IN+/AN1/C2IN1+/RPA1/RA1 | bidirectional | Op amp 2 positive input OA2IN+ shared with analog input AN1 and port pin RA1 (8x driver) and remappable RPA1. |
| 15 | PGD3/VREF-/OA2IN-/AN2/C2IN1-/RPB0/CTED2/RB0 | bidirectional | Low-side ADC voltage reference input VREF- and op amp 2 negative input, shared with PGD3 debug data and port pin RB0 (4x driver). |
| 16 | PGC3/OA1OUT/VREF+/AN3/C1IN4-/C4IN2-/RPB1/CTED1/PMA6/RB1 | bidirectional | High-side ADC voltage reference input VREF+ shared with PGC3 debug clock, op amp 1 output and port pin RB1 (4x driver). |
| 17 | PGC1/OA1IN+/AN4/C1IN1+/C1IN3-/C2IN3-/RPB2/RB2 | bidirectional | Op amp 1 positive input OA1IN+ and analog input AN4, shared with PGC1 debug clock and port pin RB2 (4x driver). |
| 18 | PGD1/OA1IN-/AN5/CTCMP/C1IN1-/RTCC/RPB3/RB3 | bidirectional | Op amp 1 negative input OA1IN- shared with AN5, CTMU external capacitor input CTCMP, RTCC alarm output, PGD1 debug data and port pin RB3 (4x driver). |
| 19 | AVDD | power_in | Positive supply for analog modules; must be connected at all times, even if the ADC module is not used. |
| 20 | AVSS | power_in | Ground reference for analog modules; must be connected at all times, even if the ADC module is not used. |
| 21 | OA3OUT/AN6/CVD6/C3IN4-/C4IN1+/C4IN4-/RPC0/RC0 | bidirectional | Op amp 3 output OA3OUT shared with analog input AN6 and CVD6, and with port pin RC0 (4x driver) and remappable RPC0. |
| 22 | OA3IN-/AN7/CVD7/C3IN1-/C4IN1-/RPC1/PMA7/RC1 | bidirectional | Op amp 3 negative input OA3IN- shared with analog input AN7 and CVD7, and with port pin RC1 (4x driver) and PMP address PMA7. |
| 23 | OA3IN+/AN8/CVD8/C3IN1+/C3IN3-/RPC2/FLT3/PMA13/RC2 | bidirectional | Op amp 3 positive input OA3IN+ shared with analog input AN8 and PWM fault input FLT3, and with port pin RC2 (4x driver) and PMP address PMA13. |
| 24 | AN11/CVD11/C1IN2-/FLT4/PMA12/RC11 | bidirectional | Analog input AN11 (also CVD11) shared with comparator 1 input C1IN2-, PWM fault input FLT4 and port pin RC11 (8x driver). |
| 25 | VSS | power_in | Ground reference for logic, I/O pins and USB; must be connected at all times. |
| 26 | VDD | power_in | Positive supply for peripheral logic and I/O pins; must be connected at all times. |
| 27 | AN12/CVD12/C2IN2-/C5IN2-/FLT5/PMA11/RE12(7) | bidirectional | Analog input AN12 (also CVD12) shared with PWM fault input FLT5 and port pin RE12 (8x driver); the datasheet recommends this pin for the I2C SDA data line (Note 7). |
| 28 | AN13/CVD13/C3IN2-/FLT6/PMA10/RE13(6) | bidirectional | Analog input AN13 (also CVD13) shared with PWM fault input FLT6 and port pin RE13 (8x driver); the datasheet recommends this pin for the I2C SCL clock (Note 6). |
| 29 | AN14/CVD14/RPE14/FLT7/PMA1/RE14 | bidirectional | Analog input AN14 (also CVD14) shared with PWM fault input FLT7, port pin RE14 (8x driver), remappable RPE14 and PMA1. |
| 30 | AN15/CVD15/RPE15/FLT8/PMA0/RE15 | bidirectional | Analog input AN15 (also CVD15) shared with PWM fault input FLT8, port pin RE15 (8x driver), remappable RPE15 and PMA0. |
| 31 | TDI/DAC3/AN26/CVD26/RPA8/PMA9/RA8(7) | bidirectional | JTAG test data input TDI shared with DAC3 output, analog input AN26 and port pin RA8 (8x driver); the datasheet recommends this pin for the I2C SDA data line (Note 7). |
| 32 | FLT15/RPB4/PMA8/RB4(6) | bidirectional | Class B PWM fault input FLT15 (on a fixed pin, enabled in latched mode at reset) shared with port pin RB4 (8x driver); the datasheet recommends this pin for the I2C SCL clock (Note 6). |
| 33 | OA5IN+/DAC1/AN24/CVD24/C5IN1+/C5IN3-/RPA4/T1CK/RA4 | bidirectional | Op amp 5 positive input OA5IN+ shared with DAC1 output, analog input AN24, Timer1 external clock T1CK and port pin RA4 (4x driver). |
| 34 | VBUS | power_in | USB1 bus power monitor input; tie to VSS if USB1 is not used. |
| 35 | VUSB3V3 | power_in | USB internal transceiver supply; this pin should be connected to VDD. |
| 36 | D- | bidirectional | USB1 D- data line; connect through 10K to VSS if USB1 is not used. |
| 37 | D+ | bidirectional | USB1 D+ data line; connect through 10K to VSS if USB1 is not used. |
| 38 | VDD | power_in | Positive supply for peripheral logic and I/O pins; must be connected at all times. |
| 39 | OSCI/CLKI/AN49/CVD49/RPC12/RC12 | bidirectional | Primary oscillator / external clock input OSC1/CLKI (ST, CMOS when not in RC mode), shared with analog input AN49 and port pin RC12 (4x driver). |
| 40 | OSCO/CLKO/RPC15/RC15 | bidirectional | Primary oscillator output OSC2/CLKO shared with port pin RC15 (8x driver, Schmitt Trigger I/O) and remappable RPC15. |
| 41 | VSS | power_in | Ground reference for logic, I/O pins and USB; must be connected at all times. |
| 42 | RD8 | bidirectional | Port pin RD8 (4x driver, Schmitt Trigger I/O) as listed for the MCF 64-pin device; see review note on the VBAT alternative given for GP devices. |
| 43 | PGD2/RPB5/USBID1/RB5(7) | bidirectional | USB1 OTG ID detect input USBID1 and PGD2 debug data shared with port pin RB5 (8x driver) and remappable RPB5; the datasheet recommends this pin for the I2C SDA data line (Note 7). |
| 44 | PGC2/RPB6/SCK2/PMA15/RB6(6) | bidirectional | SPI2 clock SCK2 and PGC2 debug clock shared with port pin RB6 (8x driver), remappable RPB6 and PMP address PMA15; the datasheet recommends this pin for the I2C SCL clock (Note 6). |
| 45 | DAC2/AN48/CVD48/RPC10/PMA14/PMCS/RC10 | bidirectional | 12-bit CDAC2 output DAC2 shared with analog input AN48, port pin RC10 (4x driver), remappable RPC10 and PMP chip select PMCS. |
| 46 | OA5OUT/AN25/CVD25/C5IN4-/RPB7/SCK1/INT0/RB7 | bidirectional | Op amp 5 output OA5OUT shared with analog input AN25, external interrupt INT0 and SPI1 clock SCK1, and with port pin RB7 (8x driver). |
| 47 | SOSCI/RPC13(5)/RC13(5) | input | 32.768 kHz secondary oscillator crystal input SOSCI; the RC13 function is input-only and slower than standard inputs (Note 5). |
| 48 | SOSCO/RPB8(5)/RB8(5) | output | 32.768 kHz secondary oscillator crystal output SOSCO (CMOS); the RB8 function is input-only and slower than standard inputs (Note 5). |
| 49 | TMS/OA5IN-/AN27/CVD27/C5IN1-/RPB9/RB9 | bidirectional | JTAG test mode select input TMS shared with op amp 5 negative input OA5IN-, analog input AN27, and port pin RB9 (4x driver) and remappable RPB9. |
| 50 | TRCLK/RPC6/PWM6H/RC6 | bidirectional | Trace clock output TRCLK shared with remappable RPC6, PWM6H output and port pin RC6 (8x driver); trace pins should be dedicated to trace use when trace is implemented (Section 2.6). |
| 51 | TRD0/RPC7/PWM12H/PWM6L/RC7 | bidirectional | Trace data output TRD0 shared with remappable RPC7, PWM12H and PWM6L outputs, and port pin RC7 (8x driver). |
| 52 | TRD1/RPC8/PWM5H/PMWR/RC8 | bidirectional | Trace data output TRD1 shared with remappable RPC8, PWM5H output, PMP write strobe PMWR and port pin RC8 (8x driver). |
| 53 | TRD2/RPD5/PWM12H/PMRD/RD5 | bidirectional | Trace data output TRD2 shared with remappable RPD5, PMP read strobe PMRD and port pin RD5 (8x driver); Table 4 also prints PWM12H here (see review note). |
| 54 | TRD3/RPD6/PWM12L/RD6 | bidirectional | Trace data output TRD3 shared with remappable RPD6, PWM12L output and port pin RD6 (8x driver). |
| 55 | RPC9/PWM11H/PWM5L/RC9 | bidirectional | Port pin RC9 (8x driver, Schmitt Trigger I/O) shared with remappable RPC9, PWM11H output and PWM5L output. |
| 56 | VSS | power_in | Ground reference for logic, I/O pins and USB; must be connected at all times. |
| 57 | VDD | power_in | Positive supply for peripheral logic and I/O pins; must be connected at all times. |
| 58 | RPF0/PWM11H/RF0 | bidirectional | Port pin RF0 (8x driver, Schmitt Trigger I/O) shared with remappable RPF0 and PWM11H output. |
| 59 | RPF1/PWM11L/RF1 | bidirectional | Port pin RF1 (8x driver, Schmitt Trigger I/O) shared with remappable RPF1 and PWM11L output. |
| 60 | RPB10/PWM3H/PMD0/RB10 | bidirectional | Port pin RB10 (8x driver, Schmitt Trigger I/O) shared with remappable RPB10, PWM3H output and PMP data bit PMD0; its input high injection current is limited to 0 mA (DI60b). |
| 61 | RPB11/PWM9H/PWM3L/PMD1/RB11 | bidirectional | Port pin RB11 (8x driver, Schmitt Trigger I/O) shared with remappable RPB11, PWM9H or PWM3L output and PMP data bit PMD1. |
| 62 | RPB12/PWM2H/PMD2/RB12 | bidirectional | Port pin RB12 (8x driver, Schmitt Trigger I/O) shared with remappable RPB12, PWM2H output and PMP data bit PMD2. |
| 63 | RPB13/PWM8H/PWM2L/CTPLS/PMD3/RB13 | bidirectional | Port pin RB13 (8x driver, Schmitt Trigger I/O) shared with remappable RPB13, PWM8H or PWM2L output, CTMU pulse generator output CTPLS and PMP data bit PMD3. |
| 64 | TDO/PWM4H/PMD4/RA10 | bidirectional | JTAG test data output TDO shared with PWM4H output, PMP data bit PMD4 and port pin RA10 (8x driver, Schmitt Trigger I/O). |
Key specifications
| Parameter | Value |
|---|---|
| Manufacturer | Microchip Tech |
| Package | TQFP-64(10x10) |
| Category | Single Chip Microcomputer/Microcontroller |
| Pins | 64 |
Electrical characteristics
Limits as printed in the datasheet (page.json metadata.characteristics carries them as data).
| Parameter | Symbol | Min | Typ | Max | Unit | Conditions | Page |
|---|---|---|---|---|---|---|---|
| Operating supply voltage | 2.2 | 3.6 | V | 1 | |||
| Operating temperature, DC to 120 MHz | -40 | 85 | ºC | DC to 120 MHz | 1 | ||
| Operating temperature, DC to 80 MHz | -40 | 125 | ºC | DC to 80 MHz | 1 | ||
| 8 MHz FRC internal oscillator frequency tolerance | -5 | 5 | % | 8 MHz FRC internal oscillator, 0ºC to +70ºC | 1 | ||
| Internal temperature sensor accuracy | -2 | 2 | ºC | Internal temperature sensor | 1 | ||
| I/O pin source/sink current, 5V-tolerant pins | 22 | mA | 5V-tolerant pins, up to | 1 | |||
| Voltage on 5V-tolerant pin, absolute maximum (VDD < 2.3V) | 3.6 | V | VDD < 2.3V, relative to VSS; 3.6V or higher violates the absolute maximum specification | 43 | |||
| Voltage on 5V-tolerant pin, recommended maximum (VDD < 2.3V) | 3.2 | V | VDD < 2.3V, relative to VSS (stated as roughly 3.2V) | 43 | |||
| Maximum PBCLK6 clock rate to VBAT-domain peripherals | 30 | MHz | Peripherals in the VBAT power domain; must be configured by user before access | 166 | |||
| Maximum speed on REFCLKx signal pin | 50 | MHz | REFCLKx pin, high-speed signal guidance | 44 | |||
| Maximum speed on SPI/I2S SCKx, SDOx, SDIx pins | 50 | MHz | SCKx, SDOx, SDIx pins, high-speed signal guidance | 44 |
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 | CLR or INV register, the base register must be read. 13.3 Peripheral Pin Select (PPS) | 245 |
CAD (KiCad official)
- Symbol:
PIC32MK0512MCF064-E - Footprint:
Package_QFP:TQFP-64_10x10mm_P0.5mm - 3D model: TQFP-64(10x10) (KiCad packages3D, STEP)
- 3D model files:
pic32mk0512mcf064-e-pt-etched.step/pic32mk0512mcf064-e-pt-etched.glbcarry the MPN laser-etched on the die in a toggleableAdom.LaserEtchgroup (Fusion-ready);pic32mk0512mcf064-e-pt.step/pic32mk0512mcf064-e-pt.glbare the bare package body.
Provenance
Data extracted from the manufacturer datasheet, not a distributor listing:
- Datasheet: Microchip Tech datasheet (724 pp, sha256
8d20d53d4123e666, retrieved 2026-11-13, tier: manufacturer) - 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).
# PIC32MK0512MCF064-E
**Microchip Tech** · Microcontroller Units (MCUs/MPUs/SOCs) · TQFP-64(10x10)
PIC32MK0512MCF064-E from Microchip Tech, in a TQFP-64(10x10). 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 | TCK/RPA7/PWM10H/PWM4L/PMD5/RA7 | bidirectional | JTAG test clock input (TCK) shared with port pin RA7 (8x driver, Schmitt Trigger input), which also carries remappable RPA7, PWM10H/PWM4L and PMD5 alternate functions. |
| 2 | RPB14/PWM1H/VBUSON1/PMD6/RB14 | bidirectional | Port pin RB14 (8x driver, Schmitt Trigger I/O) that also serves as remappable RPB14, PWM1H output, USB1 VBUS power-control output VBUSON1 and PMD6. |
| 3 | RPB15/PWM7H/PWM1L/PMD7/RB15 | bidirectional | Port pin RB15 (8x driver, Schmitt Trigger I/O) that also serves as remappable RPB15, PWM7H or PWM1L output (PWM7H when PWMAPIN1 = 1) and PMD7. |
| 4 | AN19/CVD19/RPG6/PMA5/RG6 | bidirectional | Analog input AN19 (also CVD19) shared with port pin RG6 (4x driver, Schmitt Trigger I/O), which is also remappable (RPG6) and carries PMP address PMA5. |
| 5 | AN18/CVD18/RPG7/PMA4/RG7(6) | bidirectional | Analog input AN18 (also CVD18) shared with port pin RG7 (4x driver); the datasheet recommends this pin for the I2C SCL clock (Note 6). |
| 6 | AN17/CVD17/RPG8/PMA3/RG8(7) | bidirectional | Analog input AN17 (also CVD17) shared with port pin RG8 (4x driver); the datasheet recommends this pin for the I2C SDA data line (Note 7). |
| 7 | MCLR | input | Master Clear input; an active-low input that forces a device Reset (Schmitt Trigger input). |
| 8 | AN16/CVD16/RPG9/PMA2/RG9 | bidirectional | Analog input AN16 (also CVD16) shared with port pin RG9 (4x driver, Schmitt Trigger I/O), also remappable (RPG9) and carrying PMP address PMA2. |
| 9 | VSS | power_in | Ground reference for logic, I/O pins and USB; must be connected at all times. |
| 10 | VDD | power_in | Positive supply for peripheral logic and I/O pins; must be connected at all times. |
| 11 | AN10/CVD10/RPA12/RA12 | bidirectional | Analog input AN10 (also CVD10) shared with port pin RA12 (4x driver, Schmitt Trigger I/O) and remappable RPA12. |
| 12 | AN9/CVD9/RPA11/USBOEN1/RA11 | bidirectional | Analog input AN9 (also CVD9) shared with port pin RA11 (4x driver, Schmitt Trigger I/O), also remappable (RPA11) and carrying USBOEN1. |
| 13 | OA2OUT/AN0/C2IN4-/C4IN3-/RPA0/RA0 | bidirectional | Op amp 2 output OA2OUT shared with analog input AN0 and comparator inputs, and with port pin RA0 (4x driver) and remappable RPA0. |
| 14 | OA2IN+/AN1/C2IN1+/RPA1/RA1 | bidirectional | Op amp 2 positive input OA2IN+ shared with analog input AN1 and port pin RA1 (8x driver) and remappable RPA1. |
| 15 | PGD3/VREF-/OA2IN-/AN2/C2IN1-/RPB0/CTED2/RB0 | bidirectional | Low-side ADC voltage reference input VREF- and op amp 2 negative input, shared with PGD3 debug data and port pin RB0 (4x driver). |
| 16 | PGC3/OA1OUT/VREF+/AN3/C1IN4-/C4IN2-/RPB1/CTED1/PMA6/RB1 | bidirectional | High-side ADC voltage reference input VREF+ shared with PGC3 debug clock, op amp 1 output and port pin RB1 (4x driver). |
| 17 | PGC1/OA1IN+/AN4/C1IN1+/C1IN3-/C2IN3-/RPB2/RB2 | bidirectional | Op amp 1 positive input OA1IN+ and analog input AN4, shared with PGC1 debug clock and port pin RB2 (4x driver). |
| 18 | PGD1/OA1IN-/AN5/CTCMP/C1IN1-/RTCC/RPB3/RB3 | bidirectional | Op amp 1 negative input OA1IN- shared with AN5, CTMU external capacitor input CTCMP, RTCC alarm output, PGD1 debug data and port pin RB3 (4x driver). |
| 19 | AVDD | power_in | Positive supply for analog modules; must be connected at all times, even if the ADC module is not used. |
| 20 | AVSS | power_in | Ground reference for analog modules; must be connected at all times, even if the ADC module is not used. |
| 21 | OA3OUT/AN6/CVD6/C3IN4-/C4IN1+/C4IN4-/RPC0/RC0 | bidirectional | Op amp 3 output OA3OUT shared with analog input AN6 and CVD6, and with port pin RC0 (4x driver) and remappable RPC0. |
| 22 | OA3IN-/AN7/CVD7/C3IN1-/C4IN1-/RPC1/PMA7/RC1 | bidirectional | Op amp 3 negative input OA3IN- shared with analog input AN7 and CVD7, and with port pin RC1 (4x driver) and PMP address PMA7. |
| 23 | OA3IN+/AN8/CVD8/C3IN1+/C3IN3-/RPC2/FLT3/PMA13/RC2 | bidirectional | Op amp 3 positive input OA3IN+ shared with analog input AN8 and PWM fault input FLT3, and with port pin RC2 (4x driver) and PMP address PMA13. |
| 24 | AN11/CVD11/C1IN2-/FLT4/PMA12/RC11 | bidirectional | Analog input AN11 (also CVD11) shared with comparator 1 input C1IN2-, PWM fault input FLT4 and port pin RC11 (8x driver). |
| 25 | VSS | power_in | Ground reference for logic, I/O pins and USB; must be connected at all times. |
| 26 | VDD | power_in | Positive supply for peripheral logic and I/O pins; must be connected at all times. |
| 27 | AN12/CVD12/C2IN2-/C5IN2-/FLT5/PMA11/RE12(7) | bidirectional | Analog input AN12 (also CVD12) shared with PWM fault input FLT5 and port pin RE12 (8x driver); the datasheet recommends this pin for the I2C SDA data line (Note 7). |
| 28 | AN13/CVD13/C3IN2-/FLT6/PMA10/RE13(6) | bidirectional | Analog input AN13 (also CVD13) shared with PWM fault input FLT6 and port pin RE13 (8x driver); the datasheet recommends this pin for the I2C SCL clock (Note 6). |
| 29 | AN14/CVD14/RPE14/FLT7/PMA1/RE14 | bidirectional | Analog input AN14 (also CVD14) shared with PWM fault input FLT7, port pin RE14 (8x driver), remappable RPE14 and PMA1. |
| 30 | AN15/CVD15/RPE15/FLT8/PMA0/RE15 | bidirectional | Analog input AN15 (also CVD15) shared with PWM fault input FLT8, port pin RE15 (8x driver), remappable RPE15 and PMA0. |
| 31 | TDI/DAC3/AN26/CVD26/RPA8/PMA9/RA8(7) | bidirectional | JTAG test data input TDI shared with DAC3 output, analog input AN26 and port pin RA8 (8x driver); the datasheet recommends this pin for the I2C SDA data line (Note 7). |
| 32 | FLT15/RPB4/PMA8/RB4(6) | bidirectional | Class B PWM fault input FLT15 (on a fixed pin, enabled in latched mode at reset) shared with port pin RB4 (8x driver); the datasheet recommends this pin for the I2C SCL clock (Note 6). |
| 33 | OA5IN+/DAC1/AN24/CVD24/C5IN1+/C5IN3-/RPA4/T1CK/RA4 | bidirectional | Op amp 5 positive input OA5IN+ shared with DAC1 output, analog input AN24, Timer1 external clock T1CK and port pin RA4 (4x driver). |
| 34 | VBUS | power_in | USB1 bus power monitor input; tie to VSS if USB1 is not used. |
| 35 | VUSB3V3 | power_in | USB internal transceiver supply; this pin should be connected to VDD. |
| 36 | D- | bidirectional | USB1 D- data line; connect through 10K to VSS if USB1 is not used. |
| 37 | D+ | bidirectional | USB1 D+ data line; connect through 10K to VSS if USB1 is not used. |
| 38 | VDD | power_in | Positive supply for peripheral logic and I/O pins; must be connected at all times. |
| 39 | OSCI/CLKI/AN49/CVD49/RPC12/RC12 | bidirectional | Primary oscillator / external clock input OSC1/CLKI (ST, CMOS when not in RC mode), shared with analog input AN49 and port pin RC12 (4x driver). |
| 40 | OSCO/CLKO/RPC15/RC15 | bidirectional | Primary oscillator output OSC2/CLKO shared with port pin RC15 (8x driver, Schmitt Trigger I/O) and remappable RPC15. |
| 41 | VSS | power_in | Ground reference for logic, I/O pins and USB; must be connected at all times. |
| 42 | RD8 | bidirectional | Port pin RD8 (4x driver, Schmitt Trigger I/O) as listed for the MCF 64-pin device; see review note on the VBAT alternative given for GP devices. |
| 43 | PGD2/RPB5/USBID1/RB5(7) | bidirectional | USB1 OTG ID detect input USBID1 and PGD2 debug data shared with port pin RB5 (8x driver) and remappable RPB5; the datasheet recommends this pin for the I2C SDA data line (Note 7). |
| 44 | PGC2/RPB6/SCK2/PMA15/RB6(6) | bidirectional | SPI2 clock SCK2 and PGC2 debug clock shared with port pin RB6 (8x driver), remappable RPB6 and PMP address PMA15; the datasheet recommends this pin for the I2C SCL clock (Note 6). |
| 45 | DAC2/AN48/CVD48/RPC10/PMA14/PMCS/RC10 | bidirectional | 12-bit CDAC2 output DAC2 shared with analog input AN48, port pin RC10 (4x driver), remappable RPC10 and PMP chip select PMCS. |
| 46 | OA5OUT/AN25/CVD25/C5IN4-/RPB7/SCK1/INT0/RB7 | bidirectional | Op amp 5 output OA5OUT shared with analog input AN25, external interrupt INT0 and SPI1 clock SCK1, and with port pin RB7 (8x driver). |
| 47 | SOSCI/RPC13(5)/RC13(5) | input | 32.768 kHz secondary oscillator crystal input SOSCI; the RC13 function is input-only and slower than standard inputs (Note 5). |
| 48 | SOSCO/RPB8(5)/RB8(5) | output | 32.768 kHz secondary oscillator crystal output SOSCO (CMOS); the RB8 function is input-only and slower than standard inputs (Note 5). |
| 49 | TMS/OA5IN-/AN27/CVD27/C5IN1-/RPB9/RB9 | bidirectional | JTAG test mode select input TMS shared with op amp 5 negative input OA5IN-, analog input AN27, and port pin RB9 (4x driver) and remappable RPB9. |
| 50 | TRCLK/RPC6/PWM6H/RC6 | bidirectional | Trace clock output TRCLK shared with remappable RPC6, PWM6H output and port pin RC6 (8x driver); trace pins should be dedicated to trace use when trace is implemented (Section 2.6). |
| 51 | TRD0/RPC7/PWM12H/PWM6L/RC7 | bidirectional | Trace data output TRD0 shared with remappable RPC7, PWM12H and PWM6L outputs, and port pin RC7 (8x driver). |
| 52 | TRD1/RPC8/PWM5H/PMWR/RC8 | bidirectional | Trace data output TRD1 shared with remappable RPC8, PWM5H output, PMP write strobe PMWR and port pin RC8 (8x driver). |
| 53 | TRD2/RPD5/PWM12H/PMRD/RD5 | bidirectional | Trace data output TRD2 shared with remappable RPD5, PMP read strobe PMRD and port pin RD5 (8x driver); Table 4 also prints PWM12H here (see review note). |
| 54 | TRD3/RPD6/PWM12L/RD6 | bidirectional | Trace data output TRD3 shared with remappable RPD6, PWM12L output and port pin RD6 (8x driver). |
| 55 | RPC9/PWM11H/PWM5L/RC9 | bidirectional | Port pin RC9 (8x driver, Schmitt Trigger I/O) shared with remappable RPC9, PWM11H output and PWM5L output. |
| 56 | VSS | power_in | Ground reference for logic, I/O pins and USB; must be connected at all times. |
| 57 | VDD | power_in | Positive supply for peripheral logic and I/O pins; must be connected at all times. |
| 58 | RPF0/PWM11H/RF0 | bidirectional | Port pin RF0 (8x driver, Schmitt Trigger I/O) shared with remappable RPF0 and PWM11H output. |
| 59 | RPF1/PWM11L/RF1 | bidirectional | Port pin RF1 (8x driver, Schmitt Trigger I/O) shared with remappable RPF1 and PWM11L output. |
| 60 | RPB10/PWM3H/PMD0/RB10 | bidirectional | Port pin RB10 (8x driver, Schmitt Trigger I/O) shared with remappable RPB10, PWM3H output and PMP data bit PMD0; its input high injection current is limited to 0 mA (DI60b). |
| 61 | RPB11/PWM9H/PWM3L/PMD1/RB11 | bidirectional | Port pin RB11 (8x driver, Schmitt Trigger I/O) shared with remappable RPB11, PWM9H or PWM3L output and PMP data bit PMD1. |
| 62 | RPB12/PWM2H/PMD2/RB12 | bidirectional | Port pin RB12 (8x driver, Schmitt Trigger I/O) shared with remappable RPB12, PWM2H output and PMP data bit PMD2. |
| 63 | RPB13/PWM8H/PWM2L/CTPLS/PMD3/RB13 | bidirectional | Port pin RB13 (8x driver, Schmitt Trigger I/O) shared with remappable RPB13, PWM8H or PWM2L output, CTMU pulse generator output CTPLS and PMP data bit PMD3. |
| 64 | TDO/PWM4H/PMD4/RA10 | bidirectional | JTAG test data output TDO shared with PWM4H output, PMP data bit PMD4 and port pin RA10 (8x driver, Schmitt Trigger I/O). |
## Key specifications
| Parameter | Value |
|---|---|
| Manufacturer | Microchip Tech |
| Package | TQFP-64(10x10) |
| Category | Single Chip Microcomputer/Microcontroller |
| Pins | 64 |
## Electrical characteristics
Limits as printed in the datasheet (page.json `metadata.characteristics` carries them as data).
| Parameter | Symbol | Min | Typ | Max | Unit | Conditions | Page |
|---|---|---|---|---|---|---|---|
| Operating supply voltage | | 2.2 | | 3.6 | V | | 1 |
| Operating temperature, DC to 120 MHz | | -40 | | 85 | ºC | DC to 120 MHz | 1 |
| Operating temperature, DC to 80 MHz | | -40 | | 125 | ºC | DC to 80 MHz | 1 |
| 8 MHz FRC internal oscillator frequency tolerance | | -5 | | 5 | % | 8 MHz FRC internal oscillator, 0ºC to +70ºC | 1 |
| Internal temperature sensor accuracy | | -2 | | 2 | ºC | Internal temperature sensor | 1 |
| I/O pin source/sink current, 5V-tolerant pins | | | | 22 | mA | 5V-tolerant pins, up to | 1 |
| Voltage on 5V-tolerant pin, absolute maximum (VDD < 2.3V) | | | | 3.6 | V | VDD < 2.3V, relative to VSS; 3.6V or higher violates the absolute maximum specification | 43 |
| Voltage on 5V-tolerant pin, recommended maximum (VDD < 2.3V) | | | | 3.2 | V | VDD < 2.3V, relative to VSS (stated as roughly 3.2V) | 43 |
| Maximum PBCLK6 clock rate to VBAT-domain peripherals | | | | 30 | MHz | Peripherals in the VBAT power domain; must be configured by user before access | 166 |
| Maximum speed on REFCLKx signal pin | | | | 50 | MHz | REFCLKx pin, high-speed signal guidance | 44 |
| Maximum speed on SPI/I2S SCKx, SDOx, SDIx pins | | | | 50 | MHz | SCKx, SDOx, SDIx pins, high-speed signal guidance | 44 |
## 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 | | CLR or INV register, the base register must be read. 13.3 Peripheral Pin Select (PPS) | 245 |
## CAD (KiCad official)
- Symbol: `PIC32MK0512MCF064-E`
- Footprint: `Package_QFP:TQFP-64_10x10mm_P0.5mm`
- 3D model: TQFP-64(10x10) (KiCad packages3D, STEP)
- 3D model files: `pic32mk0512mcf064-e-pt-etched.step` / `pic32mk0512mcf064-e-pt-etched.glb` carry the MPN laser-etched on the die in a toggleable `Adom.LaserEtch` group (Fusion-ready); `pic32mk0512mcf064-e-pt.step` / `pic32mk0512mcf064-e-pt.glb` are the bare package body.
## Provenance
Data extracted from the manufacturer datasheet, not a distributor listing:
- **Datasheet:** [Microchip Tech datasheet](https://ww1.microchip.com/downloads/en/DeviceDoc/PIC32MK_GP_MC_Familly_Datasheet_60001402G.pdf) (724 pp, sha256 `8d20d53d4123e666`, retrieved 2026-11-13, tier: manufacturer)
- **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](docs/pic32mk0512mcf064-e-pt-datasheet.pdf)