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.
Loads when you scroll to it. Unloads after 5 minutes in the background.
Download PDF
Contents

README

markdown

HC89S003AF4U7M

Shanghai Holychip Elec · Microcontroller Units (MCUs/MPUs/SOCs) · QFN-20-EP(3x3)

HC89S003AF4U7M from Shanghai Holychip Elec, in a QFN-20-EP(3x3). 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 P0.1 bidirectional General I/O port P0.1, also ADC channel 1 input (AN1), external interrupt 1 (INT1) and PWM1 fault-detection input (FLT1); the port is configurable as input, pull-up/pull-down input, Schmitt input, analog, push-pull or open-drain output.
2 P0.0 bidirectional General I/O port P0.0, also ADC channel 0 input (AN0), external interrupt 0 (INT0) and PWM0 fault-detection input (FLT0), whose debounce is set by the P00DBC register.
3 GND power_in Ground (power supply ground); the datasheet requires a capacitor of at least 0.1 µF between VDD and GND for system stability.
4 P1.0 bidirectional General I/O port P1.0, also external crystal input XIN, software-selectable external interrupt 0 (INT0_1) and comparator 2 positive input (CMP2+).
5 VDD power_in Power supply input, operating range 2.0 V to 5.5 V; the exposed pad under the package is connected to this pin.
6 P1.1 bidirectional General I/O port P1.1, also external crystal output XOUT, software-selectable external interrupt 1 (INT1_1) and comparator 3 positive input (CMP3+).
7 P2.7 bidirectional General I/O port P2.7, also external reset input RST (factory default, Schmitt input with pull-up), external interrupt 15 (INT15) and ADC channel 15 (AN15); it cannot be used as GPIO while configured as RST.
8 P2.6 bidirectional General I/O port P2.6, also JTAG TMS input, external interrupt 14 (INT14), ADC channel 14 (AN14), port low-voltage detection input PLVD (1.2 V threshold) and comparator negative input (CMP-).
9 P2.5 bidirectional General I/O port P2.5, also JTAG TCK input, external interrupt 13 (INT13), ADC channel 13 (AN13) and comparator 1 positive input (CMP1+).
10 P2.4 bidirectional General I/O port P2.4, also JTAG TDO data output, external interrupt 12 (INT12) and ADC channel 12 (AN12).
11 P2.3 bidirectional General I/O port P2.3, also JTAG TDI data input, external interrupt 11 (INT11) and ADC channel 11 (AN11).
12 P2.1 bidirectional General I/O port P2.1, also ADC channel 9 input (AN9), external interrupt 9 (INT9) and two-wire IIC data line SDA.
13 P2.2 bidirectional General I/O port P2.2, also ADC channel 10 input (AN10) and external interrupt 10 (INT10).
14 P2.0 bidirectional General I/O port P2.0, also ADC channel 8 input (AN8) and external interrupt 8 (INT8).
15 P0.7 bidirectional General I/O port P0.7, also ADC channel 7 input (AN7) and external interrupt 7 (INT7).
16 P0.6 bidirectional General I/O port P0.6, also ADC channel 6 input (AN6) and external interrupt 6 (INT6).
17 P0.5 bidirectional General I/O port P0.5, also ADC channel 5 input (AN5) and external interrupt 5 (INT5).
18 P0.4 bidirectional General I/O port P0.4, also ADC channel 4 input (AN4), ADC external reference voltage input/output Vref (must be analog input when used) and external interrupt 4 (INT4).
19 P0.3 bidirectional General I/O port P0.3, also ADC channel 3 input (AN3), external interrupt 3 (INT3) and two-wire mode clock input SCK.
20 P0.2 bidirectional General I/O port P0.2, also ADC channel 2 input (AN2), external interrupt 2 (INT2) and PWM2 fault-detection input (FLT2).
21 EP passive Exposed pad (from the footprint; not named in the datasheet pin table).

Key specifications

Parameter Value
Manufacturer Shanghai Holychip Elec
Package QFN-20-EP(3x3)
Category Single Chip Microcomputer/Microcontroller
Pins 21

Electrical characteristics

Limits as printed in the datasheet (page.json metadata.characteristics carries them as data).

