component
STM8S903F3P6
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": "stm8s903f3p6",
"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",
"stm8s903f3p6",
"factory-2.0.0",
"extractor-text"
],
"dependencies": {},
"hero": {
"type": "image",
"path": "docs/hero.png"
},
"files": [
"page.json",
"README.md",
"stm8s903f3p6.kicad_sym",
"stm8s903f3p6.kicad_mod",
"stm8s903f3p6.glb",
"stm8s903f3p6.step",
"stm8s903f3p6.lbr",
"docs/hero.png",
"docs/stm8s903f3p6-datasheet.pdf",
"viewers/symbol.html",
"viewers/footprint.html",
"stm8s903f3p6-hero.glb",
"stm8s903f3p6-hero.overlay.json"
],
"component": {
"mpn": "STM8S903F3P6",
"manufacturer": "STMicroelectronics",
"package": "TSSOP-20",
"pin_count": 20,
"category": "Embedded Processors & Controllers",
"subcategory": "Microcontrollers (MCU/MPU/SOC)",
"datasheet": "https://jlcpcb.com/api/file/downloadByFileSystemAccessId/8588922932042584064",
"parts": {
"symbol": "stm8s903f3p6.kicad_sym",
"footprint": "stm8s903f3p6.kicad_mod",
"model_3d": "stm8s903f3p6-hero.glb",
"model_3d_plain": "stm8s903f3p6.glb",
"model_3d_step": "stm8s903f3p6-etched.step",
"model_3d_step_plain": "stm8s903f3p6.step",
"lbr": "stm8s903f3p6.lbr"
},
"distributor_links": {
"lcsc": "C1340185",
"digikey": "497-11596-ND",
"mouser": "511-STM8S903F3P6"
},
"distributor_check": {
"checked_at": "2026-10-08T02:56:36Z",
"source": "Component Ocean /api/assign-pns",
"digikey": {
"pn": "497-11596-ND",
"status": "found",
"lifecycle": "Active"
},
"mouser": {
"pn": "511-STM8S903F3P6",
"status": "found"
}
},
"pins": [
{
"number": "1",
"name": "PD4",
"type": "bidirectional",
"description": "Port D4 is a high-sink-capable I/O (O3 speed) whose default function is Timer 5 channel 1 or the BEEP output, with UART1 clock (UART1_CK) available through the AFR2 remap option."
},
{
"number": "2",
"name": "PD5",
"type": "bidirectional",
"description": "Port D5 is a high-sink-capable I/O (O3 speed) whose default functions are analog input 5 (AIN5) and UART1 data transmit (UART1_TX)."
},
{
"number": "3",
"name": "PD6",
"type": "bidirectional",
"description": "Port D6 is a high-sink-capable I/O (O3 speed) whose default functions are analog input 6 (AIN6) and UART1 data receive (UART1_RX)."
},
{
"number": "4",
"name": "NRST",
"type": "bidirectional",
"description": "Reset pin whose main function is Reset, listed as I/O in the pin table; its electrical limits are given in Table 44 (NRST pin characteristics), which is not in the extracted text."
},
{
"number": "5",
"name": "PA1",
"type": "bidirectional",
"description": "Port A1 is an I/O whose default function is the resonator/crystal input OSCIN, and in Halt/Active-halt mode it is automatically set to input weak pull-up, cannot wake the device, and should be used only as an input if Halt/Active-halt is used."
},
{
"number": "6",
"name": "PA2",
"type": "bidirectional",
"description": "Port A2 is an I/O whose default function is the resonator/crystal output OSCOUT, with slow output speed (O1, up to 2 MHz)."
},
{
"number": "7",
"name": "VSS",
"type": "power_in",
"description": "Digital ground."
},
{
"number": "8",
"name": "VCAP",
"type": "power_out",
"description": "1.8 V regulator capacitor pin that connects to the external VCAP capacitor described in section 10.3.1."
},
{
"number": "9",
"name": "VDD",
"type": "power_in",
"description": "Digital power supply, specified for a 2.95 to 5.5 V operating voltage in the features list."
},
{
"number": "10",
"name": "PA3",
"type": "bidirectional",
"description": "Port A3 is a high-sink-capable I/O whose default function is Timer 5 channel 3, with SPI master/slave select (AFR1) or UART1 data transmit (AFR1:0) available through remap options."
},
{
"number": "11",
"name": "PB5",
"type": "bidirectional",
"description": "Port B5 is a true open-drain I/O (no P-buffer, weak pull-up or protection diode to VDD) carrying I2C data, with Timer 1 break input (TIM1_BKIN) available through the AFR4 remap."
},
{
"number": "12",
"name": "PB4",
"type": "bidirectional",
"description": "Port B4 is a true open-drain I/O (no P-buffer, weak pull-up or protection diode to VDD) carrying I2C clock, with ADC external trigger (ADC_ETR) available through the AFR4 remap."
},
{
"number": "13",
"name": "PC3",
"type": "bidirectional",
"description": "Port C3 is a high-sink-capable I/O whose default function is Timer 1 channel 3, with top level interrupt (TLI, AFR3) and Timer 1 inverted channel 1 (AFR7) available through remap options."
},
{
"number": "14",
"name": "PC4",
"type": "bidirectional",
"description": "Port C4 is a high-sink-capable I/O whose default function is Timer 1 channel 4 or configurable clock output (CLK_CCO), with analog input 2 (AIN2, AFR2) and Timer 1 inverted channel 2 (AFR7) available through remap options."
},
{
"number": "15",
"name": "PC5/SPI_SCK",
"type": "bidirectional",
"description": "Port C5 is a high-sink-capable I/O whose default function is SPI clock, with Timer 5 channel 1 available through the AFR0 remap."
},
{
"number": "16",
"name": "PC6",
"type": "bidirectional",
"description": "Port C6 is a high-sink-capable I/O whose default function is SPI master out/slave in, with Timer 1 channel 1 available through the AFR0 remap."
},
{
"number": "17",
"name": "PC7",
"type": "bidirectional",
"description": "Port C7 is a high-sink-capable I/O whose default function is SPI master in/slave out, with Timer 1 channel 2 available through the AFR0 remap."
},
{
"number": "18",
"name": "PD1/SWIM",
"type": "bidirectional",
"description": "Port D1 is a high-sink-capable I/O (O4 speed) carrying the SWIM data interface; it is in input pull-up during reset and after internal reset release."
},
{
"number": "19",
"name": "PD2",
"type": "bidirectional",
"description": "Port D2 is a high-sink-capable I/O whose default function is analog input 3 (AIN3), with Timer 5 channel 3 available through the AFR1 remap."
},
{
"number": "20",
"name": "PD3",
"type": "bidirectional",
"description": "Port D3 is a high-sink-capable I/O whose default function is analog input 4 (AIN4), with Timer 5 channel 2 and ADC external trigger (ADC_ETR) listed as its other function."
}
],
"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: VCAP type set to power_out (1.8 V regulator output needing an external capacitor); the datasheet onl; NRST is listed as type I/O in the pin table and mapped to bidirectional; its electrical limits (Tabl; Pin rows for these pins are on the page 24 continuation of Table 5; source_page set to 24 accordingl"
],
"pages_sent": 59,
"cost_usd": 0.2246,
"at": "2026-10-08T02:56:18"
},
"datasheet": {
"url": "https://jlcpcb.com/api/file/downloadByFileSystemAccessId/8588922932042584064",
"pages": 124,
"sha256": "76ef2064c8429253",
"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": "stm8s903f3p6.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-08",
"checked_by": "factory/step_pose.py (Z-up, origin, seat, binding)"
},
{
"file": "stm8s903f3p6-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": "0b077fb6bee80cd1c426d4e2ad0f9f120b003fe2f28d4cd53c56636a6c9b96b8",
"checked": "2026-10-08",
"checked_by": "factory/step_pose.py (Z-up, origin, seat, binding)"
}
]
}
}