main
Ray Publish 0.1.0 867a731 6d ago
{
  "slug": "mg32f103rbt6",
  "version": "0.1.0",
  "type": "component",
  "description": "Megawin Tech Microcontrollers (MCU/MPU/SOC), LQFP-64(10x10). Pinout cross-checked by two models against the datasheet, KiCad symbol/footprint/3D.",
  "tags": [
    "component",
    "embedded processors & controllers",
    "mg32f103rbt6",
    "factory-2.0.0",
    "extractor-text"
  ],
  "dependencies": {},
  "hero": {
    "type": "image",
    "path": "docs/hero.png"
  },
  "files": [
    "page.json",
    "README.md",
    "mg32f103rbt6.kicad_sym",
    "mg32f103rbt6.kicad_mod",
    "mg32f103rbt6.glb",
    "mg32f103rbt6.step",
    "mg32f103rbt6.lbr",
    "docs/hero.png",
    "docs/mg32f103rbt6-datasheet.pdf",
    "viewers/symbol.html",
    "viewers/footprint.html",
    "mg32f103rbt6-hero.glb",
    "mg32f103rbt6-hero.overlay.json",
    "mg32f103rbt6-etched.glb"
  ],
  "component": {
    "mpn": "MG32F103RBT6",
    "manufacturer": "Megawin Tech",
    "package": "LQFP-64(10x10)",
    "pin_count": 64,
    "category": "Embedded Processors & Controllers",
    "subcategory": "Microcontrollers (MCU/MPU/SOC)",
    "datasheet": "https://jlcpcb.com/api/file/downloadByFileSystemAccessId/8590226451451977728",
    "parts": {
      "symbol": "mg32f103rbt6.kicad_sym",
      "footprint": "mg32f103rbt6.kicad_mod",
      "model_3d": "mg32f103rbt6-hero.glb",
      "model_3d_plain": "mg32f103rbt6-etched.glb",
      "model_3d_step": "mg32f103rbt6-etched.step",
      "model_3d_step_plain": "mg32f103rbt6.step",
      "lbr": "mg32f103rbt6.lbr"
    },
    "distributor_links": {
      "lcsc": "C2976661"
    },
    "distributor_check": {
      "checked_at": "2026-10-20T18:31:44Z",
      "source": "Component Ocean /api/assign-pns",
      "digikey": {
        "pn": null,
        "status": "no match"
      },
      "mouser": {
        "pn": null,
        "status": "no match"
      }
    },
    "pins": [
      {
        "number": "1",
        "name": "VBAT",
        "type": "power_in",
        "description": "Backup supply input, 1.8 V to 3.6 V, which powers the RTC, the external 32 kHz oscillator and the backup registers when VDD is off."
      },
      {
        "number": "2",
        "name": "PC13",
        "type": "bidirectional",
        "description": "General-purpose I/O (max 16 mA per pin), with alternate function TAMPER/RTC."
      },
      {
        "number": "3",
        "name": "PC14",
        "type": "bidirectional",
        "description": "General-purpose I/O (max 16 mA per pin), with the OSC32_IN function for the 32.768 kHz LSE crystal."
      },
      {
        "number": "4",
        "name": "PC15",
        "type": "bidirectional",
        "description": "General-purpose I/O (max 16 mA per pin), with the OSC32_OUT function for the 32.768 kHz LSE crystal."
      },
      {
        "number": "5",
        "name": "PD0",
        "type": "bidirectional",
        "description": "General-purpose I/O (max 16 mA per pin), with the OSC_IN function for the 4 to 16 MHz HSE crystal."
      },
      {
        "number": "6",
        "name": "PD1",
        "type": "bidirectional",
        "description": "General-purpose I/O (max 16 mA per pin), with the OSC_OUT function for the 4 to 16 MHz HSE crystal."
      },
      {
        "number": "7",
        "name": "NRST",
        "type": "input",
        "description": "External reset pin, active low, which triggers a system reset when driven low."
      },
      {
        "number": "8",
        "name": "PC0",
        "type": "bidirectional",
        "description": "General-purpose I/O (max 16 mA per pin), with alternate functions I2S_WS, SPIM2_NSS0, SPIS2_NSS and analog input ADC_IN10."
      },
      {
        "number": "9",
        "name": "PC1",
        "type": "bidirectional",
        "description": "General-purpose I/O (max 16 mA per pin), with alternate functions I2S_SCLK, SPIM2_SCK, SPIS2_SCK and analog input ADC_IN11."
      },
      {
        "number": "10",
        "name": "PC2",
        "type": "bidirectional",
        "description": "General-purpose I/O (max 16 mA per pin), with alternate functions I2S_SD0, SPIM2_MI, SPIS2_SO and analog input ADC_IN12."
      },
      {
        "number": "11",
        "name": "PC3",
        "type": "bidirectional",
        "description": "General-purpose I/O (max 16 mA per pin), with alternate functions I2S_SD1, SPIM2_MO, SPIS2_SI and analog input ADC_IN13."
      },
      {
        "number": "12",
        "name": "VSSA",
        "type": "power_in",
        "description": "Analog ground for the ADC; must be connected to the same ground system as the other VSS pins."
      },
      {
        "number": "13",
        "name": "VDDA",
        "type": "power_in",
        "description": "Analog supply for the ADC, 2.4 V to 3.6 V while the ADC operates; the datasheet recommends using the same supply for VDD and VDDA."
      },
      {
        "number": "14",
        "name": "PA0",
        "type": "bidirectional",
        "description": "General-purpose I/O (max 16 mA per pin), with alternate functions TIM2_CH1_ETR, UART2_CTS, WKUP (a rising edge exits Standby mode) and analog input ADC_IN0."
      },
      {
        "number": "15",
        "name": "PA1",
        "type": "bidirectional",
        "description": "General-purpose I/O (max 16 mA per pin), with alternate functions TIM2_CH2, UART2_RTS and analog input ADC_IN1."
      },
      {
        "number": "16",
        "name": "PA2",
        "type": "bidirectional",
        "description": "General-purpose I/O (max 16 mA per pin), with alternate functions TIM2_CH3, UART2_TX and analog input ADC_IN2."
      },
      {
        "number": "17",
        "name": "PA3",
        "type": "bidirectional",
        "description": "General-purpose I/O (max 16 mA per pin), with alternate functions TIM2_CH4, UART2_RX and analog input ADC_IN3."
      },
      {
        "number": "18",
        "name": "VSS_4",
        "type": "power_in",
        "description": "Digital ground pin; all VSS pins must be connected to the external supply system, with a maximum difference of 50 mV between ground pins."
      },
      {
        "number": "19",
        "name": "VDD_4",
        "type": "power_in",
        "description": "Digital supply for I/O pins and the internal LDO, 2.0 V to 3.6 V; all VDD pins must be connected to the supply system."
      },
      {
        "number": "20",
        "name": "PA4",
        "type": "bidirectional",
        "description": "General-purpose I/O (max 16 mA per pin), with alternate functions QSPI_NSS0, SPIS1_NSS, UART2_CK and analog input ADC_IN4."
      },
      {
        "number": "21",
        "name": "PA5",
        "type": "bidirectional",
        "description": "General-purpose I/O (max 16 mA per pin), with alternate functions QSPI_SCK, SPIS1_SCK and analog input ADC_IN5."
      },
      {
        "number": "22",
        "name": "PA6",
        "type": "bidirectional",
        "description": "General-purpose I/O (max 16 mA per pin), with alternate functions TIM1_BKIN, TIM3_CH1, QSPI_MI_IO1, SPIS1_SO and analog input ADC_IN6."
      },
      {
        "number": "23",
        "name": "PA7",
        "type": "bidirectional",
        "description": "General-purpose I/O (max 16 mA per pin), with alternate functions TIM1_CH1N, TIM3_CH2, QSPI_MO_IO0, SPIS1_SI and analog input ADC_IN7."
      },
      {
        "number": "24",
        "name": "PC4",
        "type": "bidirectional",
        "description": "General-purpose I/O (max 16 mA per pin), with alternate function TRACECK and analog input ADC_IN14."
      },
      {
        "number": "25",
        "name": "PC5",
        "type": "bidirectional",
        "description": "General-purpose I/O (max 16 mA per pin), with alternate functions SPIM2_NSS2, TRACED0 and analog input ADC_IN15."
      },
      {
        "number": "26",
        "name": "PB0",
        "type": "bidirectional",
        "description": "General-purpose I/O (max 16 mA per pin), with alternate functions TIM1_CH2N, TIM3_CH3, I2S_MCLK, QSPI_IO2 and analog input ADC_IN8."
      },
      {
        "number": "27",
        "name": "PB1",
        "type": "bidirectional",
        "description": "General-purpose I/O (max 16 mA per pin), with alternate functions TIM1_CH3N, TIM3_CH4, QSPI_IO3 and analog input ADC_IN9."
      },
      {
        "number": "28",
        "name": "PB2",
        "type": "bidirectional",
        "description": "General-purpose I/O (max 16 mA per pin), which also serves as the BOOT1 boot-mode select pin sampled at startup."
      },
      {
        "number": "29",
        "name": "PB10",
        "type": "bidirectional",
        "description": "General-purpose I/O (max 16 mA per pin), with alternate functions TIM2_CH3, TIM4_CH1, I2C2_SCL, QSPI_NSS2, UART3_TX."
      },
      {
        "number": "30",
        "name": "PB11",
        "type": "bidirectional",
        "description": "General-purpose I/O (max 16 mA per pin), with alternate functions TIM2_CH4, I2C2_SDA, SPIM2_NSS1, UART3_RX."
      },
      {
        "number": "31",
        "name": "VSS_1",
        "type": "power_in",
        "description": "Digital ground pin; all VSS pins must be connected to the external supply system."
      },
      {
        "number": "32",
        "name": "VDD_1",
        "type": "power_in",
        "description": "Digital supply for I/O pins and the internal LDO, 2.0 V to 3.6 V; all VDD pins must be connected to the supply system."
      },
      {
        "number": "33",
        "name": "PB12",
        "type": "bidirectional",
        "description": "General-purpose I/O (max 16 mA per pin), with alternate functions TIM1_BKIN, I2S_WS, LED4, SPIM2_NSS0, SPIS2_NSS, UART3_CK."
      },
      {
        "number": "34",
        "name": "PB13",
        "type": "bidirectional",
        "description": "General-purpose I/O (max 16 mA per pin), with alternate functions TIM1_CH1N, I2S_SCLK, LED5, SPIM2_SCK, SPIS2_SCK, UART3_CTS."
      },
      {
        "number": "35",
        "name": "PB14",
        "type": "bidirectional",
        "description": "General-purpose I/O (max 16 mA per pin), with alternate functions TIM1_CH2N, LED6, SPIM2_MI, SPIS2_SO, UART3_RTS."
      },
      {
        "number": "36",
        "name": "PB15",
        "type": "bidirectional",
        "description": "General-purpose I/O (max 16 mA per pin), with alternate functions TIM1_CH3N, LED7, SPIM2_MO, SPIS2_SI, I2S_SD0."
      },
      {
        "number": "37",
        "name": "PC6",
        "type": "bidirectional",
        "description": "General-purpose I/O (max 16 mA per pin), with alternate functions TIM3_CH1, I2S_MCLK, LED0."
      },
      {
        "number": "38",
        "name": "PC7",
        "type": "bidirectional",
        "description": "General-purpose I/O (max 16 mA per pin), with alternate functions TIM3_CH2, I2S_MCLK, LED1."
      },
      {
        "number": "39",
        "name": "PC8",
        "type": "bidirectional",
        "description": "General-purpose I/O (max 16 mA per pin), with alternate functions TIM3_CH3, LED2."
      },
      {
        "number": "40",
        "name": "PC9",
        "type": "bidirectional",
        "description": "General-purpose I/O (max 16 mA per pin), with alternate functions TIM3_CH4, LED3, TRACED1."
      },
      {
        "number": "41",
        "name": "PA8",
        "type": "bidirectional",
        "description": "General-purpose I/O (max 16 mA per pin), with alternate functions TIM1_CH1, LED0, UART1_CK, MCO and analog comparator input CMPA_P0."
      },
      {
        "number": "42",
        "name": "PA9",
        "type": "bidirectional",
        "description": "General-purpose I/O (max 16 mA per pin), with alternate functions TIM1_CH2, LED1, UART1_TX and analog comparator input CMPA_N0."
      },
      {
        "number": "43",
        "name": "PA10",
        "type": "bidirectional",
        "description": "General-purpose I/O (max 16 mA per pin), with alternate functions TIM1_CH3, LED2, UART1_RX."
      },
      {
        "number": "44",
        "name": "PA11",
        "type": "bidirectional",
        "description": "General-purpose I/O (max 16 mA per pin), with alternate functions TIM1_CH4, LED3, UART1_CTS and the USB D- signal USBDM."
      },
      {
        "number": "45",
        "name": "PA12",
        "type": "bidirectional",
        "description": "General-purpose I/O (max 16 mA per pin), with alternate functions TIM1_ETR, UART1_RTS and the USB D+ signal USBDP."
      },
      {
        "number": "46",
        "name": "PA13",
        "type": "bidirectional",
        "description": "General-purpose I/O (max 16 mA per pin), with the SWDIO debug data function, alternate function QSPI_NSS1 and analog comparator input CMPA_P3."
      },
      {
        "number": "47",
        "name": "VSS_2",
        "type": "power_in",
        "description": "Digital ground pin; all VSS pins must be connected to the external supply system."
      },
      {
        "number": "48",
        "name": "VDD_2",
        "type": "power_in",
        "description": "Digital supply for I/O pins and the internal LDO, 2.0 V to 3.6 V; all VDD pins must be connected to the supply system."
      },
      {
        "number": "49",
        "name": "PA14",
        "type": "bidirectional",
        "description": "General-purpose I/O (max 16 mA per pin), with the SWDCLK debug clock function, alternate function QSPI_NSS2 and analog comparator input CMPA_N3."
      },
      {
        "number": "50",
        "name": "PA15",
        "type": "bidirectional",
        "description": "General-purpose I/O (max 16 mA per pin), with alternate functions TIM2_CH1_ETR, I2S_WS, I2C1_SMBAI, QSPI_NSS0, SPIS1_NSS and analog comparator input CMPB_P3."
      },
      {
        "number": "51",
        "name": "PC10",
        "type": "bidirectional",
        "description": "General-purpose I/O (max 16 mA per pin), with alternate functions LED4, UART3_TX, TRACED2 and analog comparator input CMPB_P1."
      },
      {
        "number": "52",
        "name": "PC11",
        "type": "bidirectional",
        "description": "General-purpose I/O (max 16 mA per pin), with alternate functions LED5, UART3_RX, TRACED3 and analog comparator input CMPB_P2."
      },
      {
        "number": "53",
        "name": "PC12",
        "type": "bidirectional",
        "description": "General-purpose I/O (max 16 mA per pin), with alternate functions TIM4_ETR, LED6, UART3_CK and analog comparator input CMPB_N0."
      },
      {
        "number": "54",
        "name": "PD2",
        "type": "bidirectional",
        "description": "General-purpose I/O (max 16 mA per pin), with alternate functions TIM3_ETR, LED7 and analog comparator input CMPB_P0."
      },
      {
        "number": "55",
        "name": "PB3",
        "type": "bidirectional",
        "description": "General-purpose I/O (max 16 mA per pin), with alternate functions SWO, TIM2_CH2, I2S_SCLK, QSPI_SCK, SPIS1_SCK and analog comparator input CMPB_N3."
      },
      {
        "number": "56",
        "name": "PB4",
        "type": "bidirectional",
        "description": "General-purpose I/O (max 16 mA per pin), with alternate functions TIM3_CH1, QSPI_MI_IO1, SPIS1_SO and analog comparator input CMPA_P1."
      },
      {
        "number": "57",
        "name": "PB5",
        "type": "bidirectional",
        "description": "General-purpose I/O (max 16 mA per pin), with alternate functions TIM3_CH2, I2S_SD1, I2C1_SMBAI, QSPI_MO_IO0, SPIS1_SI and analog comparator input CMPA_P2."
      },
      {
        "number": "58",
        "name": "PB6",
        "type": "bidirectional",
        "description": "General-purpose I/O (max 16 mA per pin), with alternate functions TIM4_CH1, I2C1_SCL, QSPI_NSS1, UART1_TX and analog comparator input CMPA_N1."
      },
      {
        "number": "59",
        "name": "PB7",
        "type": "bidirectional",
        "description": "General-purpose I/O (max 16 mA per pin), with alternate functions TIM4_CH2, I2C1_SDA, SPIM2_NSS1, UART1_RX and analog comparator input CMPA_N2."
      },
      {
        "number": "60",
        "name": "BOOT0",
        "type": "input",
        "description": "Boot-mode select pin sampled at startup to choose between user Flash, system memory and internal SRAM boot."
      },
      {
        "number": "61",
        "name": "PB8",
        "type": "bidirectional",
        "description": "General-purpose I/O (max 16 mA per pin), with alternate functions TIM4_CH3, I2C1_SCL, SPIM2_NSS2, UART1_CTS and analog comparator input CMPB_N1."
      },
      {
        "number": "62",
        "name": "PB9",
        "type": "bidirectional",
        "description": "General-purpose I/O (max 16 mA per pin), with alternate functions TIM4_CH4, I2C1_SDA, UART1_RTS and analog comparator input CMPB_N2."
      },
      {
        "number": "63",
        "name": "VSS_3",
        "type": "power_in",
        "description": "Digital ground pin; all VSS pins must be connected to the external supply system."
      },
      {
        "number": "64",
        "name": "VDD_3",
        "type": "power_in",
        "description": "Digital supply for I/O pins and the internal LDO, 2.0 V to 3.6 V; all VDD pins must be connected to the supply system."
      }
    ],
    "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: Pin table lists these as I/O with main functions TAMPER/RTC, OSC32_IN, OSC32_OUT, OSC_IN and OSC_OUT; The pin table main-function column shows ISOCLK and ISODIO for these pins, which the datasheet does ; Pin table types NRST as I/O, but the datasheet describes it as an external active-low reset input; i"
        ],
        "pages_sent": 41,
        "cost_usd": 0.1812,
        "at": "2026-10-20T18:28:38"
      },
      "datasheet": {
        "url": "https://jlcpcb.com/api/file/downloadByFileSystemAccessId/8590226451451977728",
        "pages": 41,
        "sha256": "d60b1d138834b89b",
        "source_tier": "lcsc"
      },
      "cad": "KiCad official (CC-BY-SA 4.0)",
      "pins": {
        "total": 64,
        "described": 64,
        "cites_pages": true,
        "refuses_to_fabricate": true
      }
    },
    "viewers": {
      "symbol": "viewers/symbol.html",
      "footprint": "viewers/footprint.html"
    },
    "models_3d": [
      {
        "file": "mg32f103rbt6.step",
        "role": "plain",
        "up": "Z",
        "units": "mm",
        "origin": "footprint origin = pad-pattern centre",
        "seat": "z = 0",
        "extents_mm": [
          12.0,
          12.0,
          1.5
        ],
        "zmin_mm": 0.0,
        "centre_offset_mm": 0.0,
        "footprint_binding": "identity",
        "sha256": "b0c827bc5c05552175d28affe44a5bd2ab45c9c36efff6ff07a74cc449b13db4",
        "checked": "2026-10-20",
        "checked_by": "factory/step_pose.py (Z-up, origin, seat, binding)"
      },
      {
        "file": "mg32f103rbt6-etched.step",
        "role": "eda",
        "up": "Z",
        "units": "mm",
        "origin": "footprint origin = pad-pattern centre",
        "seat": "z = 0",
        "extents_mm": [
          12.0,
          12.0,
          1.5
        ],
        "zmin_mm": 0.0,
        "centre_offset_mm": 0.0,
        "footprint_binding": "identity",
        "sha256": "b03795fe0d1c95b575c88c49dbeb3e11df8447f5af549d137f24e0a75e4c79a8",
        "checked": "2026-10-20",
        "checked_by": "factory/step_pose.py (Z-up, origin, seat, binding)"
      }
    ]
  }
}