Parameter Symbol Min Typ Max Unit Conditions Page
DC supply voltage VDD -0.3 6 V 168
Operating ambient temperature TOTG -40 105 °C 168
Storage temperature TSTG -55 125 °C 168
Maximum current flowing through VDD 100 mA 5.0V, 25°C 168
Maximum current flowing through GND 150 mA 5.0V, 25°C 168
Operating voltage VDD 2 5 5.5 V FCPU =16MHz 或 44KHz,ADC模块关闭 168
ADC supply voltage VAD 2 5 5.5 V 171
ADC accuracy (resolution) NR 10 12 bit GND≤VAIN≤Vref 171
ADC input resistance RAIN 2 MΩ VAIN:5V 171
Recommended analog voltage source impedance ZAIN 10 kΩ 171
ADC conversion current IAD 0.6 1 mA ADC模块打开,VDD:5.0V 171
ADC input current IADIN 10 μA VDD:5.0V 171
Differential nonlinearity error DLE -2 2 LSB VDD:5.0V 171
Integral nonlinearity error (1MHz conversion frequency), Vref=1.3V ILE -5 2 LSB 1MHz 转换频率; VDD=5.0V,Vref =1.3V 171
Integral nonlinearity error (1MHz conversion frequency), Vref=2V ILE -5 2 LSB 1MHz 转换频率; VDD=5.0V,Vref =2V 171
Integral nonlinearity error (1MHz conversion frequency), Vref=3V ILE -4 2 LSB 1MHz 转换频率; VDD=5.0V,Vref =3V 171
Integral nonlinearity error (1MHz conversion frequency), Vref=4V ILE -3 2 LSB 1MHz 转换频率; VDD=5.0V,Vref =4V 171
Integral nonlinearity error (1MHz conversion frequency), Vref=VDD ILE -2 2 LSB 1MHz 转换频率; VDD=5.0V,Vref =VDD 171
Integral nonlinearity error (1MHz conversion frequency), external Vref ILE -2 2 LSB 1MHz 转换频率; VDD=5.0V,Vref =外参 171
Full-scale error EF -5 5 LSB VDD=5.0V 171
Offset error EZ -3 3 LSB VDD=5.0V 171
Total absolute error EAD -5 5 LSB VDD=5.0V 171
Total conversion time 1 TCON1 10 μs VDD=5.0V,Vref =2/3/4V 171
Total conversion time 2 TCON2 2 μs VDD=5.0V,Vref =VDD 171
Flash read/write endurance NENDUR 100000 Cycle 171
BOR threshold 1 VBOR1 1.7 1.8 1.9 V BOR 使能,VDD:2V~5.5V 172
BOR threshold 2 VBOR2 1.9 2 2.1 V 172
BOR threshold 3 VBOR3 2.3 2.4 2.5 V 172
BOR threshold 4 VBOR4 2.5 2.6 2.7 V 172
BOR threshold 5 VBOR5 2.9 3 3.1 V 172
BOR threshold 6 VBOR6 3.5 3.6 3.7 V 172
BOR threshold 7 VBOR7 3.8 3.9 4 V 172
BOR threshold 8 VBOR8 4.1 4.2 4.3 V 172
LVD threshold 1 VLVD1 1.8 1.9 2 V 172
LVD threshold 2 VLVD2 1.9 2 2.1 V 172
LVD threshold 3 VLVD3 2.3 2.4 2.5 V 172
LVD threshold 4 VLVD4 2.5 2.6 2.7 V 172
LVD threshold 5 VLVD5 2.9 3 3.1 V 172
LVD threshold 6 VLVD6 3.5 3.6 3.7 V 172
LVD threshold 7 VLVD7 3.8 3.9 4 V 172
LVD threshold 8 VLVD8 4.1 4.2 4.3 V 172
Comparator input offset voltage VOS -4 4 mV VDD=5V 172
Comparator input common-mode voltage range VICM 0 V VDD=5V 172
Comparator operating current ICOMP 200 400 nA 172
Comparator small-signal response time TRS1 1 2 us VDD=5V, CMPP=1.25V, CMPN=1.2V 172
Comparator large-signal response time TRS2 0.3 0.5 us VDD=5V, CMPP=3V, CMPN=1V 172
Comparator signal source output impedance Rin 1 MΩ VDD=5V 172
ESD HBM classification 5500 V Class 3A 175
ESD MM classification 400 V Class C 175
ESD CDM classification 1000 V Class C3 175
Electrical fast transient (EFT) -4800 4800 V 175

CAD (KiCad official)

  • Symbol: HC89S003AF4U7M
  • Footprint: Package_DFN_QFN:UQFN-20-1EP_3x3mm_P0.4mm_EP1.85x1.85mm
  • 3D model: QFN-20-EP(3x3) (KiCad packages3D, STEP)
  • 3D model files: hc89s003af4u7m-etched.step / hc89s003af4u7m-etched.glb carry the MPN laser-etched on the die in a toggleable Adom.LaserEtch group (Fusion-ready); hc89s003af4u7m.step / hc89s003af4u7m.glb are the bare package body.

Provenance

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

  • Datasheet: Shanghai Holychip Elec datasheet (180 pp, sha256 1c5d28a8a2b0f75f, retrieved 2026-10-18, 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, 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