STMicroelectronics

STM8S105K4T6 - 8-bit MCU, 16KB Flash, 16MHz | STMicroelectronics

Référence : STM8S105K4T6 ✓ Actif
En stock Expédié sous 1 à 3 jours ouvrés
2.95 V to 5.5 V Vdss LQFP-32 (7x7 mm) Package 16 MHz Speed 16 KB (16K x 8) Flash Memory
À partir de $1.26 USD / unité
MOQ : 1 |
Prix mis à jour : 2026-08-29
Tarifs dégressifs
Qté Prix unitaire Total
1 $2.1 $2,10
10 $1.89 $18,90
100 $1.62 $162,00
500 $1.44 $720,00
1 000 $1.26 $1 260,00
ℹ️ Tous les prix sont en USD

STM8S105K4T6 Présentation

The STM8S105K4T6 is an 8-bit microcontroller from STMicroelectronics' STM8S access line, featuring a 16 MHz STM8 core, 16 KB of Flash program memory, and 1 KB of true data EEPROM. It comes in a 32-pin LQFP package, offering a compact footprint for space-constrained embedded applications. The device operates over a supply voltage range of 2.95V to 5.5V, making it suitable for both 3.3V and 5V systems.

An 8-bit microcontroller (MCU) is a single-chip computer containing a processor core, memory, and programmable input/output peripherals. The STM8S105K4T6 belongs to the STM8S family, which is designed for cost-sensitive industrial and consumer applications. As a medium-density device per reference manual RM0016, it balances performance and peripheral integration, providing a 10-bit ADC, multiple timers, and standard communication interfaces like UART, SPI, and I2C.

Key features include a 16 MHz CPU clock delivering up to 16 MIPS, 16 KB Flash with read-while-write capability, 1 KB EEPROM with up to 300k write/erase cycles, and a 10-bit ADC with up to 7 channels. The device integrates a 16-bit advanced control timer, two 16-bit general-purpose timers, and a basic timer, plus UART, SPI, and I2C interfaces for connectivity with sensors, displays, and other peripherals.

The STM8S105K4T6 uses a Harvard-architecture STM8 core with a 3-stage pipeline. An embedded SWIM debug module enables in-circuit debugging and programming, reducing development time. The clock system offers internal and external oscillator options, including a low-power crystal oscillator and a PLL for clock multiplication.

Typical applications include industrial control, home appliances, sensor interfaces, and motor control. Its wide operating voltage range and industrial temperature grade (-40C to +85C) make it suitable for harsh environments. The integrated EEPROM eliminates external storage in many designs, reducing BOM cost.

When designing with this MCU, ensure proper decoupling of power supply pins and consider the thermal characteristics of the LQFP-32 package. Reserve the SWIM interface for programming and debugging. For low-power designs, use Active-halt and Halt modes to minimize current consumption.

Alternatives de remplacement direct pour STM8S105K4T6 — même boîtier, compatible broche à broche. Les références à boîtier différent nécessitant une retouche du PCB sont exclues.

Variantes de cette série

Modèles de la même série directement compatibles avec STM8S105K4T6 (même facteur de forme et même empreinte) — différant par Communication Interfaces, Data EEPROM, Operating Temperature, Timers.

STMicroelectronics
Communication Interfaces: 1 x UART, 1 x SPI, 1 x I2C
Data EEPROM: 128 bytes
Operating Temperature: -40 C to +85 C
Comparer avec STM8S105K4T6 →

Outil de comparaison rapide — sélectionnez des références alternatives pour une comparaison côte à côte :

STM8S105K6T6

✅ Remplacement direct ⚠️ Spécifications non vérifiées
📦 LQFP-32
same die family, 32 KB Flash vs 16 KB, pin-to-pin compatible

📋 Alternative de référence (hors catalogue)

STM8S105K4T6C

✅ Remplacement direct
📦 LQFP-32
identical die, tray packaging variant (C suffix)

📋 Alternative de référence (hors catalogue)

STM8S103K3T6

✅ Remplacement direct ⚠️ Spécifications non vérifiées
📦 LQFP-32
8 KB Flash, smaller EEPROM (640 B), same LQFP-32 pinout family

📋 Alternative de référence (hors catalogue)

STM8S207K8T6

✅ Remplacement direct ⚠️ Spécifications non vérifiées
📦 LQFP-32
performance line, 64 KB Flash, 24 MHz, CAN - same footprint, needs VCAP/clock review

