Symbol & Footprint

Schematic Symbol

Open full view ↗

PCB Footprint

Open full view ↗
Contents

README

markdown

HK32F030MF4P6

HK · Microcontrollers (MCU/MPU/SOC) · TSSOP-20

HK32F030MF4P6 from HK, in a TSSOP-20. Pinout and pin descriptions extracted from the manufacturer datasheet by ds2sf; symbol, footprint, and 3D from KiCad-official CAD.

Pinout

Pin Name Type Function
1 PD4 bidirectional General-purpose I/O port D bit 4. Default function after reset is PD4 GPIO; AF0 alternate function is I2C1_SMBA.
2 PD5/SWDIO/AIN0 bidirectional Muxed pin: default after power-on is SWDIO (Serial Wire Debug data). Also usable as PD5 GPIO or ADC analog input AIN0. AF0 alternate is SWDIO.
3 PD6/AIN1 bidirectional GPIO port D bit 6, also selectable as ADC analog input AIN1. No AF0 alternate.
4 NRST input Active-low device reset input. Bidirectional in that internal reset events also drive this pin low; external pull-up recommended.
5 PA1/HSECLK1 bidirectional GPIO port A bit 1; can also be configured as external high-speed clock input HSECLK1 (1-32 MHz).
6 PA2 bidirectional GPIO port A bit 2. AF0 alternate function is I2C1_SMBA.
7 VSS/VSSA power_in Combined digital and analog ground. VSS and VSSA are bonded together on-chip; connect to system ground.
8 VCAP passive Internal LDO output / decoupling node. Datasheet notes 'NC, Floating' for this variant - leave unconnected (no external cap required per this table).
9 VDD/VDDA power_in Combined digital and analog supply. VDD and VDDA are bonded together on-chip; supply within recommended operating range (typ. 2.0-5.5 V) with local decoupling.
10 PA3 bidirectional GPIO port A bit 3. No AF0 alternate function.
11 PB5/SWCLK/HSECLK3 bidirectional Muxed pin: default after reset is SWCLK (Serial Wire Debug clock). Alternatively PB5 GPIO, HSE clock input HSECLK3, or I2C1_SDA via additional register selection.
12 PB4 bidirectional GPIO port B bit 4. AF0 alternate function is I2C1_SCL.
13 PC3 bidirectional GPIO port C bit 3. No AF0 alternate function.
14 PC4/AIN2 bidirectional GPIO port C bit 4, also selectable as ADC analog input AIN2.
15 PC5/HSECLK4 bidirectional GPIO port C bit 5; can also serve as HSE clock input HSECLK4. AF0 alternate function is I2C1_SDA.
16 PC6 bidirectional GPIO port C bit 6. AF0 alternate function is I2C1_SCL.
17 PC7 bidirectional GPIO port C bit 7. No AF0 alternate function.
18 PD1 bidirectional GPIO port D bit 1. AF0 alternate function is I2C1_SMBA.
19 PD2/AIN4 bidirectional GPIO port D bit 2, also selectable as ADC analog input AIN4.
20 PD3/AIN3 bidirectional GPIO port D bit 3, also selectable as ADC analog input AIN3.

Key specifications

Parameter Value
Manufacturer HK
Package TSSOP-20
Category MCU
Pins 20

Ordering variants

Same part, different packaging or reel option.

  • HK32F030MF4P6
  • HK32F030MF4U6
  • HK32F030MD4P6
  • HK32F030MJ4M6

CAD (KiCad official)

  • Symbol: HK32F030MF4P6
  • Footprint: Package_SO:TSSOP-20_4.4x6.5mm_P0.65mm
  • 3D model: TSSOP-20 (KiCad packages3D, STEP)

3D model downloads

Two STEP files. Same geometry, different body top:

File Size Use it when
hk32f030mf4p6.step 267 KB You want the bare part, or you mark your own boards.
hk32f030mf4p6-etched.step 3.3 MB You want the part with HK32F030MF4P6 already on it.

The marking in the etched file is real recessed geometry cut into the solid, not a texture or a decal: 815 faces against 327 in the bare model. It survives export, section views, and rendering in any CAD tool, and it drops straight into KiCad or Fusion with no extra setup.

Provenance

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

  • Datasheet: HK datasheet (50 pp, sha256 cbd107b3967444b1, retrieved 2026-08-17, tier: lcsc)
  • 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: ds2sf (Claude). Every pin and dimension is cited to a datasheet page; it refuses to fabricate.
  • CAD: KiCad official libraries (CC-BY-SA 4.0).

Datasheet PDF