3D Model
Open in new tab ↗
Loads when you scroll to it. Unloads after 5 minutes in the background.
Symbol & Footprint
Schematic Symbol
Open full view ↗Loads when you scroll to it. Unloads after 5 minutes in the background.
PCB Footprint
Open full view ↗Loads when you scroll to it. Unloads after 5 minutes in the background.
Datasheet
Open in new tab ↗Loads when you scroll to it. Unloads after 5 minutes in the background.
README
markdownHK32F031C6T6
HK · Microcontroller Units (MCUs/MPUs/SOCs) · LQFP-48(7x7)
HK32F031C6T6 from HK, in a LQFP-48(7x7). 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 | VBAT | power_in | Backup power supply (1.8-5.5V) that powers the RTC, LSE oscillator and backup registers when VDD is off. |
| 2 | PC13 | bidirectional | General-purpose I/O with additional functions RTC_TAMP1, RTC_TS, RTC_OUT and WKUP2. |
| 3 | PC14 | bidirectional | General-purpose I/O with additional function OSC32_IN (32.768kHz LSE oscillator input). |
| 4 | PC15 | bidirectional | General-purpose I/O with additional function OSC32_OUT (32.768kHz LSE oscillator output). |
| 5 | PF0 | bidirectional | General-purpose I/O with alternate function I2C1_SDA and additional function OSC_IN (HSE oscillator input). |
| 6 | PF1 | bidirectional | General-purpose I/O with alternate function I2C1_SCL and additional function OSC_OUT (HSE oscillator output). |
| 7 | NRST | bidirectional | Reset input / internal reset output, active low. |
| 8 | VSSA | power_in | Analog ground. |
| 9 | VDDA | power_in | Analog power supply (2.0-5.5V) for the ADC and temperature sensor analog parts. |
| 10 | PA0 | bidirectional | General-purpose I/O with TIM2_CH1, TIM2_ETR, USART1_CTS, ADC_IN0, RTC_TAMP2 and WKUP1. |
| 11 | PA1 | bidirectional | General-purpose I/O with TIM2_CH2, EVENTOUT, USART1_RTS and ADC_IN1. |
| 12 | PA2 | bidirectional | General-purpose I/O with TIM2_CH3, USART1_TX and ADC_IN2. |
| 13 | PA3 | bidirectional | General-purpose I/O with TIM2_CH4, USART1_RX and ADC_IN3. |
| 14 | PA4 | bidirectional | General-purpose I/O with SPI1_NSS, I2S1_WS, TIM14_CH1, USART1_CK and ADC_IN4. |
| 15 | PA5 | bidirectional | General-purpose I/O with SPI1_SCK, I2S1_CK, TIM2_CH1, TIM2_ETR and ADC_IN5. |
| 16 | PA6 | bidirectional | General-purpose I/O with SPI1_MISO, I2S1_MCK, TIM3_CH1, TIM1_BKIN, TIM16_CH1, EVENTOUT, ADC_IN6 and WKUP10. |
| 17 | PA7 | bidirectional | General-purpose I/O with SPI1_MOSI, I2S1_SD, TIM3_CH2, TIM14_CH1, TIM1_CH1N, TIM17_CH1, EVENTOUT, MCO, ADC_IN7 and WKUP11. |
| 18 | PB0 | bidirectional | General-purpose I/O with TIM3_CH3, TIM1_CH2N, EVENTOUT and ADC_IN8. |
| 19 | PB1 | bidirectional | General-purpose I/O with TIM3_CH4, TIM14_CH1, TIM1_CH3N and ADC_IN9. |
| 20 | PB2 | bidirectional | General-purpose I/O with alternate function I2C1_SMBA. |
| 21 | PB10 | bidirectional | General-purpose I/O with TIM2_CH3 and I2C1_SCL. |
| 22 | PB11 | bidirectional | General-purpose I/O with TIM2_CH4, EVENTOUT and I2C1_SDA. |
| 23 | VSS | power_in | Digital ground. |
| 24 | VDD | power_in | Digital power supply (2.0-5.5V) for the I/O pins and internal LDO. |
| 25 | PB12 | bidirectional | General-purpose I/O with TIM1_BKIN, EVENTOUT, SPI1_NSS and I2S1_WS. |
| 26 | PB13 | bidirectional | General-purpose I/O with TIM1_CH1N, SPI1_SCK and I2S1_CK. |
| 27 | PB14 | bidirectional | General-purpose I/O with TIM1_CH2N, SPI1_MISO and I2S1_MCK. |
| 28 | PB15 | bidirectional | General-purpose I/O with TIM1_CH3N, SPI1_MOSI, I2S1_SD and RTC_REFIN. |
| 29 | PA8 | bidirectional | General-purpose I/O with USART1_CK, TIM1_CH1, EVENTOUT and MCO. |
| 30 | PA9 | bidirectional | General-purpose I/O with USART1_TX, TIM1_CH2, I2C1_SCL, MCO and WKUP12. |
| 31 | PA10 | bidirectional | General-purpose I/O with USART1_RX, TIM1_CH3, TIM17_BKIN, I2C1_SDA and WKUP13. |
| 32 | PA11 | bidirectional | General-purpose I/O with USART1_CTS, TIM1_CH4 and EVENTOUT. |
| 33 | PA12 | bidirectional | General-purpose I/O with USART1_RTS, TIM1_ETR and EVENTOUT. |
| 34 | PA13 | bidirectional | General-purpose I/O with IR_OUT and SWDIO (serial wire debug data). |
| 35 | PF6 | bidirectional | General-purpose I/O with alternate function I2C1_SCL. |
| 36 | PF7 | bidirectional | General-purpose I/O with alternate function I2C1_SDA. |
| 37 | PA14 | bidirectional | General-purpose I/O with USART1_TX and SWCLK (serial wire debug clock). |
| 38 | PA15 | bidirectional | General-purpose I/O with SPI1_NSS, I2S1_WS, TIM2_CH1, TIM2_ETR, EVENTOUT and USART1_RX. |
| 39 | PB3 | bidirectional | General-purpose I/O with SPI1_SCK, I2S1_CK, TIM2_CH2 and EVENTOUT. |
| 40 | PB4 | bidirectional | General-purpose I/O with SPI1_MISO, I2S1_MCK, TIM3_CH1, EVENTOUT and TIM17_BKIN. |
| 41 | PB5 | bidirectional | General-purpose I/O with SPI1_MOSI, I2S1_SD, I2C1_SMBA, TIM16_BKIN and TIM3_CH2. |
| 42 | PB6 | bidirectional | General-purpose I/O with I2C1_SCL, USART1_TX and TIM16_CH1N. |
| 43 | PB7 | bidirectional | General-purpose I/O with I2C1_SDA, USART1_RX and TIM17_CH1N. |
| 44 | Boot0 | input | Boot memory selection input. |
| 45 | PB8 | bidirectional | General-purpose I/O with I2C1_SCL and TIM16_CH1. |
| 46 | PB9 | bidirectional | General-purpose I/O with I2C1_SDA, IR_OUT, TIM17_CH1 and EVENTOUT. |
| 47 | VSS | power_in | Digital ground. |
| 48 | VDD | power_in | Digital power supply (2.0-5.5V) for the I/O pins and internal LDO. |
Key specifications
| Parameter | Value |
|---|---|
| Manufacturer | HK |
| Package | LQFP-48(7x7) |
| Category | Embedded Processors & Controllers |
| Pins | 48 |
Electrical characteristics
Limits as printed in the datasheet (page.json metadata.characteristics carries them as data).
| Parameter | Symbol | Min | Typ | Max | Unit | Conditions | Page |
|---|---|---|---|---|---|---|---|
| External main supply voltage (incl. VDDA) | VDD-VSS | -0.5 | 6 | V | 26 | ||
| Voltage difference between supply pins | /ΔVDDx/ | 50 | mV | 26 | |||
| Voltage difference between ground pins | /VSSX−VSS/ | 50 | mV | 26 | |||
| Total current through VDD/VDDA | IVDD | 150 | mA | supply current | 26 | ||
| Total current out of VSS | IVSS | 150 | mA | output current | 26 | ||
| Output sink current on any I/O and control pin | IIO | 25 | mA | sink | 26 | ||
| Output source current on any I/O and control pin | IIO | -25 | mA | source | 26 | ||
| Injected current on a pin | IINJ(PIN) | -5 | 5 | mA | 26 | ||
| Total injected current on all I/O and control pins | ΣIINJ(PIN) | -25 | 25 | mA | 26 | ||
| Storage temperature range | TSTG | -45 | 150 | °C | 26 | ||
| Maximum junction temperature | TJ | 125 | °C | 26 | |||
| Internal AHB clock frequency | fHCLK | 0 | 72 | MHz | 27 | ||
| Internal APB1 clock frequency | fPCLK1 | 0 | 72 | MHz | 27 | ||
| Internal APB2 clock frequency | fPCLK2 | 0 | 72 | MHz | 27 | ||
| Standard operating voltage | VDD | 2 | 5.5 | V | 27 | ||
| Analog operating voltage | VDDA | 2 | 5.5 | V | 27 | ||
| Backup domain operating voltage | VBAT | 1.8 | 5.5 | V | 27 | ||
| Operating temperature | T | -40 | 105 | °C | 27 | ||
| Power-on reset setup time | Tdelay rstn | 40 | us | 27 | |||
| Reset threshold | VThreshold | 1.75 | V | 27 | |||
| PVD level, rising edge | VPVD | 2.183 | 2.188 | 2.196 | V | PLS[2:0]=000 | 27 |
| PVD level, rising edge | VPVD | 2.958 | 2.969 | 2.979 | V | PLS[2:0]=111 | 27 |
| PVD level, falling edge | VPVD | 2.116 | 2.119 | 2.125 | V | PLS[2:0]=000 | 27 |
| PVD level, falling edge | VPVD | 2.798 | 2.805 | 2.817 | V | PLS[2:0]=111 | 27 |
| External HSE clock frequency | fHSE_ext | 1 | 8 | 25 | MHz | 28 | |
| HSE high/low time | Tw(HSE) | 5 | ns | 28 | |||
| HSE rise/fall time | Tr(HSE)/Tf(HSE) | 20 | ns | 28 | |||
| HSE duty cycle | DuCy(HSE) | 45 | 55 | % | 28 | ||
| External LSE clock frequency | FLSE_ext | 32.768 | 1000 | kHz | 28 | ||
| LSE high/low time | Tw(LSE) | 450 | ns | 29 | |||
| LSE rise/fall time | Tr(LSE)/Tf(LSE) | 50 | ns | 29 | |||
| LSE duty cycle | DuCy(LSE) | 30 | 70 | % | 29 | ||
| HSI clock frequency | fHSI | 8 | MHz | 29 | |||
| HSI duty cycle | DuCy(HSI) | 45 | 55 | % | 29 | ||
| HSI accuracy, factory calibrated | ACCHSI | -2 | 2.5 | % | TA= -40 to 105 °C | 29 | |
| HSI accuracy, factory calibrated | ACCHSI | -1.5 | 2.2 | % | TA= -40 to 85 °C | 29 | |
| HSI accuracy, factory calibrated | ACCHSI | -1.1 | 1.8 | % | TA = 25 °C | 29 | |
| HSI startup time | Tsu(HSI) | 1 | 2 | us | VSS≤VIN≤VDD | 29 | |
| HSI oscillator power consumption | IDD(HSI) | 80 | 100 | uA | 29 | ||
| LSI clock frequency | fLSI | 30 | 40 | 60 | kHz | 29 | |
| LSI startup time | tsu(LSI) | 85 | us | 29 | |||
| PLL input clock frequency | fPLL_IN | 1 | 8 | 25 | MHz | 29 | |
| PLL output clock frequency | fPLL_OUT | 16 | 72 | MHz | 29 | ||
| PLL lock time | tLOCK | 200 | us | 29 | |||
| PLL cycle jitter | Jitter | 300 | ps | 29 | |||
| Flash byte program time | TPROG | 6 | 7.5 | µs | 30 | ||
| Flash page erase time | TERASE | 4 | 5 | ms | 30 | ||
| Flash chip erase time | TERASE | 30 | 40 | ms | 30 | ||
| Flash read current | IDDREAD | 2 | 3 | mA | @24MHz | 30 | |
| Input leakage current | Ilkg | 3 | uA | VIN =5V | 30 | ||
| Weak pull-up equivalent resistor | RPU | 30 | 40 | 50 | KΩ | VIN=VSS | 30 |
| Weak pull-down equivalent resistor | RPD | 30 | 40 | 50 | KΩ | VIN=VDD | 30 |
| I/O pin capacitance | CIO | 5 | pF | 30 | |||
| Analog supply voltage (ADC) | 2 | 3.3 | 5.5 | V | 31 | ||
| ADC DNL | DNL | -1 | 1 | LSB | 32 | ||
| ADC INL | INL | -1.5 | 1.5 | LSB | 32 | ||
| ADC offset error | -16 | 16 | LSB | 32 | |||
| Temp sensor output voltage at 25℃ | 1.34 | 1.43 | 1.52 | V | 32 | ||
| Temp sensor gain | 4 | 4.3 | 4.6 | mV/℃ | 32 |
CAD (KiCad official)
- Symbol:
HK32F031C6T6 - Footprint:
Package_QFP:LQFP-48_7x7mm_P0.5mm - 3D model: LQFP-48(7x7) (KiCad packages3D, STEP)
- 3D model files:
hk32f031c6t6-etched.step/hk32f031c6t6-etched.glbcarry the MPN laser-etched on the die in a toggleableAdom.LaserEtchgroup (Fusion-ready);hk32f031c6t6.step/hk32f031c6t6.glbare the bare package body.
Provenance
Data extracted from the manufacturer datasheet, not a distributor listing:
- Datasheet: HK datasheet (55 pp, sha256
e942f8805062c89a, retrieved 2026-10-30, 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: parts-factory
2.0.0/extract_pins 0.3, primaryclaude-sonnet-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).