main
Ray Publish 0.1.0 ef2595c
{
  "slug": "n32g031f8s7",
  "version": "0.1.0",
  "type": "component",
  "description": "Nations Technologies Inc Microcontrollers (MCU/MPU/SOC), TSSOP-20. Pinout cross-checked by two models against the datasheet, KiCad symbol/footprint/3D.",
  "tags": [
    "component",
    "embedded processors & controllers",
    "n32g031f8s7",
    "factory-2.0.0",
    "extractor-text"
  ],
  "dependencies": {},
  "hero": {
    "type": "image",
    "path": "docs/hero.png"
  },
  "files": [
    "page.json",
    "README.md",
    "n32g031f8s7.kicad_sym",
    "n32g031f8s7.kicad_mod",
    "n32g031f8s7.glb",
    "n32g031f8s7.step",
    "n32g031f8s7.lbr",
    "docs/hero.png",
    "docs/n32g031f8s7-datasheet.pdf",
    "viewers/symbol.html",
    "viewers/footprint.html",
    "n32g031f8s7-hero.glb",
    "n32g031f8s7-hero.overlay.json",
    "n32g031f8s7-etched.glb"
  ],
  "component": {
    "mpn": "N32G031F8S7",
    "manufacturer": "Nations Technologies Inc",
    "package": "TSSOP-20",
    "pin_count": 20,
    "category": "Embedded Processors & Controllers",
    "subcategory": "Microcontrollers (MCU/MPU/SOC)",
    "datasheet": "https://jlcpcb.com/api/file/downloadByFileSystemAccessId/8589834392576294912",
    "parts": {
      "symbol": "n32g031f8s7.kicad_sym",
      "footprint": "n32g031f8s7.kicad_mod",
      "model_3d": "n32g031f8s7-hero.glb",
      "model_3d_plain": "n32g031f8s7-etched.glb",
      "model_3d_step": "n32g031f8s7-etched.step",
      "model_3d_step_plain": "n32g031f8s7.step",
      "lbr": "n32g031f8s7.lbr"
    },
    "distributor_links": {
      "lcsc": "C2981443"
    },
    "distributor_check": {
      "checked_at": "2026-11-08T15:12:01Z",
      "source": "Component Ocean /api/assign-pns",
      "digikey": {
        "pn": null,
        "status": "no match"
      },
      "mouser": {
        "pn": null,
        "status": "no match"
      }
    },
    "pins": [
      {
        "number": "1",
        "name": "PF2-BOOT0",
        "type": "input",
        "description": "Dedicated BOOT0 pin that selects the boot memory; it defaults to pull-down input mode after reset."
      },
      {
        "number": "2",
        "name": "PF0-OSC_IN",
        "type": "bidirectional",
        "description": "Standard 5V I/O (TC) that defaults to floating input after reset and is multiplexed to the HSE oscillator input OSC_IN (4 to 20 MHz crystal), also with I2C1_SDA and OPAMP_VINP."
      },
      {
        "number": "3",
        "name": "PF1-OSC_OUT",
        "type": "bidirectional",
        "description": "Standard 5V I/O (TC) multiplexed to the HSE oscillator output OSC_OUT, also with I2C1_SCL, USART1_CK and USART2_CK."
      },
      {
        "number": "4",
        "name": "NRST",
        "type": "input",
        "description": "Active-low device reset input with an embedded weak pull-up (RPU 30 to 50 kΩ); the pin also serves as internal reset output."
      },
      {
        "number": "5",
        "name": "VDDA",
        "type": "power_in",
        "description": "Analog power supply, 1.8 V to 5.5 V, which must equal VDD (difference up to 300 mV allowed during power-up and normal operation)."
      },
      {
        "number": "6",
        "name": "PA0",
        "type": "bidirectional",
        "description": "Standard 5V I/O (TC) with ADC_IN0, WKUP0 wake-up, COMP_INM and OPAMP_VINP alternate functions, plus USART and SPI options."
      },
      {
        "number": "7",
        "name": "PA1",
        "type": "bidirectional",
        "description": "Standard 5V I/O (TC) with ADC_IN1, COMP_INP and OPAMP_VINP alternate functions, plus USART1_RTS, SPI1_NSS and TIM8_CH2 options."
      },
      {
        "number": "8",
        "name": "PA2",
        "type": "bidirectional",
        "description": "Standard 5V I/O (TC) with ADC_IN2, WKUP2 wake-up and OPAMP_VINM alternate functions, plus USART1_TX, USART2_TX and SPI1_MOSI options."
      },
      {
        "number": "9",
        "name": "PA3",
        "type": "bidirectional",
        "description": "Standard 5V I/O (TC) with ADC_IN3 and COMP_INP alternate functions, plus USART1_RX, USART2_RX and TIM1_CH2 options."
      },
      {
        "number": "10",
        "name": "PA4",
        "type": "bidirectional",
        "description": "Standard 5V I/O (TC) with ADC_IN4, COMP_INM and OPAMP_VINP alternate functions, plus SPI1_MISO, USART1_CK and TIM3_CH1 options."
      },
      {
        "number": "11",
        "name": "PA5",
        "type": "bidirectional",
        "description": "Standard 5V I/O (TC) with ADC_IN5, COMP_INM and OPAMP_VINM alternate functions, plus SPI1_SCK, TIM1_CH2N and TIM8_ETR options."
      },
      {
        "number": "12",
        "name": "PA6",
        "type": "bidirectional",
        "description": "Standard 5V I/O (TC) with ADC_IN6, COMP_OUT and OPAMP_VOUT alternate functions, plus SPI1_MISO, TIM3_CH1, BEEPER_OUT and LPTIM_ETR options."
      },
      {
        "number": "13",
        "name": "PA7",
        "type": "bidirectional",
        "description": "Standard 5V I/O (TC) with ADC_IN7, OPAMP_VINP and COMP_INP alternate functions, plus SPI1_MOSI, TIM3_CH2, TIM1_CH1N and BEEPER_N_OUT options."
      },
      {
        "number": "14",
        "name": "PB1",
        "type": "bidirectional",
        "description": "Standard 5V I/O (TC) port PB1 as shown on the TSSOP20 pin diagram; its alternate-function row is not in the supplied datasheet text."
      },
      {
        "number": "15",
        "name": "VSS",
        "type": "power_in",
        "description": "Ground pin for the digital supply domain."
      },
      {
        "number": "16",
        "name": "VDD",
        "type": "power_in",
        "description": "Digital power supply, 1.8 V to 5.5 V, feeding the main regulator, I/O and clock/reset system."
      },
      {
        "number": "17",
        "name": "PA9",
        "type": "bidirectional",
        "description": "Standard 5V I/O (TC) with USART1_TX, TIM1_CH2, I2C1_SCL, I2C2_SCL, SPI2_SCK and MCO alternate functions."
      },
      {
        "number": "18",
        "name": "PA10",
        "type": "bidirectional",
        "description": "Standard 5V I/O (TC) with USART1_RX, TIM1_CH3, I2C1_SDA, I2C2_SDA, SPI2_MISO and RTC_REFIN alternate functions."
      },
      {
        "number": "19",
        "name": "PA13",
        "type": "bidirectional",
        "description": "Standard 5V I/O (TC) used as SWDIO serial-wire debug data; it is placed in input pull-up mode after reset."
      },
      {
        "number": "20",
        "name": "PA14",
        "type": "bidirectional",
        "description": "Standard 5V I/O (TC) used as SWCLK serial-wire debug clock; it is placed in input pull-down mode after reset."
      }
    ],
    "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 14 is PB1 on the TSSOP20 pin diagram (Figure 3-6, page 32), inferred because all other TSSOP20 p; The datasheet ordering table lists N32G031F8S7 but does not state which package suffix letter maps t"
        ],
        "pages_sent": 54,
        "cost_usd": 0.2393,
        "at": "2026-11-08T15:11:47"
      },
      "datasheet": {
        "url": "https://jlcpcb.com/api/file/downloadByFileSystemAccessId/8589834392576294912",
        "pages": 74,
        "sha256": "db4aab771ff95019",
        "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": "n32g031f8s7.step",
        "role": "plain",
        "up": "Z",
        "units": "mm",
        "origin": "footprint origin = pad-pattern centre",
        "seat": "z = 0",
        "extents_mm": [
          6.4,
          6.5,
          1.2
        ],
        "zmin_mm": -0.0,
        "centre_offset_mm": 0.0,
        "footprint_binding": "identity",
        "sha256": "97339947f3a7196470ec2f1d9f9b92bb2fc2ab66ad53be0cf105192585ef3c9a",
        "checked": "2026-11-08",
        "checked_by": "factory/step_pose.py (Z-up, origin, seat, binding)"
      },
      {
        "file": "n32g031f8s7-etched.step",
        "role": "eda",
        "up": "Z",
        "units": "mm",
        "origin": "footprint origin = pad-pattern centre",
        "seat": "z = 0",
        "extents_mm": [
          6.4,
          6.5,
          1.2
        ],
        "zmin_mm": -0.0,
        "centre_offset_mm": 0.0,
        "footprint_binding": "identity",
        "sha256": "eda4533c58d7315ed03bca24337b96f54096488812ad3c2dad104ad65cc6cee9",
        "checked": "2026-11-08",
        "checked_by": "factory/step_pose.py (Z-up, origin, seat, binding)"
      }
    ]
  }
}