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

- Shipping:

Inventory:3,913
Please send an inquiry. Send us your inquiry, and we will respond immediately.
Product details
Overview
STM8S105C4T6 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 and smart sensor nodes requiring deterministic real-time response.
For engineers reviewing the STM8S105C4T6 datasheet, STM8S105C4T6 pinout, STM8S105C4T6 application, or STM8S105C4T6 equivalent, key selection criteria include Flash endurance (10 kcycles), EEPROM retention (20 years at 55 °C), low-power modes (halt/active-halt/wait), high-sink I/O capability (16 pins), and SWIM single-wire debug interface compatibility.
Technical Context
The STM8S105C4T6 implements a Harvard-architecture 8-bit core with 3-stage pipeline and extended instruction set, enabling 16 MIPS throughput at 16 MHz. Its clock system integrates four independent sources: user-trimmable 16 MHz RC, 128 kHz low-power RC, crystal oscillator, and external clock input - all monitored by a clock security system.
Interrupt handling uses a nested controller supporting 32 vectors and up to 37 external interrupts across six priority levels. Memory subsystem includes segmented Flash (with option bytes), true data EEPROM (300 kcycle endurance), and RAM mapped for fast peripheral register access via dedicated hardware registers.
Key Specifications
| Parameter | Value and Actual Design Meaning |
|---|---|
| Core | STM8 8-bit Harvard architecture, 3-stage pipeline, 16 MIPS @ 16 MHz |
| Flash Memory | 16 KB program memory; 10 kcycle endurance, 20-year data retention at 55 °C |
| Data EEPROM | 1 KB true data EEPROM; 300 kcycle write endurance, no external refresh needed |
| ADC | 10-bit SAR ADC with ±1 LSB INL/DNL, 10 multiplexed inputs, scan mode, analog watchdog |
| Timers | TIM1 (16-bit advanced, 4 CAPCOM, 3 complementary outputs, dead-time), TIM2/TIM3 (16-bit GP), TIM4 (8-bit basic), AWU timer |
| I/O Pins | Up to 38 I/Os on LQFP48 package; 16 high-sink outputs (20 mA), robust against current injection |
| Supply Range | 2.95–5.5 V operation; supports direct connection to 3.3 V or 5 V systems without level shifters |
Pinout & Package
LQFP48 (7 × 7 mm, 0.5 mm pitch) package with exposed thermal pad; 48-pin quad flat configuration optimized for industrial PCB layouts and thermal management in enclosed enclosures.
| Pin/Terminal | Circuit Role | Design Meaning |
|---|---|---|
| VDD, VSS | Power supply and ground | Dual power domains: VDD powers digital core and I/Os; VSS reference for all analog/digital circuits |
| NRST | Active-low reset input | Asynchronous reset with internal pull-up; accepts 1.65–5.5 V logic; supports external reset button or supervisor IC |
| SWIM | Single-wire interface module | Debug and programming interface using one GPIO pin; enables in-circuit programming without JTAG header |
| PA0–PA7 | Port A general-purpose I/O | 8-bit bidirectional port with alternate functions including UART2_TX, SPI_MOSI, TIM1_CH1, ADC_IN0–7 |
| PB0–PB7 | Port B general-purpose I/O | 8-bit bidirectional port with alternate functions including UART2_RX, SPI_SCK, TIM1_CH2, I²C_SCL/SDA |
| PC0–PC7 | Port C general-purpose I/O | 8-bit bidirectional port with alternate functions including TIM2_CH1, TIM3_CH1, ADC_IN8/9, CLK_CCO |
| PD0–PD7 | Port D general-purpose I/O | 8-bit bidirectional port with high-sink capability (20 mA); used for LED drivers or relay control |
| PE0–PE7 | Port E general-purpose I/O | 8-bit bidirectional port; includes TIM1_ETR, TIM2_CH2, TIM3_CH2, and SWIM debug pin remapping support |
Key Features
| Feature | Design Value |
|---|---|
| SWIM Debug Interface | Single-pin in-circuit programming and debugging without dedicated debug header; reduces BOM and board space |
| High-Sink I/O Capability | 16 pins deliver 20 mA sink current - directly drive LEDs, small relays, or optocouplers without external transistors |
| Integrated Clock Security System | Hardware clock monitor triggers reset if main oscillator fails - critical for fail-safe industrial control loops |
| True Data EEPROM | 1 KB on-chip EEPROM with 300 kcycle endurance and automatic wear leveling - eliminates need for external serial EEPROM |
| Flexible Low-Power Modes | Wait (CPU stop, peripherals active), Active-Halt (CPU/peripherals stop, RAM retained), Halt (full stop, lowest current) - configurable per application duty cycle |
Applications
| Industrial Motor Control | Smart Sensor Node |
|---|---|
Use Scenario: Fan speed regulation in HVAC systems using PWM-driven BLDC motors with overcurrent protection. IC Role / Device Role / Timing Role: MCU executes closed-loop PID control, reads current-sense ADC, generates synchronized 3-phase PWM via TIM1 with dead-time, and communicates fault status via UART. Use Value: Integrated dead-time insertion prevents shoot-through; high-sink I/O drives gate drivers directly; EEPROM stores calibration coefficients across power cycles. | Use Scenario: Battery-powered environmental sensor node measuring temperature, humidity, and CO₂ with periodic wireless upload. IC Role / Device Role / Timing Role: Manages sensor polling, ADC conversion sequencing, low-power sleep scheduling via AWU timer, and UART-to-LoRaWAN bridge protocol handling. Use Value: 1.8 µA halt-mode current extends battery life; 10-bit ADC provides sufficient resolution for NTC thermistors; SWIM enables field firmware updates over single wire. |
| Home Appliance UI Controller | PLC Digital I/O Module |
Use Scenario: Touch-button and LED display controller in washing machine control panel with buzzer feedback. IC Role / Device Role / Timing Role: Scans capacitive or mechanical buttons, drives 7-segment/LED indicators via high-sink ports, generates tone via beeper module, and logs user events to EEPROM. Use Value: 16 high-sink I/Os eliminate external driver ICs; integrated beeper reduces component count; EEPROM retains usage statistics and error logs. | Use Scenario: DIN-rail mounted digital input/output expansion module for compact PLCs interfacing with limit switches and solenoid valves. IC Role / Device Role / Timing Role: Reads 16 isolated digital inputs, drives 16 24 V DC outputs with current limiting, communicates status via RS-485 (UART + transceiver), and monitors supply voltage. Use Value: Robust I/O design withstands 100 mA current injection per pin; wide 2.95–5.5 V supply accommodates industrial 3.3 V or 5 V backplanes; UART supports LIN master mode for automotive-compatible diagnostics. |
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, 16 MHz max | Targeted at cost-sensitive, low-pin-count applications without non-volatile data storage needs | Select when EEPROM is unnecessary and BOM cost reduction outweighs field calibration flexibility |
| STM8L052C6T6 | Ultra-low-power variant: 32 KB Flash, 2 KB RAM, 1 KB EEPROM, 12 MHz max, 3.6 µA halt mode | Optimized for battery-powered devices requiring multi-year operation on coin cell | Choose for energy-constrained designs where 16 MHz performance is not required and sub-µA sleep is critical |
Compared with STM8S003F3P6, the STM8S105C4T6 adds EEPROM and higher I/O count for field-programmable calibration and industrial interfacing; versus STM8L052C6T6, it trades lower sleep current for higher clock speed and richer timer features suited to real-time motor control.
Availability
STM8S105C4T6 is available at Aetrix Electronics and suitable for industrial motor control, smart sensor nodes, home appliance UI controllers, and PLC digital I/O modules requiring stable component supply throughout long production lifecycles.
Supply support for STM8S105C4T6 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 management ICs, sensors, and analog components for industrial, automotive, and consumer markets.
The STM8S series targets cost-effective, robust 8-bit control applications in industrial automation and appliance markets, emphasizing ease of use, long-term availability, and integrated peripherals to reduce system-level complexity.
FAQ
What debug interface does the STM8S105C4T6 support?
The STM8S105C4T6 uses the Single-Wire Interface Module (SWIM), a proprietary ST debug protocol requiring only one GPIO pin for full in-circuit programming and real-time debugging. It replaces traditional JTAG/SWD interfaces, eliminating the need for multi-pin debug headers and reducing PCB footprint and BOM cost.
Does the STM8S105C4T6 include hardware support for motor control?
Yes - TIM1 is a dedicated 16-bit advanced control timer with three complementary PWM outputs, programmable dead-time insertion, and synchronization inputs. This enables direct generation of 3-phase gate drive signals for BLDC or stepper motor drivers without external logic or FPGA assistance.
Can the STM8S105C4T6 operate from a 3.3 V supply?
Yes - the device operates across 2.95 V to 5.5 V, fully supporting 3.3 V nominal systems. At 3.3 V, it delivers up to 16 MHz CPU frequency (per Figure 11), maintains full I/O drive strength, and retains all peripheral functionality including ADC accuracy (±1 LSB) and EEPROM write endurance.
How is the unique ID used in secure applications?
The STM8S105C4T6 contains a factory-programmed 96-bit unique identifier accessible via memory-mapped registers. It serves as a hardware root-of-trust for device authentication, license binding, and anti-cloning in firmware update protocols - especially valuable in industrial equipment with remote service access requirements.
STM8S105C4T6 Specifications
- Product attributes
- Attribute value
- Manufacturer:
- STMicroelectronics
- Package/Case:
- 48-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:
- 38
- 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 10x10b
- Oscillator Type:
- Internal
- Operating Temperature:
- -40°C ~ 85°C (TA)
- Grade:
- -
- Qualification:
- -
- Mounting Type:
- Surface Mount
- Supplier Device Package:
STM8S105C4T6 FAQ
1.How can I place an order for STM8S105C4T6 through Aetrix?
Please submit a Request for Quotation (RFQ) for STM8S105C4T6 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 STM8S105C4T6 reliable?
The price and inventory of STM8S105C4T6 are updated periodically and may fluctuate due to market conditions. Stock and pricing data are typically refreshed every 24 hours. Quotation validity for STM8S105C4T6 is usually 5 days.
3.What payment methods are accepted for STM8S105C4T6?
We accept Wire Transfer, PayPal, Credit Card, Western Union, MoneyGram, and Escrow for STM8S105C4T6 transactions.
Note: Certain payment methods may incur a processing fee.
4.How is shipping managed for STM8S105C4T6?
STM8S105C4T6 orders can be shipped via leading logistics carriers, including DHL, UPS, FedEx, TNT, or Registered Mail.
Once your STM8S105C4T6 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 STM8S105C4T6?
For technical support, including STM8S105C4T6 datasheets, pinout diagrams, or application guidance, please contact our engineering support team. They can provide detailed documentation and assistance for your STM8S105C4T6 requirements.
6.How does Aetrix verify that STM8S105C4T6 is sourced from the original manufacturer or authorized distributors?
All STM8S105C4T6 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 STM8S105C4T6 meets industry standards.
7.What is the process for return or replacement of STM8S105C4T6?
All STM8S105C4T6 units undergo pre-shipment inspection (PSI). If there is an issue with STM8S105C4T6, 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 STM8S105C4T6 part is unused and in its original packaging.
Return procedure for STM8S105C4T6:
1.Submit a request within 90 days.
2.Obtain a Return Material Authorization (RMA) from Aetrix.
STM8S105C4T6 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…

