main
Ray Publish 0.1.0 39bae88

MKS22FN256VLH12

NXP Semicon · Pre-ordered MCUs · LQFP-64(10x10)

MKS22FN256VLH12 from NXP Semicon, in a LQFP-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 PTE0/CLKOUT32K bidirectional Port E GPIO (standard drive, Hi-Z after POR) with alternate functions ADC0_SE4a, SPI1_PCS1, UART1_TX, LPI2C1_SDA and RTC_CLKOUT (32 kHz clock output).
2 PTE1/LLWU_P0 bidirectional Port E GPIO (standard drive, Hi-Z after POR) that also serves as LLWU_P0 low-leakage wakeup input, with alternates ADC0_SE5a, SPI1_SOUT, UART1_RX, LPI2C1_SCL and SPI1_SIN.
3 VDD power_in Digital supply pin; the datasheet operating requirement is 1.71 V to 3.6 V and VDD must not differ from VDDA by more than ±0.1 V.
4 VSS power_in Digital ground pin; VSS to VSSA differential must stay within ±0.1 V.
5 USB0_DP bidirectional USB full-speed 2.0 D+ analog data signal; USB is usable without an external crystal when IRC48M is enabled.
6 USB0_DM bidirectional USB full-speed 2.0 D- analog data signal; leave floating if the USB module is not used.
7 USBVDD power_in USB transceiver supply with a required range of 3.0 V to 3.6 V (nominal 3.3 V); tie to ground through 10 kΩ if USB is unused.
8 ADC0_DP1 passive ADC0 differential positive input pair 1; on the 64-LQFP package this channel is available only in single-ended (SE) mode.
9 ADC0_DP0 passive ADC0 differential analog input, positive side of pair 0 (paired with ADC0_DM0 on pin 10).
10 ADC0_DM0 passive ADC0 differential analog input, negative side of pair 0 (paired with ADC0_DP0 on pin 9).
11 ADC0_DP3 passive ADC0 differential analog input, positive side of pair 3 (paired with ADC0_DM3 on pin 12).
12 ADC0_DM3 passive ADC0 differential analog input, negative side of pair 3 (paired with ADC0_DP3 on pin 11).
13 VDDA power_in Analog supply for the ADC, DAC and comparator; operating range 1.71 V to 3.6 V, and VDD-VDDA must stay within ±0.1 V.
14 VREFH power_in ADC high reference voltage; must be between 1.13 V and VDDA.
15 VREFL power_in ADC low reference voltage; must equal VSSA.
16 VSSA power_in Analog ground for the ADC, DAC and comparator; VSS-VSSA must stay within ±0.1 V.
17 CMP0_IN5 passive Comparator 0 analog input channel 5; the comparator inputs support rail-to-rail operation.
18 DAC0_OUT/ADC0_SE23 passive 12-bit DAC output that can be routed to this external pin or used as an input to the comparator or ADC (ADC0_SE23).
19 XTAL32 output 32.768 kHz RTC oscillator output; must be left floating when an external clock is applied to EXTAL32.
20 EXTAL32 input 32.768 kHz RTC oscillator input; an externally supplied clock must be 700 mV peak-to-peak minimum up to VBAT.
21 VBAT power_in RTC battery backup supply for the RTC and VBAT register file; operating range 1.71 V to 3.6 V.
22 PTA0 bidirectional Port A GPIO (default JTAG_TCLK/SWD_CLK debug clock, pull-down after POR) with alternates UART0_CTS_b, TPM0_CH5 and EWM_IN.
23 PTA1 bidirectional Port A GPIO (default JTAG_TDI, pull-up after POR) with alternates UART0_RX, CMP0_OUT, LPI2C1_HREQ and TPM1_CH1.
24 PTA2 bidirectional Port A GPIO (default JTAG_TDO/TRACE_SWO, pull-up after POR) with alternates UART0_TX and TPM1_CH0.
25 PTA3 bidirectional Port A GPIO (default JTAG_TMS/SWD_DIO, pull-up after POR) with alternates UART0_RTS_b, TPM0_CH0 and EWM_OUT_b.
26 PTA4/LLWU_P3 bidirectional Port A GPIO with LLWU_P3 wakeup input and default NMI_b function (pull-up after POR); NMI can be disabled with FOPT[NMI_DIS] and must not have pull-down or capacitor added.
27 PTA5 bidirectional Port A GPIO, disabled and high-impedance after POR, with alternates USB_CLKIN, TPM0_CH2, I2S0_TX_BCLK and JTAG_TRST_b.
28 PTA12 bidirectional Port A GPIO, disabled and high-impedance after POR, with alternates CAN0_TX, TPM1_CH0 and I2S0_TXD0.
29 PTA13/LLWU_P4 bidirectional Port A GPIO with LLWU_P4 wakeup input, disabled and high-impedance after POR, with alternates CAN0_RX, TPM1_CH1 and I2S0_TX_FS.
30 VDD power_in Digital supply pin; operating range 1.71 V to 3.6 V.
31 VSS power_in Digital ground pin.
32 PTA18 bidirectional Port A GPIO whose ALT0 function is the main oscillator EXTAL0 input (external clock/oscillator input), also usable as TPM_CLKIN0.
33 PTA19 bidirectional Port A GPIO whose ALT0 function is the main oscillator XTAL0 output, also usable as TPM_CLKIN1 and LPTMR0_ALT1.
34 RESET_b bidirectional Active-low reset as a true open-drain I/O with internal pull-up; external pull-up of 4.7 kΩ to 10 kΩ and 0.1 µF capacitor are recommended.
35 PTB0/LLWU_P5 bidirectional Port B GPIO with high-drive capability (selectable via DSE), LLWU_P5 wakeup input, and alternates ADC0_SE8, LPI2C0_SCL, TPM1_CH0, FXIO0_D4 and UART0_RX.
36 PTB1 bidirectional Port B GPIO with high-drive capability (selectable via DSE), with alternates ADC0_SE9, LPI2C0_SDA, TPM1_CH1, EWM_IN, FXIO0_D5 and UART0_TX.
37 PTB2 bidirectional Port B GPIO (standard drive) with alternates ADC0_SE12, LPI2C0_SCL, UART0_RTS_b, FXIO0_D6 and CAN1_RX.
38 PTB3 bidirectional Port B GPIO (standard drive) with alternates ADC0_SE13, LPI2C0_SDA, UART0_CTS_b, FXIO0_D7 and CAN1_TX.
39 PTB16 bidirectional Port B GPIO (standard drive) with alternates SPI1_SOUT, UART0_RX, TPM_CLKIN0, EWM_IN and I2S1_TXD0.
40 PTB17 bidirectional Port B GPIO (standard drive) with alternates SPI1_SIN, UART0_TX, TPM_CLKIN1, EWM_OUT_b and FXIO0_D0.
41 PTB18 bidirectional Port B GPIO (standard drive) with alternates CAN0_TX, TPM2_CH0, I2S0_TX_BCLK and FXIO0_D1.
42 PTB19 bidirectional Port B GPIO (standard drive) with alternates CAN0_RX, TPM2_CH1, I2S0_TX_FS and FXIO0_D2.
43 PTC0 bidirectional Port C GPIO (standard drive) with alternates ADC0_SE14, SPI0_PCS4, PDB0_EXTRG, USB_SOF_OUT, FXIO0_D3 and SPI0_PCS0.
44 PTC1/LLWU_P6 bidirectional Port C GPIO (standard drive) with LLWU_P6 wakeup input and alternates ADC0_SE15, SPI0_PCS3, UART1_RTS_b, TPM0_CH0, I2S0_TXD0 and LPUART0_RTS_b.
45 PTC2 bidirectional Port C GPIO (standard drive) with alternates ADC0_SE4b, SPI0_PCS2, UART1_CTS_b, TPM0_CH1, I2S0_TX_FS and LPUART0_CTS_b.
46 PTC3/LLWU_P7 bidirectional Port C GPIO with high-drive capability (selectable via DSE), LLWU_P7 wakeup input, and alternates SPI0_PCS1, UART1_RX, TPM0_CH2, CLKOUT, I2S0_TX_BCLK and LPUART0_RX.
47 VSS power_in Digital ground pin.
48 VDD power_in Digital supply pin; operating range 1.71 V to 3.6 V.
49 PTC4/LLWU_P8 bidirectional Port C GPIO with high-drive capability (selectable via DSE), LLWU_P8 wakeup input, and alternates SPI0_PCS0, UART1_TX, TPM0_CH3, LPI2C0_HREQ and LPUART0_TX.
50 PTC5/LLWU_P9 bidirectional Port C GPIO (standard drive) with LLWU_P9 wakeup input and alternates SPI0_SCK, LPTMR0_ALT2, I2S0_RXD0, CMP0_OUT and TPM0_CH2.
51 PTC6/LLWU_P10 bidirectional Port C GPIO (standard drive) with LLWU_P10 wakeup input and alternates CMP0_IN0, SPI0_SOUT, PDB0_EXTRG, I2S0_RX_BCLK, I2S0_MCLK and LPI2C0_SCL.
52 PTC7 bidirectional Port C GPIO (standard drive) with alternates CMP0_IN1, SPI0_SIN, USB_SOF_OUT, I2S0_RX_FS and LPI2C0_SDA.
53 PTC8 bidirectional Port C GPIO (standard drive) with alternates CMP0_IN2, LPI2C0_SCLS, I2S0_MCLK, FXIO0_D0 and I2S1_RXD0.
54 PTC9 bidirectional Port C GPIO (standard drive) with alternates CMP0_IN3, LPI2C0_SDAS, I2S0_RX_BCLK, FXIO0_D1 and I2S1_RX_BCLK.
55 PTC10 bidirectional Port C GPIO (standard drive) with alternates LPI2C1_SCL, I2S0_RX_FS, FXIO0_D2 and I2S1_RX_FS.
56 PTC11/LLWU_P11 bidirectional Port C GPIO (standard drive) with LLWU_P11 wakeup input and alternates LPI2C1_SDA, FXIO0_D3 and I2S1_MCLK.
57 PTD0/LLWU_P12 bidirectional Port D GPIO (standard drive) with LLWU_P12 wakeup input and alternates SPI0_PCS0, UART2_RTS_b, LPUART0_RTS_b and FXIO0_D6.
58 PTD1 bidirectional Port D GPIO (standard drive) with alternates ADC0_SE5b, SPI0_SCK, UART2_CTS_b, LPUART0_CTS_b and FXIO0_D7.
59 PTD2/LLWU_P13 bidirectional Port D GPIO (standard drive) with LLWU_P13 wakeup input and alternates SPI0_SOUT, UART2_RX, LPUART0_RX and LPI2C0_SCL.
60 PTD3 bidirectional Port D GPIO (standard drive) with alternates SPI0_SIN, UART2_TX, LPUART0_TX and LPI2C0_SDA.
61 PTD4/LLWU_P14 bidirectional Port D GPIO with high-drive capability (selectable via DSE), LLWU_P14 wakeup input, and alternates SPI0_PCS1, UART0_RTS_b, TPM0_CH4, EWM_IN and SPI1_PCS0.
62 PTD5 bidirectional Port D GPIO with high-drive capability (selectable via DSE), with alternates ADC0_SE6b, SPI0_PCS2, UART0_CTS_b, TPM0_CH5, EWM_OUT_b and SPI1_SCK.
63 PTD6/LLWU_P15 bidirectional Port D GPIO with high-drive capability (selectable via DSE), LLWU_P15 wakeup input, and alternates ADC0_SE7b, SPI0_PCS3, UART0_RX and SPI1_SOUT.
64 PTD7 bidirectional Port D GPIO with high-drive capability (selectable via DSE), with alternates UART0_TX and SPI1_SIN.

