main
Ray Publish 0.1.0 29d73bf
{
  "slug": "rm1211aso20a",
  "version": "0.1.0",
  "type": "component",
  "description": "Realmagic Microcontroller Units (MCUs/MPUs/SOCs), SOP-20. Pinout cross-checked by two models against the datasheet, KiCad symbol/footprint/3D.",
  "tags": [
    "component",
    "embedded processors & controllers",
    "rm1211aso20a",
    "factory-2.0.0",
    "extractor-text"
  ],
  "dependencies": {},
  "hero": {
    "type": "image",
    "path": "docs/hero.png"
  },
  "files": [
    "page.json",
    "README.md",
    "rm1211aso20a.kicad_sym",
    "rm1211aso20a.kicad_mod",
    "rm1211aso20a.glb",
    "rm1211aso20a.step",
    "rm1211aso20a.lbr",
    "docs/hero.png",
    "docs/rm1211aso20a-datasheet.pdf",
    "viewers/symbol.html",
    "viewers/footprint.html",
    "rm1211aso20a-hero.glb",
    "rm1211aso20a-hero.overlay.json",
    "rm1211aso20a-etched.glb"
  ],
  "component": {
    "mpn": "RM1211ASO20A",
    "manufacturer": "Realmagic",
    "package": "SOP-20",
    "pin_count": 20,
    "category": "Embedded Processors & Controllers",
    "subcategory": "Microcontroller Units (MCUs/MPUs/SOCs)",
    "datasheet": "https://datasheet.lcsc.com/datasheet/pdf/3ddcfd0135b72fb178f8a694ef966e96.pdf",
    "parts": {
      "symbol": "rm1211aso20a.kicad_sym",
      "footprint": "rm1211aso20a.kicad_mod",
      "model_3d": "rm1211aso20a-hero.glb",
      "model_3d_plain": "rm1211aso20a-etched.glb",
      "model_3d_step": "rm1211aso20a-etched.step",
      "model_3d_step_plain": "rm1211aso20a.step",
      "lbr": "rm1211aso20a.lbr"
    },
    "distributor_links": {
      "lcsc": "C19269268"
    },
    "distributor_check": {
      "checked_at": "2026-10-29T03:12:30Z",
      "source": "Component Ocean /api/assign-pns",
      "digikey": {
        "pn": null,
        "status": "no match"
      },
      "mouser": {
        "pn": null,
        "status": "no match"
      }
    },
    "pins": [
      {
        "number": "1",
        "name": "VSS",
        "type": "power_in",
        "description": "Ground reference pin (地) for the device."
      },
      {
        "number": "2",
        "name": "PB0",
        "type": "bidirectional",
        "description": "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."
      },
      {
        "number": "3",
        "name": "PB1",
        "type": "bidirectional",
        "description": "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."
      },
      {
        "number": "4",
        "name": "PB2",
        "type": "bidirectional",
        "description": "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."
      },
      {
        "number": "5",
        "name": "PB3",
        "type": "bidirectional",
        "description": "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."
      },
      {
        "number": "6",
        "name": "PB4",
        "type": "bidirectional",
        "description": "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."
      },
      {
        "number": "7",
        "name": "PB5",
        "type": "bidirectional",
        "description": "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."
      },
      {
        "number": "8",
        "name": "PB6",
        "type": "bidirectional",
        "description": "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."
      },
      {
        "number": "9",
        "name": "PB7",
        "type": "bidirectional",
        "description": "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."
      },
      {
        "number": "10",
        "name": "PC0",
        "type": "bidirectional",
        "description": "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."
      },
      {
        "number": "11",
        "name": "PC1",
        "type": "bidirectional",
        "description": "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."
      },
      {
        "number": "12",
        "name": "PA7",
        "type": "bidirectional",
        "description": "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."
      },
      {
        "number": "13",
        "name": "PA6",
        "type": "bidirectional",
        "description": "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."
      },
      {
        "number": "14",
        "name": "PA5",
        "type": "bidirectional",
        "description": "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."
      },
      {
        "number": "15",
        "name": "PA4",
        "type": "bidirectional",
        "description": "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."
      },
      {
        "number": "16",
        "name": "PA3",
        "type": "bidirectional",
        "description": "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."
      },
      {
        "number": "17",
        "name": "PA2",
        "type": "bidirectional",
        "description": "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."
      },
      {
        "number": "18",
        "name": "PA1",
        "type": "bidirectional",
        "description": "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."
      },
      {
        "number": "19",
        "name": "PA0",
        "type": "bidirectional",
        "description": "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."
      },
      {
        "number": "20",
        "name": "VDD",
        "type": "power_in",
        "description": "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)."
      }
    ],
    "provenance": {
      "extractor": "extract_pins 0.3",
      "factory_chain": {
        "factory": "2.0.0",
        "extractor": "extract_pins 0.3",
        "primary_model": "claude-haiku-5-5",
        "primary_mode": "text",
        "consensus_model": "claude-sonnet-5-5",
        "consensus": "agreed",
        "guards": "pin_guards 0.1: passed",
        "guard_notes": [
          "extractor flagged: The ordering table (page 130) lists the SOP20 part as RM1211ASO20 without the trailing 'A', while th; The datasheet pin table gives the primary pin type as I/O for all GPIO pins; these were recorded as ; Pin 2 (PB0) function list begins on page 12 and was attributed to the pin number printed on page 11;"
        ],
        "pages_sent": 45,
        "cost_usd": 0.1445,
        "at": "2026-10-29T03:12:06"
      },
      "datasheet": {
        "url": "https://datasheet.lcsc.com/datasheet/pdf/3ddcfd0135b72fb178f8a694ef966e96.pdf",
        "pages": 130,
        "sha256": "80f14a0a206b3aa3",
        "source_tier": "lcsc"
      },
      "cad": "KiCad official (CC-BY-SA 4.0)",
      "pins": {
        "total": 20,
        "described": 20,
        "cites_pages": true,
        "refuses_to_fabricate": true
      }
    },
    "viewers": {
      "symbol": "viewers/symbol.html",
      "footprint": "viewers/footprint.html"
    },
    "models_3d": [
      {
        "file": "rm1211aso20a.step",
        "role": "plain",
        "up": "Z",
        "units": "mm",
        "origin": "footprint origin = pad-pattern centre",
        "seat": "z = 0",
        "extents_mm": [
          10.26,
          12.8,
          2.65
        ],
        "zmin_mm": 0.0,
        "centre_offset_mm": 0.0,
        "footprint_binding": "identity",
        "sha256": "df94d96ef55fb4e2b925b311cfe647507faeae6fffa7903f5b6c6d93d780bea2",
        "checked": "2026-10-29",
        "checked_by": "factory/step_pose.py (Z-up, origin, seat, binding)"
      },
      {
        "file": "rm1211aso20a-etched.step",
        "role": "eda",
        "up": "Z",
        "units": "mm",
        "origin": "footprint origin = pad-pattern centre",
        "seat": "z = 0",
        "extents_mm": [
          10.26,
          12.8,
          2.65
        ],
        "zmin_mm": 0.0,
        "centre_offset_mm": 0.0,
        "footprint_binding": "identity",
        "sha256": "cb46e5dc7f78a279a90e54aaf7288d28bfa501c9b1f43b6ddc50fca5c38c4d5c",
        "checked": "2026-10-29",
        "checked_by": "factory/step_pose.py (Z-up, origin, seat, binding)"
      }
    ]
  }
}