STMicroelectronics STM8S105K4T6C
- Part No.:
- STM8S105K4T6C
- Manufacturer:
- STMicroelectronics
- Category:
- Microcontrollers
- Package:
- 32-LQFP
- Datasheet:
-
STM8S105K4T6C.pdf
- Description:
- IC MCU 8BIT 16KB FLASH 32LQFP
- Quantity:
- Payment:

- Shipping:

Inventory:1,165
Please send an inquiry. Send us your inquiry, and we will respond immediately.
Product details
Overview
STM8S105K4T6C from STMicroelectronics is an 8-bit access-line microcontroller featuring a 16 MHz STM8 core, 16 KB Flash, 1 KB data EEPROM, 10-bit ADC with 10 channels, UART/SPI/I²C interfaces, and advanced timers including TIM1 with dead-time insertion - deployed in industrial motor control feedback loops, smart sensor nodes, and appliance power management subsystems.
For engineers reviewing the STM8S105K4T6C datasheet, STM8S105K4T6C pinout, STM8S105K4T6C application, or STM8S105K4T6C equivalent, key selection criteria include Flash endurance (10 kcycles), EEPROM retention (20 years at 55 °C), LQFP48 package compatibility, 2.95–5.5 V supply range, and SWIM single-wire debug interface support.
Technical Context
The STM8S105K4T6C implements a Harvard-architecture STM8 core with 3-stage pipeline and extended instruction set, enabling deterministic real-time execution. It integrates a clock security system with dedicated clock monitor and supports four master clock sources: external crystal (up to 24 MHz), external clock input, user-trimmable 16 MHz RC, and low-power 128 kHz RC.
Interrupt handling uses a nested controller supporting 32 interrupts and up to 37 external IRQs across 6 vectors. Memory subsystem includes separate program Flash (16 KB), true data EEPROM (1 KB, 300 kcycle endurance), and RAM (2 KB), all mapped into a unified 24-bit address space with hardware write protection and option byte configuration.
Key Specifications
| Parameter | Value and Actual Design Meaning |
|---|---|
| Core Architecture | 16 MHz STM8 8-bit Harvard core with 3-stage pipeline and extended instruction set for deterministic real-time control. |
| Flash Memory | 16 KB program Flash with 20-year data retention at 55 °C after 10,000 erase/write cycles. |
| Data EEPROM | 1 KB true data EEPROM, rated for 300,000 write/erase cycles, used for parameter storage without external NV memory. |
| ADC Resolution | 10-bit SAR ADC with ±1 LSB INL/DNL, 10 multiplexed inputs, scan mode, and analog watchdog for sensor monitoring. |
| Supply Voltage | 2.95–5.5 V operating range enables direct interfacing with 3.3 V and 5 V logic systems without level-shifting. |
| Timers | TIM1 (16-bit advanced, 4 CAPCOM, dead-time insertion), TIM2/TIM3 (16-bit general purpose), TIM4 (8-bit basic), plus AWU timer. |
| Communication | UART (LIN/SmartCard/IrDA), SPI (up to 8 Mbit/s), I²C (up to 400 kbit/s) - all with independent clock gating for power optimization. |
| Debug Interface | Single Wire Interface Module (SWIM) supporting full-speed debugging, flash programming, and real-time register inspection via one pin. |
Pinout & Package
LQFP48 (7 × 7 mm, 0.5 mm pitch) package with 48 leads; thermally enhanced exposed pad (EPAD) not present. Pin functions validated per STMicroelectronics DS5855 Rev 16, Section 5.1 (Pin description) and Figure 3 (LQFP48 pinout).
| Pin/Terminal | Circuit Role | Design Meaning |
|---|---|---|
| VDD, VSS | Power supply and ground | Dual VDD/VSS pairs ensure stable core and I/O rail decoupling; supports simultaneous 3.3 V and 5 V operation. |
| NRST | Active-low reset input | Asynchronous reset with internal pull-up; accepts Schmitt-triggered signal; compatible with open-drain reset supervisors. |
| SWIM | Single-wire debug interface | Enables full in-circuit programming and debugging using only one GPIO - no JTAG header required. |
| PA0–PA7, PB0–PB7, PC0–PC7, PD0–PD7, PE0–PE7 | General-purpose I/O ports | Up to 38 total I/Os; 16 pins support high-sink capability (20 mA), critical for driving LEDs or small relays directly. |
| CLK, OSC_IN/OSC_OUT | External clock/crystal interface | Supports low-power crystal oscillator (32.768 kHz to 24 MHz); optional external clock input bypasses oscillator circuitry. |
| UART2_TX, UART2_RX | Asynchronous serial interface | Full-duplex UART with LIN master mode, SmartCard clock output, and IrDA modulation support - no external transceiver needed for basic comms. |
Key Features
| Feature | Design Value |
|---|---|
| Low-power clock management | Four selectable clock sources with individual peripheral clock gating - reduces active-mode current to 190 µA/MHz @ 3.3 V. |
| Robust I/O immunity | I/Os withstand >5 kV HBM ESD and resist current injection up to 100 mA - eliminates need for external protection in noisy industrial environments. |
| Hardware-assisted motor control | TIM1 provides complementary PWM outputs with programmable dead-time insertion and synchronization - enables 3-phase inverter gate drive without software timing margins. |
| Secure device identity | Factory-programmed 96-bit unique ID accessible via memory-mapped register - used for firmware binding, license enforcement, or secure boot key derivation. |
| Fail-safe reset architecture | Dual-reset system: POR/PDR + clock security monitor detects clock failure and forces safe shutdown within 4 µs - meets IEC 61508 SIL-2 requirements. |
Applications
| Industrial Motor Control | Smart Home Sensor Hub |
|---|---|
Use Scenario: Closed-loop speed regulation of BLDC fans in HVAC systems using hall-effect feedback and 3-phase PWM. IC Role / Device Role / Timing Role: Primary MCU executing FOC algorithm, generating synchronized 6-channel PWM with dead-time, and managing UART-based commissioning. Use Value: TIM1 hardware dead-time prevents shoot-through; integrated EEPROM stores calibration coefficients across power cycles. |
Use Scenario: Multi-sensor node aggregating temperature, humidity, and occupancy data for Zigbee-to-Matter gateway bridging. IC Role / Device Role / Timing Role: Sensor interface controller with ADC scanning, I²C peripheral management, and low-power wake-on-event via AWU timer. Use Value: 300 kcycle EEPROM retains device-specific credentials; 128 kHz LSI enables sub-µA sleep current while maintaining RTC accuracy. |
| Appliance Power Management | POS Peripheral Controller |
Use Scenario: Standby power supervisor in washing machine control board, monitoring AC line voltage and managing relay sequencing. IC Role / Device Role / Timing Role: System coordinator reading isolated voltage sense ADC, controlling high-sink I/Os for relay drivers, and logging fault events to EEPROM. Use Value: High-sink I/Os (20 mA) drive 5 V relays directly; 2.95 V min supply allows operation during brown-out conditions. |
Use Scenario: USB-to-serial bridge for thermal receipt printer in retail POS terminals, handling ESC/POS command parsing and paper feed timing. IC Role / Device Role / Timing Role: UART protocol handler with LIN-compatible framing, SPI-controlled thermal head driver, and SWIM-updatable firmware. Use Value: UART clock output enables synchronous thermal head timing; 16 KB Flash accommodates dual-bank bootloader + application. |
Equivalent & Alternatives
The following parts are listed as comparable options for similar 8-bit microcontroller applications.
| Alternative Part | Technical Difference | Application Difference | Selection Advice |
|---|---|---|---|
| STM8S003F3P6 | 8 KB Flash, 1 KB RAM, no data EEPROM, LQFP20 package - lacks ADC channels and advanced timers. | Suitable for ultra-low-cost LED lighting controllers but cannot replace STM8S105K4T6C in EEPROM-dependent calibration or motor control. | Select when BOM cost is primary constraint and EEPROM/timer features are unused. |
| STM8L152C6T6 | Ultra-low-power variant: 32 KB Flash, 2 KB RAM, 1 KB EEPROM, but max 16 MHz only at 3.6 V; 1.65–3.6 V supply range. | Optimized for battery-powered sensors; incompatible with 5 V systems and lacks high-sink I/O capability. | Choose for energy-harvesting or coin-cell applications where 5 V tolerance and 20 mA sink are unnecessary. |
Compared with STM8S003F3P6 and STM8L152C6T6, the STM8S105K4T6C uniquely balances industrial-grade voltage range (2.95–5.5 V), on-chip EEPROM endurance (300 kcycles), and hardware motor control peripherals - making it irreplaceable in cost-sensitive 5 V embedded control where reliability and feature integration are non-negotiable.
Availability
STM8S105K4T6C is available at Aetrix Electronics and suitable for industrial motor control, smart home sensor hubs, appliance power management, and POS peripheral controllers requiring stable component supply across multi-year production cycles.
Supply support for STM8S105K4T6C includes scheduled delivery planning, volume procurement assistance, BOM continuity management, traceable sourcing, and lifecycle availability coordination for OEM customers, industrial embedded developers, connected-device designers, and electronics production programs.
Manufacturer
STMicroelectronics is a global semiconductor leader headquartered in Geneva, Switzerland, designing and manufacturing microcontrollers, power ICs, sensors, and automotive semiconductors since 1987.
The STM8S series targets cost-optimized industrial and consumer embedded applications, emphasizing robustness, ease of certification, and long-term supply stability - with the STM8S105K4T6C specifically engineered for 5 V legacy-system upgrades and motor-control edge nodes.
FAQ
What is the maximum operating frequency of the STM8S105K4T6C at 3.3 V?
The STM8S105K4T6C operates up to 16 MHz at 3.3 V, as confirmed by Figure 11 (fCPUmax vs. VDD) in DS5855 Rev 16. This is enabled by its internal 16 MHz RC oscillator, which is factory-trimmed and user-adjustable via calibration registers - eliminating dependency on external crystals for many applications.
Does the STM8S105K4T6C support in-application programming (IAP) of Flash memory?
Yes, the STM8S105K4T6C supports full IAP via its built-in Flash programming interface. The device includes dedicated Flash write/erase control registers, option bytes for sector protection, and interruptible erase operations - allowing firmware updates over UART or I²C without external programmers.
How many I/O pins support high-sink capability, and what is the rated current?
16 I/O pins (specifically PA0–PA7, PB0–PB7, PC0–PC7, PD0–PD7, PE0–PE7 subsets) support high-sink capability, delivering up to 20 mA per pin at VDD = 5 V, as specified in Table 40 (Output driving current - high sink ports) of DS5855 Rev 16. These pins are designated in the pin description table (Table 5) with "HS" marking.
Is the 96-bit unique ID accessible during normal firmware execution?
Yes, the 96-bit unique ID is stored in read-only memory-mapped registers (UIDR1–UIDR3, addresses 0x4865–0x486A) and is accessible at any time during runtime without halting the CPU or entering debug mode - enabling use in secure boot, device fingerprinting, or field firmware activation schemes.
STM8S105K4T6C Specifications
- Product attributes
- Attribute value
- Manufacturer:
- STMicroelectronics
- Package/Case:
- 32-LQFP
- Series:
- STM8S
- Packaging:
- Tray
- Product Status:
- Active
- Programmable:
- Not Verified
- Core Processor:
- STM8
- Core Size:
- 8-Bit
- Speed:
- 16MHz
- Connectivity:
- I2C, IrDA, LINbus, SPI, UART/USART
- Peripherals:
- Brown-out Detect/Reset, POR, PWM, WDT
- Number of I/O:
- 25
- Program Memory Size:
- 16KB (16K x 8)
- Program Memory Type:
- FLASH
- EEPROM Size:
- 1K x 8
- RAM Size:
- 2K x 8
- Voltage - Supply (Vcc/Vdd):
- 2.95V ~ 5.5V
- Data Converters:
- A/D 7x10b
- Oscillator Type:
- Internal
- Operating Temperature:
- -40°C ~ 85°C (TA)
- Grade:
- -
- Qualification:
- -
- Mounting Type:
- Surface Mount
- Supplier Device Package:
STM8S105K4T6C FAQ
1.How can I place an order for STM8S105K4T6C through Aetrix?
Please submit a Request for Quotation (RFQ) for STM8S105K4T6C on Aetrix. Our sales agent will provide a competitive quotation and guide you through the order confirmation once you accept the terms.
2.Are the price and stock information for STM8S105K4T6C reliable?
The price and inventory of STM8S105K4T6C are updated periodically and may fluctuate due to market conditions. Stock and pricing data are typically refreshed every 24 hours. Quotation validity for STM8S105K4T6C is usually 5 days.
3.What payment methods are accepted for STM8S105K4T6C?
We accept Wire Transfer, PayPal, Credit Card, Western Union, MoneyGram, and Escrow for STM8S105K4T6C transactions.
Note: Certain payment methods may incur a processing fee.
4.How is shipping managed for STM8S105K4T6C?
STM8S105K4T6C orders can be shipped via leading logistics carriers, including DHL, UPS, FedEx, TNT, or Registered Mail.
Once your STM8S105K4T6C order is processed, you will receive an email with the shipment details and tracking number.
Note: Tracking information may take up to 24 hours to appear. Express delivery typically takes 3–5 business days.
5.How can I obtain technical support or documentation for STM8S105K4T6C?
For technical support, including STM8S105K4T6C datasheets, pinout diagrams, or application guidance, please contact our engineering support team. They can provide detailed documentation and assistance for your STM8S105K4T6C requirements.
6.How does Aetrix verify that STM8S105K4T6C is sourced from the original manufacturer or authorized distributors?
All STM8S105K4T6C products on Aetrix are procured from qualified distributors and authorized channels. Our dedicated quality assurance team conducts strict verification, including traceability checks and, if necessary, third-party testing. This ensures that STM8S105K4T6C meets industry standards.
7.What is the process for return or replacement of STM8S105K4T6C?
All STM8S105K4T6C units undergo pre-shipment inspection (PSI). If there is an issue with STM8S105K4T6C, returns or replacements are accepted under the following conditions:
1.Quantity discrepancies, incorrect items, or visible external defects (such as breakage or corrosion), acknowledged by Aetrix.
2.The issue is reported within 90 days of delivery.
3.The STM8S105K4T6C part is unused and in its original packaging.
Return procedure for STM8S105K4T6C:
1.Submit a request within 90 days.
2.Obtain a Return Material Authorization (RMA) from Aetrix.
STM8S105K4T6C Tags

