main
Ray Set visibility: public 7f60b32 6h ago
1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677787980818283848586878889909192939495969798991001011021031041051061071081091101111121131141151161171181191201211221231241251261271281291301311321331341351361371381391401411421431441451461471481491501511521531541551561571581591601611621631641651661671681691701711721731741751761771781791801811821831841851861871881891901911921931941951961971981992002012022032042052062072082092102112122132142152162172182192202212222232242252262272282292302312322332342352362372382392402412422432442452462472482492502512522532542552562572582592602612622632642652662672682692702712722732742752762772782792802812822832842852862872882892902912922932942952962972982993003013023033043053063073083093103113123133143153163173183193203213223233243253263273283293303313323333343353363373383393403413423433443453463473483493503513523533543553563573583593603613623633643653663673683693703713723733743753763773783793803813823833843853863873883893903913923933943953963973983994004014024034044054064074084094104114124134144154164174184194204214224234244254264274284294304314324334344354364374384394404414424434444454464474484494504514524534544554564574584594604614624634644654664674684694704714724734744754764774784794804814824834844854864874884894904914924934944954964974984995005015025035045055065075085095105115125135145155165175185195205215225235245255265275285295305315325335345355365375385395405415425435445455465475485495505515525535545555565575585595605615625635645655665675685695705715725735745755765775785795805815825835845855865875885895905915925935945955965975985996006016026036046056066076086096106116126136146156166176186196206216226236246256266276286296306316326336346356366376386396406416426436446456466476486496506516526536546556566576586596606616626636646656666676686696706716726736746756766776786796806816826836846856866876886896906916926936946956966976986997007017027037047057067077087097107117127137147157167177187197207217227237247257267277287297307317327337347357367377387397407417427437447457467477487497507517527537547557567577587597607617627637647657667677687697707717727737747757767777787797807817827837847857867877887897907917927937947957967977987998008018028038048058068078088098108118128138148158168178188198208218228238248258268278288298308318328338348358368378388398408418428438448458468478488498508518528538548558568578588598608618628638648658668678688698708718728738748758768778788798808818828838848858868878888898908918928938948958968978988999009019029039049059069079089099109119129139149159169179189199209219229239249259269279289299309319329339349359369379389399409419429439449459469479489499509519529539549559569579589599609619629639649659669679689699709719729739749759769779789799809819829839849859869879889899909919929939949959969979989991000100110021003100410051006100710081009101010111012101310141015101610171018101910201021102210231024102510261027102810291030103110321033103410351036103710381039104010411042104310441045104610471048104910501051105210531054105510561057105810591060106110621063106410651066106710681069107010711072107310741075107610771078107910801081108210831084108510861087108810891090109110921093109410951096109710981099110011011102110311041105110611071108110911101111111211131114111511161117111811191120112111221123112411251126112711281129113011311132113311341135113611371138113911401141114211431144114511461147114811491150115111521153115411551156115711581159116011611162116311641165116611671168116911701171117211731174117511761177117811791180118111821183118411851186118711881189119011911192119311941195119611971198119912001201120212031204120512061207120812091210121112121213121412151216121712181219122012211222122312241225122612271228122912301231123212331234123512361237123812391240124112421243124412451246124712481249125012511252125312541255125612571258125912601261126212631264
{
  "schema_version": 1,
  "type": "component",
  "slug": "stm8l151r6t6",
  "title": "STM8L151R6T6",
  "brief": "STMicroelectronics Microcontrollers (MCU/MPU/SOC), LQFP-64(10x10). Pinout cross-checked by two models against the datasheet, KiCad symbol/footprint/3D.",
  "version": "0.1.0",
  "license": "CC-BY-SA-4.0",
  "tags": [
    "component",
    "embedded processors & controllers",
    "stm8l151r6t6",
    "factory-2.0.0",
    "extractor-text"
  ],
  "component": {
    "mpn": "STM8L151R6T6",
    "manufacturer": "STMicroelectronics",
    "package": "LQFP-64(10x10)",
    "pin_count": 64,
    "category": "Embedded Processors & Controllers",
    "subcategory": "Microcontrollers (MCU/MPU/SOC)",
    "datasheet": "https://www.st.com/resource/en/datasheet/stm8l151r6t6.pdf",
    "parts": {
      "symbol": "stm8l151r6t6.kicad_sym",
      "footprint": "stm8l151r6t6.kicad_mod",
      "model_3d": "stm8l151r6t6-hero.glb",
      "model_3d_plain": "stm8l151r6t6-etched.glb",
      "model_3d_step": "stm8l151r6t6-etched.step",
      "model_3d_step_plain": "stm8l151r6t6.step",
      "lbr": "stm8l151r6t6.lbr"
    },
    "distributor_links": {
      "lcsc": "C501017",
      "digikey": "497-11568-ND",
      "mouser": "511-STM8L151R6T6"
    },
    "distributor_check": {
      "checked_at": "2026-11-06T00:15:53Z",
      "source": "Component Ocean /api/assign-pns",
      "digikey": {
        "pn": "497-11568-ND",
        "status": "found"
      },
      "mouser": {
        "pn": "511-STM8L151R6T6",
        "status": "found"
      }
    },
    "pins": [
      {
        "number": "1",
        "name": "PA0",
        "type": "bidirectional",
        "description": "Port A0 with SWIM input/output, BEEP and IR timer output; input pull-up during reset and after reset release, high sink LED driver capability."
      },
      {
        "number": "2",
        "name": "NRST/PA1",
        "type": "bidirectional",
        "description": "Reset input with pull-up at power-up; as general purpose pin it can be configured only as output push-pull (PA1)."
      },
      {
        "number": "3",
        "name": "PA2",
        "type": "bidirectional",
        "description": "Port A2 with HSE oscillator input, USART1 transmit and SPI1 MISO alternate functions; high sink/source capability (20 mA)."
      },
      {
        "number": "4",
        "name": "PA3",
        "type": "bidirectional",
        "description": "Port A3 with HSE oscillator output, USART1 receive and SPI1 MOSI alternate functions; high sink/source capability (20 mA)."
      },
      {
        "number": "5",
        "name": "PA4",
        "type": "bidirectional",
        "description": "Port A4 with TIM2 break input, ADC1 input 2 and comparator 1 positive input; FT (five-volt tolerant) I/O, high sink/source capability (20 mA)."
      },
      {
        "number": "6",
        "name": "PA5",
        "type": "bidirectional",
        "description": "Port A5 with TIM3 break input, ADC1 input 1 and comparator 1 positive input; FT (five-volt tolerant) I/O, high sink/source capability (20 mA)."
      },
      {
        "number": "7",
        "name": "PA6",
        "type": "bidirectional",
        "description": "Port A6 with ADC1 trigger, ADC1 input 0 and comparator 1 positive input; FT (five-volt tolerant) I/O, high sink/source capability (20 mA)."
      },
      {
        "number": "8",
        "name": "PA7",
        "type": "bidirectional",
        "description": "Port A7 with TIM5 channel 1 alternate function; FT (five-volt tolerant) I/O, high sink/source capability (20 mA)."
      },
      {
        "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; must not be left unconnected."
      },
      {
        "number": "11",
        "name": "VDD1",
        "type": "power_in",
        "description": "Digital power supply 1.65 to 3.6 V for I/Os and internal regulator; 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": "Port G0 with USART3 receive and TIM2 break input alternate functions; FT (five-volt tolerant) I/O, high sink/source capability (20 mA)."
      },
      {
        "number": "15",
        "name": "PG1",
        "type": "bidirectional",
        "description": "Port G1 with USART3 transmit and TIM3 break input alternate functions; FT (five-volt tolerant) I/O, high sink/source capability (20 mA)."
      },
      {
        "number": "16",
        "name": "PG2",
        "type": "bidirectional",
        "description": "Port G2 with USART3 synchronous clock alternate function; FT (five-volt tolerant) I/O, high sink/source capability (20 mA)."
      },
      {
        "number": "17",
        "name": "PG3",
        "type": "bidirectional",
        "description": "Port G3 with TIM3 trigger alternate function; FT (five-volt tolerant) I/O, high sink/source capability (20 mA)."
      },
      {
        "number": "18",
        "name": "Res.",
        "type": "passive",
        "description": "Reserved on STM8L151 devices and must be tied to VDD."
      },
      {
        "number": "19",
        "name": "PE0",
        "type": "bidirectional",
        "description": "Port E0 with TIM5 channel 2 alternate function; FT (five-volt tolerant) I/O, high sink/source capability (20 mA)."
      },
      {
        "number": "20",
        "name": "PE1",
        "type": "bidirectional",
        "description": "Port E1 with TIM1 inverted channel 2 alternate function; FT (five-volt tolerant) I/O, high sink/source capability (20 mA)."
      },
      {
        "number": "21",
        "name": "PE2",
        "type": "bidirectional",
        "description": "Port E2 with TIM1 inverted channel 3 and configurable clock output alternate functions; FT (five-volt tolerant) I/O, high sink/source capability (20 mA)."
      },
      {
        "number": "22",
        "name": "PE3",
        "type": "bidirectional",
        "description": "Port E3 with USART2 receive alternate function; FT (five-volt tolerant) I/O, high sink/source capability (20 mA)."
      },
      {
        "number": "23",
        "name": "PE4",
        "type": "bidirectional",
        "description": "Port E4 with DAC trigger 2 and USART2 transmit alternate functions; FT (five-volt tolerant) I/O, high sink/source capability (20 mA)."
      },
      {
        "number": "24",
        "name": "PE5",
        "type": "bidirectional",
        "description": "Port E5 with ADC1 input 23, comparator positive inputs and USART2 synchronous clock alternate functions; FT (five-volt tolerant) I/O, high sink/source capability (20 mA)."
      },
      {
        "number": "25",
        "name": "PD0",
        "type": "bidirectional",
        "description": "Port D0 with TIM3 channel 2, ADC1 input 22 and comparator 2 positive input alternate functions; FT (five-volt tolerant) I/O, high sink/source capability (20 mA)."
      },
      {
        "number": "26",
        "name": "PD1",
        "type": "bidirectional",
        "description": "Port D1 with TIM3 trigger, ADC1 input 21 and comparator positive input alternate functions; FT (five-volt tolerant) I/O, high sink/source capability (20 mA)."
      },
      {
        "number": "27",
        "name": "PD2",
        "type": "bidirectional",
        "description": "Port D2 with TIM1 channel 1, ADC1 input 20 and comparator 1 positive input alternate functions; FT (five-volt tolerant) I/O, high sink/source capability (20 mA)."
      },
      {
        "number": "28",
        "name": "PD3",
        "type": "bidirectional",
        "description": "Port D3 with TIM1 trigger, ADC1 input 19 and comparator 1 positive input alternate functions; FT (five-volt tolerant) I/O, high sink/source capability (20 mA)."
      },
      {
        "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": "Port B0 with TIM2 channel 1, ADC1 input 18 and comparator 1 positive input alternate functions; pull-up applied during reset phase."
      },
      {
        "number": "32",
        "name": "PB1",
        "type": "bidirectional",
        "description": "Port B1 with TIM3 channel 1, ADC1 input 17 and comparator 1 positive input alternate functions; FT (five-volt tolerant) I/O, high sink/source capability (20 mA)."
      },
      {
        "number": "33",
        "name": "PB2",
        "type": "bidirectional",
        "description": "Port B2 with TIM2 channel 2, ADC1 input 16 and comparator 1 positive input alternate functions; FT (five-volt tolerant) I/O, high sink/source capability (20 mA)."
      },
      {
        "number": "34",
        "name": "PB3",
        "type": "bidirectional",
        "description": "Port B3 with TIM2 trigger, ADC1 input 15 and comparator 1 positive input alternate functions; FT (five-volt tolerant) I/O, high sink/source capability (20 mA)."
      },
      {
        "number": "35",
        "name": "PB4",
        "type": "bidirectional",
        "description": "Port B4 with SPI1 NSS, ADC1 input 14, DAC channel 2 output and comparator 1 positive input alternate functions; pull-up applied during reset phase."
      },
      {
        "number": "36",
        "name": "PB5",
        "type": "bidirectional",
        "description": "Port B5 with SPI1 clock, ADC1 input 13, DAC channel 2 output and comparator 1 positive input alternate functions; FT (five-volt tolerant) I/O, high sink/source capability (20 mA)."
      },
      {
        "number": "37",
        "name": "PB6",
        "type": "bidirectional",
        "description": "Port B6 with SPI1 MOSI, ADC1 input 12, DAC channel 2 output and comparator 1 positive input alternate functions; FT (five-volt tolerant) I/O, high sink/source capability (20 mA)."
      },
      {
        "number": "38",
        "name": "PB7",
        "type": "bidirectional",
        "description": "Port B7 with SPI1 MISO, ADC1 input 11 and comparator 1 positive input alternate functions; FT (five-volt tolerant) I/O, high sink/source capability (20 mA)."
      },
      {
        "number": "39",
        "name": "PF0",
        "type": "bidirectional",
        "description": "Port F0 with ADC1 input 24, DAC 1 output and USART3 transmit alternate functions; high sink/source capability (20 mA)."
      },
      {
        "number": "40",
        "name": "PF1",
        "type": "bidirectional",
        "description": "Port F1 with ADC1 input 25, DAC channel 2 output and USART3 receive alternate functions; high sink/source capability (20 mA)."
      },
      {
        "number": "41",
        "name": "PF4",
        "type": "bidirectional",
        "description": "Port F4 with LCD segment 36 and LCD_COM4 alternate functions as listed for the 64-pin package; FT (five-volt tolerant) I/O, high sink/source capability (20 mA)."
      },
      {
        "number": "42",
        "name": "PF5",
        "type": "bidirectional",
        "description": "Port F5 with LCD segment 37 and LCD_COM5 alternate functions as listed for the 64-pin package; FT (five-volt tolerant) I/O, high sink/source capability (20 mA)."
      },
      {
        "number": "43",
        "name": "PF6",
        "type": "bidirectional",
        "description": "Port F6 with LCD segment 38 and LCD_COM6 alternate functions as listed for the 64-pin package; FT (five-volt tolerant) I/O, high sink/source capability (20 mA)."
      },
      {
        "number": "44",
        "name": "PF7",
        "type": "bidirectional",
        "description": "Port F7 with LCD segment 39 and LCD_COM7 alternate functions as listed for the 64-pin package; FT (five-volt tolerant) I/O, high sink/source capability (20 mA)."
      },
      {
        "number": "45",
        "name": "PD4",
        "type": "bidirectional",
        "description": "Port D4 with TIM1 channel 2, ADC1 input 10, SPI2 MISO and comparator 1 positive input alternate functions; FT (five-volt tolerant) I/O, high sink/source capability (20 mA)."
      },
      {
        "number": "46",
        "name": "PD5",
        "type": "bidirectional",
        "description": "Port D5 with TIM1 channel 3, ADC1 input 9, SPI2 MOSI and comparator 1 positive input alternate functions; FT (five-volt tolerant) I/O, high sink/source capability (20 mA)."
      },
      {
        "number": "47",
        "name": "PD6",
        "type": "bidirectional",
        "description": "Port D6 with TIM1 break input, ADC1 input 8, RTC calibration, SPI2 clock and internal reference voltage output alternate functions; FT (five-volt tolerant) I/O, high sink/source capability (20 mA)."
      },
      {
        "number": "48",
        "name": "PD7",
        "type": "bidirectional",
        "description": "Port D7 with TIM1 inverted channel 1, ADC1 input 7, RTC alarm, SPI2 NSS and internal reference voltage output alternate functions; FT (five-volt tolerant) I/O, high sink/source capability (20 mA)."
      },
      {
        "number": "49",
        "name": "PG4",
        "type": "bidirectional",
        "description": "Port G4 with SPI2 NSS alternate function; FT (five-volt tolerant) I/O, high sink/source capability (20 mA)."
      },
      {
        "number": "50",
        "name": "PG5",
        "type": "bidirectional",
        "description": "Port G5 with SPI2 clock alternate function; FT (five-volt tolerant) I/O, high sink/source capability (20 mA)."
      },
      {
        "number": "51",
        "name": "PG6",
        "type": "bidirectional",
        "description": "Port G6 with SPI2 MOSI alternate function; FT (five-volt tolerant) I/O, high sink/source capability (20 mA)."
      },
      {
        "number": "52",
        "name": "PG7",
        "type": "bidirectional",
        "description": "Port G7 with SPI2 MISO alternate function; FT (five-volt tolerant) I/O, high sink/source capability (20 mA)."
      },
      {
        "number": "53",
        "name": "PC0",
        "type": "bidirectional",
        "description": "Port C0 with I2C1 SDA alternate function; true open-drain I/O."
      },
      {
        "number": "54",
        "name": "PC1",
        "type": "bidirectional",
        "description": "Port C1 with I2C1 SCL alternate function; true open-drain I/O."
      },
      {
        "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": "Port C2 with USART1 receive, ADC1 input 6, comparator 1 positive input and internal reference voltage output alternate functions; FT (five-volt tolerant) I/O, high sink/source capability (20 mA)."
      },
      {
        "number": "58",
        "name": "PC3",
        "type": "bidirectional",
        "description": "Port C3 with USART1 transmit, ADC1 input 5, comparator 2 negative input and comparator 1 positive input alternate functions; FT (five-volt tolerant) I/O, high sink/source capability (20 mA)."
      },
      {
        "number": "59",
        "name": "PC4",
        "type": "bidirectional",
        "description": "Port C4 with USART1 synchronous clock, I2C1 SMBus, configurable clock output, ADC1 input 4 and comparator alternate functions; FT (five-volt tolerant) I/O, high sink/source capability (20 mA)."
      },
      {
        "number": "60",
        "name": "PC5",
        "type": "bidirectional",
        "description": "Port C5 with LSE oscillator input, SPI1 NSS and USART1 transmit alternate functions; FT (five-volt tolerant) I/O, high sink/source capability (20 mA)."
      },
      {
        "number": "61",
        "name": "PC6",
        "type": "bidirectional",
        "description": "Port C6 with LSE oscillator output, SPI1 clock and USART1 receive alternate functions; FT (five-volt tolerant) I/O, high sink/source capability (20 mA)."
      },
      {
        "number": "62",
        "name": "PC7",
        "type": "bidirectional",
        "description": "Port C7 with ADC1 input 3, USART3 synchronous clock, comparator 2 negative input and comparator 1 positive input alternate functions; FT (five-volt tolerant) I/O, high sink/source capability (20 mA)."
      },
      {
        "number": "63",
        "name": "PE6",
        "type": "bidirectional",
        "description": "Port E6 with PVD input, TIM5 break input and USART3 transmit alternate functions; FT (five-volt tolerant) I/O, high sink/source capability (20 mA)."
      },
      {
        "number": "64",
        "name": "PE7",
        "type": "bidirectional",
        "description": "Port E7 with TIM5 trigger, USART3 receive alternate function; FT (five-volt tolerant) I/O, high sink/source capability (20 mA)."
      }
    ],
    "provenance": {
      "extractor": "extract_pins 0.3",
      "factory_chain": {
        "factory": "2.0.0",
        "extractor": "extract_pins 0.3",
        "primary_model": "claude-haiku-5-5",
        "primary_mode": "text",
        "consensus_model": "claude-sonnet-5-5",
        "consensus": "agreed",
        "guards": "pin_guards 0.1: passed",
        "guard_notes": [
          "extractor flagged: Pin 18 is reserved on STM8L151 devices and must be tied to VDD. Table 5 gives VLCD for this pin only; Pin 1 (PA0) is the only pin on the STM8L151R6T6 LQFP64 variant whose SWIM and BEEP functions are mul",
          "1/64 pin names appear NOWHERE in the datasheet text: ['13:VREF+@p39']"
        ],
        "pages_sent": 56,
        "cost_usd": 0.0927,
        "at": "2026-11-06T00:15:40"
      },
      "datasheet": {
        "url": "https://www.st.com/resource/en/datasheet/stm8l151r6t6.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": "stm8l151r6t6.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-06",
        "checked_by": "factory/step_pose.py (Z-up, origin, seat, binding)"
      },
      {
        "file": "stm8l151r6t6-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": "2bd7ada7b5f4ee91c677653b45302adb6fee3a164e360f74fa33ee8a094b8573",
        "checked": "2026-11-06",
        "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": "Supply voltage VDD-VSS (including VDDA)",
          "symbol": "VDD-VSS",
          "kind": "absolute_maximum",
          "unit": "V",
          "min": -0.3,
          "typ": null,
          "max": 4,
          "conditions": "External supply voltage (including VDDA)",
          "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": "Printed minimum is VSS-0.3 V, not numeric here",
          "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 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": "Storage temperature range",
          "symbol": "TSTG",
          "kind": "thermal",
          "unit": "°C",
          "min": -65,
          "typ": null,
          "max": 150,
          "conditions": "",
          "source_page": 70,
          "source": "datasheet"
        },
        {
          "name": "Maximum junction temperature",
          "symbol": "TJ",
          "kind": "thermal",
          "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; must be at the same potential as VDD",
          "source_page": 71,
          "source": "datasheet"
        },
        {
          "name": "Analog operating voltage (ADC or DAC used)",
          "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",
          "symbol": "PD",
          "kind": "thermal",
          "unit": "mW",
          "min": null,
          "typ": null,
          "max": 416,
          "conditions": "TA = 85 °C, LQFP64, suffix 6 devices",
          "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": "BOR_TH[2:0]=000, falling edge",
          "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": "BOR_TH[2:0]=000, rising edge",
          "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": "BOR_TH[2:0]=001, falling edge",
          "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": "BOR_TH[2:0]=001, rising edge",
          "source_page": 72,
          "source": "datasheet"
        },
        {
          "name": "Supply current in Run mode, code from RAM",
          "symbol": "IDD(RUN)",
          "kind": "electrical",
          "unit": "mA",
          "min": null,
          "typ": 1.62,
          "max": 1.79,
          "conditions": "HSI RC osc. 16 MHz, fCPU=16 MHz, all peripherals OFF, 85 °C (suffix 6)",
          "source_page": 75,
          "source": "datasheet"
        },
        {
          "name": "Supply current in Run mode, code from Flash",
          "symbol": "IDD(RUN)",
          "kind": "electrical",
          "unit": "mA",
          "min": null,
          "typ": 3.54,
          "max": 3.67,
          "conditions": "HSI RC osc., fCPU=16 MHz, all peripherals OFF, 85 °C (suffix 6)",
          "source_page": 76,
          "source": "datasheet"
        },
        {
          "name": "HSI 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 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 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 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 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 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": "LSI 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": "RAM data retention voltage (Halt mode or Reset)",
          "symbol": "VRM",
          "kind": "electrical",
          "unit": "V",
          "min": 1.65,
          "typ": null,
          "max": null,
          "conditions": "Halt mode (or Reset)",
          "source_page": 95,
          "source": "datasheet"
        },
        {
          "name": "Flash operating voltage (all modes, read/write/erase)",
          "symbol": "VDD",
          "kind": "electrical",
          "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",
          "symbol": "tprog",
          "kind": "timing",
          "unit": "ms",
          "min": null,
          "typ": null,
          "max": 6,
          "conditions": "Cycles on programmed byte",
          "source_page": 96,
          "source": "datasheet"
        },
        {
          "name": "Programming time for 1 to 128 bytes (block) write",
          "symbol": "tprog",
          "kind": "timing",
          "unit": "ms",
          "min": null,
          "typ": null,
          "max": 3,
          "conditions": "Cycles on erased byte",
          "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": "Data memory",
          "source_page": 96,
          "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": "Input leakage current, true open drain I/Os",
          "symbol": "Ilkg",
          "kind": "electrical",
          "unit": "nA",
          "min": null,
          "typ": null,
          "max": 200,
          "conditions": "VSS ≤ VIN ≤ VDD",
          "source_page": 98,
          "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": "I/O pin capacitance",
          "symbol": "CIO",
          "kind": "electrical",
          "unit": "pF",
          "min": null,
          "typ": null,
          "max": 5,
          "conditions": "",
          "source_page": 98,
          "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": "Output low level voltage, true open drain port",
          "symbol": "VOL",
          "kind": "electrical",
          "unit": "V",
          "min": null,
          "typ": null,
          "max": 0.45,
          "conditions": "IIO = +3 mA, VDD = 3.0 V",
          "source_page": 101,
          "source": "datasheet"
        },
        {
          "name": "NRST input high level voltage",
          "symbol": "VIH(NRST)",
          "kind": "electrical",
          "unit": "V",
          "min": 1.4,
          "typ": null,
          "max": null,
          "conditions": "",
          "source_page": 103,
          "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"
        },
        {
          "name": "NRST pull-up equivalent resistor",
          "symbol": "RPU(NRST)",
          "kind": "electrical",
          "unit": "kΩ",
          "min": 30,
          "typ": 45,
          "max": 60,
          "conditions": "",
          "source_page": 103,
          "source": "datasheet"
        },
        {
          "name": "NRST input filtered pulse",
          "symbol": "VF(NRST)",
          "kind": "electrical",
          "unit": "ns",
          "min": null,
          "typ": null,
          "max": 50,
          "conditions": "",
          "source_page": 103,
          "source": "datasheet"
        },
        {
          "name": "Internal reference voltage output",
          "symbol": "VREFINT",
          "kind": "electrical",
          "unit": "V",
          "min": 1.202,
          "typ": 1.224,
          "max": 1.242,
          "conditions": "Tested at VDD = 3 V ±10 mV",
          "source_page": 111,
          "source": "datasheet"
        },
        {
          "name": "Stability of VREFINT over temperature",
          "symbol": "STABVREFINT",
          "kind": "temperature_coefficient",
          "unit": "ppm/°C",
          "min": null,
          "typ": 20,
          "max": 50,
          "conditions": "-40 °C ≤ TA ≤ 125 °C",
          "source_page": 111,
          "source": "datasheet"
        },
        {
          "name": "SPI1 clock frequency, master mode",
          "symbol": "fSCK",
          "kind": "timing",
          "unit": "MHz",
          "min": 0,
          "typ": null,
          "max": 8,
          "conditions": "Master mode",
          "source_page": 105,
          "source": "datasheet"
        },
        {
          "name": "SPI1 NSS hold time, slave mode",
          "symbol": "th(NSS)",
          "kind": "timing",
          "unit": "ns",
          "min": 80,
          "typ": null,
          "max": null,
          "conditions": "Slave mode",
          "source_page": 105,
          "source": "datasheet"
        },
        {
          "name": "DAC settling time (full scale)",
          "symbol": "tsettling",
          "kind": "timing",
          "unit": "µs",
          "min": null,
          "typ": 7,
          "max": 12,
          "conditions": "RL ≥ 5 kΩ, CL ≤ 50 pF",
          "source_page": 114,
          "source": "datasheet"
        },
        {
          "name": "Input leakage current, PA0 with high sink LED driver",
          "symbol": "Ilkg",
          "kind": "electrical",
          "unit": "nA",
          "min": null,
          "typ": null,
          "max": 200,
          "conditions": "PA0 with high sink LED driver capability",
          "source_page": 98,
          "source": "datasheet"
        },
        {
          "name": "HSI oscillator frequency",
          "symbol": "fHSI",
          "kind": "electrical",
          "unit": "MHz",
          "min": null,
          "typ": 16,
          "max": null,
          "conditions": "VDD = 3.0 V",
          "source_page": 93,
          "source": "datasheet"
        },
        {
          "name": "LSE oscillator frequency",
          "symbol": "fLSE",
          "kind": "electrical",
          "unit": "kHz",
          "min": null,
          "typ": 32.768,
          "max": null,
          "conditions": "",
          "source_page": 92,
          "source": "datasheet"
        },
        {
          "name": "Programming/erasing consumption",
          "symbol": "Iprog",
          "kind": "electrical",
          "unit": "mA",
          "min": null,
          "typ": 0.7,
          "max": null,
          "conditions": "TA = +25 °C, VDD = 3.0 V",
          "source_page": 96,
          "source": "datasheet"
        }
      ]
    }
  },
  "variants": [],
  "sections": [
    "hero",
    "viewers",
    "readme",
    "breadcrumbs",
    "info"
  ],
  "discovery_triggers": [
    "stm8l151r6t6"
  ],
  "discovery_pitch": "STM8L151R6T6 (STMicroelectronics) component page: datasheet pinout, KiCad symbol, footprint and 3D.",
  "author": {
    "name": "Ray",
    "email": "[email protected]"
  },
  "dependencies": {},
  "hero": {
    "type": "image",
    "path": "docs/hero.png"
  },
  "files": [
    "page.json",
    "README.md",
    "stm8l151r6t6.kicad_sym",
    "stm8l151r6t6.kicad_mod",
    "stm8l151r6t6.glb",
    "stm8l151r6t6.step",
    "stm8l151r6t6.lbr",
    "docs/hero.png",
    "docs/stm8l151r6t6-datasheet.pdf",
    "viewers/symbol.html",
    "viewers/footprint.html",
    "stm8l151r6t6-hero.glb",
    "stm8l151r6t6-hero.overlay.json",
    "stm8l151r6t6-etched.glb"
  ],
  "visibility": {
    "public": true
  }
}