main
Ray
Publish 0.1.0
1f79a31
XM004
Shenzhen Fuman · Microcontroller Units (MCUs/MPUs/SOCs) · TSSOP-20
XM004 from Shenzhen Fuman, in a TSSOP-20. 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 | P2.0 | bidirectional | General-purpose I/O port P2.0, also usable as ADC input AN8 and external interrupt INT8. |
| 2 | P0.5 | bidirectional | General-purpose I/O port P0.5, also usable as ADC input AN5 and external interrupt INT5. |
| 3 | P0.4 | bidirectional | General-purpose I/O port P0.4, also usable as ADC input AN4, ADC external reference voltage input/output Vref, and external interrupt INT4. |
| 4 | P0.3 | bidirectional | General-purpose I/O port P0.3, also usable as ADC input AN3, external interrupt INT3, and SCK (two-wire mode clock input). |
| 5 | P0.2 | bidirectional | General-purpose I/O port P0.2, also usable as external interrupt INT2, PWM2 fault-detection input FLT2, and external crystal oscillator input XIN. |
| 6 | P0.1 | bidirectional | General-purpose I/O port P0.1, also usable as ADC input AN1, external interrupt INT1, PWM1 fault-detection input FLT1, and external crystal oscillator output XOUT. |
| 7 | GND | power_in | Power ground (0 V reference) for the device. |
| 8 | P0.0 | bidirectional | General-purpose I/O port P0.0, also usable as ADC input AN0, external interrupt INT0, and PWM0 fault-detection input FLT0. |
| 9 | VDD | power_in | Power supply input; the datasheet gives a working range of 2.0 V to 5.5 V and an absolute maximum of -0.3 V to +6.0 V. |
| 10 | P1.1 | bidirectional | General-purpose I/O port P1.1, software-configurable as external interrupt 1 input INT1_1. |
| 11 | P1.0 | bidirectional | General-purpose I/O port P1.0, software-configurable as external interrupt 0 input INT0_0. |
| 12 | P2.7 | bidirectional | General-purpose I/O port P2.7, also usable as external reset input RST and external interrupt INT15; it is the default reset pin and can be set to a normal I/O via code option. |
| 13 | P2.6 | bidirectional | General-purpose I/O port P2.6, also usable as external interrupt INT14 and port low-voltage detection input PLVD. |
| 14 | P2.5 | bidirectional | General-purpose I/O port P2.5, also usable as ADC input AN2 and external interrupt INT13. |
| 15 | P2.4 | bidirectional | General-purpose I/O port P2.4, also usable as external interrupt INT12. |
| 16 | P2.3 | bidirectional | General-purpose I/O port P2.3, also usable as external interrupt INT11. |
| 17 | P2.2 | bidirectional | General-purpose I/O port P2.2, also usable as ADC input AN10 and external interrupt INT10. |
| 18 | P2.1 | bidirectional | General-purpose I/O port P2.1, also usable as ADC input AN9, external interrupt INT9, and SDA (two-wire mode data I/O). |
| 19 | P0.6 | bidirectional | General-purpose I/O port P0.6, also usable as ADC input AN6 and external interrupt INT6. |
| 20 | P0.7 | bidirectional | General-purpose I/O port P0.7, also usable as ADC input AN7 and external interrupt INT7. |
Key specifications
| Parameter | Value |
|---|---|
| Manufacturer | Shenzhen Fuman |
| Package | TSSOP-20 |
| Category | Single Chip Microcomputer/Microcontroller |
| Pins | 20 |
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 | 6 | ||
| 工作环境温度 (operating ambient temperature) | TOTG | -40 | 85 | °C | 6 | ||
| 存储温度 (storage temperature) | TSTG | -55 | 125 | °C | 6 | ||
| 流过 VDD 的最大电流 (maximum current through VDD) | 100 | mA | 5.0V, 25°C | 6 | |||
| 流过 GND 的最大电流 (maximum current through GND) | 150 | mA | 5.0V, 25°C | 6 | |||
| 工作电压 (wide operating voltage, from features) | VDD | 2 | 5.5 | V | 宽电压 2.0V ~ 5.5V | 2 | |
| 温度范围 (operating temperature range, from features) | -40 | 85 | °C | 温度范围-40°C ~ +85°C | 2 | ||
| 工作电压 (operating voltage) | VDD | 2 | 5 | 5.5 | V | FCPU =16MHz 或 44KHz,ADC 模块关闭 | 6 |
| 输入漏电流 (input leakage current) | IILC | -1 | 0 | 1 | μA | I/O端口输入模式,VIN = VDD 或GND | 8 |
| 输出漏电流 (output leakage current) | IOLC | -1 | 0 | 1 | μA | I/O端口输出模式,VOUT = VDD 或GND | 8 |
| BOR 设定电压 1 | VBOR1 | 1.7 | 1.8 | 1.9 | V | BOR 使能,VDD=2V~5.5V | 9 |
| BOR 设定电压 2 | VBOR2 | 1.9 | 2 | 2.1 | V | 9 | |
| BOR 设定电压 3 | VBOR3 | 2.3 | 2.4 | 2.5 | V | 9 | |
| BOR 设定电压 4 | VBOR4 | 2.5 | 2.6 | 2.7 | V | 9 | |
| BOR 设定电压 5 | VBOR5 | 2.9 | 3 | 3.1 | V | 9 | |
| BOR 设定电压 6 | VBOR6 | 3.5 | 3.6 | 3.7 | V | 9 | |
| BOR 设定电压 7 | VBOR7 | 3.8 | 3.9 | 4 | V | 9 | |
| BOR 设定电压 8 | VBOR8 | 4.1 | 4.2 | 4.3 | V | 9 | |
| LVD 设定电压 1 | VLVD1 | 1.8 | 1.9 | 2 | V | 10 | |
| LVD 设定电压 2 | VLVD2 | 1.9 | 2 | 2.1 | V | 10 | |
| LVD 设定电压 3 | VLVD3 | 2.3 | 2.4 | 2.5 | V | 10 | |
| LVD 设定电压 4 | VLVD4 | 2.5 | 2.6 | 2.7 | V | 10 | |
| LVD 设定电压 5 | VLVD5 | 2.9 | 3 | 3.1 | V | 10 | |
| LVD 设定电压 6 | VLVD6 | 3.5 | 3.6 | 3.7 | V | 10 | |
| LVD 设定电压 7 | VLVD7 | 3.8 | 3.9 | 4 | V | 10 | |
| LVD 设定电压 8 | VLVD8 | 4.1 | 4.2 | 4.3 | V | 10 | |
| 内部 RC32M 启动时间 (internal RC32M start-up time) | Tset1 | 5 | μs | 常温,VDD=5V | 8 | ||
| 内部 RC44K 启动时间 (internal RC44K start-up time) | Tset2 | 150 | μs | 常温,VDD=5V | 8 | ||
| 外部高频振荡器工作电压 (external high-frequency oscillator operating voltage) | Vset3 | 2.5 | 5.5 | V | 16MHz | 8 | |
| 内部高频 RC32M 频率精度 (frequency accuracy, 25°C) | FIRC1 | -1 | 1 | % | VDD=2V~5.5V, 25°C; nominal 32 MHz | 8 | |
| 内部高频 RC32M 频率精度 (frequency accuracy, -40°C~+85°C) | FIRC2 | -2 | 2 | % | VDD=5.0V,-40°C ~+85°C; nominal 32 MHz | 8 | |
| 内部 44KHz RC 频率 (internal 44KHz RC frequency) | FWRC | 31 | 44 | 58 | KHz | 8 | |
| 供电电压 (ADC supply voltage) | VAD | 2.7 | 5 | 5.5 | V | 9 | |
| 精度 (ADC resolution) | NR | 10 | 12 | bit | GND≤VAIN≤Vref | 9 | |
| ADC 输入电阻 (ADC input resistance) | RAIN | 2 | MΩ | VAIN=5V | 9 | ||
| 模拟电压源推荐阻抗 (recommended analog source impedance) | ZAIN | 10 | kΩ | 9 | |||
| ADC 转换电流 (ADC conversion current) | IAD | 0.6 | 1 | mA | ADC 模块打开,VDD=5.0V | 9 | |
| ADC 输入电流 (ADC input current) | IADIN | 10 | μA | VDD=5.0V | 9 | ||
| 微分非线性误差 (differential nonlinearity error) | DLE | -2 | 2 | LSB | VDD=5.0V | 9 | |
| 积分非线性误差 (integral nonlinearity error, 1MHz conversion frequency) | ILE | -5 | 2 | LSB | 1MHz 转换频率; VDD=5.0V,Vref =2V | 9 | |
| 积分非线性误差 (integral nonlinearity error, 1MHz conversion frequency) | ILE | -4 | 2 | LSB | 1MHz 转换频率; VDD=5.0V,Vref =3V | 9 | |
| 积分非线性误差 (integral nonlinearity error, 1MHz conversion frequency) | ILE | -3 | 2 | LSB | 1MHz 转换频率; VDD=5.0V,Vref =4V | 9 | |
| 积分非线性误差 (integral nonlinearity error, 1MHz conversion frequency) | ILE | -2 | 2 | LSB | 1MHz 转换频率; VDD=5.0V,Vref =VDD | 9 | |
| 满刻度误差 (full-scale error) | EF | -5 | 5 | LSB | VDD=5.0V | 9 | |
| 偏移量误差 (offset error) | EZ | -3 | 3 | LSB | VDD=5.0V | 9 | |
| 总绝对误差 (total absolute error) | EAD | -5 | 5 | LSB | VDD=5.0V | 9 | |
| 总转换时间 (total conversion time) | TCON | 10 | μs | VDD=5.0V | 9 | ||
| ESD (HBM) | 4000 | V | CLASS 3A | 12 | |||
| ESD (MM) | 200 | V | CLASS 2 | 12 | |||
| Latch-up | 200 | mA | CLASSⅠ | 12 |
CAD (KiCad official)
- Symbol:
XM004 - Footprint:
Package_SO:TSSOP-20_4.4x6.5mm_P0.65mm - 3D model: TSSOP-20 (KiCad packages3D, STEP)
- 3D model files:
xm004-etched.step/xm004-etched.glbcarry the MPN laser-etched on the die in a toggleableAdom.LaserEtchgroup (Fusion-ready);xm004.step/xm004.glbare the bare package body.
Provenance
Data extracted from the manufacturer datasheet, not a distributor listing:
- Datasheet: Shenzhen Fuman datasheet (15 pp, sha256
39afb7c52d79a4f3, retrieved 2026-10-29, 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-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).
# XM004
**Shenzhen Fuman** · Microcontroller Units (MCUs/MPUs/SOCs) · TSSOP-20
XM004 from Shenzhen Fuman, in a TSSOP-20. 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 | P2.0 | bidirectional | General-purpose I/O port P2.0, also usable as ADC input AN8 and external interrupt INT8. |
| 2 | P0.5 | bidirectional | General-purpose I/O port P0.5, also usable as ADC input AN5 and external interrupt INT5. |
| 3 | P0.4 | bidirectional | General-purpose I/O port P0.4, also usable as ADC input AN4, ADC external reference voltage input/output Vref, and external interrupt INT4. |
| 4 | P0.3 | bidirectional | General-purpose I/O port P0.3, also usable as ADC input AN3, external interrupt INT3, and SCK (two-wire mode clock input). |
| 5 | P0.2 | bidirectional | General-purpose I/O port P0.2, also usable as external interrupt INT2, PWM2 fault-detection input FLT2, and external crystal oscillator input XIN. |
| 6 | P0.1 | bidirectional | General-purpose I/O port P0.1, also usable as ADC input AN1, external interrupt INT1, PWM1 fault-detection input FLT1, and external crystal oscillator output XOUT. |
| 7 | GND | power_in | Power ground (0 V reference) for the device. |
| 8 | P0.0 | bidirectional | General-purpose I/O port P0.0, also usable as ADC input AN0, external interrupt INT0, and PWM0 fault-detection input FLT0. |
| 9 | VDD | power_in | Power supply input; the datasheet gives a working range of 2.0 V to 5.5 V and an absolute maximum of -0.3 V to +6.0 V. |
| 10 | P1.1 | bidirectional | General-purpose I/O port P1.1, software-configurable as external interrupt 1 input INT1_1. |
| 11 | P1.0 | bidirectional | General-purpose I/O port P1.0, software-configurable as external interrupt 0 input INT0_0. |
| 12 | P2.7 | bidirectional | General-purpose I/O port P2.7, also usable as external reset input RST and external interrupt INT15; it is the default reset pin and can be set to a normal I/O via code option. |
| 13 | P2.6 | bidirectional | General-purpose I/O port P2.6, also usable as external interrupt INT14 and port low-voltage detection input PLVD. |
| 14 | P2.5 | bidirectional | General-purpose I/O port P2.5, also usable as ADC input AN2 and external interrupt INT13. |
| 15 | P2.4 | bidirectional | General-purpose I/O port P2.4, also usable as external interrupt INT12. |
| 16 | P2.3 | bidirectional | General-purpose I/O port P2.3, also usable as external interrupt INT11. |
| 17 | P2.2 | bidirectional | General-purpose I/O port P2.2, also usable as ADC input AN10 and external interrupt INT10. |
| 18 | P2.1 | bidirectional | General-purpose I/O port P2.1, also usable as ADC input AN9, external interrupt INT9, and SDA (two-wire mode data I/O). |
| 19 | P0.6 | bidirectional | General-purpose I/O port P0.6, also usable as ADC input AN6 and external interrupt INT6. |
| 20 | P0.7 | bidirectional | General-purpose I/O port P0.7, also usable as ADC input AN7 and external interrupt INT7. |
## Key specifications
| Parameter | Value |
|---|---|
| Manufacturer | Shenzhen Fuman |
| Package | TSSOP-20 |
| Category | Single Chip Microcomputer/Microcontroller |
| Pins | 20 |
## 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 | | 6 |
| 工作环境温度 (operating ambient temperature) | TOTG | -40 | | 85 | °C | | 6 |
| 存储温度 (storage temperature) | TSTG | -55 | | 125 | °C | | 6 |
| 流过 VDD 的最大电流 (maximum current through VDD) | | | | 100 | mA | 5.0V, 25°C | 6 |
| 流过 GND 的最大电流 (maximum current through GND) | | | | 150 | mA | 5.0V, 25°C | 6 |
| 工作电压 (wide operating voltage, from features) | VDD | 2 | | 5.5 | V | 宽电压 2.0V ~ 5.5V | 2 |
| 温度范围 (operating temperature range, from features) | | -40 | | 85 | °C | 温度范围-40°C ~ +85°C | 2 |
| 工作电压 (operating voltage) | VDD | 2 | 5 | 5.5 | V | FCPU =16MHz 或 44KHz,ADC 模块关闭 | 6 |
| 输入漏电流 (input leakage current) | IILC | -1 | 0 | 1 | μA | I/O端口输入模式,VIN = VDD 或GND | 8 |
| 输出漏电流 (output leakage current) | IOLC | -1 | 0 | 1 | μA | I/O端口输出模式,VOUT = VDD 或GND | 8 |
| BOR 设定电压 1 | VBOR1 | 1.7 | 1.8 | 1.9 | V | BOR 使能,VDD=2V~5.5V | 9 |
| BOR 设定电压 2 | VBOR2 | 1.9 | 2 | 2.1 | V | | 9 |
| BOR 设定电压 3 | VBOR3 | 2.3 | 2.4 | 2.5 | V | | 9 |
| BOR 设定电压 4 | VBOR4 | 2.5 | 2.6 | 2.7 | V | | 9 |
| BOR 设定电压 5 | VBOR5 | 2.9 | 3 | 3.1 | V | | 9 |
| BOR 设定电压 6 | VBOR6 | 3.5 | 3.6 | 3.7 | V | | 9 |
| BOR 设定电压 7 | VBOR7 | 3.8 | 3.9 | 4 | V | | 9 |
| BOR 设定电压 8 | VBOR8 | 4.1 | 4.2 | 4.3 | V | | 9 |
| LVD 设定电压 1 | VLVD1 | 1.8 | 1.9 | 2 | V | | 10 |
| LVD 设定电压 2 | VLVD2 | 1.9 | 2 | 2.1 | V | | 10 |
| LVD 设定电压 3 | VLVD3 | 2.3 | 2.4 | 2.5 | V | | 10 |
| LVD 设定电压 4 | VLVD4 | 2.5 | 2.6 | 2.7 | V | | 10 |
| LVD 设定电压 5 | VLVD5 | 2.9 | 3 | 3.1 | V | | 10 |
| LVD 设定电压 6 | VLVD6 | 3.5 | 3.6 | 3.7 | V | | 10 |
| LVD 设定电压 7 | VLVD7 | 3.8 | 3.9 | 4 | V | | 10 |
| LVD 设定电压 8 | VLVD8 | 4.1 | 4.2 | 4.3 | V | | 10 |
| 内部 RC32M 启动时间 (internal RC32M start-up time) | Tset1 | | | 5 | μs | 常温,VDD=5V | 8 |
| 内部 RC44K 启动时间 (internal RC44K start-up time) | Tset2 | | | 150 | μs | 常温,VDD=5V | 8 |
| 外部高频振荡器工作电压 (external high-frequency oscillator operating voltage) | Vset3 | 2.5 | | 5.5 | V | 16MHz | 8 |
| 内部高频 RC32M 频率精度 (frequency accuracy, 25°C) | FIRC1 | -1 | | 1 | % | VDD=2V~5.5V, 25°C; nominal 32 MHz | 8 |
| 内部高频 RC32M 频率精度 (frequency accuracy, -40°C~+85°C) | FIRC2 | -2 | | 2 | % | VDD=5.0V,-40°C ~+85°C; nominal 32 MHz | 8 |
| 内部 44KHz RC 频率 (internal 44KHz RC frequency) | FWRC | 31 | 44 | 58 | KHz | | 8 |
| 供电电压 (ADC supply voltage) | VAD | 2.7 | 5 | 5.5 | V | | 9 |
| 精度 (ADC resolution) | NR | | 10 | 12 | bit | GND≤VAIN≤Vref | 9 |
| ADC 输入电阻 (ADC input resistance) | RAIN | 2 | | | MΩ | VAIN=5V | 9 |
| 模拟电压源推荐阻抗 (recommended analog source impedance) | ZAIN | | | 10 | kΩ | | 9 |
| ADC 转换电流 (ADC conversion current) | IAD | | 0.6 | 1 | mA | ADC 模块打开,VDD=5.0V | 9 |
| ADC 输入电流 (ADC input current) | IADIN | | | 10 | μA | VDD=5.0V | 9 |
| 微分非线性误差 (differential nonlinearity error) | DLE | -2 | | 2 | LSB | VDD=5.0V | 9 |
| 积分非线性误差 (integral nonlinearity error, 1MHz conversion frequency) | ILE | -5 | | 2 | LSB | 1MHz 转换频率; VDD=5.0V,Vref =2V | 9 |
| 积分非线性误差 (integral nonlinearity error, 1MHz conversion frequency) | ILE | -4 | | 2 | LSB | 1MHz 转换频率; VDD=5.0V,Vref =3V | 9 |
| 积分非线性误差 (integral nonlinearity error, 1MHz conversion frequency) | ILE | -3 | | 2 | LSB | 1MHz 转换频率; VDD=5.0V,Vref =4V | 9 |
| 积分非线性误差 (integral nonlinearity error, 1MHz conversion frequency) | ILE | -2 | | 2 | LSB | 1MHz 转换频率; VDD=5.0V,Vref =VDD | 9 |
| 满刻度误差 (full-scale error) | EF | -5 | | 5 | LSB | VDD=5.0V | 9 |
| 偏移量误差 (offset error) | EZ | -3 | | 3 | LSB | VDD=5.0V | 9 |
| 总绝对误差 (total absolute error) | EAD | -5 | | 5 | LSB | VDD=5.0V | 9 |
| 总转换时间 (total conversion time) | TCON | 10 | | | μs | VDD=5.0V | 9 |
| ESD (HBM) | | 4000 | | | V | CLASS 3A | 12 |
| ESD (MM) | | 200 | | | V | CLASS 2 | 12 |
| Latch-up | | 200 | | | mA | CLASSⅠ | 12 |
## CAD (KiCad official)
- Symbol: `XM004`
- Footprint: `Package_SO:TSSOP-20_4.4x6.5mm_P0.65mm`
- 3D model: TSSOP-20 (KiCad packages3D, STEP)
- 3D model files: `xm004-etched.step` / `xm004-etched.glb` carry the MPN laser-etched on the die in a toggleable `Adom.LaserEtch` group (Fusion-ready); `xm004.step` / `xm004.glb` are the bare package body.
## Provenance
Data extracted from the manufacturer datasheet, not a distributor listing:
- **Datasheet:** [Shenzhen Fuman datasheet](docs/xm004-datasheet.pdf) (15 pp, sha256 `39afb7c52d79a4f3`, retrieved 2026-10-29, 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](docs/xm004-datasheet.pdf)