Key specifications

Parameter Value
Manufacturer NXP Semicon
Package LQFP-64(10x10)
Category Embedded Processors & Controllers
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
Digital supply voltage VDD -0.3 3.8 V 54
Digital supply current IDD 120 mA 54
Single pin transient maximum current limit (all port pins) ID -25 25 mA single pin transient max current limit, all port pins 54
USB_DP input voltage VUSB_DP -0.3 3.63 V 55
USB_DM input voltage VUSB_DM -0.3 3.63 V 55
RTC battery supply voltage VBAT -0.3 3.8 V 55
Storage temperature TSTG -55 150 °C per JEDEC JESD22-A103 high-temperature storage 54
Lead-free soldering temperature TSDR 260 °C per IPC/JEDEC J-STD-020 54
ESD voltage, human body model VHBM -2000 2000 V per JEDEC JESD22-A114 HBM 54
ESD voltage, charged device model VCDM -500 500 V per JEDEC JESD22-C101 CDM 54
Latch-up current ILAT -100 100 mA 105°C ambient temperature, per JEDEC JESD78 54
Supply voltage VDD VDD 1.71 3.6 V 55
Analog supply voltage VDDA 1.71 3.6 V 55
VDD to VDDA differential voltage VDD, VDDA -0.1 0.1 V 56
VSS to VSSA differential voltage VSS, VSSA -0.1 0.1 V 56
RTC battery supply voltage VBAT 1.71 3.6 V 56
USB transceiver supply voltage USBVDD 3 3.6 V nominal operating voltage 3.3 V 56
Analog and I/O pin DC injection current, single pin IICIO -3 mA VIN < VSS-0.3V (negative injection) 56
Continuous pin DC injection current, region limit IICcont -25 mA negative injection; sum over 16 consecutive pins 56
VDD voltage to retain RAM data VRAM 1.2 V 56
Die junction temperature TJ -40 125 °C 68
Ambient temperature TA -40 105 °C may exceed max only if TJ max is ensured 68
POR detect voltage, VDD falling VPOR 0.8 1.1 1.5 V VDD supply falling 56
High-voltage detect low trip point VLVDH 2.48 2.56 2.64 V low-voltage detect, high range (LVDV=01) 56
Low-voltage warning threshold, level 1, high range VLVW1H 2.62 2.7 2.78 V high range, 1-level drop (LVWV=00) 56
Low-voltage warning threshold, level 3/4, high range VLVW4H 2.92 3 3.08 V high range, 3-level drop (LVWV=10) and 4-level drop (LVWV=11) 57
Low-voltage detect threshold, low range VLVDL 1.54 1.6 1.66 V low range (LVDV=00) 57
Low-voltage warning threshold, level 1, low range VLVW1L 1.74 1.8 1.86 V low range, 1-level drop (LVWV=00) 57
Low-voltage warning threshold, level 4, low range VLVW4L 2.04 2.1 2.16 V low range, 4-level drop (LVWV=11) 57
Bandgap voltage reference VBG 0.97 1 1.03 V 57
Internal low-power oscillator period tLPO 900 1000 1100 μs factory-trimmed 57
VBAT POR detect voltage, VBAT falling VPOR_VBAT 0.8 1.1 1.5 V VBAT supply falling 57
Output low voltage, general-purpose drive pins VOL 0.5 V excl. RESET_B; 2.7 V ≤ VDD ≤ 3.6 V, IOL = 5 mA 57
Output low voltage, high drive pins VOL 0.5 V excl. RESET_B; 2.7 V ≤ VDD ≤ 3.6 V, IOL = 20 mA 57
Output low voltage, RESET_B VOL 0.5 V 2.7 V ≤ VDD ≤ 3.6 V, IOL = 3 mA 58
Total output high current, all ports IOHT 100 mA 57
Total output low current, all ports IOLT 100 mA 58
Input leakage current per pin IIN 0.002 0.5 μA full temperature range; all pins except high-drive pins 58
Input leakage current, total of all pins IIN 1 μA full temperature range 58
Internal pull-up resistor RPU 20 50 kΩ 58
Internal pull-down resistor RPD 20 50 kΩ 58
Analog pin input capacitance CIN_A 7 pF 66
Digital pin input capacitance CIN_D 7 pF 66
System and core clock, HSRUN mode fSYS 120 MHz HSRUN mode 66
System and core clock, normal run mode fSYS 80 MHz normal operating mode 66
RUN mode current, flash code, peripheral clocks disabled, 3.0 V IDD_RUN 13.87 15.158 mA @ 3.0 V @25°C; all peripheral clocks disabled; execute from flash 60
RUN mode current, flash code, peripheral clocks enabled, 3.0 V IDD_RUN 18.08 20.145 mA @ 3.0 V @25°C; all peripheral clocks enabled; execute from flash 60
STOP mode current, 3.0 V IDD_STOP 269.63 292.223 μA @ 3.0 V @25°C 61
External oscillator frequency, high frequency high range fosc_hi_2 8 32 MHz MCG_C2[RANGE]=1x 77
ADC supply voltage VDDA VDDA 1.71 3.6 V absolute value 80
Thermal resistance, junction to ambient, natural convection, single layer (1S) RθJA 61 °C/W 64 LQFP column; JEDEC JESD51-2, natural convection, 1S board 68
Thermal resistance, junction to ambient, natural convection, four layer (2s2p) RθJA 43 °C/W 64 LQFP column; JEDEC JESD51-2, natural convection, 2s2p board 68
Thermal resistance, junction to ambient, 200 ft/min airflow, single layer (1S) RθJMA 49 °C/W 64 LQFP column; 200 ft/min forced convection, 1S board 68
Thermal resistance, junction to board RθJB 25 °C/W 64 LQFP column; JEDEC JESD51-8 68
Thermal resistance, junction to case RθJC 13 °C/W 64 LQFP column; MIL SPEC-883 Method 1012.1 68
Thermal characterization parameter, junction to package top ΨJT 2 °C/W 64 LQFP column; natural convection, JEDEC JESD51-2 68

CAD (KiCad official)

  • Symbol: MKS22FN256VLH12
  • Footprint: Package_QFP:LQFP-64_10x10mm_P0.5mm
  • 3D model: LQFP-64(10x10) (KiCad packages3D, STEP)
  • 3D model files: mks22fn256vlh12-etched.step / mks22fn256vlh12-etched.glb carry the MPN laser-etched on the die in a toggleable Adom.LaserEtch group (Fusion-ready); mks22fn256vlh12.step / mks22fn256vlh12.glb are the bare package body.

Provenance

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

  • Datasheet: NXP Semicon datasheet (108 pp, sha256 dd02f2252bc40194, retrieved 2026-10-30, tier: manufacturer)
  • Datasheet language: Chinese. Pin names, descriptions, and specs on this page were extracted and translated to English by ds2sf; the linked PDF is the manufacturer original.
  • 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