📋 Alternative de référence (hors catalogue)

ATMEGA328P-AU

⚡ Même boîtier ⚠️ Spécifications non vérifiées
Microchip Technology
📦 TQFP-32
AVR 8-bit RISC · 20 MHz · 20 MIPS · 32 KB (16K x 16) · 2 KB · 1 KB · 1.8 V to 5.5 V · -40 C to +85 C

✓ En stock

$1.74 / unité

Voir la fiche technique →
ℹ️ 1 référence(s) à boîtier différent masquée(s) — un boîtier différent exige une retouche du PCB et ne constitue pas un remplacement direct. Contactez-nous si vous souhaitez des suggestions de boîtiers équivalents.

STM8S105K4T6 Valeurs maximales et caractéristiques électriques

Core Processor STM8 8-bit CISC
Core Size 8-bit
Fréquence d'horloge maximale 16 MHz
Program Memory Size 16 KB (16K x 8) Flash
Data EEPROM 1 KB (true data EEPROM, 300k cycles)
Supply Voltage Range 2.95 V to 5.5 V
ADC Resolution 10-bit, up to 7 channels
Timers 1x 16-bit advanced, 2x 16-bit general purpose, 1x basic
Communication Interfaces UART, SPI, I2C
Debug Interface SWIM (Single Wire Interface Module)
Température de fonctionnement -40C to +85C
Boîtier LQFP-32 (7x7 mm)
Type de montage Surface Mount
Performance Up to 16 MIPS at 16 MHz
Low Power Modes Active-halt, Halt
Statut RoHS Compliant

Configuration des broches de STM8S105K4T6

LQFP-32 Package Pinout Diagram LQFP-32 7x7mm, P0.8mm, JEDEC MS-026. 1 8 LQFP-32
Broche 1 NRST — Active-low bidirectional reset
Broche 2 PA1/OSCIN — Port A1 / crystal oscillator input
Broche 3 PA2/OSCOUT — Port A2 / crystal oscillator output
Broche 4 VSSA — Analog ground
Broche 5 VDDA — Analog power supply for ADC
Broche 6 VSS — Digital ground
Broche 7 VCAP — 1.8V core regulator capacitor
Broche 8 VDD — Digital power supply (2.95V-5.5V)
Broche 9 PF4 — General purpose I/O
Broche 10 PC3/TIM2_CH3 — Port C3 / Timer 2 channel 3
Broche 11 PC4/TIM1_CH4/ADC — Port C4 / Timer 1 channel 4 / ADC input
Broche 12 PC5/SPI_SCK — Port C5 / SPI clock
Broche 13 PC6/SPI_MOSI — Port C6 / SPI master out
Broche 14 PC7/SPI_MISO — Port C7 / SPI master in
Broche 18 PD1/SWIM — Port D1 / SWIM debug and programming interface
Broche 19 PD2/ADC_ETR — Port D2 / ADC external trigger
Broche 30 PA3/TIM2_CH1 — Port A3 / Timer 2 channel 1
Broche 32 PF0 — General purpose I/O

Applications typiques

STM8S105K4T6 convient pour 6 applications: Industrial Control, Home Appliances, Sensor Interfaces, Motor Control (Small Fans and Pumps), Consumer Electronics and Lighting, Building Automation Nodes.

🏭

Industrial Control

The STM8S105K4T6 fits industrial control nodes thanks to its 16 MHz core, industrial -40C to +85C rating, and 2.95V to 5.5V supply tolerance for noisy 5V PLC backplanes. Its 16-bit advanced control timer handles PWM actuator drive, while the 10-bit ADC (7 channels) digitizes potentiometer and sensor feedback. UART connectivity links to HMI panels; SWIM allows field reprogramming. Use the Active-halt mode in standby panels to cut idle current.

🔧

Home Appliances

In washing machines, cookers, and fans, the STM8S105K4T6 provides low-BOM-cost control: integrated EEPROM (1 KB, 300k cycles) stores user settings without external memory, and the advanced 16-bit timer generates phase-correct PWM for motor or heater control. The 5V-capable GPIO drives relays and TRIAC drivers directly through transistor buffers. Its robust clock system tolerates appliance EMI, and the 32-pin LQFP keeps the control PCB compact.

🧩

