main
Ray stm8l151c6t3: component.models_3d pose record per STEP (Z-up, seated z=0, pad-centre origin, identity binding) 4892781
123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573
{
  "schema_version": 1,
  "type": "component",
  "slug": "stm8l151c6t3",
  "title": "STM8L151C6T3",
  "brief": "STMicroelectronics Microcontrollers (MCU/MPU/SOC), LQFP-48(7x7). Pinout extracted from the datasheet, KiCad symbol/footprint/3D.",
  "version": "0.1.0",
  "license": "CC-BY-SA-4.0",
  "tags": [
    "component",
    "embedded processors & controllers",
    "stm8l151c6t3"
  ],
  "component": {
    "mpn": "STM8L151C6T3",
    "manufacturer": "STMicroelectronics",
    "package": "LQFP-48(7x7)",
    "pin_count": 48,
    "category": "Embedded Processors & Controllers",
    "subcategory": "Microcontrollers (MCU/MPU/SOC)",
    "datasheet": "https://jlcpcb.com/api/file/downloadByFileSystemAccessId/8588923988408487936",
    "parts": {
      "symbol": "stm8l151c6t3.kicad_sym",
      "footprint": "stm8l151c6t3.kicad_mod",
      "model_3d": "stm8l151c6t3-etched.glb",
      "model_3d_plain": "stm8l151c6t3.glb",
      "model_3d_step": "stm8l151c6t3-etched.step",
      "model_3d_step_plain": "stm8l151c6t3.step",
      "lbr": "stm8l151c6t3.lbr"
    },
    "distributor_links": {},
    "pins": [
      {
        "number": "1",
        "name": "PA0/[USART1_CK]/SWIM/BEEP/IR_TIM",
        "type": "bidirectional",
        "description": "GPIO port A0. Muxed with SWIM debug/programming I/O (default after reset), remappable USART1 synchronous clock, beeper output and IR timer output. High-sink LED driver capable; input pull-up applied during and after reset."
      },
      {
        "number": "2",
        "name": "NRST/PA1",
        "type": "bidirectional",
        "description": "Chip reset input (active-low, internal pull-up) with alternate function as GPIO port A1. As PA1 it can be configured only as open-drain or push-pull output, not as input (see RM0031)."
      },
      {
        "number": "3",
        "name": "PA2/OSC_IN/[USART1_TX]/[SPI1_MISO]",
        "type": "bidirectional",
        "description": "GPIO port A2 (5V-tolerant). Alternate functions: HSE crystal oscillator input, remappable USART1 TX, remappable SPI1 MISO."
      },
      {
        "number": "4",
        "name": "PA3/OSC_OUT/[USART1_RX]/[SPI1_MOSI]",
        "type": "bidirectional",
        "description": "GPIO port A3 (5V-tolerant). Alternate functions: HSE crystal oscillator output, remappable USART1 RX, remappable SPI1 MOSI."
      },
      {
        "number": "5",
        "name": "PA4/TIM2_BKIN/ADC1_IN2/COMP1_INP",
        "type": "bidirectional",
        "description": "GPIO port A4 (3.6V-tolerant TT I/O). Alternate functions: TIM2 break input, ADC1 input channel 2, Comparator 1 positive input."
      },
      {
        "number": "6",
        "name": "PA5/TIM3_BKIN/ADC1_IN1/COMP1_INP",
        "type": "bidirectional",
        "description": "GPIO port A5 (3.6V-tolerant TT I/O). Alternate functions: TIM3 break input, ADC1 input channel 1, Comparator 1 positive input."
      },
      {
        "number": "7",
        "name": "PA6/[ADC1_TRIG]/ADC1_IN0/COMP1_INP",
        "type": "bidirectional",
        "description": "GPIO port A6 (3.6V-tolerant TT I/O). Alternate functions: remappable ADC1 external trigger, ADC1 input channel 0, Comparator 1 positive input."
      },
      {
        "number": "8",
        "name": "PA7",
        "type": "bidirectional",
        "description": "GPIO port A7 (5V-tolerant FT I/O). Standard high-sink push-pull / open-drain output; input floating / weak pull-up / external interrupt capable."
      },
      {
        "number": "9",
        "name": "VSS1/VSSA/VREF-",
        "type": "power_in",
        "description": "Common digital I/O ground, analog ground and ADC1 negative voltage reference. Connect to system 0V."
      },
      {
        "number": "10",
        "name": "VDD1",
        "type": "power_in",
        "description": "Digital power supply. 1.8 V to 3.6 V (down to 1.65 V at power-down)."
      },
      {
        "number": "11",
        "name": "VDDA",
        "type": "power_in",
        "description": "Analog supply voltage for the ADC, DAC, comparators and analog reference. Tie to VDD via ferrite/RC per typical application."
      },
      {
        "number": "12",
        "name": "VREF+",
        "type": "power_in",
        "description": "ADC1 and DAC positive voltage reference input. Must satisfy VREF+ ≤ VDDA."
      },
      {
        "number": "13",
        "name": "Reserved",
        "type": "unconnected",
        "description": "Reserved on STM8L151xx devices. Must be tied to VDD."
      },
      {
        "number": "14",
        "name": "PE0",
        "type": "bidirectional",
        "description": "GPIO port E0 (5V-tolerant FT I/O). Standard high-sink push-pull / open-drain output; input floating / weak pull-up / external interrupt capable."
      },
      {
        "number": "15",
        "name": "PE1/TIM1_CH2N",
        "type": "bidirectional",
        "description": "GPIO port E1 (3.6V-tolerant TT I/O). Alternate function: TIM1 inverted channel 2."
      },
      {
        "number": "16",
        "name": "PE2/TIM1_CH3N",
        "type": "bidirectional",
        "description": "GPIO port E2 (3.6V-tolerant TT I/O). Alternate function: TIM1 inverted channel 3."
      },
      {
        "number": "17",
        "name": "PE3",
        "type": "bidirectional",
        "description": "GPIO port E3 (3.6V-tolerant TT I/O). Standard high-sink push-pull / open-drain output; input floating / weak pull-up / external interrupt capable."
      },
      {
        "number": "18",
        "name": "PE4",
        "type": "bidirectional",
        "description": "GPIO port E4 (3.6V-tolerant TT I/O). Standard high-sink push-pull / open-drain output; input floating / weak pull-up / external interrupt capable."
      },
      {
        "number": "19",
        "name": "PE5/ADC1_IN23/COMP2_INP/COMP1_INP",
        "type": "bidirectional",
        "description": "GPIO port E5 (3.6V-tolerant TT I/O). Alternate functions: ADC1 input channel 23, Comparator 2 positive input, Comparator 1 positive input."
      },
      {
        "number": "20",
        "name": "PD0/TIM3_CH2/[ADC1_TRIG]/ADC1_IN22/COMP2_INP/COMP1_INP",
        "type": "bidirectional",
        "description": "GPIO port D0 (3.6V-tolerant TT I/O). Alternate functions: TIM3 channel 2, remappable ADC1 trigger, ADC1 input channel 22, Comparator 2/1 positive input."
      },
      {
        "number": "21",
        "name": "PD1/TIM3_ETR/ADC1_IN21/COMP2_INP/COMP1_INP",
        "type": "bidirectional",
        "description": "GPIO port D1 (3.6V-tolerant TT I/O). Alternate functions: TIM3 external trigger, ADC1 input channel 21, Comparator 2/1 positive input."
      },
      {
        "number": "22",
        "name": "PD2/TIM1_CH1/ADC1_IN20/COMP1_INP",
        "type": "bidirectional",
        "description": "GPIO port D2 (3.6V-tolerant TT I/O). Alternate functions: TIM1 channel 1, ADC1 input channel 20, Comparator 1 positive input."
      },
      {
        "number": "23",
        "name": "PD3/TIM1_ETR/ADC1_IN19/COMP1_INP",
        "type": "bidirectional",
        "description": "GPIO port D3 (3.6V-tolerant TT I/O). Alternate functions: TIM1 external trigger, ADC1 input channel 19, Comparator 1 positive input."
      },
      {
        "number": "24",
        "name": "PB0/TIM2_CH1/ADC1_IN18/COMP1_INP",
        "type": "bidirectional",
        "description": "GPIO port B0 (3.6V-tolerant TT I/O). Alternate functions: TIM2 channel 1, ADC1 input channel 18, Comparator 1 positive input."
      },
      {
        "number": "25",
        "name": "PB1/TIM3_CH1/ADC1_IN17/COMP1_INP",
        "type": "bidirectional",
        "description": "GPIO port B1 (3.6V-tolerant TT I/O). Alternate functions: TIM3 channel 1, ADC1 input channel 17, Comparator 1 positive input."
      },
      {
        "number": "26",
        "name": "PB2/TIM2_CH2/ADC1_IN16/COMP1_INP",
        "type": "bidirectional",
        "description": "GPIO port B2 (3.6V-tolerant TT I/O). Alternate functions: TIM2 channel 2, ADC1 input channel 16, Comparator 1 positive input."
      },
      {
        "number": "27",
        "name": "PB3/TIM2_ETR/ADC1_IN15/COMP1_INP",
        "type": "bidirectional",
        "description": "GPIO port B3 (3.6V-tolerant TT I/O). Alternate functions: TIM2 external trigger, ADC1 input channel 15, Comparator 1 positive input."
      },
      {
        "number": "28",
        "name": "PB4/[SPI1_NSS]/ADC1_IN14/COMP1_INP",
        "type": "bidirectional",
        "description": "GPIO port B4 (3.6V-tolerant TT I/O). Alternate functions: remappable SPI1 slave-select, ADC1 input channel 14, Comparator 1 positive input."
      },
      {
        "number": "29",
        "name": "PB5/[SPI1_SCK]/ADC1_IN13/COMP1_INP",
        "type": "bidirectional",
        "description": "GPIO port B5 (3.6V-tolerant TT I/O). Alternate functions: remappable SPI1 clock, ADC1 input channel 13, Comparator 1 positive input."
      },
      {
        "number": "30",
        "name": "PB6/[SPI1_MOSI]/ADC1_IN12/COMP1_INP",
        "type": "bidirectional",
        "description": "GPIO port B6 (3.6V-tolerant TT I/O). Alternate functions: remappable SPI1 MOSI, ADC1 input channel 12, Comparator 1 positive input."
      },
      {
        "number": "31",
        "name": "PB7/[SPI1_MISO]/ADC1_IN11/COMP1_INP",
        "type": "bidirectional",
        "description": "GPIO port B7 (3.6V-tolerant TT I/O). Alternate functions: remappable SPI1 MISO, ADC1 input channel 11, Comparator 1 positive input."
      },
      {
        "number": "32",
        "name": "PF0/ADC1_IN24/DAC_OUT",
        "type": "bidirectional",
        "description": "GPIO port F0 (3.6V-tolerant TT I/O). Alternate functions: ADC1 input channel 24, 12-bit DAC output."
      },
      {
        "number": "33",
        "name": "PD4/TIM1_CH2/ADC1_IN10/COMP1_INP",
        "type": "bidirectional",
        "description": "GPIO port D4 (3.6V-tolerant TT I/O). Alternate functions: TIM1 channel 2, ADC1 input channel 10, Comparator 1 positive input."
      },
      {
        "number": "34",
        "name": "PD5/TIM1_CH3/ADC1_IN9/COMP1_INP",
        "type": "bidirectional",
        "description": "GPIO port D5 (3.6V-tolerant TT I/O). Alternate functions: TIM1 channel 3, ADC1 input channel 9, Comparator 1 positive input."
      },
      {
        "number": "35",
        "name": "PD6/TIM1_BKIN/ADC1_IN8/RTC_CALIB/VREFINT/COMP1_INP",
        "type": "bidirectional",
        "description": "GPIO port D6 (3.6V-tolerant TT I/O). Alternate functions: TIM1 break input, ADC1 input channel 8, RTC calibration output, internal reference voltage output, Comparator 1 positive input."
      },
      {
        "number": "36",
        "name": "PD7/TIM1_CH1N/ADC1_IN7/RTC_ALARM/VREFINT/COMP1_INP",
        "type": "bidirectional",
        "description": "GPIO port D7 (3.6V-tolerant TT I/O). Alternate functions: TIM1 inverted channel 1, ADC1 input channel 7, RTC alarm output, internal reference voltage output, Comparator 1 positive input."
      },
      {
        "number": "37",
        "name": "PC0/I2C1_SDA",
        "type": "bidirectional",
        "description": "GPIO port C0 (5V-tolerant FT I/O, true open-drain). Alternate function: I2C1 data line (SDA), supports Fast-mode 400 kHz, SMBus and PMBus. External pull-up required for I2C operation."
      },
      {
        "number": "38",
        "name": "PC1/I2C1_SCL",
        "type": "bidirectional",
        "description": "GPIO port C1 (5V-tolerant FT I/O, true open-drain). Alternate function: I2C1 clock line (SCL), supports Fast-mode 400 kHz, SMBus and PMBus. External pull-up required for I2C operation."
      },
      {
        "number": "39",
        "name": "VDD2",
        "type": "power_in",
        "description": "I/O power supply for the second supply domain (1.8 V to 3.6 V). Tie to same rail as VDD1 in most applications."
      },
      {
        "number": "40",
        "name": "VSS2",
        "type": "power_in",
        "description": "I/O ground for the second supply domain. Tie to system 0V."
      },
      {
        "number": "41",
        "name": "PC2/USART1_RX/ADC1_IN6/COMP1_INP/VREFINT",
        "type": "bidirectional",
        "description": "GPIO port C2 (3.6V-tolerant TT I/O). Alternate functions: USART1 receive, ADC1 input channel 6, Comparator 1 positive input, internal voltage reference output."
      },
      {
        "number": "42",
        "name": "PC3/USART1_TX/ADC1_IN5/COMP1_INP/COMP2_INM",
        "type": "bidirectional",
        "description": "GPIO port C3 (3.6V-tolerant TT I/O). Alternate functions: USART1 transmit, ADC1 input channel 5, Comparator 1 positive input, Comparator 2 negative input."
      },
      {
        "number": "43",
        "name": "PC4/USART1_CK/I2C1_SMB/CCO/ADC1_IN4/COMP2_INM/COMP1_INP",
        "type": "bidirectional",
        "description": "GPIO port C4 (3.6V-tolerant TT I/O). Alternate functions: USART1 synchronous clock, I2C1 SMBus alert, configurable clock output (CCO), ADC1 input channel 4, Comparator 1/2 inputs."
      },
      {
        "number": "44",
        "name": "PC5/OSC32_IN/[SPI1_NSS]/[USART1_TX]",
        "type": "bidirectional",
        "description": "GPIO port C5. Alternate functions: LSE 32.768 kHz crystal input, remappable SPI1 slave-select, remappable USART1 transmit."
      },
      {
        "number": "45",
        "name": "PC6/OSC32_OUT/[SPI1_SCK]/[USART1_RX]",
        "type": "bidirectional",
        "description": "GPIO port C6. Alternate functions: LSE 32.768 kHz crystal output, remappable SPI1 clock, remappable USART1 receive."
      },
      {
        "number": "46",
        "name": "PC7/ADC1_IN3/COMP2_INM/COMP1_INP",
        "type": "bidirectional",
        "description": "GPIO port C7 (3.6V-tolerant TT I/O). Alternate functions: ADC1 input channel 3, Comparator 2 negative input, Comparator 1 positive input."
      },
      {
        "number": "47",
        "name": "PE6/PVD_IN",
        "type": "bidirectional",
        "description": "GPIO port E6 (3.6V-tolerant TT I/O). Alternate function: Programmable Voltage Detector (PVD) external input."
      },
      {
        "number": "48",
        "name": "PE7",
        "type": "bidirectional",
        "description": "GPIO port E7 (3.6V-tolerant TT I/O). Standard high-sink push-pull / open-drain output; input floating / weak pull-up / external interrupt capable."
      }
    ],
    "provenance": {
      "extractor": "ds2sf",
      "datasheet": {
        "url": "https://jlcpcb.com/api/file/downloadByFileSystemAccessId/8588923988408487936",
        "pages": null,
        "sha256": "76f669f0972e887a",
        "source_tier": "lcsc"
      },
      "cad": "KiCad official (CC-BY-SA 4.0)",
      "pins": {
        "total": 48,
        "described": 48,
        "cites_pages": true,
        "refuses_to_fabricate": true
      }
    },
    "viewers": {
      "symbol": "viewers/symbol.html",
      "footprint": "viewers/footprint.html"
    },
    "models_3d": [
      {
        "file": "stm8l151c6t3.step",
        "role": "plain",
        "up": "Z",
        "units": "mm",
        "origin": "footprint origin = pad-pattern centre",
        "seat": "z = 0",
        "extents_mm": [
          9,
          9,
          1.5
        ],
        "zmin_mm": 0,
        "centre_offset_mm": 0,
        "footprint_binding": "identity",
        "sha256": "9dea352d93177c2904afd7d7b68ea8855ce1ab691f69f8b3e13655600514b6bf",
        "checked": "2026-10-07",
        "checked_by": "factory/step_pose.py (Z-up, origin, seat, binding)"
      },
      {
        "file": "stm8l151c6t3-etched.step",
        "role": "eda",
        "up": "Z",
        "units": "mm",
        "origin": "footprint origin = pad-pattern centre",
        "seat": "z = 0",
        "extents_mm": [
          9,
          9,
          1.5
        ],
        "zmin_mm": 0,
        "centre_offset_mm": 0,
        "footprint_binding": "identity",
        "sha256": "978245934211e8986c5c1b33c581d7e9405346f63f376e4674be64a2c4c5b8d9",
        "checked": "2026-10-07",
        "checked_by": "factory/step_pose.py (Z-up, origin, seat, binding)"
      }
    ]
  },
  "metadata": {
    "specs": {
      "Manufacturer": "STMicroelectronics",
      "Package": "LQFP-48(7x7)",
      "Category": "Embedded Processors & Controllers",
      "Pins": "48"
    }
  },
  "variants": [
    {
      "mpn": "STM8L151C6T3C4T3",
      "kind": "packaging"
    },
    {
      "mpn": "STM8L151C6T3C4T6",
      "kind": "packaging"
    },
    {
      "mpn": "STM8L151C6T3C4T7",
      "kind": "packaging"
    },
    {
      "mpn": "STM8L151C6T3",
      "kind": "packaging"
    },
    {
      "mpn": "STM8L151C6T3C6T6",
      "kind": "packaging"
    },
    {
      "mpn": "STM8L151C6T3C6T7",
      "kind": "packaging"
    },
    {
      "mpn": "STM8L151C6T3C4U3",
      "kind": "packaging"
    },
    {
      "mpn": "STM8L151C6T3C4U6",
      "kind": "packaging"
    },
    {
      "mpn": "STM8L151C6T3C4U7",
      "kind": "packaging"
    },
    {
      "mpn": "STM8L151C6T3C6U3",
      "kind": "packaging"
    },
    {
      "mpn": "STM8L151C6T3C6U6",
      "kind": "packaging"
    },
    {
      "mpn": "STM8L151C6T3C6U7",
      "kind": "packaging"
    },
    {
      "mpn": "STM8L151C6T3K4T3",
      "kind": "packaging"
    },
    {
      "mpn": "STM8L151C6T3K4T6",
      "kind": "packaging"
    },
    {
      "mpn": "STM8L151C6T3K4T7",
      "kind": "packaging"
    },
    {
      "mpn": "STM8L151C6T3K6T3",
      "kind": "packaging"
    },
    {
      "mpn": "STM8L151C6T3K6T6",
      "kind": "packaging"
    },
    {
      "mpn": "STM8L151C6T3K6T7",
      "kind": "packaging"
    },
    {
      "mpn": "STM8L151C6T3K4U3",
      "kind": "packaging"
    },
    {
      "mpn": "STM8L151C6T3K4U6",
      "kind": "packaging"
    },
    {
      "mpn": "STM8L151C6T3K4U7",
      "kind": "packaging"
    },
    {
      "mpn": "STM8L151C6T3K6U3",
      "kind": "packaging"
    },
    {
      "mpn": "STM8L151C6T3K6U6",
      "kind": "packaging"
    },
    {
      "mpn": "STM8L151C6T3K6U7",
      "kind": "packaging"
    },
    {
      "mpn": "STM8L151C6T3G4U3",
      "kind": "packaging"
    },
    {
      "mpn": "STM8L151C6T3G4U6",
      "kind": "packaging"
    },
    {
      "mpn": "STM8L151C6T3G4U7",
      "kind": "packaging"
    },
    {
      "mpn": "STM8L151C6T3G6U3",
      "kind": "packaging"
    },
    {
      "mpn": "STM8L151C6T3G6U6",
      "kind": "packaging"
    },
    {
      "mpn": "STM8L151C6T3G6U7",
      "kind": "packaging"
    },
    {
      "mpn": "STM8L151C6T3G4Y3",
      "kind": "packaging"
    },
    {
      "mpn": "STM8L151C6T3G4Y6",
      "kind": "packaging"
    },
    {
      "mpn": "STM8L151C6T3G4Y7",
      "kind": "packaging"
    },
    {
      "mpn": "STM8L151C6T3G6Y3",
      "kind": "packaging"
    },
    {
      "mpn": "STM8L151C6T3G6Y6",
      "kind": "packaging"
    },
    {
      "mpn": "STM8L151C6T3G6Y7",
      "kind": "packaging"
    }
  ],
  "sections": [
    "hero",
    "viewers",
    "readme",
    "breadcrumbs",
    "info"
  ],
  "discovery_triggers": [
    "stm8l151c6t3"
  ],
  "discovery_pitch": "STM8L151C6T3 (STMicroelectronics) component page with datasheet-verified CAD.",
  "author": {
    "name": "Ray"
  },
  "dependencies": {},
  "hero": {
    "type": "image",
    "path": "docs/hero.png"
  },
  "files": [
    "page.json",
    "README.md",
    "stm8l151c6t3.kicad_sym",
    "stm8l151c6t3.kicad_mod",
    "stm8l151c6t3.glb",
    "stm8l151c6t3.step",
    "stm8l151c6t3.lbr",
    "docs/hero.png",
    "docs/stm8l151c6t3-datasheet.pdf",
    "viewers/symbol.html",
    "viewers/footprint.html"
  ],
  "visibility": {
    "public": true
  },
  "updated_at": "2026-09-25T09:00:05.402Z"
}