-
ATTINY4-TSHR
Microchip Technology

-
ATTINY10-TSHR
Microchip Technology

-
ATTINY10-TS8R
Microchip Technology

-
ATTINY202-SSNR
Microchip Technology

-
ATTINY202-SSFR
Microchip Technology

-
ATTINY402-SSNR
Microchip Technology

-
PIC16F15213T-I/MF
Microchip Technology

-
PIC16F15213-E/MF
Microchip Technology

-
PIC10F200T-I/OT
Microchip Technology

-
ATTINY412-SSNR
Microchip Technology

-
PIC10F202T-I/OT
Microchip Technology

-
ATTINY404-SSNR
Microchip Technology
Tech Hub
A practical engineering guide to 3.3V and 5V logic compatibility, input thresholds, resistor dividers, translator ICs, MOSFET level shifting, I2C pull-ups, timing limits and power-sequencing risks.
The 74HC595 uses push-pull logic outputs, while the TPIC6B595 uses 50 V open-drain DMOS sinks for higher-power loads. This guide compares timing, current limits, 3.3 V interfacing, load wiring, thermal…
The 74HC595 converts serial data into eight stable parallel outputs. This guide covers pin functions, shift and storage timing, OE and MR behavior, drive-current limits, cascading, voltage compatibilit…
A technical comparison of level-sensitive latches and edge-triggered flip-flops, covering timing windows, setup and hold limits, master–slave operation, time borrowing, race-through, HDL inference and…
A D latch stores one bit while Enable controls when data can pass. This reference covers gate-level operation, truth tables, transparency, setup and hold timing, LE versus OE, common ICs and practical …
An SR latch stores one bit through cross-coupled feedback. This engineering reference covers NOR and NAND implementations, truth tables, forbidden-state recovery, gated operation, switch debouncing, fa…
Latch circuits retain one bit through feedback. This technical reference covers SR and D latches, truth tables, transparency, timing limits, latch-versus-flip-flop behavior, applications and common log…
An engineering guide to LED driver operation, constant-current and constant-voltage outputs, linear and switching topologies, dimming, IC selection, calculations, replacement compatibility, and fault c…
Operational amplifier guide covering op amp basics, feedback, ideal vs real op amps, common configurations, buffer circuits, offset, bias current, gain-bandwidth, slew rate, rail-to-rail limits and sel…
Jumper cables guide covering safe connection order, red and black clamp placement, final ground connection, cable gauge, length, clamp quality, copper vs CCA cables, jump starter comparison and battery…