Sensor Interfaces

The 10-bit ADC with up to 7 channels makes the STM8S105K4T6 a cost-effective sensor hub for analog transducers such as NTC thermistors, pressure bridges, and potentiometers. The I2C and SPI ports connect digital sensors (e.g., ADS1115 for higher-resolution expansion), while the internal RC oscillator removes BOM cost of external crystals in tolerant applications. At 5V operation, ADC full-scale matches industrial sensor outputs without scaling circuitry.

⚙️

Motor Control (Small Fans and Pumps)

Small BLDC fans, pumps, and brushed motor drives benefit from the STM8S105K4T6's 16-bit advanced control timer with complementary PWM outputs and the 10-bit ADC for current and BEMF sensing. Running at 16 MIPS, the core executes basic six-step commutation or closed-loop speed control. The 2.95V-5.5V range aligns with gate-driver supply rails, and fault inputs use GPIO interrupts for fast over-current shutdown.

💡

Consumer Electronics and Lighting

For LED dimmers, chargers, and small appliance user interfaces, the STM8S105K4T6 combines low unit cost with UART/I2C connectivity and capacitive-touch-friendly GPIO scanning. The integrated EEPROM keeps calibration and user preferences across power cycles, and Halt mode supports <uA-class standby targets when paired with wake-on-interrupt buttons. The LQFP-32 footprint suits compact, single-sided cost-optimized consumer PCBs.

🌐

Building Automation Nodes

Wall-mounted thermostats, damper controllers, and occupancy sensors use the STM8S105K4T6 for low-cost node intelligence: UART or I2C links to displays and sensors, ADC channels read potentiometer setpoints and NTC temperature, and the advanced timer drives valve or damper actuators via PWM. The industrial temperature grade and 5V operation fit HVAC wiring conditions, while SWIM enables firmware updates during commissioning without removing the PCB.

