main
Ray
Publish 0.1.0
29d73bf
RM1211ASO20A
Realmagic · Microcontroller Units (MCUs/MPUs/SOCs) · SOP-20
RM1211ASO20A from Realmagic, in a SOP-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 | VSS | power_in | Ground reference pin (地) for the device. |
| 2 | PB0 | bidirectional | Bidirectional programmable GPIO with alternate functions ADC15, TK15, XIN (external crystal input), A1O (op-amp/comparator 1 output), T1PWM2N (Timer1 PWM2 inverted output) and T2PWM0 (Timer2 PWM0 output); single-pin IOH max 25 mA and IOL max 20 mA. |
| 3 | PB1 | bidirectional | Bidirectional programmable GPIO with alternate functions ADC14, TK14, XOUT (external crystal output), VREF (internal reference voltage output), RCOUT (internal main clock output), T1PWM1 and TX (UART output); single-pin IOH max 25 mA and IOL max 20 mA. |
| 4 | PB2 | bidirectional | Bidirectional programmable GPIO with alternate functions ADC13, TK13, RSTN (external reset input), A2N (op-amp/comparator 2 negative input), T1PWM2 and T2PWM1; single-pin IOH max 25 mA and IOL max 20 mA. |
| 5 | PB3 | bidirectional | Bidirectional programmable GPIO with alternate functions ADC12, TK12, A3P (op-amp/comparator 3 positive input), INT1 (external interrupt 1 input), T1PWM1 and T1PWM0N; single-pin IOH max 25 mA and IOL max 20 mA. |
| 6 | PB4 | bidirectional | Bidirectional programmable GPIO with alternate functions ADC11, TK11, A3N (op-amp/comparator 3 negative input), RX (UART input), T1 (Timer1 counter input) and T1PWM0; single-pin IOH max 25 mA and IOL max 20 mA. |
| 7 | PB5 | bidirectional | Bidirectional programmable GPIO with alternate functions ADC10, TK10, A3O (op-amp/comparator 3 output), INT1, T1PWM0N, T1PWM1 and T1PWM2; single-pin IOH max 25 mA and IOL max 20 mA. |
| 8 | PB6 | bidirectional | Bidirectional programmable GPIO with alternate functions ADC9, TK9, A2O (op-amp/comparator 2 output), T1PWM1N and T2PWM1; single-pin IOH max 25 mA and IOL max 20 mA. |
| 9 | PB7 | bidirectional | Bidirectional programmable GPIO with alternate functions ADC8, TK8, A2N (op-amp/comparator 2 negative input), T0 (Timer0 counter input), T1PWM2N and INT0; single-pin IOH max 25 mA and IOL max 20 mA. |
| 10 | PC0 | bidirectional | Bidirectional programmable GPIO with alternate functions ADC16, TK16, A2P (op-amp/comparator 2 positive input), VREF, TX (UART output), T2PWM0 and T1PWM2; single-pin IOH max 25 mA and IOL max 20 mA. |
| 11 | PC1 | bidirectional | Bidirectional programmable GPIO with alternate functions ADC17, TK17, A1P (op-amp/comparator 1 positive input), RCOUT, RX (UART input) and T1PWM3; single-pin IOH max 25 mA and IOL max 20 mA. |
| 12 | PA7 | bidirectional | Bidirectional programmable GPIO with alternate functions ADC7, TK7, A1N (op-amp/comparator 1 negative input) and T1PWM3N; single-pin IOH max 25 mA and IOL max 20 mA. Also used as VREFN for the ADC reference when selected in ADCCON1. |
| 13 | PA6 | bidirectional | Bidirectional programmable GPIO with alternate functions ADC6, TK6, A1O (op-amp/comparator 1 output), T1PWM3 and T1PWM0; single-pin IOH max 25 mA and IOL max 20 mA. |
| 14 | PA5 | bidirectional | Bidirectional programmable GPIO with alternate functions ADC5, TK5, A0O (op-amp/comparator 0 output) and T1PWM1N; single-pin IOH max 25 mA and IOL max 20 mA. |
| 15 | PA4 | bidirectional | Bidirectional programmable GPIO with alternate functions ADC4, TK4, A0N (op-amp/comparator 0 negative input), VREF, RX (UART input) and T1PWM0N; single-pin IOH max 25 mA and IOL max 20 mA. Can also be used as external VREFP input for the ADC reference. |
| 16 | PA3 | bidirectional | Bidirectional programmable GPIO with alternate functions PDA (serial programming/debug data I/O), ADC3, TK3, A0P (op-amp/comparator 0 positive input), TX (UART output), T2PWM1 and T1PWM0; single-pin IOH max 25 mA and IOL max 20 mA. Can also be used as external VREFP input for the ADC reference. |
| 17 | PA2 | bidirectional | Bidirectional programmable GPIO with alternate functions PCL (serial programming/debug clock input), ADC2, TK2, A2P (op-amp/comparator 2 positive input), T2PWM0 and T1PWM1N; single-pin IOH max 25 mA and IOL max 20 mA. |
| 18 | PA1 | bidirectional | Bidirectional programmable GPIO with alternate functions ADC1, TK1, VREF, A1P (op-amp/comparator 1 positive input), INT0, TX (UART output) and T1PWM3; single-pin IOH max 25 mA and IOL max 20 mA. Can also be used as external VREFP input for the ADC reference. |
| 19 | PA0 | bidirectional | Bidirectional programmable GPIO with alternate functions ADC0, TK0, A1N (op-amp/comparator 1 negative input), INT1, RX (UART input) and T1PWM3N; single-pin IOH max 25 mA and IOL max 20 mA. |
| 20 | VDD | power_in | Power supply pin; absolute maximum VDD is -0.3 to +5.5 V and the datasheet gives an operating range of 1.8 to 5.5 V (frequency-dependent minimum of 3.0 V or 4.0 V at 8 MHz or 16 MHz). |
Key specifications
| Parameter | Value |
|---|---|
| Manufacturer | Realmagic |
| Package | SOP-20 |
| Category | Embedded Processors & Controllers |
| 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 |
|---|---|---|---|---|---|---|---|
| 供电电压 (Supply voltage, absolute maximum) | VDD | -0.3 | 5.5 | V | 123 | ||
| 输入电压 (Input voltage, all I/O ports) | VI | -0.3 | V | All I/O ports; upper limit printed as VDD + 0.3 V (formula, not converted) | 123 | ||
| 输出电压 (Output voltage, all output ports) | VO | -0.3 | V | All output ports; upper limit printed as VDD + 0.3 V (formula, not converted) | 123 | ||
| I/O口输出电流 (I/O output current, single I/O port) | IOH | -25 | mA | Single I/O port working | 123 | ||
| I/O口输出电流 (I/O output current, all I/O ports) | IOH | -80 | mA | All I/O ports working | 123 | ||
| I/O口输入电流 (I/O input current, single I/O port) | IOL | 20 | mA | Single I/O port working | 123 | ||
| I/O口输入电流 (I/O input current, all I/O ports) | IOL | 80 | mA | All I/O ports working | 123 | ||
| 工作温度 (Operating temperature) | TA | -40 | 85 | ℃ | 123 | ||
| 储藏温度 (Storage temperature) | TSTG | -40 | 125 | ℃ | 123 | ||
| 工作电压 (Operating voltage, 0.4-2MHz/2CLK) | VDD | 1.8 | 5.5 | V | 振荡器频率 = 0.4-2MHz/2CLK | 123 | |
| 工作电压 (Operating voltage, 0.4-8MHz/2CLK) | VDD | 3 | 5.5 | V | 振荡器频率 = 0.4-8MHz/2CLK | 123 | |
| 工作电压 (Operating voltage, 0.4-16MHz/2CLK) | VDD | 4 | 5.5 | V | 振荡器频率 = 0.4-16MHz/2CLK | 123 | |
| 输入高漏电流 (Input high leakage current) | ILIH1 | 1 | uA | All input ports, VIN = VDD | 124 | ||
| 输入低漏电流 (Input low leakage current) | ILIL1 | -1 | uA | All input ports, VIN = 0V | 124 | ||
| 输出高漏电流 (Output high leakage current) | ILOH | 2 | uA | All output pins, VOUT = VDD | 124 | ||
| 输出低漏电流 (Output low leakage current) | ILOL | -2 | uA | All output pins, VOUT = 0V | 124 | ||
| 上拉电阻 (Pull-up resistance) | RP1 | 25 | 50 | 100 | kΩ | VIN = 0V, VDD = 5V, TA = 25℃ | 124 |
| 下拉电阻 (Pull-down resistance) | RP2 | 25 | 50 | 100 | kΩ | VIN = 0V, VDD = 5V, TA = 25℃ | 124 |
| 供电电流 (Run mode current, IRC 16MHz, 2CLK) | IDD1 | 3.2 | 6 | mA | IRC 16MHz, 2CLK, VDD = 5V, TA = 25℃ | 124 | |
| 睡眠模式电流 (Sleep current, LVR disabled) | IDD3 | 0.5 | uA | VDD = 3.3V (禁止LVR), TA = 25℃ | 124 | ||
| 睡眠模式电流 (Sleep current, LVR enabled) | IDD3 | 1 | uA | VDD = 3.3V (使能LVR), TA = 25℃ | 124 | ||
| 睡眠模式电流 (Sleep current, LVR disabled) | IDD3 | 1.2 | uA | VDD = 5V (禁止LVR), TA = 25℃ | 124 | ||
| 睡眠模式电流 (Sleep current, LVR enabled) | IDD3 | 1.8 | uA | VDD = 5V (使能LVR), TA = 25℃ | 124 | ||
| 校准后内部时钟频率 (HIRC calibrated frequency accuracy) | -1 | 1 | % | TA = 25℃, VDD = 5V | 124 | ||
| 校准后内部时钟频率 (HIRC calibrated frequency accuracy) | -3 | 3 | % | TA = -40 |
124 | ||
| 校准后内部时钟频率 (LIRC calibrated frequency accuracy) | -10 | 10 | % | TA = 25℃, VDD = 2.5V~5.5V | 125 | ||
| 校准后内部时钟频率 (LIRC calibrated frequency accuracy) | -40 | 40 | % | TA = -40 |
125 |
CAD (KiCad official)
- Symbol:
RM1211ASO20A - Footprint:
Package_SO:SOP-20_7.5x12.8mm_P1.27mm - 3D model: SOP-20, generated from the KiCad footprint (body from the F.Fab outline, terminals on the pads, 2.65 mm nominal SOIC height). Neither the vendor nor KiCad ships a 3D model for this package, so the dimensions are nominal, not the manufacturer's CAD (STEP)
- 3D model files:
rm1211aso20a-etched.step/rm1211aso20a-etched.glbcarry the MPN laser-etched on the die in a toggleableAdom.LaserEtchgroup (Fusion-ready);rm1211aso20a.step/rm1211aso20a.glbare the bare package body.
Provenance
Data extracted from the manufacturer datasheet, not a distributor listing:
- Datasheet: Realmagic datasheet (130 pp, sha256
80f14a0a206b3aa3, 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).
# RM1211ASO20A
**Realmagic** · Microcontroller Units (MCUs/MPUs/SOCs) · SOP-20
RM1211ASO20A from Realmagic, in a SOP-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 | VSS | power_in | Ground reference pin (地) for the device. |
| 2 | PB0 | bidirectional | Bidirectional programmable GPIO with alternate functions ADC15, TK15, XIN (external crystal input), A1O (op-amp/comparator 1 output), T1PWM2N (Timer1 PWM2 inverted output) and T2PWM0 (Timer2 PWM0 output); single-pin IOH max 25 mA and IOL max 20 mA. |
| 3 | PB1 | bidirectional | Bidirectional programmable GPIO with alternate functions ADC14, TK14, XOUT (external crystal output), VREF (internal reference voltage output), RCOUT (internal main clock output), T1PWM1 and TX (UART output); single-pin IOH max 25 mA and IOL max 20 mA. |
| 4 | PB2 | bidirectional | Bidirectional programmable GPIO with alternate functions ADC13, TK13, RSTN (external reset input), A2N (op-amp/comparator 2 negative input), T1PWM2 and T2PWM1; single-pin IOH max 25 mA and IOL max 20 mA. |
| 5 | PB3 | bidirectional | Bidirectional programmable GPIO with alternate functions ADC12, TK12, A3P (op-amp/comparator 3 positive input), INT1 (external interrupt 1 input), T1PWM1 and T1PWM0N; single-pin IOH max 25 mA and IOL max 20 mA. |
| 6 | PB4 | bidirectional | Bidirectional programmable GPIO with alternate functions ADC11, TK11, A3N (op-amp/comparator 3 negative input), RX (UART input), T1 (Timer1 counter input) and T1PWM0; single-pin IOH max 25 mA and IOL max 20 mA. |
| 7 | PB5 | bidirectional | Bidirectional programmable GPIO with alternate functions ADC10, TK10, A3O (op-amp/comparator 3 output), INT1, T1PWM0N, T1PWM1 and T1PWM2; single-pin IOH max 25 mA and IOL max 20 mA. |
| 8 | PB6 | bidirectional | Bidirectional programmable GPIO with alternate functions ADC9, TK9, A2O (op-amp/comparator 2 output), T1PWM1N and T2PWM1; single-pin IOH max 25 mA and IOL max 20 mA. |
| 9 | PB7 | bidirectional | Bidirectional programmable GPIO with alternate functions ADC8, TK8, A2N (op-amp/comparator 2 negative input), T0 (Timer0 counter input), T1PWM2N and INT0; single-pin IOH max 25 mA and IOL max 20 mA. |
| 10 | PC0 | bidirectional | Bidirectional programmable GPIO with alternate functions ADC16, TK16, A2P (op-amp/comparator 2 positive input), VREF, TX (UART output), T2PWM0 and T1PWM2; single-pin IOH max 25 mA and IOL max 20 mA. |
| 11 | PC1 | bidirectional | Bidirectional programmable GPIO with alternate functions ADC17, TK17, A1P (op-amp/comparator 1 positive input), RCOUT, RX (UART input) and T1PWM3; single-pin IOH max 25 mA and IOL max 20 mA. |
| 12 | PA7 | bidirectional | Bidirectional programmable GPIO with alternate functions ADC7, TK7, A1N (op-amp/comparator 1 negative input) and T1PWM3N; single-pin IOH max 25 mA and IOL max 20 mA. Also used as VREFN for the ADC reference when selected in ADCCON1. |
| 13 | PA6 | bidirectional | Bidirectional programmable GPIO with alternate functions ADC6, TK6, A1O (op-amp/comparator 1 output), T1PWM3 and T1PWM0; single-pin IOH max 25 mA and IOL max 20 mA. |
| 14 | PA5 | bidirectional | Bidirectional programmable GPIO with alternate functions ADC5, TK5, A0O (op-amp/comparator 0 output) and T1PWM1N; single-pin IOH max 25 mA and IOL max 20 mA. |
| 15 | PA4 | bidirectional | Bidirectional programmable GPIO with alternate functions ADC4, TK4, A0N (op-amp/comparator 0 negative input), VREF, RX (UART input) and T1PWM0N; single-pin IOH max 25 mA and IOL max 20 mA. Can also be used as external VREFP input for the ADC reference. |
| 16 | PA3 | bidirectional | Bidirectional programmable GPIO with alternate functions PDA (serial programming/debug data I/O), ADC3, TK3, A0P (op-amp/comparator 0 positive input), TX (UART output), T2PWM1 and T1PWM0; single-pin IOH max 25 mA and IOL max 20 mA. Can also be used as external VREFP input for the ADC reference. |
| 17 | PA2 | bidirectional | Bidirectional programmable GPIO with alternate functions PCL (serial programming/debug clock input), ADC2, TK2, A2P (op-amp/comparator 2 positive input), T2PWM0 and T1PWM1N; single-pin IOH max 25 mA and IOL max 20 mA. |
| 18 | PA1 | bidirectional | Bidirectional programmable GPIO with alternate functions ADC1, TK1, VREF, A1P (op-amp/comparator 1 positive input), INT0, TX (UART output) and T1PWM3; single-pin IOH max 25 mA and IOL max 20 mA. Can also be used as external VREFP input for the ADC reference. |
| 19 | PA0 | bidirectional | Bidirectional programmable GPIO with alternate functions ADC0, TK0, A1N (op-amp/comparator 1 negative input), INT1, RX (UART input) and T1PWM3N; single-pin IOH max 25 mA and IOL max 20 mA. |
| 20 | VDD | power_in | Power supply pin; absolute maximum VDD is -0.3 to +5.5 V and the datasheet gives an operating range of 1.8 to 5.5 V (frequency-dependent minimum of 3.0 V or 4.0 V at 8 MHz or 16 MHz). |
## Key specifications
| Parameter | Value |
|---|---|
| Manufacturer | Realmagic |
| Package | SOP-20 |
| Category | Embedded Processors & Controllers |
| 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 |
|---|---|---|---|---|---|---|---|
| 供电电压 (Supply voltage, absolute maximum) | VDD | -0.3 | | 5.5 | V | | 123 |
| 输入电压 (Input voltage, all I/O ports) | VI | -0.3 | | | V | All I/O ports; upper limit printed as VDD + 0.3 V (formula, not converted) | 123 |
| 输出电压 (Output voltage, all output ports) | VO | -0.3 | | | V | All output ports; upper limit printed as VDD + 0.3 V (formula, not converted) | 123 |
| I/O口输出电流 (I/O output current, single I/O port) | IOH | -25 | | | mA | Single I/O port working | 123 |
| I/O口输出电流 (I/O output current, all I/O ports) | IOH | -80 | | | mA | All I/O ports working | 123 |
| I/O口输入电流 (I/O input current, single I/O port) | IOL | | | 20 | mA | Single I/O port working | 123 |
| I/O口输入电流 (I/O input current, all I/O ports) | IOL | | | 80 | mA | All I/O ports working | 123 |
| 工作温度 (Operating temperature) | TA | -40 | | 85 | ℃ | | 123 |
| 储藏温度 (Storage temperature) | TSTG | -40 | | 125 | ℃ | | 123 |
| 工作电压 (Operating voltage, 0.4-2MHz/2CLK) | VDD | 1.8 | | 5.5 | V | 振荡器频率 = 0.4-2MHz/2CLK | 123 |
| 工作电压 (Operating voltage, 0.4-8MHz/2CLK) | VDD | 3 | | 5.5 | V | 振荡器频率 = 0.4-8MHz/2CLK | 123 |
| 工作电压 (Operating voltage, 0.4-16MHz/2CLK) | VDD | 4 | | 5.5 | V | 振荡器频率 = 0.4-16MHz/2CLK | 123 |
| 输入高漏电流 (Input high leakage current) | ILIH1 | | | 1 | uA | All input ports, VIN = VDD | 124 |
| 输入低漏电流 (Input low leakage current) | ILIL1 | | | -1 | uA | All input ports, VIN = 0V | 124 |
| 输出高漏电流 (Output high leakage current) | ILOH | | | 2 | uA | All output pins, VOUT = VDD | 124 |
| 输出低漏电流 (Output low leakage current) | ILOL | | | -2 | uA | All output pins, VOUT = 0V | 124 |
| 上拉电阻 (Pull-up resistance) | RP1 | 25 | 50 | 100 | kΩ | VIN = 0V, VDD = 5V, TA = 25℃ | 124 |
| 下拉电阻 (Pull-down resistance) | RP2 | 25 | 50 | 100 | kΩ | VIN = 0V, VDD = 5V, TA = 25℃ | 124 |
| 供电电流 (Run mode current, IRC 16MHz, 2CLK) | IDD1 | | 3.2 | 6 | mA | IRC 16MHz, 2CLK, VDD = 5V, TA = 25℃ | 124 |
| 睡眠模式电流 (Sleep current, LVR disabled) | IDD3 | | | 0.5 | uA | VDD = 3.3V (禁止LVR), TA = 25℃ | 124 |
| 睡眠模式电流 (Sleep current, LVR enabled) | IDD3 | | | 1 | uA | VDD = 3.3V (使能LVR), TA = 25℃ | 124 |
| 睡眠模式电流 (Sleep current, LVR disabled) | IDD3 | | | 1.2 | uA | VDD = 5V (禁止LVR), TA = 25℃ | 124 |
| 睡眠模式电流 (Sleep current, LVR enabled) | IDD3 | | | 1.8 | uA | VDD = 5V (使能LVR), TA = 25℃ | 124 |
| 校准后内部时钟频率 (HIRC calibrated frequency accuracy) | | -1 | | 1 | % | TA = 25℃, VDD = 5V | 124 |
| 校准后内部时钟频率 (HIRC calibrated frequency accuracy) | | -3 | | 3 | % | TA = -40~85℃, VDD = 2.5V~5.5V | 124 |
| 校准后内部时钟频率 (LIRC calibrated frequency accuracy) | | -10 | | 10 | % | TA = 25℃, VDD = 2.5V~5.5V | 125 |
| 校准后内部时钟频率 (LIRC calibrated frequency accuracy) | | -40 | | 40 | % | TA = -40~85℃, VDD = 2.5V~5.5V | 125 |
## CAD (KiCad official)
- Symbol: `RM1211ASO20A`
- Footprint: `Package_SO:SOP-20_7.5x12.8mm_P1.27mm`
- 3D model: SOP-20, generated from the KiCad footprint (body from the F.Fab outline, terminals on the pads, 2.65 mm nominal SOIC height). Neither the vendor nor KiCad ships a 3D model for this package, so the dimensions are nominal, not the manufacturer's CAD (STEP)
- 3D model files: `rm1211aso20a-etched.step` / `rm1211aso20a-etched.glb` carry the MPN laser-etched on the die in a toggleable `Adom.LaserEtch` group (Fusion-ready); `rm1211aso20a.step` / `rm1211aso20a.glb` are the bare package body.
## Provenance
Data extracted from the manufacturer datasheet, not a distributor listing:
- **Datasheet:** [Realmagic datasheet](docs/rm1211aso20a-datasheet.pdf) (130 pp, sha256 `80f14a0a206b3aa3`, 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/rm1211aso20a-datasheet.pdf)