STMicroelectronics STM8S105K6B6
- Part No.:
- STM8S105K6B6
- Manufacturer:
- STMicroelectronics
- Category:
- Microcontrollers
- Package:
- 32-SDIP (0.400", 10.16mm)
- Datasheet:
-
STM8S105K6B6.pdf
- Description:
- IC MCU 8BIT 32KB FLASH 32SDIP
- Quantity:
- Payment:

- Shipping:

Inventory:1,119
Please send an inquiry. Send us your inquiry, and we will respond immediately.
Product details
Overview
STM8S105K6B6 from STMicroelectronics is an 8-bit access-line microcontroller featuring a 16 MHz STM8 core, 32 Kbyte Flash program memory, 1 Kbyte true data EEPROM, and integrated 10-bit ADC with up to 10 channels. It supports UART, SPI, and I²C interfaces and operates from 2.95–5.5 V, targeting cost-sensitive industrial control and appliance timing applications.
For engineers reviewing the STM8S105K6B6 datasheet, STM8S105K6B6 pinout, STM8S105K6B6 application, or STM8S105K6B6 equivalent, key selection criteria include Flash endurance (10 kcycles), EEPROM retention (20 years at 55 °C), low-power modes (wait/active-halt/halt), 16-bit advanced control timer with dead-time insertion, and LQFP48 package compatibility.
Technical Context
The STM8S105K6B6 implements a Harvard-architecture STM8 core with 3-stage pipeline and extended instruction set, enabling deterministic real-time execution. Its clock system integrates four master sources: user-trimmable 16 MHz RC, 128 kHz low-power RC, crystal resonator, and external clock - all monitored by a clock security system.
Interrupt handling uses a nested controller supporting 32 interrupts and up to 37 external inputs across six vectors. Memory subsystem includes separate Flash (32 KB), true data EEPROM (1 KB, 300 kcycle endurance), and RAM (2 KB), with hardware SWIM debug interface and 96-bit unique ID for device authentication.
Key Specifications
| Parameter | Value and Actual Design Meaning |
|---|---|
| Core Architecture | 16 MHz STM8 Harvard core with 3-stage pipeline and extended instruction set for deterministic real-time control |
| Flash Memory | 32 Kbyte on-chip Flash with 20-year data retention at 55 °C after 10,000 write/erase cycles |
| Data EEPROM | 1 Kbyte true data EEPROM, rated for 300,000 write/erase cycles and robust against power loss during write |
| ADC Resolution | 10-bit SAR ADC with ±1 LSB INL/DNL, scan mode, analog watchdog, and up to 10 multiplexed input channels |
| Timers | 1x 16-bit advanced control timer (TIM1) with 4 CAPCOM channels, 3 complementary outputs, and dead-time insertion |
| Communication | UART (with SmartCard/IrDA/LIN master), SPI (up to 8 Mbit/s), and I²C (up to 400 kbit/s) with hardware address recognition |
| Supply Voltage | 2.95–5.5 V operation range enables direct interface with 3.3 V and 5 V logic systems without level shifting |
Pinout & Package
LQFP48 (7 × 7 mm, 0.5 mm pitch) package with 48 pins, optimized for compact industrial PCB layouts and thermal reliability in convection-cooled environments.
| Pin/Terminal | Circuit Role | Design Meaning |
|---|---|---|
| VDD | Power supply | Main digital supply input (2.95–5.5 V); decoupled via VCAP capacitor for core stability |
| VSS | Ground reference | Digital ground return path; multiple pins ensure low-impedance reference for noise-sensitive peripherals |
| NRST | Reset input | Active-low reset with internal pull-up; accepts Schmitt-triggered signal for noise immunity |
| PA0–PA7 | General-purpose I/O | 8-bit port with high-sink capability (20 mA per pin), remappable alternate functions including UART TX/RX |
| PB0–PB7 | General-purpose I/O | 8-bit port supporting TIM1/2/3 channel outputs, SPI SCK/MOSI/MISO, and I²C SCL/SDA |
| PC0–PC7 | General-purpose I/O | 8-bit port with ADC input channels (CH0–CH7), comparator inputs, and wake-up capability |
| PD0–PD7 | General-purpose I/O | 8-bit port with TIM1 complementary outputs, UART CTS/RTS, and SWIM debug interface (PD3) |
| PE0–PE7 | General-purpose I/O | 8-bit port supporting ADC CH8/CH9, beeper output, and additional timer capture/compare signals |
Key Features
| Feature | Design Value |
|---|---|
| Low-power clock management | Four selectable clock sources with automatic failover and clock monitor, enabling reliable operation in fluctuating supply conditions |
| Robust I/O design | Up to 16 high-sink I/Os (20 mA), immune to current injection per IEC 61000-4-2 Level 4 (±8 kV contact discharge) |
| Hardware debug interface | Single-wire interface module (SWIM) allows full in-circuit debugging and programming using only PD3 pin |
| Memory protection | Option bytes enable read-out protection (ROP), write protection (WPR), and EEPROM write lock for firmware security |
| Peripheral clock gating | Individual enable/disable of peripheral clocks via CLK_PCKENR1/2 registers reduces dynamic power consumption by >40% in idle states |
Applications
| Motor Control Interface | Smart Appliance HMI |
|---|---|
Use Scenario: Brushless DC motor commutation in HVAC blowers and washing machine drum drives. IC Role / Device Role / Timing Role: MCU executing FOC algorithms, generating PWM with dead-time control via TIM1, and reading hall-effect sensors via ADC. Use Value: Integrated 16-bit advanced timer eliminates need for external gate drivers; EEPROM stores motor calibration parameters across power cycles. |
Use Scenario: User interface and sensor monitoring in microwave ovens and induction cooktops. IC Role / Device Role / Timing Role: Central controller managing keypad scan, LED display, temperature sensing (via ADC), and safety interlock sequencing. Use Value: 32 KB Flash accommodates multi-language UI firmware; 1 KB EEPROM retains cooking history and user preferences securely. |
| Industrial PLC I/O Module | Energy Metering Subsystem |
Use Scenario: Digital input/output expansion for DIN-rail mounted programmable logic controllers. IC Role / Device Role / Timing Role: Isolated I/O conditioner interfacing with 24 V field devices, communicating via UART to main CPU over RS-485. Use Value: High-sink I/Os directly drive 24 V LEDs and relays; UART supports LIN master mode for legacy bus integration. |
Use Scenario: Auxiliary measurement unit in smart electricity meters tracking auxiliary loads (e.g., solar inverters, battery banks). IC Role / Device Role / Timing Role: ADC-acquired voltage/current samples processed locally; results transmitted via I²C to main meter SoC. Use Value: 10-bit ADC with analog watchdog detects sensor faults; low-power halt mode extends battery backup life during mains outage. |
Equivalent & Alternatives
The following parts are listed as comparable options for similar 8-bit microcontroller applications.
| Alternative Part | Technical Difference | Application Difference | Selection Advice |
|---|---|---|---|
| STM8S005K6T6 | Same core/peripherals but rated for industrial temp range (−40 to 85 °C) vs. STM8S105K6B6's −40 to 125 °C; identical Flash/EEPROM specs | Not qualified for under-hood automotive or high-temp industrial enclosures requiring 125 °C operation | Select when ambient operating temperature remains ≤85 °C and cost optimization is prioritized over extended thermal margin |
| STM8L152K6U6 | Ultra-low-power STM8L variant with 38 µA/MHz active current; reduced Flash (32 KB) but no integrated EEPROM (uses Flash emulation) | Designed for battery-powered applications; lacks true EEPROM endurance (300 kcycle) and high-sink I/O capability | Choose only if sub-mA average current draw is mandatory and EEPROM write cycling is infrequent or emulated reliably |
Compared with STM8S005K6T6, the STM8S105K6B6 provides guaranteed operation up to 125 °C and higher I/O sink strength; versus STM8L152K6U6, it delivers deterministic EEPROM writes and robust 20 mA I/O drive without power-mode trade-offs.
Availability
STM8S105K6B6 is available at Aetrix Electronics and suitable for motor control interface, smart appliance HMI, industrial PLC I/O modules, and energy metering subsystems requiring stable component supply across long-lifecycle industrial programs.
Supply support for STM8S105K6B6 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 analog components for industrial, automotive, and consumer markets.
The STM8S series targets cost-optimized, high-reliability embedded control applications-emphasizing Flash/EPPROM longevity, robust I/O, and low-power operation in harsh environments.
FAQ
What is the maximum operating frequency and corresponding supply voltage range?
The STM8S105K6B6 achieves 16 MHz maximum CPU frequency across its full 2.95–5.5 V supply range, verified per DS5855 Rev 16 Section 10.3.1. At 3.3 V, fCPUmax remains 16 MHz; at 2.95 V, it is derated to 14 MHz per Figure 11. No external PLL is required-the 16 MHz RC oscillator is factory-trimmed and software-adjustable.
Does this MCU support in-system programming via SWIM, and what pins are required?
Yes, the STM8S105K6B6 supports full in-system programming and debugging via the Single-Wire Interface Module (SWIM) using only PD3 (SWIM) and VDD/VSS. No dedicated programming header is needed-SWIM operates at standard logic levels and requires no external voltage translation, enabling firmware updates through existing UART or I²C host interfaces with minimal pin overhead.
How is the 1 Kbyte data EEPROM organized, and what write endurance does it guarantee?
The 1 Kbyte data EEPROM is physically separate from Flash and organized as 512 × 16-bit words. It guarantees 300,000 write/erase cycles per word and 20-year data retention at 55 °C (DS5855 Rev 16 Section 4.4). Write operations are atomic and interruptible; hardware ECC is not implemented, but error detection relies on application-level checksums or duplication schemes.
Can the advanced control timer (TIM1) generate complementary PWM with programmable dead time?
Yes, TIM1 supports complementary PWM output on three pairs of channels (CH1/CH1N, CH2/CH2N, CH3/CH3N) with fully programmable dead-time insertion (0–255 × tCLK) and flexible synchronization triggers. Dead-time values are loaded into the DTG register and applied automatically during edge transitions, preventing shoot-through in half-bridge and inverter gate drive applications without external logic.
STM8S105K6B6 Specifications
- Product attributes
- Attribute value
- Manufacturer:
- STMicroelectronics
- Package/Case:
- 32-SDIP (0.400", 10.16mm)
- Series:
- STM8S
- Packaging:
- Tube
- Product Status:
- Obsolete
- 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:
- 32KB (32K 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:
- Through Hole
- Supplier Device Package:
STM8S105K6B6 FAQ
1.How can I place an order for STM8S105K6B6 through Aetrix?
Please submit a Request for Quotation (RFQ) for STM8S105K6B6 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 STM8S105K6B6 reliable?
The price and inventory of STM8S105K6B6 are updated periodically and may fluctuate due to market conditions. Stock and pricing data are typically refreshed every 24 hours. Quotation validity for STM8S105K6B6 is usually 5 days.
3.What payment methods are accepted for STM8S105K6B6?
We accept Wire Transfer, PayPal, Credit Card, Western Union, MoneyGram, and Escrow for STM8S105K6B6 transactions.
Note: Certain payment methods may incur a processing fee.
4.How is shipping managed for STM8S105K6B6?
STM8S105K6B6 orders can be shipped via leading logistics carriers, including DHL, UPS, FedEx, TNT, or Registered Mail.
Once your STM8S105K6B6 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 STM8S105K6B6?
For technical support, including STM8S105K6B6 datasheets, pinout diagrams, or application guidance, please contact our engineering support team. They can provide detailed documentation and assistance for your STM8S105K6B6 requirements.
6.How does Aetrix verify that STM8S105K6B6 is sourced from the original manufacturer or authorized distributors?
All STM8S105K6B6 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 STM8S105K6B6 meets industry standards.
7.What is the process for return or replacement of STM8S105K6B6?
All STM8S105K6B6 units undergo pre-shipment inspection (PSI). If there is an issue with STM8S105K6B6, 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 STM8S105K6B6 part is unused and in its original packaging.
Return procedure for STM8S105K6B6:
1.Submit a request within 90 days.
2.Obtain a Return Material Authorization (RMA) from Aetrix.
STM8S105K6B6 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…

