component
STM8S003F3
Public Made by Adomby adom
ST 8-bit STM8 value-line MCU, TSSOP-20. 16 MHz, 8 KB flash, 1 KB RAM, 128 B EEPROM. Ultra-low-cost. Datasheet-verified.
← Commit history
component page: CAD + datasheet-first provenance (official mfr datasheet)
1 file changed
+196−8
page.json+196−8@@ -1,8 +1,11 @@ {+ "schema_version": 1,+ "type": "component", "slug": "stm8s003f3",+ "title": "STM8S003F3",+ "brief": "ST 8-bit STM8 value-line MCU, TSSOP-20. 16 MHz, 8 KB flash, 1 KB RAM, 128 B EEPROM. Ultra-low-cost. Datasheet-verified.", "version": "0.1.0",- "type": "component",- "description": "ST 8-bit STM8 value-line MCU, TSSOP-20. 16 MHz, 8 KB flash, 1 KB RAM, 128 B EEPROM. Ultra-low-cost. Datasheet-verified.",+ "license": "CC-BY-SA-4.0", "tags": [ "component", "microcontroller",@@ -12,6 +15,196 @@ "tssop-20", "stmicroelectronics" ],+ "component": {+ "mpn": "STM8S003F3",+ "manufacturer": "STMicroelectronics",+ "package": "TSSOP-20",+ "pin_count": 20,+ "category": "Microcontroller",+ "subcategory": "8-bit STM8 MCU (value line)",+ "datasheet": "https://www.st.com/resource/en/datasheet/stm8s003f3.pdf",+ "parts": {+ "symbol": "stm8s003f3.kicad_sym",+ "footprint": "stm8s003f3.kicad_mod",+ "model_3d": "stm8s003f3.glb"+ },+ "distributor_links": {},+ "pins": [+ {+ "number": "1",+ "name": "PD4/BEEP/TIM2_CH1/UART1_CK",+ "type": "bidirectional",+ "description": "Port D bit 4. High-sink GPIO (fast/slow programmable, floating after reset). Muxed default alternate functions: TIM2 channel 1, BEEP output, and UART1 synchronous clock."+ },+ {+ "number": "2",+ "name": "PD5/AIN5/UART1_TX",+ "type": "bidirectional",+ "description": "Port D bit 5. High-sink GPIO. Muxed with ADC analog input 5 and UART1 data transmit."+ },+ {+ "number": "3",+ "name": "PD6/AIN6/UART1_RX",+ "type": "bidirectional",+ "description": "Port D bit 6. High-sink GPIO. Muxed with ADC analog input 6 and UART1 data receive."+ },+ {+ "number": "4",+ "name": "NRST",+ "type": "bidirectional",+ "description": "Active-low bidirectional reset with integrated weak pull-up. Asserted low by the internal POR/BOR, watchdog or an external reset source; can also be driven low externally to reset the device."+ },+ {+ "number": "5",+ "name": "PA1/OSCIN",+ "type": "bidirectional",+ "description": "Port A bit 1 (slow O1 output, floating after reset). Doubles as the HSE crystal/resonator input (OSCIN) or external clock input."+ },+ {+ "number": "6",+ "name": "PA2/OSCOUT",+ "type": "bidirectional",+ "description": "Port A bit 2 (slow O1 output, floating after reset). Doubles as the HSE crystal/resonator output (OSCOUT)."+ },+ {+ "number": "7",+ "name": "VSS",+ "type": "power_in",+ "description": "Digital ground return for VDD."+ },+ {+ "number": "8",+ "name": "VCAP",+ "type": "passive",+ "description": "Output of the internal 1.8 V core regulator. Requires an external stabilization capacitor to VSS (see Section 9.3.1 VCAP external capacitor). Do not drive externally."+ },+ {+ "number": "9",+ "name": "VDD",+ "type": "power_in",+ "description": "Main digital power supply, 2.95 V to 5.5 V operating range. Decouple locally to VSS."+ },+ {+ "number": "10",+ "name": "PA3/TIM2_CH3/[SPI_NSS]",+ "type": "bidirectional",+ "description": "Port A bit 3. High-sink GPIO. Default alternate function: TIM2 channel 3. When alternate-function remap bit AFR1 is programmed the pin instead becomes the SPI master/slave-select input (SPI_NSS)."+ },+ {+ "number": "11",+ "name": "PB5/I2C_SDA/[TIM1_BKIN]",+ "type": "bidirectional",+ "description": "Port B bit 5. True open-drain output (no P-buffer, no weak pull-up, no protection diode to VDD); an external pull-up is required. Default alternate function: I2C SDA data line. When AFR4 is programmed the pin becomes TIM1 break input (TIM1_BKIN)."+ },+ {+ "number": "12",+ "name": "PB4/I2C_SCL/[ADC_ETR]",+ "type": "bidirectional",+ "description": "Port B bit 4. True open-drain output (no P-buffer, no weak pull-up, no protection diode to VDD); external pull-up required. Default alternate function: I2C SCL clock. When AFR4 is programmed the pin becomes ADC external trigger (ADC_ETR)."+ },+ {+ "number": "13",+ "name": "PC3/TIM1_CH3/[TLI]/[TIM1_CH1N]",+ "type": "bidirectional",+ "description": "Port C bit 3. High-sink GPIO. Default alternate function: TIM1 channel 3. Remap options: top-level interrupt (TLI) via AFR3, or TIM1 complementary channel 1 (TIM1_CH1N) via AFR7."+ },+ {+ "number": "14",+ "name": "PC4/CLK_CCO/TIM1_CH4/AIN2/[TIM1_CH2N]",+ "type": "bidirectional",+ "description": "Port C bit 4. High-sink GPIO. Default alternate functions: configurable clock output (CCO), TIM1 channel 4, and ADC analog input 2. When AFR7 is programmed the pin becomes TIM1 complementary channel 2 (TIM1_CH2N)."+ },+ {+ "number": "15",+ "name": "PC5/SPI_SCK/[TIM2_CH1]",+ "type": "bidirectional",+ "description": "Port C bit 5. High-sink GPIO. Default alternate function: SPI clock (SCK). When AFR0 is programmed the pin becomes TIM2 channel 1."+ },+ {+ "number": "16",+ "name": "PC6/SPI_MOSI/[TIM1_CH1]",+ "type": "bidirectional",+ "description": "Port C bit 6. High-sink GPIO. Default alternate function: SPI master-out/slave-in (MOSI). When AFR0 is programmed the pin becomes TIM1 channel 1."+ },+ {+ "number": "17",+ "name": "PC7/SPI_MISO/[TIM1_CH2]",+ "type": "bidirectional",+ "description": "Port C bit 7. High-sink GPIO. Default alternate function: SPI master-in/slave-out (MISO). When AFR0 is programmed the pin becomes TIM1 channel 2."+ },+ {+ "number": "18",+ "name": "PD1/SWIM",+ "type": "bidirectional",+ "description": "Port D bit 1. High-sink GPIO with fast/slow programmability (O4). SWIM single-wire debug and in-circuit programming data pin. In input pull-up during reset phase and after internal reset release to allow SWIM entry."+ },+ {+ "number": "19",+ "name": "PD2/AIN3/[TIM2_CH3]",+ "type": "bidirectional",+ "description": "Port D bit 2. High-sink GPIO. Default alternate function: ADC analog input 3. When AFR1 is programmed the pin becomes TIM2 channel 3."+ },+ {+ "number": "20",+ "name": "PD3/AIN4/TIM2_CH2/ADC_ETR",+ "type": "bidirectional",+ "description": "Port D bit 3. High-sink GPIO. Default alternate functions: ADC analog input 4, TIM2 channel 2, and ADC external trigger (ADC_ETR)."+ }+ ],+ "provenance": {+ "extractor": "ds2sf",+ "datasheet": {+ "url": "https://www.st.com/resource/en/datasheet/stm8s003f3.pdf",+ "pages": 103,+ "sha256": "1a0775fefcda1553",+ "source_tier": "mfr"+ },+ "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"+ }+ },+ "metadata": {+ "specs": {+ "Core": "8-bit STM8",+ "Max clock": "16 MHz",+ "Flash": "8 KB",+ "RAM": "1 KB",+ "EEPROM": "128 B (100k cycles)",+ "GPIO": "16",+ "ADC": "10-bit (5 ch)",+ "Serial": "UART + SPI + I2C",+ "Supply voltage": "2.95-5.5 V",+ "Package": "TSSOP-20"+ }+ },+ "sections": [+ "hero",+ "viewers",+ "readme",+ "breadcrumbs",+ "info"+ ],+ "discovery_triggers": [+ "stm8s003f3",+ "stm8s003",+ "cheap mcu",+ "8-bit stm8",+ "20 cent microcontroller"+ ],+ "discovery_pitch": "STM8S003F3 8-bit STM8 value-line MCU (TSSOP-20) with datasheet-verified pinout, KiCad symbol/footprint/3D, and full provenance.",+ "author": {+ "name": "Ray",+ "email": "[email protected]"+ }, "dependencies": {}, "hero": { "type": "image",@@ -27,10 +220,5 @@ "docs/stm8s003f3-datasheet.pdf", "viewers/symbol.html", "viewers/footprint.html"- ],- "visibility": "public",- "author": {- "name": "Ray",- "email": "[email protected]"- }+ ] }