component
STM8S903F3M6
Public Made by Adomby adom
STMicroelectronics Microcontroller Units (MCUs/MPUs/SOCs), SOIC-20-300mil. Pinout cross-checked by two models against the datasheet, KiCad symbol/footprint/3D.
main
Ray
stm8s903f3m6: component.models_3d pose record per STEP (Z-up, seated z=0, pad-centre origin, identity binding)
9fa6b46
123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247
{
"slug": "stm8s903f3m6",
"version": "0.1.0",
"type": "component",
"description": "STMicroelectronics Microcontroller Units (MCUs/MPUs/SOCs), SOIC-20-300mil. Datasheet-verified pinout, KiCad symbol/footprint/3D.",
"tags": [
"component",
"single chip microcomputer-microcontroller",
"stm8s903f3m6",
"factory-2.0.0",
"extractor-text"
],
"dependencies": {},
"hero": {
"type": "image",
"path": "docs/hero.png"
},
"files": [
"page.json",
"README.md",
"stm8s903f3m6.kicad_sym",
"stm8s903f3m6.kicad_mod",
"stm8s903f3m6.glb",
"stm8s903f3m6.step",
"stm8s903f3m6.lbr",
"docs/hero.png",
"docs/stm8s903f3m6-datasheet.pdf",
"viewers/symbol.html",
"viewers/footprint.html"
],
"component": {
"mpn": "STM8S903F3M6",
"manufacturer": "STMicroelectronics",
"package": "SOIC-20-300mil",
"pin_count": 20,
"category": "Single Chip Microcomputer/Microcontroller",
"subcategory": "Microcontroller Units (MCUs/MPUs/SOCs)",
"datasheet": "https://jlcpcb.com/api/file/downloadByFileSystemAccessId/8588922897385861120",
"parts": {
"symbol": "stm8s903f3m6.kicad_sym",
"footprint": "stm8s903f3m6.kicad_mod",
"model_3d": "stm8s903f3m6-etched.glb",
"model_3d_plain": "stm8s903f3m6.glb",
"model_3d_step": "stm8s903f3m6-etched.step",
"model_3d_step_plain": "stm8s903f3m6.step",
"lbr": "stm8s903f3m6.lbr"
},
"distributor_links": {
"lcsc": "C1341018"
},
"pins": [
{
"number": "4",
"name": "NRST",
"type": "bidirectional",
"description": "Reset input with internal 30-80 kΩ pull-up resistor and filtered input for active-low asynchronous reset."
},
{
"number": "5",
"name": "PA1/OSCIN",
"type": "bidirectional",
"description": "Port A pin with oscillator crystal/resonator input for high-speed external clock source (1-16 MHz)."
},
{
"number": "6",
"name": "PA2/OSCOUT",
"type": "bidirectional",
"description": "Port A pin with oscillator crystal/resonator output for external crystal/resonator operation (1-16 MHz)."
},
{
"number": "7",
"name": "VSS",
"type": "power_in",
"description": "Digital ground (0V reference) for power return and signal reference."
},
{
"number": "8",
"name": "VCAP",
"type": "power_out",
"description": "1.8V regulated output from internal voltage regulator requiring external 470-3300 nF capacitor with ESR 0-0.3 Ω."
},
{
"number": "9",
"name": "VDD",
"type": "power_in",
"description": "Digital power supply input (2.95-5.5V operating range) with maximum 100 mA total source capability."
},
{
"number": "10",
"name": "PA3/TIM5_CH3",
"type": "bidirectional",
"description": "Port A GPIO pin with Timer 5 channel 3 capture/compare/PWM, remappable to SPI master/slave select or UART1 transmit."
},
{
"number": "11",
"name": "PB5/I2C_SDA",
"type": "bidirectional",
"description": "Port B GPIO pin with I2C data line (true open-drain output, 400 kbit/s maximum), alternate Timer 1 break input."
},
{
"number": "12",
"name": "PB4/I2C_SCL",
"type": "bidirectional",
"description": "Port B GPIO pin with I2C clock line (true open-drain output, 400 kbit/s maximum), alternate ADC external trigger."
},
{
"number": "13",
"name": "PC3/TIM1_CH3/TLI",
"type": "bidirectional",
"description": "Port C GPIO pin for Timer 1 channel 3 capture/compare or top-level interrupt input, remappable to Timer 1 inverted channel 1."
},
{
"number": "14",
"name": "PC4/TIM1_CH4/CLK_CCO/AIN2",
"type": "bidirectional",
"description": "Port C GPIO pin with Timer 1 channel 4, configurable master clock output, or 10-bit ADC input channel 2 (0-VDD)."
},
{
"number": "15",
"name": "PC5/SPI_SCK",
"type": "bidirectional",
"description": "Port C GPIO pin with SPI serial clock output (8 Mbit/s master, 7 Mbit/s slave), remappable to Timer 5 channel 1."
},
{
"number": "16",
"name": "PC6/SPI_MOSI",
"type": "bidirectional",
"description": "Port C GPIO pin with SPI master out/slave in data line (8 Mbit/s bidirectional), remappable to Timer 1 channel 1."
},
{
"number": "17",
"name": "PC7/SPI_MISO",
"type": "bidirectional",
"description": "Port C GPIO pin with SPI master in/slave out data line (8 Mbit/s bidirectional), remappable to Timer 1 channel 2."
},
{
"number": "18",
"name": "PD1/SWIM",
"type": "bidirectional",
"description": "Port D GPIO pin for single-wire interface module (SWIM) debug communication with 145 bytes/ms maximum data rate."
},
{
"number": "19",
"name": "PD2/AIN3",
"type": "bidirectional",
"description": "Port D GPIO pin with 10-bit ADC analog input channel 3 (input range 0-VDD), remappable to Timer 5 channel 3."
},
{
"number": "20",
"name": "PD3/AIN4/TIM5_CH2/ADC_ETR",
"type": "bidirectional",
"description": "Port D GPIO pin with 10-bit ADC input channel 4, Timer 5 channel 2, or ADC external trigger input."
},
{
"number": "1",
"name": "PD4/TIM5_CH1/BEEP",
"type": "bidirectional",
"description": "Port D GPIO pin with Timer 5 channel 1, BEEP audio output (1, 2, or 4 kHz selectable), or UART1 clock via option byte."
},
{
"number": "2",
"name": "PD5/AIN5/UART1_TX",
"type": "bidirectional",
"description": "Port D GPIO pin with 10-bit ADC analog input channel 5 (0-VDD) or UART1 transmit data output (1 Mbit/s maximum)."
},
{
"number": "3",
"name": "PD6/AIN6/UART1_RX",
"type": "bidirectional",
"description": "Port D GPIO pin with 10-bit ADC analog input channel 6 (0-VDD) or UART1 receive data input (1 Mbit/s maximum)."
}
],
"provenance": {
"extractor": "extract_pins 0.2",
"factory_chain": {
"factory": "2.0.0",
"extractor": "extract_pins 0.2",
"primary_model": "claude-haiku-4-5-20251001",
"primary_mode": "text",
"consensus_model": "claude-sonnet-4-6",
"consensus": "agreed",
"guards": "pin_guards 0.1: passed",
"guard_notes": [],
"pages_sent": 124,
"cost_usd": 0.8804,
"at": "2026-09-22T13:14:15"
},
"datasheet": {
"url": "https://jlcpcb.com/api/file/downloadByFileSystemAccessId/8588922897385861120",
"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": "stm8s903f3m6.step",
"role": "plain",
"up": "Z",
"units": "mm",
"origin": "footprint origin = pad-pattern centre",
"seat": "z = 0",
"extents_mm": [
10.3,
12.8,
2.75
],
"zmin_mm": -0.0,
"centre_offset_mm": 0.0,
"footprint_binding": "identity",
"sha256": "59a10b341e6972b31d81802a048060326da627d8b92dcf4263064f4f62ec808e",
"checked": "2026-10-07",
"checked_by": "factory/step_pose.py (Z-up, origin, seat, binding)"
},
{
"file": "stm8s903f3m6-etched.step",
"role": "eda",
"up": "Z",
"units": "mm",
"origin": "footprint origin = pad-pattern centre",
"seat": "z = 0",
"extents_mm": [
10.3,
12.8,
2.75
],
"zmin_mm": -0.0,
"centre_offset_mm": 0.0,
"footprint_binding": "identity",
"sha256": "4829068d2f23f10e193ef4f102cf384ce78c3b6948e4a1ac9888b9377fb30aca",
"checked": "2026-10-07",
"checked_by": "factory/step_pose.py (Z-up, origin, seat, binding)"
}
]
}
}