main
Ray Publish 0.1.1 01bd464
123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649
{
  "schema_version": 1,
  "type": "component",
  "slug": "ms8006",
  "title": "MS8006",
  "brief": "Macrosilicon Microcontrollers (MCU/MPU/SOC), TSSOP-20. Pinout cross-checked by two models against the datasheet, KiCad symbol/footprint/3D.",
  "version": "0.1.1",
  "license": "CC-BY-SA-4.0",
  "tags": [
    "component",
    "embedded processors & controllers",
    "ms8006",
    "factory-2.0.0",
    "extractor-text"
  ],
  "component": {
    "mpn": "MS8006",
    "manufacturer": "Macrosilicon",
    "package": "TSSOP-20",
    "pin_count": 20,
    "category": "Embedded Processors & Controllers",
    "subcategory": "Microcontrollers (MCU/MPU/SOC)",
    "datasheet": "https://datasheet.lcsc.com/datasheet/pdf/301780cf0bcd1ada916dbcf81181f2f8.pdf",
    "parts": {
      "symbol": "ms8006.kicad_sym",
      "footprint": "ms8006.kicad_mod",
      "model_3d": "ms8006-hero.glb",
      "model_3d_plain": "ms8006.glb",
      "model_3d_step": "ms8006-etched.step",
      "model_3d_step_plain": "ms8006.step",
      "lbr": "ms8006.lbr"
    },
    "distributor_links": {
      "lcsc": "C42379908"
    },
    "distributor_check": {
      "checked_at": "2026-10-31T06:39:12Z",
      "source": "Component Ocean /api/assign-pns",
      "digikey": {
        "pn": null,
        "status": "no match"
      },
      "mouser": {
        "pn": null,
        "status": "no match"
      }
    },
    "pins": [
      {
        "number": "1",
        "name": "PD4",
        "type": "bidirectional",
        "description": "General-purpose I/O port PD4; alternate functions include TIM1_CH1, PCA_CH0, RTC_1HZ, UART0_TXD, BEEP, TIM2_CH1 and analog VCIN2."
      },
      {
        "number": "2",
        "name": "PD5/TX0",
        "type": "bidirectional",
        "description": "General-purpose I/O port PD5 or UART0 TX; alternate functions include TIM1_CH1N, SPI_MISO, I2C_SCL, UART1_TXD and analog AIN5."
      },
      {
        "number": "3",
        "name": "PD6/RX0",
        "type": "bidirectional",
        "description": "General-purpose I/O port PD6 or UART0 RX; alternate functions include TIM1_CH2, SPI_MOSI, I2C_SDA, UART1_RXD and analog AIN6."
      },
      {
        "number": "4",
        "name": "NRST",
        "type": "input",
        "description": "Reset pin, active low, with internal pull-up resistor; low pulses under about 10 us typical are filtered, so hold low longer than 10 us."
      },
      {
        "number": "5",
        "name": "PA1/OSCIN",
        "type": "bidirectional",
        "description": "General-purpose I/O port PA1 or crystal oscillator input (OSC_IN) for the external high-speed crystal (4-24 MHz)."
      },
      {
        "number": "6",
        "name": "PA2/OSCOUT",
        "type": "bidirectional",
        "description": "General-purpose I/O port PA2 or crystal oscillator output (OSC_OUT) for the external high-speed crystal."
      },
      {
        "number": "7",
        "name": "VSS",
        "type": "power_in",
        "description": "Ground."
      },
      {
        "number": "8",
        "name": "VCAP",
        "type": "passive",
        "description": "In ICP mode 6.5 V is applied externally, in IAP mode it outputs 6.5 V; recommended capacitor 1.0 uF (0.47-2.2 uF); also ADC channel AIN7."
      },
      {
        "number": "9",
        "name": "VDD",
        "type": "power_in",
        "description": "Power supply, 2.5 to 5.5 V (table 35.1 states 2.5~5.5 V)."
      },
      {
        "number": "10",
        "name": "PA3",
        "type": "bidirectional",
        "description": "General-purpose I/O port PA3; alternate functions include TIM1_CH3N, PCA_CH2, SPI_NSS, LPUART_RXD and VC0_OUT."
      },
      {
        "number": "11",
        "name": "PB5",
        "type": "bidirectional",
        "description": "General-purpose I/O port PB5; also X32K_IN for the 32.768 kHz crystal, with TIM1_BKIN, SPI_CLK, I2C_SDA and UART0_RXD alternates."
      },
      {
        "number": "12",
        "name": "PB4",
        "type": "bidirectional",
        "description": "General-purpose I/O port PB4; also X32K_OUT for the 32.768 kHz crystal, with LPTIM_GATE, SPI_NSS, I2C_SCL and UART0_TXD alternates."
      },
      {
        "number": "13",
        "name": "PC3",
        "type": "bidirectional",
        "description": "General-purpose I/O port PC3; alternate functions include TIM1_CH3, I2C_SDA, UART1_TXD, 1-WIRE and analog AIN1."
      },
      {
        "number": "14",
        "name": "PC4",
        "type": "bidirectional",
        "description": "General-purpose I/O port PC4; alternate functions include TIM1_CH4, I2C_SCL, UART1_RXD, CLK_MCO and analog AIN2."
      },
      {
        "number": "15",
        "name": "PC5",
        "type": "bidirectional",
        "description": "General-purpose I/O port PC5; alternate functions include TIM1_BKIN, SPI_CLK, LPUART_TXD, LVD_OUT and analog VCIN1."
      },
      {
        "number": "16",
        "name": "PC6",
        "type": "bidirectional",
        "description": "General-purpose I/O port PC6; alternate functions include TIM1_CH1, SPI_MOSI, LPUART_RXD, CLK_MCO and analog AIN0."
      },
      {
        "number": "17",
        "name": "PC7/SWDIO",
        "type": "bidirectional",
        "description": "General-purpose I/O port PC7 or SWD data I/O (SWDIO); placed in pull-up mode after reset."
      },
      {
        "number": "18",
        "name": "PD1/SWDCLK",
        "type": "bidirectional",
        "description": "General-purpose I/O port PD1 or SWD clock (SWDCLK); placed in pull-down mode after reset."
      },
      {
        "number": "19",
        "name": "PD2",
        "type": "bidirectional",
        "description": "General-purpose I/O port PD2; alternate functions include TIM1_CH2, SPI_MISO, LPUART_TXD, 1-WIRE and analog AIN3/VCIN0."
      },
      {
        "number": "20",
        "name": "PD3",
        "type": "bidirectional",
        "description": "General-purpose I/O port PD3; alternate functions include TIM1_CH3N, SPI_MOSI, HXT_OUT, UART0_RXD and analog AIN4."
      }
    ],
    "provenance": {
      "extractor": "extract_pins 0.3",
      "factory_chain": {
        "factory": "2.0.0",
        "extractor": "extract_pins 0.3",
        "primary_model": "claude-sonnet-5-5",
        "primary_mode": "text",
        "consensus_model": "claude-sonnet-5-5",
        "consensus": "agreed",
        "guards": "pin_guards 0.1: passed",
        "guard_notes": [
          "extractor flagged: Datasheet table 35.1 lists VDD as 2.5~5.5 V while the overview says 2.4V-5.5V; VCAP is typed passive; Package outline drawing (page 514) has no extractable dimensions; pinout taken from the TSSOP20 tabl"
        ],
        "pages_sent": 101,
        "cost_usd": 0.6354,
        "at": "2026-10-31T06:38:36"
      },
      "datasheet": {
        "url": "https://datasheet.lcsc.com/datasheet/pdf/301780cf0bcd1ada916dbcf81181f2f8.pdf",
        "pages": 515,
        "sha256": "381ea05ae867ccec",
        "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": "ms8006.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,
        "centre_offset_mm": 0,
        "footprint_binding": "identity",
        "sha256": "97339947f3a7196470ec2f1d9f9b92bb2fc2ab66ad53be0cf105192585ef3c9a",
        "checked": "2026-10-31",
        "checked_by": "factory/step_pose.py (Z-up, origin, seat, binding)"
      },
      {
        "file": "ms8006-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,
        "centre_offset_mm": 0,
        "footprint_binding": "identity",
        "sha256": "5447859920128f7027b9fbf3cef98f807ef0a67b5f79bfa0976315a98529d5b4",
        "checked": "2026-10-31",
        "checked_by": "factory/step_pose.py (Z-up, origin, seat, binding)"
      }
    ]
  },
  "metadata": {
    "specs": {
      "Manufacturer": "Macrosilicon",
      "Package": "TSSOP-20",
      "Category": "Embedded Processors & Controllers",
      "Pins": "20"
    },
    "characteristics": {
      "version": 1,
      "source": "datasheet",
      "datasheet_sha256": "381ea05ae867ccecedf5847d1502cbbf85fa100deee4b8dc837e192bd9515b80",
      "rows": [
        {
          "name": "Supply voltage (Vpower)",
          "symbol": "Vpower",
          "kind": "absolute_maximum",
          "unit": "V",
          "min": 0,
          "typ": null,
          "max": 5.5,
          "conditions": "",
          "source_page": 503,
          "source": "datasheet"
        },
        {
          "name": "Operating voltage",
          "symbol": "Vop",
          "kind": "recommended_operating",
          "unit": "V",
          "min": 2.5,
          "typ": 3.3,
          "max": 5.5,
          "conditions": "",
          "source_page": 503,
          "source": "datasheet"
        },
        {
          "name": "Storage temperature",
          "symbol": "Tstg",
          "kind": "absolute_maximum",
          "unit": "°C",
          "min": -40,
          "typ": 25,
          "max": 150,
          "conditions": "",
          "source_page": 503,
          "source": "datasheet"
        },
        {
          "name": "Operating temperature",
          "symbol": "Top",
          "kind": "recommended_operating",
          "unit": "°C",
          "min": -40,
          "typ": 25,
          "max": 85,
          "conditions": "",
          "source_page": 503,
          "source": "datasheet"
        },
        {
          "name": "CPU operating frequency",
          "symbol": "Fcpu",
          "kind": "recommended_operating",
          "unit": "Hz",
          "min": 32.768,
          "typ": 4,
          "max": 24,
          "conditions": "Printed as 32.768K / 4M / 24M Hz",
          "source_page": 503,
          "source": "datasheet"
        },
        {
          "name": "Supply voltage",
          "symbol": "VDD",
          "kind": "recommended_operating",
          "unit": "V",
          "min": 2.5,
          "typ": null,
          "max": 5.5,
          "conditions": "",
          "source_page": 503,
          "source": "datasheet"
        },
        {
          "name": "VCAP capacitance",
          "symbol": "Cs",
          "kind": "recommended_operating",
          "unit": "μF",
          "min": 0.47,
          "typ": null,
          "max": 2.2,
          "conditions": "Recommended 1.0μF",
          "source_page": 503,
          "source": "datasheet"
        },
        {
          "name": "Operating temperature (recommended)",
          "symbol": "Ta",
          "kind": "recommended_operating",
          "unit": "°C",
          "min": -40,
          "typ": null,
          "max": 85,
          "conditions": "",
          "source_page": 503,
          "source": "datasheet"
        },
        {
          "name": "Run in RAM current, 4M",
          "symbol": "IDD",
          "kind": "electrical",
          "unit": "μA",
          "min": null,
          "typ": 172,
          "max": 189,
          "conditions": "All peripherals clock OFF, while(1) in RAM, Vcore=1.2V, VDD=3.3V, HIRC 4M",
          "source_page": 504,
          "source": "datasheet"
        },
        {
          "name": "Run in RAM current, 8M",
          "symbol": "IDD",
          "kind": "electrical",
          "unit": "μA",
          "min": null,
          "typ": 270,
          "max": 297,
          "conditions": "All peripherals clock OFF, while(1) in RAM, Vcore=1.2V, VDD=3.3V, HIRC 8M",
          "source_page": 504,
          "source": "datasheet"
        },
        {
          "name": "Run in RAM current, 16M",
          "symbol": "IDD",
          "kind": "electrical",
          "unit": "μA",
          "min": null,
          "typ": 475,
          "max": 523,
          "conditions": "All peripherals clock OFF, while(1) in RAM, Vcore=1.2V, VDD=3.3V, HIRC 16M",
          "source_page": 504,
          "source": "datasheet"
        },
        {
          "name": "Run in RAM current, 24M",
          "symbol": "IDD",
          "kind": "electrical",
          "unit": "μA",
          "min": null,
          "typ": 741,
          "max": 815,
          "conditions": "All peripherals clock OFF, while(1) in RAM, Vcore=1.2V, VDD=3.3V, HIRC 24M",
          "source_page": 504,
          "source": "datasheet"
        },
        {
          "name": "Run mode current, peripherals ON, 4M",
          "symbol": "IDD",
          "kind": "electrical",
          "unit": "μA",
          "min": null,
          "typ": 394.8,
          "max": 453.4,
          "conditions": "All peripherals clock ON, while(1) in Flash, Vcore=1.2V, VDD=2.5V-5.5V, HIRC 4M",
          "source_page": 504,
          "source": "datasheet"
        },
        {
          "name": "Run mode current, peripherals ON, 8M",
          "symbol": "IDD",
          "kind": "electrical",
          "unit": "μA",
          "min": null,
          "typ": 720.9,
          "max": 823.4,
          "conditions": "All peripherals clock ON, while(1) in Flash, Vcore=1.2V, VDD=2.5V-5.5V, HIRC 8M",
          "source_page": 504,
          "source": "datasheet"
        },
        {
          "name": "Run mode current, peripherals ON, 16M",
          "symbol": "IDD",
          "kind": "electrical",
          "unit": "μA",
          "min": null,
          "typ": 1402.8,
          "max": 1602.7,
          "conditions": "All peripherals clock ON, while(1) in Flash, Vcore=1.2V, VDD=2.5V-5.5V, HIRC 16M",
          "source_page": 504,
          "source": "datasheet"
        },
        {
          "name": "Run mode current, peripherals ON, 24M",
          "symbol": "IDD",
          "kind": "electrical",
          "unit": "μA",
          "min": null,
          "typ": 2168,
          "max": 2505,
          "conditions": "All peripherals clock ON, while(1) in Flash, Vcore=1.2V, VDD=2.5V-5.5V, HIRC 24M",
          "source_page": 504,
          "source": "datasheet"
        },
        {
          "name": "Run mode current, peripherals OFF, 4M",
          "symbol": "IDD",
          "kind": "electrical",
          "unit": "μA",
          "min": null,
          "typ": 223,
          "max": 384.5,
          "conditions": "All peripherals clock OFF, while(1) in Flash, Vcore=1.2V, VDD=2.5V-5.5V, HIRC 4M",
          "source_page": 504,
          "source": "datasheet"
        },
        {
          "name": "Run mode current, peripherals OFF, 8M",
          "symbol": "IDD",
          "kind": "electrical",
          "unit": "μA",
          "min": null,
          "typ": 390.2,
          "max": 681.9,
          "conditions": "All peripherals clock OFF, while(1) in Flash, Vcore=1.2V, VDD=2.5V-5.5V, HIRC 8M",
          "source_page": 504,
          "source": "datasheet"
        },
        {
          "name": "Run mode current, peripherals OFF, 16M",
          "symbol": "IDD",
          "kind": "electrical",
          "unit": "μA",
          "min": null,
          "typ": 1106.8,
          "max": 1317.8,
          "conditions": "All peripherals clock OFF, while(1) in Flash, Vcore=1.2V, VDD=2.5V-5.5V, HIRC 16M",
          "source_page": 504,
          "source": "datasheet"
        },
        {
          "name": "Run mode current, peripherals OFF, 24M",
          "symbol": "IDD",
          "kind": "electrical",
          "unit": "μA",
          "min": null,
          "typ": 1694.5,
          "max": 2056.7,
          "conditions": "All peripherals clock OFF, while(1) in Flash, Vcore=1.2V, VDD=2.5V-5.5V, HIRC 24M",
          "source_page": 504,
          "source": "datasheet"
        },
        {
          "name": "Run mode current, LXT, peripherals ON, Ta=-40to25°C",
          "symbol": "IDD",
          "kind": "electrical",
          "unit": "μA",
          "min": null,
          "typ": 28,
          "max": 40,
          "conditions": "All peripherals clock ON, while(1) in Flash, VDD=2.5V-5.5V, LXT 32.768KHz (Driver=1), Ta=-40to25°C",
          "source_page": 504,
          "source": "datasheet"
        },
        {
          "name": "Run mode current, LXT, peripherals ON, Ta=85°C",
          "symbol": "IDD",
          "kind": "electrical",
          "unit": "μA",
          "min": null,
          "typ": 34,
          "max": 46,
          "conditions": "All peripherals clock ON, while(1) in Flash, VDD=2.5V-5.5V, LXT 32.768KHz (Driver=1), Ta=85°C",
          "source_page": 504,
          "source": "datasheet"
        },
        {
          "name": "Sleep current, peripherals ON, 4M",
          "symbol": "IDD",
          "kind": "electrical",
          "unit": "μA",
          "min": null,
          "typ": 157.65,
          "max": 184.53,
          "conditions": "All peripherals clock ON, Vcore=1.2V, VDD=2.5V-5.5V, HIRC 4M",
          "source_page": 504,
          "source": "datasheet"
        },
        {
          "name": "Sleep current, peripherals ON, 24M",
          "symbol": "IDD",
          "kind": "electrical",
          "unit": "μA",
          "min": null,
          "typ": 659,
          "max": 753,
          "conditions": "All peripherals clock ON, Vcore=1.2V, VDD=2.5V-5.5V, HIRC 24M",
          "source_page": 505,
          "source": "datasheet"
        },
        {
          "name": "Sleep current, peripherals OFF, 4M",
          "symbol": "IDD",
          "kind": "electrical",
          "unit": "μA",
          "min": null,
          "typ": 95,
          "max": 116,
          "conditions": "All peripherals clock OFF, Vcore=1.2V, VDD=2.5V-5.5V, HIRC 4M",
          "source_page": 505,
          "source": "datasheet"
        },
        {
          "name": "Sleep current, peripherals OFF, 24M",
          "symbol": "IDD",
          "kind": "electrical",
          "unit": "μA",
          "min": null,
          "typ": 266,
          "max": 317,
          "conditions": "All peripherals clock OFF, Vcore=1.2V, VDD=2.5V-5.5V, HIRC 24M",
          "source_page": 505,
          "source": "datasheet"
        },
        {
          "name": "Deep sleep current, all off, Ta=-40to25°C",
          "symbol": "IDD",
          "kind": "electrical",
          "unit": "μA",
          "min": null,
          "typ": 0.95,
          "max": 1.04,
          "conditions": "All Peripherals clock OFF, Vcore=1.2V, VDD=2.5V-5.5V, Ta=-40to25°C",
          "source_page": 505,
          "source": "datasheet"
        },
        {
          "name": "Deep sleep current, all off, Ta=85°C",
          "symbol": "IDD",
          "kind": "electrical",
          "unit": "μA",
          "min": null,
          "typ": 3.4,
          "max": 3.74,
          "conditions": "All Peripherals clock OFF, Vcore=1.2V, VDD=2.5V-5.5V, Ta=85°C",
          "source_page": 505,
          "source": "datasheet"
        },
        {
          "name": "Deep sleep current, except RTC/IWDG/LPTIM/AWK, Ta=85°C",
          "symbol": "IDD",
          "kind": "electrical",
          "unit": "μA",
          "min": null,
          "typ": 3.98,
          "max": 4.38,
          "conditions": "All Peripherals clock OFF, Except RTC,IWDG,LPTIM,AWK, Vcore=1.2V, VDD=2.5V-5.5V, Ta=85°C",
          "source_page": 505,
          "source": "datasheet"
        }
      ]
    }
  },
  "variants": [],
  "sections": [
    "hero",
    "viewers",
    "readme",
    "breadcrumbs",
    "info"
  ],
  "discovery_triggers": [
    "ms8006"
  ],
  "discovery_pitch": "MS8006 (Macrosilicon) component page: datasheet pinout, KiCad symbol, footprint and 3D.",
  "author": {
    "name": "Ray"
  },
  "dependencies": {},
  "hero": {
    "type": "image",
    "path": "docs/hero.png"
  },
  "files": [
    "page.json",
    "README.md",
    "ms8006.kicad_sym",
    "ms8006.kicad_mod",
    "ms8006.glb",
    "ms8006.step",
    "ms8006.lbr",
    "docs/hero.png",
    "docs/ms8006-datasheet.pdf",
    "viewers/symbol.html",
    "viewers/footprint.html",
    "ms8006-hero.glb",
    "ms8006-hero.overlay.json",
    "ms8006-etched.glb",
    "ms8006-etched.step"
  ],
  "visibility": "public",
  "description": "Macrosilicon Microcontrollers (MCU/MPU/SOC), TSSOP-20. Pinout cross-checked by two models against the datasheet, KiCad symbol/footprint/3D.",
  "org": "adom"
}