component
STM8S103F2P6TR
Public Made by Adomby adom
STMicroelectronics Microcontrollers (MCU/MPU/SOC), TSSOP-20. Pinout cross-checked by two models against the datasheet, KiCad symbol/footprint/3D.
main
123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266
{
"slug": "stm8s103f2p6tr",
"version": "0.1.0",
"type": "component",
"description": "STMicroelectronics Microcontrollers (MCU/MPU/SOC), TSSOP-20. Pinout cross-checked by two models against the datasheet, KiCad symbol/footprint/3D.",
"tags": [
"component",
"embedded processors & controllers",
"stm8s103f2p6tr",
"factory-2.0.0",
"extractor-text"
],
"dependencies": {},
"hero": {
"type": "image",
"path": "docs/hero.png"
},
"files": [
"page.json",
"README.md",
"stm8s103f2p6tr.kicad_sym",
"stm8s103f2p6tr.kicad_mod",
"stm8s103f2p6tr.glb",
"stm8s103f2p6tr.step",
"stm8s103f2p6tr.lbr",
"docs/hero.png",
"docs/stm8s103f2p6tr-datasheet.pdf",
"viewers/symbol.html",
"viewers/footprint.html",
"stm8s103f2p6tr-hero.glb",
"stm8s103f2p6tr-hero.overlay.json"
],
"component": {
"mpn": "STM8S103F2P6TR",
"manufacturer": "STMicroelectronics",
"package": "TSSOP-20",
"pin_count": 20,
"category": "Embedded Processors & Controllers",
"subcategory": "Microcontrollers (MCU/MPU/SOC)",
"datasheet": "https://jlcpcb.com/api/file/downloadByFileSystemAccessId/8588881492290514944",
"parts": {
"symbol": "stm8s103f2p6tr.kicad_sym",
"footprint": "stm8s103f2p6tr.kicad_mod",
"model_3d": "stm8s103f2p6tr-hero.glb",
"model_3d_plain": "stm8s103f2p6tr.glb",
"model_3d_step": "stm8s103f2p6tr-etched.step",
"model_3d_step_plain": "stm8s103f2p6tr.step",
"lbr": "stm8s103f2p6tr.lbr"
},
"distributor_links": {
"lcsc": "C8242",
"digikey": "497-18849-2-ND",
"mouser": "511-STM8S103F2P6TR"
},
"distributor_check": {
"checked_at": "2026-10-07T08:51:45Z",
"source": "Component Ocean /api/assign-pns",
"digikey": {
"pn": "497-18849-2-ND",
"status": "found",
"lifecycle": "Active"
},
"mouser": {
"pn": "511-STM8S103F2P6TR",
"status": "found"
}
},
"pins": [
{
"number": "1",
"name": "PD4",
"type": "bidirectional",
"description": "Timer 2 channel 1 / BEEP output / UART1 clock; general-purpose I/O with high sink output capability (HS), output speed O3."
},
{
"number": "2",
"name": "PD5",
"type": "bidirectional",
"description": "UART1 transmit data output (AIN5) / analog input 5; general-purpose I/O with high sink capability (HS), output speed O3."
},
{
"number": "3",
"name": "PD6",
"type": "bidirectional",
"description": "UART1 receive data input (AIN6) / analog input 6; general-purpose I/O with high sink capability (HS), output speed O3."
},
{
"number": "4",
"name": "NRST",
"type": "input",
"description": "External reset input pin; active low resets the device with internal weak pull-up resistor."
},
{
"number": "5",
"name": "PA1",
"type": "input",
"description": "Oscillator crystal input (OSCIN) or general-purpose I/O; operates at 1.8 to 5.5 V with output speed O1."
},
{
"number": "6",
"name": "PA2",
"type": "output",
"description": "Oscillator crystal output (OSCOUT) or general-purpose I/O; operates at 1.8 to 5.5 V with output speed O1."
},
{
"number": "7",
"name": "VSS",
"type": "power_in",
"description": "Digital ground reference (0 V)."
},
{
"number": "8",
"name": "VCAP",
"type": "passive",
"description": "1.8 V internal regulator power supply bypass capacitor; requires 1 µF to 10 µF ceramic capacitor."
},
{
"number": "9",
"name": "VDD",
"type": "power_in",
"description": "Positive digital power supply pin; operating voltage range 2.95 to 5.5 V."
},
{
"number": "10",
"name": "PA3",
"type": "bidirectional",
"description": "Timer 2 channel 3 / SPI slave select (NSS) [AFR1 remapping]; general-purpose I/O with high sink capability (HS), output speed O3."
},
{
"number": "11",
"name": "PB5",
"type": "bidirectional",
"description": "I²C data line (I²C_SDA) with true open-drain output / Timer 1 break input (TIM1_BKIN) [AFR4 remapping]; output speed O1 with true open drain."
},
{
"number": "12",
"name": "PB4",
"type": "bidirectional",
"description": "I²C clock line (I²C_SCL) with true open-drain output / ADC external trigger (ADC_ETR) [AFR4 remapping]; output speed O1 with true open drain."
},
{
"number": "13",
"name": "PC3",
"type": "bidirectional",
"description": "Timer 1 channel 3 output / top-level interrupt (TLI) [AFR3 remapping] / Timer 1 channel 1N complementary output [AFR7 remapping]; general-purpose I/O with high sink capability (HS), output speed O3."
},
{
"number": "14",
"name": "PC4",
"type": "bidirectional",
"description": "Timer 1 channel 4 output / configurable clock output (CLK_CCO) / analog input 2 (AIN2) / Timer 1 channel 2N complementary output [AFR7 remapping]; general-purpose I/O with high sink capability (HS), output speed O3."
},
{
"number": "15",
"name": "PC5",
"type": "bidirectional",
"description": "SPI clock (SPI_SCK) / Timer 2 channel 1 output [AFR0 remapping]; general-purpose I/O with high sink capability (HS), output speed O3."
},
{
"number": "16",
"name": "PC6",
"type": "bidirectional",
"description": "SPI master-out/slave-in (SPI_MOSI) / Timer 1 channel 1 output [AFR0 remapping]; general-purpose I/O with high sink capability (HS), output speed O3."
},
{
"number": "17",
"name": "PC7",
"type": "bidirectional",
"description": "SPI master-in/slave-out (SPI_MISO) / Timer 1 channel 2 output [AFR0 remapping]; general-purpose I/O with high sink capability (HS), output speed O3."
},
{
"number": "18",
"name": "PD1",
"type": "bidirectional",
"description": "SWIM (single-wire interface module) data interface for on-chip debugging and programming; weak pull-up during reset phase; general-purpose I/O with high sink capability (HS), output speed O4."
},
{
"number": "19",
"name": "PD2",
"type": "bidirectional",
"description": "Analog input 3 (AIN3) / Timer 2 channel 3 output [AFR1 remapping]; general-purpose I/O with high sink capability (HS), output speed O3."
},
{
"number": "20",
"name": "PD3",
"type": "bidirectional",
"description": "Analog input 4 (AIN4) / Timer 2 channel 2 output / ADC external trigger input (ADC_ETR); general-purpose I/O with high sink capability (HS), output speed O3."
}
],
"provenance": {
"extractor": "extract_pins 0.3",
"factory_chain": {
"factory": "2.0.0",
"extractor": "extract_pins 0.3",
"primary_model": "claude-haiku-4-5-20251001",
"primary_mode": "text",
"consensus_model": "claude-sonnet-5-5",
"consensus": "agreed",
"guards": "pin_guards 0.1: passed",
"guard_notes": [
"extractor flagged: NRST pin classified as input type, but datasheet indicates it can function as open-drain output when; PA1/PA2 oscillator pins classified as input/output based on oscillator function, but can also functi; I²C pins (PB4/PB5) have true open-drain output requiring external pull-up resistors; classified as b"
],
"pages_sent": 43,
"cost_usd": 0.2739,
"at": "2026-10-07T08:51:23"
},
"datasheet": {
"url": "https://jlcpcb.com/api/file/downloadByFileSystemAccessId/8588881492290514944",
"pages": 113,
"sha256": "9f8cfb286f831178",
"source_tier": "lcsc"
},
"cad": "KiCad official (CC-BY-SA 4.0)",
"pins": {
"total": 20,
"described": 20,
"cites_pages": true,
"refuses_to_fabricate": true
}
},
"viewers": {
"symbol": "viewers/symbol.html",
"footprint": "viewers/footprint.html"
},
"models_3d": [
{
"file": "stm8s103f2p6tr.step",
"role": "plain",
"up": "Z",
"units": "mm",
"origin": "footprint origin = pad-pattern centre",
"seat": "z = 0",
"extents_mm": [
6.4,
6.5,
1.2
],
"zmin_mm": -0.0,
"centre_offset_mm": 0.0,
"footprint_binding": "identity",
"sha256": "97339947f3a7196470ec2f1d9f9b92bb2fc2ab66ad53be0cf105192585ef3c9a",
"checked": "2026-10-07",
"checked_by": "factory/step_pose.py (Z-up, origin, seat, binding)"
},
{
"file": "stm8s103f2p6tr-etched.step",
"role": "eda",
"up": "Z",
"units": "mm",
"origin": "footprint origin = pad-pattern centre",
"seat": "z = 0",
"extents_mm": [
6.4,
6.5,
1.2
],
"zmin_mm": -0.0,
"centre_offset_mm": 0.0,
"footprint_binding": "identity",
"sha256": "f8c5d7b5531e7e58b74f0d09328b23accda31f3c695eefb0780b9d51e210584e",
"checked": "2026-10-07",
"checked_by": "factory/step_pose.py (Z-up, origin, seat, binding)"
}
]
}
}