main
Ray Publish 0.1.0 0a25a41 10d ago
{
  "slug": "esp32-s2",
  "version": "0.1.0",
  "type": "component",
  "description": "Espressif Systems RF Transceiver ICs, QFN-56-EP(7x7). Pinout cross-checked by two models against the datasheet, KiCad symbol/footprint/3D.",
  "tags": [
    "component",
    "rf and wireless",
    "esp32-s2",
    "factory-2.0.0",
    "extractor-text"
  ],
  "dependencies": {},
  "hero": {
    "type": "image",
    "path": "docs/hero.png"
  },
  "files": [
    "page.json",
    "README.md",
    "esp32-s2.kicad_sym",
    "esp32-s2.kicad_mod",
    "esp32-s2.glb",
    "esp32-s2.step",
    "esp32-s2.lbr",
    "docs/hero.png",
    "docs/esp32-s2-datasheet.pdf",
    "viewers/symbol.html",
    "viewers/footprint.html",
    "esp32-s2-hero.glb",
    "esp32-s2-hero.overlay.json",
    "esp32-s2-etched.glb"
  ],
  "component": {
    "mpn": "ESP32-S2",
    "manufacturer": "Espressif Systems",
    "package": "QFN-56-EP(7x7)",
    "pin_count": 57,
    "category": "RF And Wireless",
    "subcategory": "RF Transceiver ICs",
    "datasheet": "https://jlcpcb.com/api/file/downloadByFileSystemAccessId/8588893190203695104",
    "parts": {
      "symbol": "esp32-s2.kicad_sym",
      "footprint": "esp32-s2.kicad_mod",
      "model_3d": "esp32-s2-hero.glb",
      "model_3d_plain": "esp32-s2-etched.glb",
      "model_3d_step": "esp32-s2-etched.step",
      "model_3d_step_plain": "esp32-s2.step",
      "lbr": "esp32-s2.lbr"
    },
    "distributor_links": {
      "lcsc": "C529594",
      "digikey": "1965-ESP32-S2TR-ND",
      "mouser": "356-ESP32-S2"
    },
    "distributor_check": {
      "checked_at": "2026-10-19T01:05:27Z",
      "source": "Component Ocean /api/assign-pns",
      "digikey": {
        "pn": "1965-ESP32-S2TR-ND",
        "status": "found"
      },
      "mouser": {
        "pn": "356-ESP32-S2",
        "status": "found"
      }
    },
    "pins": [
      {
        "number": "1",
        "name": "VDDA",
        "type": "power_in",
        "description": "Analog power supply; VDDA, VDD3P3 and VDD3P3_RTC are specified at 2.8 V to 3.6 V (3.3 V typical)."
      },
      {
        "number": "2",
        "name": "LNA_IN",
        "type": "bidirectional",
        "description": "RF input and output pin of the 2.4 GHz front end."
      },
      {
        "number": "3",
        "name": "VDD3P3",
        "type": "power_in",
        "description": "Analog power supply, 2.8 V to 3.6 V (3.3 V typical)."
      },
      {
        "number": "4",
        "name": "VDD3P3",
        "type": "power_in",
        "description": "Analog power supply, 2.8 V to 3.6 V (3.3 V typical)."
      },
      {
        "number": "5",
        "name": "GPIO0",
        "type": "bidirectional",
        "description": "RTC_GPIO0 / GPIO0 in the VDD3P3_RTC_IO domain; strapping pin with weak pull-up by default, sampled at reset."
      },
      {
        "number": "6",
        "name": "GPIO1",
        "type": "bidirectional",
        "description": "RTC_GPIO1 / GPIO1 with TOUCH1 and ADC1_CH0 functions, powered from VDD3P3_RTC_IO."
      },
      {
        "number": "7",
        "name": "GPIO2",
        "type": "bidirectional",
        "description": "RTC_GPIO2 / GPIO2 with TOUCH2 and ADC1_CH1 functions, powered from VDD3P3_RTC_IO."
      },
      {
        "number": "8",
        "name": "GPIO3",
        "type": "bidirectional",
        "description": "RTC_GPIO3 / GPIO3 with TOUCH3 and ADC1_CH2 functions, powered from VDD3P3_RTC_IO."
      },
      {
        "number": "9",
        "name": "GPIO4",
        "type": "bidirectional",
        "description": "RTC_GPIO4 / GPIO4 with TOUCH4 and ADC1_CH3 functions, powered from VDD3P3_RTC_IO."
      },
      {
        "number": "10",
        "name": "GPIO5",
        "type": "bidirectional",
        "description": "RTC_GPIO5 / GPIO5 with TOUCH5 and ADC1_CH4 functions, powered from VDD3P3_RTC_IO."
      },
      {
        "number": "11",
        "name": "GPIO6",
        "type": "bidirectional",
        "description": "RTC_GPIO6 / GPIO6 with TOUCH6 and ADC1_CH5 functions, powered from VDD3P3_RTC_IO."
      },
      {
        "number": "12",
        "name": "GPIO7",
        "type": "bidirectional",
        "description": "RTC_GPIO7 / GPIO7 with TOUCH7 and ADC1_CH6 functions, powered from VDD3P3_RTC_IO."
      },
      {
        "number": "13",
        "name": "GPIO8",
        "type": "bidirectional",
        "description": "RTC_GPIO8 / GPIO8 with TOUCH8 and ADC1_CH7 functions, powered from VDD3P3_RTC_IO."
      },
      {
        "number": "14",
        "name": "GPIO9",
        "type": "bidirectional",
        "description": "RTC_GPIO9 / GPIO9 with TOUCH9, ADC1_CH8 and FSPIHD functions, powered from VDD3P3_RTC_IO."
      },
      {
        "number": "15",
        "name": "GPIO10",
        "type": "bidirectional",
        "description": "RTC_GPIO10 / GPIO10 with TOUCH10, ADC1_CH9, FSPICS0 and FSPIIO4 functions, powered from VDD3P3_RTC_IO."
      },
      {
        "number": "16",
        "name": "GPIO11",
        "type": "bidirectional",
        "description": "RTC_GPIO11 / GPIO11 with TOUCH11, ADC2_CH0, FSPID and FSPIIO5 functions, powered from VDD3P3_RTC_IO."
      },
      {
        "number": "17",
        "name": "GPIO12",
        "type": "bidirectional",
        "description": "RTC_GPIO12 / GPIO12 with TOUCH12, ADC2_CH1, FSPICLK and FSPIIO6 functions, powered from VDD3P3_RTC_IO."
      },
      {
        "number": "18",
        "name": "GPIO13",
        "type": "bidirectional",
        "description": "RTC_GPIO13 / GPIO13 with TOUCH13, ADC2_CH2, FSPIQ and FSPIIO7 functions, powered from VDD3P3_RTC_IO."
      },
      {
        "number": "19",
        "name": "GPIO14",
        "type": "bidirectional",
        "description": "RTC_GPIO14 / GPIO14 with TOUCH14, ADC2_CH3, FSPIWP and FSPIDQS functions, powered from VDD3P3_RTC_IO."
      },
      {
        "number": "20",
        "name": "VDD3P3_RTC",
        "type": "power_in",
        "description": "Analog power supply for the RTC, 2.8 V to 3.6 V (3.3 V typical)."
      },
      {
        "number": "21",
        "name": "XTAL_32K_P",
        "type": "bidirectional",
        "description": "External 32 kHz crystal input, also RTC_GPIO15 / GPIO15 with ADC2_CH4, U0RTS and powered from VDD3P3_RTC_IO."
      },
      {
        "number": "22",
        "name": "XTAL_32K_N",
        "type": "bidirectional",
        "description": "External 32 kHz crystal output, also RTC_GPIO16 / GPIO16 with ADC2_CH5, U0CTS and powered from VDD3P3_RTC_IO."
      },
      {
        "number": "23",
        "name": "DAC_1",
        "type": "bidirectional",
        "description": "8-bit DAC channel 1 analog output, also RTC_GPIO17 / GPIO17 with ADC2_CH6 and U1TXD; DAC reference is VDD3P3_RTC_IO."
      },
      {
        "number": "24",
        "name": "DAC_2",
        "type": "bidirectional",
        "description": "8-bit DAC channel 2 analog output, also RTC_GPIO18 / GPIO18 with ADC2_CH7, U1RXD and CLK_OUT3; DAC reference is VDD3P3_RTC_IO."
      },
      {
        "number": "25",
        "name": "GPIO19",
        "type": "bidirectional",
        "description": "RTC_GPIO19 / GPIO19 with ADC2_CH8, U1RTS, CLK_OUT2 and USB D- (full-speed USB OTG)."
      },
      {
        "number": "26",
        "name": "GPIO20",
        "type": "bidirectional",
        "description": "RTC_GPIO20 / GPIO20 with ADC2_CH9, U1CTS, CLK_OUT1 and USB D+ (full-speed USB OTG)."
      },
      {
        "number": "27",
        "name": "VDD3P3_RTC_IO",
        "type": "power_in",
        "description": "RTC IO power input; this supply also feeds the CPU and RTC, rated 3.0 V to 3.6 V (3.3 V typical)."
      },
      {
        "number": "28",
        "name": "GPIO21",
        "type": "bidirectional",
        "description": "RTC_GPIO21 / GPIO21 in the VDD3P3_RTC_IO domain."
      },
      {
        "number": "29",
        "name": "SPICS1",
        "type": "bidirectional",
        "description": "SPI chip select 1 (SPICS1 / GPIO26) in the VDD_SPI domain; on ESP32-S2FN4R2 and ESP32-S2R2 it connects to the in-package PSRAM CE#, and it is not recommended for other uses there."
      },
      {
        "number": "30",
        "name": "VDD_SPI",
        "type": "power_out",
        "description": "Output of the internal 1.8 V LDO (fed from VDD3P3_RTC_IO) or a power input from VDD3P3_RTC_IO through R_SPI; the internal LDO supplies up to 40 mA at 1.8 V."
      },
      {
        "number": "31",
        "name": "SPIHD",
        "type": "bidirectional",
        "description": "SPI HOLD signal (SPIHD / GPIO27) in the VDD_SPI domain; on flash-integrated variants it is connected to the in-package flash and not recommended for other uses."
      },
      {
        "number": "32",
        "name": "SPIWP",
        "type": "bidirectional",
        "description": "SPI write-protect signal (SPIWP / GPIO28) in the VDD_SPI domain; on flash-integrated variants it is connected to the in-package flash and not recommended for other uses."
      },
      {
        "number": "33",
        "name": "SPICS0",
        "type": "bidirectional",
        "description": "SPI chip select 0 (SPICS0 / GPIO29) in the VDD_SPI domain; on flash-integrated variants it is connected to the in-package flash and not recommended for other uses."
      },
      {
        "number": "34",
        "name": "SPICLK",
        "type": "bidirectional",
        "description": "SPI clock (SPICLK / GPIO30) in the VDD_SPI domain; on flash-integrated variants it is connected to the in-package flash and not recommended for other uses."
      },
      {
        "number": "35",
        "name": "SPIQ",
        "type": "bidirectional",
        "description": "SPI data MISO/IO1 (SPIQ / GPIO31) in the VDD_SPI domain; on flash-integrated variants it is connected to the in-package flash and not recommended for other uses."
      },
      {
        "number": "36",
        "name": "SPID",
        "type": "bidirectional",
        "description": "SPI data MOSI/IO0 (SPID / GPIO32) in the VDD_SPI domain; on flash-integrated variants it is connected to the in-package flash and not recommended for other uses."
      },
      {
        "number": "37",
        "name": "GPIO33",
        "type": "bidirectional",
        "description": "GPIO33 (SPIIO4, FSPIHD) in the VDD3P3_CPU domain by default, selectable to VDD_SPI by software."
      },
      {
        "number": "38",
        "name": "GPIO34",
        "type": "bidirectional",
        "description": "GPIO34 (SPIIO5, FSPICS0) in the VDD3P3_CPU domain by default, selectable to VDD_SPI by software."
      },
      {
        "number": "39",
        "name": "GPIO35",
        "type": "bidirectional",
        "description": "GPIO35 (SPIIO6, FSPID) in the VDD3P3_CPU domain by default, selectable to VDD_SPI by software."
      },
      {
        "number": "40",
        "name": "GPIO36",
        "type": "bidirectional",
        "description": "GPIO36 (SPIIO7, FSPICLK) in the VDD3P3_CPU domain by default, selectable to VDD_SPI by software."
      },
      {
        "number": "41",
        "name": "GPIO37",
        "type": "bidirectional",
        "description": "GPIO37 (SPIDQS, FSPIQ) in the VDD3P3_CPU domain by default, selectable to VDD_SPI by software."
      },
      {
        "number": "42",
        "name": "GPIO38",
        "type": "bidirectional",
        "description": "General-purpose I/O GPIO38 (FSPIWP) in the VDD3P3_CPU domain."
      },
      {
        "number": "43",
        "name": "MTCK",
        "type": "bidirectional",
        "description": "JTAG debug clock MTCK, also GPIO39 and CLK_OUT3, in the VDD3P3_CPU domain."
      },
      {
        "number": "44",
        "name": "MTDO",
        "type": "bidirectional",
        "description": "JTAG debug data output MTDO, also GPIO40 and CLK_OUT2, in the VDD3P3_CPU domain."
      },
      {
        "number": "45",
        "name": "VDD3P3_CPU",
        "type": "power_in",
        "description": "CPU IO power input, 2.8 V to 3.6 V (3.3 V typical); must not exceed 3.3 V when writing eFuse."
      },
      {
        "number": "46",
        "name": "MTDI",
        "type": "bidirectional",
        "description": "JTAG debug data input MTDI, also GPIO41 and CLK_OUT1, in the VDD3P3_CPU domain."
      },
      {
        "number": "47",
        "name": "MTMS",
        "type": "bidirectional",
        "description": "JTAG debug mode select MTMS, also GPIO42, in the VDD3P3_CPU domain."
      },
      {
        "number": "48",
        "name": "U0TXD",
        "type": "bidirectional",
        "description": "UART0 transmit U0TXD, also GPIO43 and CLK_OUT1; ROM boot log is printed here by default."
      },
      {
        "number": "49",
        "name": "U0RXD",
        "type": "bidirectional",
        "description": "UART0 receive U0RXD, also GPIO44 and CLK_OUT2, in the VDD3P3_CPU domain."
      },
      {
        "number": "50",
        "name": "GPIO45",
        "type": "bidirectional",
        "description": "GPIO45 in the VDD3P3_CPU domain; strapping pin that selects the VDD_SPI voltage, with weak pull-down by default."
      },
      {
        "number": "51",
        "name": "VDDA",
        "type": "power_in",
        "description": "Analog power supply, 2.8 V to 3.6 V (3.3 V typical)."
      },
      {
        "number": "52",
        "name": "XTAL_N",
        "type": "passive",
        "description": "External main crystal output; a 40 MHz main crystal is required for the chip to run."
      },
      {
        "number": "53",
        "name": "XTAL_P",
        "type": "passive",
        "description": "External main crystal input; a 40 MHz main crystal is required for the chip to run."
      },
      {
        "number": "54",
        "name": "VDDA",
        "type": "power_in",
        "description": "Analog power supply, 2.8 V to 3.6 V (3.3 V typical)."
      },
      {
        "number": "55",
        "name": "GPIO46",
        "type": "input",
        "description": "Input-only GPIO46 with fixed pull-down and no output capability; strapping pin that controls ROM boot-log printing."
      },
      {
        "number": "56",
        "name": "CHIP_PU",
        "type": "input",
        "description": "Chip enable: high enables the chip, low shuts it down; must not be left floating and is powered from VDD3P3_RTC_IO."
      },
      {
        "number": "57",
        "name": "GND",
        "type": "power_in",
        "description": "Ground; this is the exposed thermal/ground pad of the QFN-56 package."
      }
    ],
    "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: Package variant: the datasheet gives the QFN56 (7x7 mm) drawing as Figure 8 for all variants except ; Pin 57 (GND) is listed in the pin table as the exposed pad, and the description is based on that tab; Pin types for VDD_SPI (pin 30, PD in the table) and VDD3P3_CPU / VDD3P3_RTC_IO (PD) were mapped to p"
        ],
        "pages_sent": 43,
        "cost_usd": 0.2365,
        "at": "2026-10-19T01:03:15"
      },
      "datasheet": {
        "url": "https://jlcpcb.com/api/file/downloadByFileSystemAccessId/8588893190203695104",
        "pages": 52,
        "sha256": "4a9a84db4a708c85",
        "source_tier": "lcsc"
      },
      "cad": "KiCad official (CC-BY-SA 4.0)",
      "pins": {
        "total": 57,
        "described": 57,
        "cites_pages": true,
        "refuses_to_fabricate": true
      }
    },
    "viewers": {
      "symbol": "viewers/symbol.html",
      "footprint": "viewers/footprint.html"
    },
    "models_3d": [
      {
        "file": "esp32-s2.step",
        "role": "plain",
        "up": "Z",
        "units": "mm",
        "origin": "footprint origin = pad-pattern centre",
        "seat": "z = 0",
        "extents_mm": [
          7.0,
          7.0,
          0.885
        ],
        "zmin_mm": 0.0,
        "centre_offset_mm": 0.0,
        "footprint_binding": "identity",
        "sha256": "b42d9b0c7a8d55564f4e9bb74be3ab877d958a268411c07a496787496cfb1b99",
        "checked": "2026-10-19",
        "checked_by": "factory/step_pose.py (Z-up, origin, seat, binding)"
      },
      {
        "file": "esp32-s2-etched.step",
        "role": "eda",
        "up": "Z",
        "units": "mm",
        "origin": "footprint origin = pad-pattern centre",
        "seat": "z = 0",
        "extents_mm": [
          7.0,
          7.0,
          0.885
        ],
        "zmin_mm": 0.0,
        "centre_offset_mm": 0.0,
        "footprint_binding": "identity",
        "sha256": "7805184b7118ccf61681f7e084d28a3f5669be2fcb9896c4fc48aa645047546c",
        "checked": "2026-10-19",
        "checked_by": "factory/step_pose.py (Z-up, origin, seat, binding)"
      }
    ]
  }
}