main
Ray Publish 0.1.2 4ff9bc4
12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576777879808182838485868788899091929394959697989910010110210310410510610710810911011111211311411511611711811912012112212312412512612712812913013113213313413513613713813914014114214314414514614714814915015115215315415515615715815916016116216316416516616716816917017117217317417517617717817918018118218318418518618718818919019119219319419519619719819920020120220320420520620720820921021121221321421521621721821922022122222322422522622722822923023123223323423523623723823924024124224324424524624724824925025125225325425525625725825926026126226326426526626726826927027127227327427527627727827928028128228328428528628728828929029129229329429529629729829930030130230330430530630730830931031131231331431531631731831932032132232332432532632732832933033133233333433533633733833934034134234334434534634734834935035135235335435535635735835936036136236336436536636736836937037137237337437537637737837938038138238338438538638738838939039139239339439539639739839940040140240340440540640740840941041141241341441541641741841942042142242342442542642742842943043143243343443543643743843944044144244344444544644744844945045145245345445545645745845946046146246346446546646746846947047147247347447547647747847948048148248348448548648748848949049149249349449549649749849950050150250350450550650750850951051151251351451551651751851952052152252352452552652752852953053153253353453553653753853954054154254354454554654754854955055155255355455555655755855956056156256356456556656756856957057157257357457557657757857958058158258358458558658758858959059159259359459559659759859960060160260360460560660760860961061161261361461561661761861962062162262362462562662762862963063163263363463563663763863964064164264364464564664764864965065165265365465565665765865966066166266366466566666766866967067167267367467567667767867968068168268368468568668768868969069169269369469569669769869970070170270370470570670770870971071171271371471571671771871972072172272372472572672772872973073173273373473573673773873974074174274374474574674774874975075175275375475575675775875976076176276376476576676776876977077177277377477577677777877978078178278378478578678778878979079179279379479579679779879980080180280380480580680780880981081181281381481581681781881982082182282382482582682782882983083183283383483583683783883984084184284384484584684784884985085185285385485585685785885986086186286386486586686786886987087187287387487587687787887988088188288388488588688788888989089189289389489589689789889990090190290390490590690790890991091191291391491591691791891992092192292392492592692792892993093193293393493593693793893994094194294394494594694794894995095195295395495595695795895996096196296396496596696796896997097197297397497597697797897998098198298398498598698798898999099199299399499599699799899910001001100210031004100510061007100810091010101110121013101410151016101710181019102010211022102310241025102610271028102910301031103210331034103510361037103810391040104110421043104410451046104710481049105010511052105310541055105610571058105910601061106210631064106510661067106810691070107110721073107410751076107710781079108010811082108310841085108610871088108910901091109210931094109510961097109810991100110111021103110411051106110711081109111011111112111311141115111611171118111911201121112211231124112511261127112811291130113111321133113411351136113711381139114011411142114311441145114611471148114911501151115211531154115511561157115811591160116111621163116411651166116711681169117011711172117311741175117611771178117911801181118211831184118511861187118811891190119111921193119411951196119711981199120012011202120312041205120612071208120912101211121212131214121512161217121812191220122112221223122412251226122712281229123012311232123312341235123612371238123912401241124212431244124512461247124812491250125112521253125412551256125712581259126012611262
{
  "slug": "stm8l151r8t6",
  "version": "0.1.2",
  "type": "component",
  "description": "STMicroelectronics ST Microelectronics, LQFP-64(10x10). Pinout read twice from the datasheet and the two reads agreed, KiCad symbol/footprint/3D.",
  "tags": [
    "component",
    "embedded processors & controllers",
    "stm8l151r8t6",
    "factory-2.0.0",
    "extractor-text"
  ],
  "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"
  ],
  "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.0,
          12.0,
          1.5
        ],
        "zmin_mm": 0.0,
        "centre_offset_mm": 0.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.0,
          12.0,
          1.5
        ],
        "zmin_mm": 0.0,
        "centre_offset_mm": 0.0,
        "footprint_binding": "identity",
        "sha256": "39cedd0762cdb49bfd553fd21e76d24078457bede78f4a123d7a6a1e0265b268",
        "checked": "2026-11-07",
        "checked_by": "factory/step_pose.py (Z-up, origin, seat, binding)"
      }
    ]
  },
  "title": "STM8L151R8T6",
  "brief": "STMicroelectronics ST Microelectronics, LQFP-64(10x10). Pinout read twice from the datasheet and the two reads agreed, KiCad symbol/footprint/3D.",
  "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"
        }
      ]
    }
  },
  "discovery_triggers": [
    "stm8l151r8t6"
  ],
  "discovery_pitch": "STM8L151R8T6 (STMicroelectronics) component page: datasheet pinout, KiCad symbol, footprint and 3D.",
  "visibility": "public"
}