main
Ray Publish 0.1.2 4ff9bc4
1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677787980818283848586878889909192939495969798991001011021031041051061071081091101111121131141151161171181191201211221231241251261271281291301311321331341351361371381391401411421431441451461471481491501511521531541551561571581591601611621631641651661671681691701711721731741751761771781791801811821831841851861871881891901911921931941951961971981992002012022032042052062072082092102112122132142152162172182192202212222232242252262272282292302312322332342352362372382392402412422432442452462472482492502512522532542552562572582592602612622632642652662672682692702712722732742752762772782792802812822832842852862872882892902912922932942952962972982993003013023033043053063073083093103113123133143153163173183193203213223233243253263273283293303313323333343353363373383393403413423433443453463473483493503513523533543553563573583593603613623633643653663673683693703713723733743753763773783793803813823833843853863873883893903913923933943953963973983994004014024034044054064074084094104114124134144154164174184194204214224234244254264274284294304314324334344354364374384394404414424434444454464474484494504514524534544554564574584594604614624634644654664674684694704714724734744754764774784794804814824834844854864874884894904914924934944954964974984995005015025035045055065075085095105115125135145155165175185195205215225235245255265275285295305315325335345355365375385395405415425435445455465475485495505515525535545555565575585595605615625635645655665675685695705715725735745755765775785795805815825835845855865875885895905915925935945955965975985996006016026036046056066076086096106116126136146156166176186196206216226236246256266276286296306316326336346356366376386396406416426436446456466476486496506516526536546556566576586596606616626636646656666676686696706716726736746756766776786796806816826836846856866876886896906916926936946956966976986997007017027037047057067077087097107117127137147157167177187197207217227237247257267277287297307317327337347357367377387397407417427437447457467477487497507517527537547557567577587597607617627637647657667677687697707717727737747757767777787797807817827837847857867877887897907917927937947957967977987998008018028038048058068078088098108118128138148158168178188198208218228238248258268278288298308318328338348358368378388398408418428438448458468478488498508518528538548558568578588598608618628638648658668678688698708718728738748758768778788798808818828838848858868878888898908918928938948958968978988999009019029039049059069079089099109119129139149159169179189199209219229239249259269279289299309319329339349359369379389399409419429439449459469479489499509519529539549559569579589599609619629639649659669679689699709719729739749759769779789799809819829839849859869879889899909919929939949959969979989991000100110021003100410051006100710081009101010111012101310141015101610171018101910201021102210231024102510261027102810291030103110321033103410351036103710381039104010411042104310441045104610471048104910501051105210531054105510561057105810591060106110621063106410651066106710681069107010711072107310741075107610771078107910801081108210831084108510861087108810891090109110921093109410951096109710981099110011011102110311041105110611071108110911101111111211131114111511161117111811191120112111221123112411251126112711281129113011311132113311341135113611371138113911401141114211431144114511461147114811491150115111521153115411551156115711581159116011611162116311641165116611671168116911701171117211731174117511761177117811791180118111821183118411851186118711881189119011911192119311941195119611971198119912001201120212031204120512061207120812091210121112121213121412151216121712181219122012211222122312241225122612271228122912301231123212331234123512361237123812391240124112421243124412451246124712481249125012511252125312541255125612571258125912601261126212631264126512661267126812691270127112721273127412751276
{
  "schema_version": 1,
  "type": "component",
  "slug": "stm8l151r8t6",
  "title": "STM8L151R8T6",
  "brief": "STMicroelectronics ST Microelectronics, LQFP-64(10x10). Pinout read twice from the datasheet and the two reads agreed, KiCad symbol/footprint/3D.",
  "version": "0.1.2",
  "license": "CC-BY-SA-4.0",
  "tags": [
    "component",
    "embedded processors & controllers",
    "stm8l151r8t6",
    "factory-2.0.0",
    "extractor-text"
  ],
  "component": {
    "mpn": "STM8L151R8T6",
    "manufacturer": "STMicroelectronics",
    "package": "LQFP-64(10x10)",
    "pin_count": 64,
    "category": "Embedded Processors & Controllers",
    "subcategory": "ST Microelectronics",
    "datasheet": "https://www.st.com/resource/en/datasheet/stm8l151r8t6.pdf",
    "parts": {
      "symbol": "stm8l151r8t6.kicad_sym",
      "footprint": "stm8l151r8t6.kicad_mod",
      "model_3d": "stm8l151r8t6-hero.glb",
      "model_3d_plain": "stm8l151r8t6.glb",
      "model_3d_step": "stm8l151r8t6-etched.step",
      "model_3d_step_plain": "stm8l151r8t6.step",
      "lbr": "stm8l151r8t6.lbr"
    },
    "distributor_links": {
      "lcsc": "C503077",
      "digikey": "497-11569-ND",
      "mouser": "511-STM8L151R8T6"
    },
    "distributor_check": {
      "checked_at": "2026-11-07T00:16:25Z",
      "source": "Component Ocean /api/assign-pns",
      "digikey": {
        "pn": "497-11569-ND",
        "status": "found"
      },
      "mouser": {
        "pn": "511-STM8L151R8T6",
        "status": "found"
      }
    },
    "pins": [
      {
        "number": "1",
        "name": "PA0",
        "type": "bidirectional",
        "description": "Port A0 high-sink I/O (LED driver capable, input pull-up during and after reset) with alternate functions [USART1_CK], SWIM input/output, BEEP output and IR_TIM output."
      },
      {
        "number": "2",
        "name": "NRST/PA1",
        "type": "bidirectional",
        "description": "Reset input with pull-up at power-up; can be used only as push-pull output PA1 (general purpose), not as input or open-drain."
      },
      {
        "number": "3",
        "name": "PA2",
        "type": "bidirectional",
        "description": "Port A2 high-sink I/O with HSE oscillator input OSC_IN and remap options [USART1_TX]/[SPI1_MISO]."
      },
      {
        "number": "4",
        "name": "PA3",
        "type": "bidirectional",
        "description": "Port A3 high-sink I/O with HSE oscillator output OSC_OUT and remap options [USART1_RX]/[SPI1_MOSI]."
      },
      {
        "number": "5",
        "name": "PA4",
        "type": "bidirectional",
        "description": "Five-volt tolerant port A4 I/O with TIM2_BKIN/[TIM2_ETR], ADC1_IN2 and [COMP1_INP]."
      },
      {
        "number": "6",
        "name": "PA5",
        "type": "bidirectional",
        "description": "Five-volt tolerant port A5 I/O with TIM3_BKIN/[TIM3_ETR], ADC1_IN1 and [COMP1_INP]."
      },
      {
        "number": "7",
        "name": "PA6",
        "type": "bidirectional",
        "description": "Five-volt tolerant port A6 I/O with ADC1_TRIG, ADC1_IN0 and [COMP1_INP]."
      },
      {
        "number": "8",
        "name": "PA7",
        "type": "bidirectional",
        "description": "Five-volt tolerant port A7 I/O with TIM5_CH1."
      },
      {
        "number": "9",
        "name": "VSSA/VREF-",
        "type": "power_in",
        "description": "Analog ground voltage and ADC1 negative voltage reference."
      },
      {
        "number": "10",
        "name": "VSS1",
        "type": "power_in",
        "description": "I/O ground; VSS1 must not be left unconnected."
      },
      {
        "number": "11",
        "name": "VDD1",
        "type": "power_in",
        "description": "Digital power supply, 1.65 to 3.6 V; must not be left unconnected."
      },
      {
        "number": "12",
        "name": "VDDA",
        "type": "power_in",
        "description": "Analog supply voltage, 1.65 to 3.6 V (minimum 1.8 V when ADC1 is used); must be connected to VDD."
      },
      {
        "number": "13",
        "name": "VREF+",
        "type": "power_in",
        "description": "ADC1 and DAC1/2 positive voltage reference, provided externally."
      },
      {
        "number": "14",
        "name": "PG0",
        "type": "bidirectional",
        "description": "Five-volt tolerant port G0 I/O with USART3_RX and [TIM2_BKIN]."
      },
      {
        "number": "15",
        "name": "PG1",
        "type": "bidirectional",
        "description": "Five-volt tolerant port G1 I/O with USART3_TX and [TIM3_BKIN]."
      },
      {
        "number": "16",
        "name": "PG2",
        "type": "bidirectional",
        "description": "Five-volt tolerant port G2 I/O with USART3_CK."
      },
      {
        "number": "17",
        "name": "PG3",
        "type": "bidirectional",
        "description": "Five-volt tolerant port G3 I/O with [TIM3_ETR]."
      },
      {
        "number": "18",
        "name": "VLCD",
        "type": "power_in",
        "description": "LCD booster external capacitor pin on STM8L152 devices; on STM8L151 devices it is reserved and must be tied to VDD."
      },
      {
        "number": "19",
        "name": "PE0",
        "type": "bidirectional",
        "description": "Five-volt tolerant port E0 I/O with TIM5_CH2."
      },
      {
        "number": "20",
        "name": "PE1",
        "type": "bidirectional",
        "description": "Five-volt tolerant port E1 I/O with TIM1_CH2N."
      },
      {
        "number": "21",
        "name": "PE2",
        "type": "bidirectional",
        "description": "Five-volt tolerant port E2 I/O with TIM1_CH3N and [CCO] configurable clock output."
      },
      {
        "number": "22",
        "name": "PE3",
        "type": "bidirectional",
        "description": "Five-volt tolerant port E3 I/O with USART2_RX."
      },
      {
        "number": "23",
        "name": "PE4",
        "type": "bidirectional",
        "description": "Five-volt tolerant port E4 I/O with DAC_TRIG2 and USART2_TX."
      },
      {
        "number": "24",
        "name": "PE5",
        "type": "bidirectional",
        "description": "Five-volt tolerant port E5 I/O with ADC1_IN23, [COMP1_INP], [COMP2_INP] and USART2_CK."
      },
      {
        "number": "25",
        "name": "PD0",
        "type": "bidirectional",
        "description": "Five-volt tolerant port D0 I/O with TIM3_CH2, [ADC1_TRIG], ADC1_IN22 and [COMP2_INP]."
      },
      {
        "number": "26",
        "name": "PD1",
        "type": "bidirectional",
        "description": "Five-volt tolerant port D1 I/O with TIM3_ETR, ADC1_IN21, [COMP1_INP] and [COMP2_INP]."
      },
      {
        "number": "27",
        "name": "PD2",
        "type": "bidirectional",
        "description": "Five-volt tolerant port D2 I/O with TIM1_CH1, ADC1_IN20 and [COMP1_INP]."
      },
      {
        "number": "28",
        "name": "PD3",
        "type": "bidirectional",
        "description": "Five-volt tolerant port D3 I/O with TIM1_ETR, ADC1_IN19 and [COMP1_INP]."
      },
      {
        "number": "29",
        "name": "VDD3",
        "type": "power_in",
        "description": "I/O supply voltage; must not be left unconnected."
      },
      {
        "number": "30",
        "name": "VSS3",
        "type": "power_in",
        "description": "I/O ground voltage; must not be left unconnected."
      },
      {
        "number": "31",
        "name": "PB0",
        "type": "bidirectional",
        "description": "Five-volt tolerant port B0 I/O (pull-up during reset) with TIM2_CH1, ADC1_IN18 and [COMP1_INP]."
      },
      {
        "number": "32",
        "name": "PB1",
        "type": "bidirectional",
        "description": "Five-volt tolerant port B1 I/O with TIM3_CH1, ADC1_IN17 and [COMP1_INP]."
      },
      {
        "number": "33",
        "name": "PB2",
        "type": "bidirectional",
        "description": "Five-volt tolerant port B2 I/O with TIM2_CH2, ADC1_IN16 and [COMP1_INP]."
      },
      {
        "number": "34",
        "name": "PB3",
        "type": "bidirectional",
        "description": "Five-volt tolerant port B3 I/O with TIM2_ETR, ADC1_IN15 and [COMP1_INP]."
      },
      {
        "number": "35",
        "name": "PB4",
        "type": "bidirectional",
        "description": "Five-volt tolerant port B4 I/O (pull-up during reset) with SPI1_NSS, ADC1_IN14 and [COMP1_INP]."
      },
      {
        "number": "36",
        "name": "PB5",
        "type": "bidirectional",
        "description": "Five-volt tolerant port B5 I/O with SPI1_SCK, ADC1_IN13 and [COMP1_INP]."
      },
      {
        "number": "37",
        "name": "PB6",
        "type": "bidirectional",
        "description": "Five-volt tolerant port B6 I/O with SPI1_MOSI, ADC1_IN12 and [COMP1_INP]."
      },
      {
        "number": "38",
        "name": "PB7",
        "type": "bidirectional",
        "description": "Five-volt tolerant port B7 I/O with SPI1_MISO, ADC1_IN11 and [COMP1_INP]."
      },
      {
        "number": "39",
        "name": "PF0",
        "type": "bidirectional",
        "description": "Port F0 I/O with ADC1_IN24, DAC_OUT1 and [USART3_TX]."
      },
      {
        "number": "40",
        "name": "PF1",
        "type": "bidirectional",
        "description": "Port F1 I/O with ADC1_IN25, DAC channel 2 output and [USART3_RX]."
      },
      {
        "number": "41",
        "name": "PF4",
        "type": "bidirectional",
        "description": "Five-volt tolerant port F4 I/O (LCD segment/COM function on STM8L152 only)."
      },
      {
        "number": "42",
        "name": "PF5",
        "type": "bidirectional",
        "description": "Five-volt tolerant port F5 I/O (LCD segment/COM function on STM8L152 only)."
      },
      {
        "number": "43",
        "name": "PF6",
        "type": "bidirectional",
        "description": "Five-volt tolerant port F6 I/O (LCD segment/COM function on STM8L152 only)."
      },
      {
        "number": "44",
        "name": "PF7",
        "type": "bidirectional",
        "description": "Five-volt tolerant port F7 I/O (LCD segment/COM function on STM8L152 only)."
      },
      {
        "number": "45",
        "name": "PD4",
        "type": "bidirectional",
        "description": "Five-volt tolerant port D4 I/O with TIM1_CH2, ADC1_IN10 and [COMP1_INP]."
      },
      {
        "number": "46",
        "name": "PD5",
        "type": "bidirectional",
        "description": "Five-volt tolerant port D5 I/O with TIM1_CH3, ADC1_IN9 and [COMP1_INP]."
      },
      {
        "number": "47",
        "name": "PD6",
        "type": "bidirectional",
        "description": "Five-volt tolerant port D6 I/O with TIM1_BKIN, ADC1_IN8, RTC_CALIB, [COMP1_INP] and VREFINT output."
      },
      {
        "number": "48",
        "name": "PD7",
        "type": "bidirectional",
        "description": "Five-volt tolerant port D7 I/O with TIM1_CH1N, ADC1_IN7, RTC_ALARM, [COMP1_INP] and VREFINT output."
      },
      {
        "number": "49",
        "name": "PG4",
        "type": "bidirectional",
        "description": "Five-volt tolerant port G4 I/O with SPI2_NSS."
      },
      {
        "number": "50",
        "name": "PG5",
        "type": "bidirectional",
        "description": "Five-volt tolerant port G5 I/O with SPI2_SCK."
      },
      {
        "number": "51",
        "name": "PG6",
        "type": "bidirectional",
        "description": "Five-volt tolerant port G6 I/O with SPI2_MOSI."
      },
      {
        "number": "52",
        "name": "PG7",
        "type": "bidirectional",
        "description": "Five-volt tolerant port G7 I/O with SPI2_MISO."
      },
      {
        "number": "53",
        "name": "PC0",
        "type": "bidirectional",
        "description": "Five-volt tolerant true open-drain port C0 I/O used as I2C1_SDA."
      },
      {
        "number": "54",
        "name": "PC1",
        "type": "bidirectional",
        "description": "Five-volt tolerant true open-drain port C1 I/O used as I2C1_SCL."
      },
      {
        "number": "55",
        "name": "VDD2",
        "type": "power_in",
        "description": "I/O supply voltage; must not be left unconnected."
      },
      {
        "number": "56",
        "name": "VSS2",
        "type": "power_in",
        "description": "I/O ground voltage; must not be left unconnected."
      },
      {
        "number": "57",
        "name": "PC2",
        "type": "bidirectional",
        "description": "Five-volt tolerant port C2 I/O with USART1_RX, ADC1_IN6, [COMP1_INP] and VREFINT output."
      },
      {
        "number": "58",
        "name": "PC3",
        "type": "bidirectional",
        "description": "Five-volt tolerant port C3 I/O with USART1_TX, ADC1_IN5, [COMP2_INM] and [COMP1_INP]."
      },
      {
        "number": "59",
        "name": "PC4",
        "type": "bidirectional",
        "description": "Five-volt tolerant port C4 I/O with USART1_CK, I2C1_SMB, [CCO], ADC1_IN4, [COMP2_INM] and [COMP1_INP]."
      },
      {
        "number": "60",
        "name": "PC5",
        "type": "bidirectional",
        "description": "Five-volt tolerant port C5 I/O with LSE oscillator input OSC32_IN and remap options [SPI1_NSS]/[USART1_TX]."
      },
      {
        "number": "61",
        "name": "PC6",
        "type": "bidirectional",
        "description": "Five-volt tolerant port C6 I/O with LSE oscillator output OSC32_OUT and remap options [SPI1_SCK]/[USART1_RX]."
      },
      {
        "number": "62",
        "name": "PC7",
        "type": "bidirectional",
        "description": "Five-volt tolerant port C7 I/O with ADC1_IN3, [COMP2_INM] and [COMP1_INP]."
      },
      {
        "number": "63",
        "name": "PE6",
        "type": "bidirectional",
        "description": "Five-volt tolerant port E6 I/O with PVD_IN and TIM5_BKIN."
      },
      {
        "number": "64",
        "name": "PE7",
        "type": "bidirectional",
        "description": "Five-volt tolerant port E7 I/O with TIM5_ETR."
      }
    ],
    "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: On the STM8L151 (no LCD) device pin 18 is reserved and must be tied to VDD (footnote 8 of Table 5, F; Pin types come from the datasheet's I/O columns; LCD functions apply to STM8L152 only and were left ; The pin table is extracted text. The LQFP64 column was read per row, and the figure pin numbers were",
          "1/64 pin names appear NOWHERE in the datasheet text: ['13:VREF+@p39']"
        ],
        "pages_sent": 56,
        "cost_usd": 0.355,
        "at": "2026-11-07T00:16:06"
      },
      "datasheet": {
        "url": "https://www.st.com/resource/en/datasheet/stm8l151r8t6.pdf",
        "pages": 147,
        "sha256": "193f2133f3d81d2b",
        "source_tier": "mfr"
      },
      "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": "stm8l151r8t6.step",
        "role": "plain",
        "up": "Z",
        "units": "mm",
        "origin": "footprint origin = pad-pattern centre",
        "seat": "z = 0",
        "extents_mm": [
          12,
          12,
          1.5
        ],
        "zmin_mm": 0,
        "centre_offset_mm": 0,
        "footprint_binding": "identity",
        "sha256": "b0c827bc5c05552175d28affe44a5bd2ab45c9c36efff6ff07a74cc449b13db4",
        "checked": "2026-11-07",
        "checked_by": "factory/step_pose.py (Z-up, origin, seat, binding)"
      },
      {
        "file": "stm8l151r8t6-etched.step",
        "role": "eda",
        "up": "Z",
        "units": "mm",
        "origin": "footprint origin = pad-pattern centre",
        "seat": "z = 0",
        "extents_mm": [
          12,
          12,
          1.5
        ],
        "zmin_mm": 0,
        "centre_offset_mm": 0,
        "footprint_binding": "identity",
        "sha256": "39cedd0762cdb49bfd553fd21e76d24078457bede78f4a123d7a6a1e0265b268",
        "checked": "2026-11-07",
        "checked_by": "factory/step_pose.py (Z-up, origin, seat, binding)"
      }
    ]
  },
  "metadata": {
    "specs": {
      "Manufacturer": "STMicroelectronics",
      "Package": "LQFP-64(10x10)",
      "Category": "Embedded Processors & Controllers",
      "Pins": "64"
    },
    "characteristics": {
      "version": 1,
      "source": "datasheet",
      "datasheet_sha256": "193f2133f3d81d2bbd9f025b5b4c440d13e1b8e6e444cbde44b5d0c386fa2c78",
      "rows": [
        {
          "name": "External supply voltage (including VDDA)",
          "symbol": "VDD- VSS",
          "kind": "absolute_maximum",
          "unit": "V",
          "min": -0.3,
          "typ": null,
          "max": 4,
          "conditions": "",
          "source_page": 69,
          "source": "datasheet"
        },
        {
          "name": "Input voltage on any other pin",
          "symbol": "VIN",
          "kind": "absolute_maximum",
          "unit": "V",
          "min": null,
          "typ": null,
          "max": 4,
          "conditions": "",
          "source_page": 69,
          "source": "datasheet"
        },
        {
          "name": "Total current into VDD power line (source)",
          "symbol": "IVDD",
          "kind": "absolute_maximum",
          "unit": "mA",
          "min": null,
          "typ": null,
          "max": 80,
          "conditions": "",
          "source_page": 70,
          "source": "datasheet"
        },
        {
          "name": "Total current out of VSS ground line (sink)",
          "symbol": "IVSS",
          "kind": "absolute_maximum",
          "unit": "mA",
          "min": null,
          "typ": null,
          "max": 80,
          "conditions": "",
          "source_page": 70,
          "source": "datasheet"
        },
        {
          "name": "Output current sunk by IR_TIM pin (with high sink LED driver capability)",
          "symbol": "IIO",
          "kind": "absolute_maximum",
          "unit": "mA",
          "min": null,
          "typ": null,
          "max": 80,
          "conditions": "IR_TIM pin",
          "source_page": 70,
          "source": "datasheet"
        },
        {
          "name": "Output current sunk by any other I/O and control pin",
          "symbol": "IIO",
          "kind": "absolute_maximum",
          "unit": "mA",
          "min": null,
          "typ": null,
          "max": 25,
          "conditions": "",
          "source_page": 70,
          "source": "datasheet"
        },
        {
          "name": "Output current sourced by any I/Os and control pin",
          "symbol": "IIO",
          "kind": "absolute_maximum",
          "unit": "mA",
          "min": null,
          "typ": null,
          "max": -25,
          "conditions": "sourced",
          "source_page": 70,
          "source": "datasheet"
        },
        {
          "name": "Injected current on true open-drain pins (PC0 and PC1)",
          "symbol": "IINJ(PIN)",
          "kind": "absolute_maximum",
          "unit": "mA",
          "min": -5,
          "typ": null,
          "max": 0,
          "conditions": "",
          "source_page": 70,
          "source": "datasheet"
        },
        {
          "name": "Injected current on five-volt tolerant (FT) pins",
          "symbol": "IINJ(PIN)",
          "kind": "absolute_maximum",
          "unit": "mA",
          "min": -5,
          "typ": null,
          "max": 0,
          "conditions": "",
          "source_page": 70,
          "source": "datasheet"
        },
        {
          "name": "Injected current on any other pin",
          "symbol": "IINJ(PIN)",
          "kind": "absolute_maximum",
          "unit": "mA",
          "min": -5,
          "typ": null,
          "max": 5,
          "conditions": "",
          "source_page": 70,
          "source": "datasheet"
        },
        {
          "name": "Total injected current (sum of all I/O and control pins)",
          "symbol": "ΣIINJ(PIN)",
          "kind": "absolute_maximum",
          "unit": "mA",
          "min": -25,
          "typ": null,
          "max": 25,
          "conditions": "",
          "source_page": 70,
          "source": "datasheet"
        },
        {
          "name": "Storage temperature range",
          "symbol": "TSTG",
          "kind": "absolute_maximum",
          "unit": "°C",
          "min": -65,
          "typ": null,
          "max": 150,
          "conditions": "",
          "source_page": 70,
          "source": "datasheet"
        },
        {
          "name": "Maximum junction temperature",
          "symbol": "TJ",
          "kind": "absolute_maximum",
          "unit": "°C",
          "min": null,
          "typ": null,
          "max": 150,
          "conditions": "",
          "source_page": 70,
          "source": "datasheet"
        },
        {
          "name": "System clock frequency",
          "symbol": "fSYSCLK",
          "kind": "recommended_operating",
          "unit": "MHz",
          "min": 0,
          "typ": null,
          "max": 16,
          "conditions": "1.65 V ≤VDD < 3.6 V",
          "source_page": 71,
          "source": "datasheet"
        },
        {
          "name": "Standard operating voltage",
          "symbol": "VDD",
          "kind": "recommended_operating",
          "unit": "V",
          "min": 1.8,
          "typ": null,
          "max": 3.6,
          "conditions": "BOR detector enabled",
          "source_page": 71,
          "source": "datasheet"
        },
        {
          "name": "Analog operating voltage",
          "symbol": "VDDA",
          "kind": "recommended_operating",
          "unit": "V",
          "min": 1.65,
          "typ": null,
          "max": 3.6,
          "conditions": "ADC and DAC not used",
          "source_page": 71,
          "source": "datasheet"
        },
        {
          "name": "Analog operating voltage",
          "symbol": "VDDA",
          "kind": "recommended_operating",
          "unit": "V",
          "min": 1.8,
          "typ": null,
          "max": 3.6,
          "conditions": "ADC or DAC used",
          "source_page": 71,
          "source": "datasheet"
        },
        {
          "name": "Power dissipation at TA = 85 °C for suffix 6 devices, LQFP64",
          "symbol": "PD",
          "kind": "thermal",
          "unit": "mW",
          "min": null,
          "typ": null,
          "max": 416,
          "conditions": "TA = 85 °C, suffix 6, LQFP64",
          "source_page": 71,
          "source": "datasheet"
        },
        {
          "name": "Temperature range",
          "symbol": "TA",
          "kind": "recommended_operating",
          "unit": "°C",
          "min": -40,
          "typ": null,
          "max": 85,
          "conditions": "1.65 V ≤VDD < 3.6 V (6 suffix version)",
          "source_page": 71,
          "source": "datasheet"
        },
        {
          "name": "Junction temperature range",
          "symbol": "TJ",
          "kind": "recommended_operating",
          "unit": "°C",
          "min": -40,
          "typ": null,
          "max": 105,
          "conditions": "-40 °C ≤ TA < 85 °C (6 suffix version)",
          "source_page": 71,
          "source": "datasheet"
        },
        {
          "name": "Power-on reset threshold",
          "symbol": "VPOR",
          "kind": "electrical",
          "unit": "V",
          "min": 1.3,
          "typ": 1.5,
          "max": 1.65,
          "conditions": "Rising edge",
          "source_page": 72,
          "source": "datasheet"
        },
        {
          "name": "Power-down reset threshold",
          "symbol": "VPDR",
          "kind": "electrical",
          "unit": "V",
          "min": 1.3,
          "typ": 1.5,
          "max": 1.65,
          "conditions": "Falling edge",
          "source_page": 72,
          "source": "datasheet"
        },
        {
          "name": "Brown-out reset threshold 0 (falling edge)",
          "symbol": "VBOR0",
          "kind": "electrical",
          "unit": "V",
          "min": 1.67,
          "typ": 1.7,
          "max": 1.74,
          "conditions": "Falling edge, BOR_TH[2:0]=000",
          "source_page": 72,
          "source": "datasheet"
        },
        {
          "name": "Brown-out reset threshold 0 (rising edge)",
          "symbol": "VBOR0",
          "kind": "electrical",
          "unit": "V",
          "min": 1.69,
          "typ": 1.75,
          "max": 1.8,
          "conditions": "Rising edge, BOR_TH[2:0]=000",
          "source_page": 72,
          "source": "datasheet"
        },
        {
          "name": "Brown-out reset threshold 1 (falling edge)",
          "symbol": "VBOR1",
          "kind": "electrical",
          "unit": "V",
          "min": 1.87,
          "typ": 1.93,
          "max": 1.97,
          "conditions": "Falling edge, BOR_TH[2:0]=001",
          "source_page": 72,
          "source": "datasheet"
        },
        {
          "name": "Brown-out reset threshold 1 (rising edge)",
          "symbol": "VBOR1",
          "kind": "electrical",
          "unit": "V",
          "min": 1.96,
          "typ": 2.04,
          "max": 2.07,
          "conditions": "Rising edge, BOR_TH[2:0]=001",
          "source_page": 72,
          "source": "datasheet"
        },
        {
          "name": "Brown-out reset threshold 2 (falling edge)",
          "symbol": "VBOR2",
          "kind": "electrical",
          "unit": "V",
          "min": 2.22,
          "typ": 2.3,
          "max": 2.35,
          "conditions": "Falling edge, BOR_TH[2:0]=010",
          "source_page": 72,
          "source": "datasheet"
        },
        {
          "name": "Brown-out reset threshold 2 (rising edge)",
          "symbol": "VBOR2",
          "kind": "electrical",
          "unit": "V",
          "min": 2.31,
          "typ": 2.41,
          "max": 2.44,
          "conditions": "Rising edge, BOR_TH[2:0]=010",
          "source_page": 72,
          "source": "datasheet"
        },
        {
          "name": "Brown-out reset threshold 3 (falling edge)",
          "symbol": "VBOR3",
          "kind": "electrical",
          "unit": "V",
          "min": 2.45,
          "typ": 2.55,
          "max": 2.6,
          "conditions": "Falling edge, BOR_TH[2:0]=011",
          "source_page": 72,
          "source": "datasheet"
        },
        {
          "name": "Brown-out reset threshold 3 (rising edge)",
          "symbol": "VBOR3",
          "kind": "electrical",
          "unit": "V",
          "min": 2.54,
          "typ": 2.66,
          "max": 2.7,
          "conditions": "Rising edge, BOR_TH[2:0]=011",
          "source_page": 72,
          "source": "datasheet"
        },
        {
          "name": "Brown-out reset threshold 4 (falling edge)",
          "symbol": "VBOR4",
          "kind": "electrical",
          "unit": "V",
          "min": 2.68,
          "typ": 2.8,
          "max": 2.85,
          "conditions": "Falling edge, BOR_TH[2:0]=100",
          "source_page": 72,
          "source": "datasheet"
        },
        {
          "name": "Brown-out reset threshold 4 (rising edge)",
          "symbol": "VBOR4",
          "kind": "electrical",
          "unit": "V",
          "min": 2.78,
          "typ": 2.9,
          "max": 2.95,
          "conditions": "Rising edge, BOR_TH[2:0]=100",
          "source_page": 72,
          "source": "datasheet"
        },
        {
          "name": "Supply current in run mode, code executed from RAM, HSI RC osc.",
          "symbol": "IDD(RUN)",
          "kind": "electrical",
          "unit": "mA",
          "min": null,
          "typ": 1.62,
          "max": 1.79,
          "conditions": "fCPU = 16 MHz, 85 °C (suffix 6), all peripherals OFF",
          "source_page": 75,
          "source": "datasheet"
        },
        {
          "name": "Supply current in run mode, code executed from Flash, HSI RC osc.",
          "symbol": "IDD(RUN)",
          "kind": "electrical",
          "unit": "mA",
          "min": null,
          "typ": 3.54,
          "max": 3.67,
          "conditions": "fCPU = 16 MHz, 85 °C (suffix 6), all peripherals OFF",
          "source_page": 76,
          "source": "datasheet"
        },
        {
          "name": "External clock source frequency",
          "symbol": "fHSE_ext",
          "kind": "electrical",
          "unit": "MHz",
          "min": 1,
          "typ": null,
          "max": 16,
          "conditions": "",
          "source_page": 90,
          "source": "datasheet"
        },
        {
          "name": "HSI oscillator accuracy (factory calibrated)",
          "symbol": "ACCHSI",
          "kind": "tolerance",
          "unit": "%",
          "min": -1,
          "typ": null,
          "max": 1,
          "conditions": "VDD = 3.0 V, TA = 25 °C",
          "source_page": 93,
          "source": "datasheet"
        },
        {
          "name": "HSI oscillator accuracy (factory calibrated)",
          "symbol": "ACCHSI",
          "kind": "tolerance",
          "unit": "%",
          "min": -1.5,
          "typ": null,
          "max": 1.5,
          "conditions": "VDD = 3.0 V, 0 °C ≤TA ≤ 55 °C",
          "source_page": 93,
          "source": "datasheet"
        },
        {
          "name": "HSI oscillator accuracy (factory calibrated)",
          "symbol": "ACCHSI",
          "kind": "tolerance",
          "unit": "%",
          "min": -2,
          "typ": null,
          "max": 2,
          "conditions": "VDD = 3.0 V, -10 °C ≤TA ≤ 70 °C",
          "source_page": 93,
          "source": "datasheet"
        },
        {
          "name": "HSI oscillator accuracy (factory calibrated)",
          "symbol": "ACCHSI",
          "kind": "tolerance",
          "unit": "%",
          "min": -2.5,
          "typ": null,
          "max": 2,
          "conditions": "VDD = 3.0 V, -10 °C ≤TA ≤ 85 °C",
          "source_page": 93,
          "source": "datasheet"
        },
        {
          "name": "HSI oscillator accuracy (factory calibrated)",
          "symbol": "ACCHSI",
          "kind": "tolerance",
          "unit": "%",
          "min": -4.5,
          "typ": null,
          "max": 2,
          "conditions": "VDD = 3.0 V, -10 °C ≤TA ≤ 125 °C",
          "source_page": 93,
          "source": "datasheet"
        },
        {
          "name": "HSI oscillator accuracy (factory calibrated)",
          "symbol": "ACCHSI",
          "kind": "tolerance",
          "unit": "%",
          "min": -4.5,
          "typ": null,
          "max": 3,
          "conditions": "1.65 V ≤ VDD ≤ 3.6 V, -40 °C ≤TA ≤ 125 °C",
          "source_page": 93,
          "source": "datasheet"
        },
        {
          "name": "HSI oscillator setup time (wakeup time)",
          "symbol": "tsu(HSI)",
          "kind": "timing",
          "unit": "µs",
          "min": null,
          "typ": 3.7,
          "max": 6,
          "conditions": "",
          "source_page": 93,
          "source": "datasheet"
        },
        {
          "name": "HSI oscillator power consumption",
          "symbol": "IDD(HSI)",
          "kind": "electrical",
          "unit": "µA",
          "min": null,
          "typ": 100,
          "max": 140,
          "conditions": "",
          "source_page": 93,
          "source": "datasheet"
        },
        {
          "name": "Low speed internal RC oscillator frequency",
          "symbol": "fLSI",
          "kind": "electrical",
          "unit": "kHz",
          "min": 26,
          "typ": 38,
          "max": 56,
          "conditions": "VDD = 1.65 V to 3.6 V, TA = -40 to 125 °C",
          "source_page": 94,
          "source": "datasheet"
        },
        {
          "name": "LSI oscillator frequency drift",
          "symbol": "D(LSI)",
          "kind": "tolerance",
          "unit": "%",
          "min": -12,
          "typ": null,
          "max": 11,
          "conditions": "0 °C ≤TA ≤ 85 °C",
          "source_page": 94,
          "source": "datasheet"
        },
        {
          "name": "Supply operating voltage (all modes, read/write/erase)",
          "symbol": "VDD",
          "kind": "recommended_operating",
          "unit": "V",
          "min": 1.65,
          "typ": null,
          "max": 3.6,
          "conditions": "fSYSCLK = 16 MHz",
          "source_page": 96,
          "source": "datasheet"
        },
        {
          "name": "Programming time for 1 or 128 bytes (block) erase/write cycles (on programmed byte)",
          "symbol": "tprog",
          "kind": "timing",
          "unit": "ms",
          "min": null,
          "typ": null,
          "max": 6,
          "conditions": "",
          "source_page": 96,
          "source": "datasheet"
        },
        {
          "name": "Data retention (program memory) after 10000 erase/write cycles at TA=-40 to +85 °C (6 suffix)",
          "symbol": "tRET",
          "kind": "electrical",
          "unit": "years",
          "min": 30,
          "typ": null,
          "max": null,
          "conditions": "TRET=+85 °C",
          "source_page": 96,
          "source": "datasheet"
        },
        {
          "name": "Data retention (data memory) after 300000 erase/write cycles at TA=-40 to +85 °C (6 suffix)",
          "symbol": "tRET",
          "kind": "electrical",
          "unit": "years",
          "min": 30,
          "typ": null,
          "max": null,
          "conditions": "TRET=+85 °C",
          "source_page": 96,
          "source": "datasheet"
        },
        {
          "name": "Erase/write cycles (program memory)",
          "symbol": "NRW",
          "kind": "electrical",
          "unit": "kcycles",
          "min": 10,
          "typ": null,
          "max": null,
          "conditions": "TA=-40 to +85 °C (6 suffix)",
          "source_page": 96,
          "source": "datasheet"
        },
        {
          "name": "Erase/write cycles (data memory)",
          "symbol": "NRW",
          "kind": "electrical",
          "unit": "kcycles",
          "min": 300,
          "typ": null,
          "max": null,
          "conditions": "",
          "source_page": 96,
          "source": "datasheet"
        },
        {
          "name": "Minimum supply voltage without losing data in RAM or hardware registers",
          "symbol": "VRM",
          "kind": "electrical",
          "unit": "V",
          "min": 1.65,
          "typ": null,
          "max": null,
          "conditions": "Halt mode (or Reset)",
          "source_page": 95,
          "source": "datasheet"
        },
        {
          "name": "Output low level voltage for an I/O pin",
          "symbol": "VOL",
          "kind": "electrical",
          "unit": "V",
          "min": null,
          "typ": null,
          "max": 0.45,
          "conditions": "IIO = +2 mA, VDD = 3.0 V",
          "source_page": 101,
          "source": "datasheet"
        },
        {
          "name": "Output low level voltage for an I/O pin",
          "symbol": "VOL",
          "kind": "electrical",
          "unit": "V",
          "min": null,
          "typ": null,
          "max": 0.7,
          "conditions": "IIO = +10 mA, VDD = 3.0 V",
          "source_page": 101,
          "source": "datasheet"
        },
        {
          "name": "Weak pull-up equivalent resistor",
          "symbol": "RPU",
          "kind": "electrical",
          "unit": "kΩ",
          "min": 30,
          "typ": 45,
          "max": 60,
          "conditions": "VIN=VSS",
          "source_page": 98,
          "source": "datasheet"
        },
        {
          "name": "Input leakage current, standard I/Os",
          "symbol": "Ilkg",
          "kind": "electrical",
          "unit": "nA",
          "min": null,
          "typ": null,
          "max": 50,
          "conditions": "VSS≤VIN≤ VDD",
          "source_page": 98,
          "source": "datasheet"
        },
        {
          "name": "I/O pin capacitance",
          "symbol": "CIO",
          "kind": "electrical",
          "unit": "pF",
          "min": null,
          "typ": null,
          "max": 5,
          "conditions": "",
          "source_page": 98,
          "source": "datasheet"
        },
        {
          "name": "NRST input low level voltage",
          "symbol": "VIL(NRST)",
          "kind": "electrical",
          "unit": "V",
          "min": null,
          "typ": null,
          "max": 0.8,
          "conditions": "",
          "source_page": 103,
          "source": "datasheet"
        },
        {
          "name": "NRST output low level voltage",
          "symbol": "VOL(NRST)",
          "kind": "electrical",
          "unit": "V",
          "min": null,
          "typ": null,
          "max": 0.4,
          "conditions": "IOL = 2 mA, 2.7 V ≤ VDD ≤ 3.6 V",
          "source_page": 103,
          "source": "datasheet"
        }
      ]
    }
  },
  "variants": [],
  "sections": [
    "hero",
    "viewers",
    "readme",
    "breadcrumbs",
    "info"
  ],
  "discovery_triggers": [
    "stm8l151r8t6"
  ],
  "discovery_pitch": "STM8L151R8T6 (STMicroelectronics) 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",
    "stm8l151r8t6.kicad_sym",
    "stm8l151r8t6.kicad_mod",
    "stm8l151r8t6.glb",
    "stm8l151r8t6.step",
    "stm8l151r8t6.lbr",
    "docs/hero.png",
    "docs/stm8l151r8t6-datasheet.pdf",
    "viewers/symbol.html",
    "viewers/footprint.html",
    "stm8l151r8t6-hero.glb",
    "stm8l151r8t6-hero.overlay.json",
    "stm8l151r8t6-etched.glb",
    "stm8l151r8t6-etched.step"
  ],
  "visibility": "public",
  "description": "STMicroelectronics ST Microelectronics, LQFP-64(10x10). Pinout read twice from the datasheet and the two reads agreed, KiCad symbol/footprint/3D.",
  "org": "adom"
}