What is the STM8S105K4T6 and what are its key specifications?
The STM8S105K4T6 is an 8-bit microcontroller from STMicroelectronics' STM8S access line. Key specs per ST datasheet: 16 MHz STM8 core (16 MIPS), 16 KB Flash, 1 KB true data EEPROM, 2.95V to 5.5V supply, 10-bit ADC with 7 channels, UART/SPI/I2C interfaces, and a 32-pin LQFP package rated -40C to +85C. It is a medium-density device per reference manual RM0016.
Where to download the STM8S105K4T6 datasheet PDF?
The official STM8S105K4T6 datasheet PDF is available on STMicroelectronics' website at st.com/resource/en/datasheet/stm8s105c4.pdf (the STM8S105C4/6, K4/6, S4/6 family datasheet, 127 pages). Pinout diagrams, electrical characteristics, and register descriptions are all in this document, along with family reference manual RM0016 for programming details.
What is the price of STM8S105K4T6?
Pricing for STM8S105K4T6 typically starts around $2.10 at 1 unit, dropping to roughly $1.26 at 1000 units (as of 2026-08-29). Actual pricing varies by distributor (DigiKey, Mouser) and package variant; the -CTR tape-and-reel version may price differently from tray packaging. Request quotes for volume pricing above 1000 units.
What is the best drop-in replacement for STM8S105K4T6?
The best drop-in replacement is the STM8S105K6T6, which is pin-to-pin compatible in the same LQFP-32 package but offers 32 KB Flash instead of 16 KB - code compatible with more program space. The STM8S105K4T6C (tray packaging variant) is also fully identical electrically. Both keep the same 16 MHz core and peripheral set.
Is STM8S105K4T6 the same as STM8S105K4T6C?
Yes, electrically they are identical - both are 16 KB Flash STM8S access line MCUs in LQFP-32 with 16 MHz core. The 'C' suffix denotes the packaging/delivery form (tray packing per DigiKey listing STM8S105K4T6C). Firmware written for one runs unchanged on the other.
STM8S105K4T6 vs STM8S105K6T6 - which is better?
They are pin-compatible and code-compatible; the only functional difference is Flash size: 16 KB (K4) versus 32 KB (K6). Choose the K4T6 for cost-optimized designs that fit in 16 KB; choose the K6T6 when firmware growth is expected or you need more EEPROM-based lookup tables. Both run at 16 MHz with identical peripherals and the same LQFP-32 footprint.
Can STM8S105K4T6 be used for 5V systems?
Yes. According to the ST datasheet, the STM8S105K4T6 operates from 2.95V to 5.5V, so it directly supports both 3.3V and 5V systems without level shifters. This wide range suits appliance and industrial designs where 5V sensor or relay-drive compatibility matters. Verify maximum ratings on GPIO when driving at 5V rails.
How do I program the STM8S105K4T6?
The STM8S105K4T6 is programmed and debugged via the SWIM (Single Wire Interface Module) using ST's ST-LINK/V2 or the legacy ST-LINK with STM8 support. ST's free STVD IDE with COSMIC compiler or STM8CubeIDE supports development. Reserve the SWIM pin on your PCB for in-circuit reprogramming - it reduces development iteration time significantly.
Is STM8S105K4T6 still in production and in stock?
Yes, the STM8S105K4T6 is an active product in STMicroelectronics' STM8S access line and is in stock at major distributors. DigiKey and Mouser list inventory and ship same day for standard quantities (as of 2026-08-29). For volume projects, confirm lifetime availability given STM8 is a legacy 8-bit platform; ST has committed to long-term supply of STM8 family parts.
What are the STM8S105K4T6 pinout highlights in LQFP-32?
The LQFP-32 package provides up to 25 GPIOs, power pins VDD/VSS, VCAP for the 1.8V core regulator, NRST (active-low reset), and SWIM for programming. Peripherals map to pins via alternate-function remapping: UART, SPI, I2C, and the 10-bit ADC inputs (up to 7 channels). Consult the pinout chapter of the ST datasheet PDF for exact pin-by-pin assignments before layout.
Where to buy STM8S105K4T6 online?
STM8S105K4T6 can be purchased from authorized distributors including DigiKey (part STM8S105K4T6C) and Mouser (part STM8S105K4T6CTR), both listing same-day shipping as of 2026-08-29. XAIPART also supplies this part with datasheet access. Avoid non-authorized brokers for production volumes to prevent counterfeit risk.
What is the best non-ST equivalent for STM8S105K4T6?
There is no true cross-brand drop-in replacement for STM8S105K4T6 - the STM8 core and pin map are ST-proprietary. Functionally similar 8-bit MCUs in 32-pin packages include the Microchip PIC16F870 and the Atmel/Microchip ATMEGA328P-AU (TQFP-32), but both require a new PCB layout and firmware port. For ST-family continuity, STM8S105K6T6 is the safest substitute.
When should I choose STM8S105K4T6 over STM8S207K8?
Choose STM8S105K4T6 when cost and simplicity dominate: 16 KB Flash, 16 MHz, and low unit price fit basic appliance, sensor, and control tasks. Choose STM8S207K8 when you need more Flash (64-128 KB), CAN bus, or higher performance. The STM8S access line (105) also lacks the ECC flash and advanced peripherals of the performance line (207), keeping the BOM minimal.
Does STM8S105K4T6 support low power operation?
Yes. The STM8S105K4T6 provides Active-halt and Halt low-power modes that dramatically reduce current consumption for battery-backed or standby operation. Per the ST datasheet, in Halt mode the CPU and most clocks stop, with wake-up available via external interrupts or reset. Combine Halt with the integrated EEPROM for data retention between wake cycles in metering applications.

Données de référence d'ingénierie pour STM8S105K4T6 — comparaison, recommandations de conception et informations de conformité.

Guide de sélection

Choose STM8S105K4T6 for cost-sensitive industrial and appliance control where 16 KB Flash and 1 KB EEPROM suffice at 16 MHz. Choose STM8S105K6T6 if firmware may grow beyond 14 KB - it is pin-to-pin and code compatible with double the Flash. Choose STM8S103K3T6 only for tighter BOM budgets that can live with 8 KB Flash and 640 B EEPROM. Choose STM8S207K8 for CAN connectivity or larger applications on the same footprint. Avoid cross-brand parts like ATMEGA328P-AU unless you are starting a new PCB, since the STM8 pin map is proprietary and no non-ST part is a true drop-in. All STM8 LQFP-32 options share the 2.95V-5.5V range and SWIM programming toolchain, protecting your development investment.

Comparaison avec les alternatives

Paramètre Ce produit STM8S105K6T6 STM8S105K4T6C STM8S103K3T6 ATMEGA328P-AU
Package LQFP-32 LQFP-32 - same LQFP-32 - same LQFP-32 - same TQFP-32 - same footprint, different pinout
Brand STMicroelectronics STMicroelectronics STMicroelectronics STMicroelectronics Microchip Technology
Program Flash 16 KB 32 KB 16 KB 8 KB 32 KB
Data EEPROM 1 KB 1 KB 1 KB 640 B 1 KB
Max CPU Clock 16 MHz 16 MHz 16 MHz 16 MHz 20 MHz
Supply Voltage 2.95 V - 5.5 V 2.95 V - 5.5 V 2.95 V - 5.5 V 2.95 V - 5.5 V 1.8 V - 5.5 V
ADC 10-bit, 7 ch 10-bit, 7 ch 10-bit, 7 ch 10-bit, 5 ch 10-bit, 8 ch
Drop-in Compatibility Reference Yes - pin-to-pin Yes - identical Yes with code change No - PCB rework required
Communication Interfaces UART, SPI, I2C UART, SPI, I2C UART, SPI, I2C UART, SPI, I2C UART, SPI, I2C (TWI)

Principaux différenciateurs

  • Best cost-to-memory ratio for basic control (vs STM8S105K6T6)
  • True data EEPROM eliminates external NVM (vs STM8S103K3T6)
  • Same-footprint upgrade path to 32-bit-class features (vs ATMEGA328P-AU)

Notes de conception

Decouple VDD with a 100 nF ceramic capacitor placed within 5 mm of pin 8, plus a 4.7-10 uF bulk capacitor per board. VCAP requires a 1 uF ceramic capacitor to ground - it stabilizes the internal 1.8V core regulator and must never be omitted or loaded externally. Connect VDDA/VSSA to a clean analog supply, preferably filtered through an RC (10 ohm/1 uF), to preserve 10-bit ADC accuracy.

Reserve the SWIM pin (PD1) with a 2x4 or 1x4 programming header on every production PCB - ST's ST-LINK/V2 programs and debugs in-circuit via SWIM. Route NRST to the header as well for reliable reset control during flashing. Keep analog ADC traces short and away from PWM/timer switching nets to minimize crosstalk into the 10-bit converter.

Do not exceed 5.5V on VDD or apply 5V-tolerant assumptions to NRST. GPIO sink/source limits per ST datasheet must be respected when driving relays - always use transistor or ULN2803 buffers. EEPROM endurance is 300k cycles; avoid logging data at high frequency in main loops, or wear will accumulate quickly. In Halt mode, ensure wake sources (EXTI or reset) are configured before entering the mode, or the device will appear bricked.

Informations de conformité

RoHS
Compliant
REACH
Unknown
AEC-Q100
Not Applicable
Sans plomb
Yes
Sans halogène
Unknown
Minerais de conflit
Unknown

RoHS compliant per STMicroelectronics product page. Industrial grade (-40C to +85C), not automotive qualified.

Données vérifiées le : 2026-08-29 — données vérifiées et sélectionnées par l'équipe d'ingénierie composants de XAIPART

Recherches associées

STM8S105K4T6 STM8S105K4T6 datasheet PDF STMicroelectronics STM8S105K4T6 STM8S105K4T6 pinout LQFP-32 STM8S105K4T6 vs STM8S105K6T6 STM8S105K4T6 drop-in replacement STM8S105K4T6 price buy 16 MHz 8-bit microcontroller 16KB Flash STM8S105K4T6 SWIM programming what can replace STM8S105K4T6 STM8 microcontroller home appliance control STM8S105K4T6 equivalent

Composants & termes associés

STMicroelectronics STM8S105K4T6 STM8S105K6T6 STM8S103K3T6 STM8S207K8T6 ATMEGA328P-AU STM8 core 8-bit microcontroller MCU LQFP-32 SWIM true data EEPROM 10-bit ADC UART SPI I2C RM0016 reference manual RoHS Harvard architecture industrial control home appliances motor control PWM timer quiescent current
RFQ de devis rapide
Renseignez tous les détails — notre équipe commerciale vous répondra sous 24 heures
Référence Fabricant Boîtier QTY Prix cible Total
Total : 0,00 USD
✓
Devis envoyé !

Nous répondrons à votre e-mail sous 24 heures

1
RFQ envoyée
2
Devis reçu
3
Commande passée
4
Paiement
5
Expédié
6
Livré
Voir les détails de la RFQ