STM8S005K6T6C
Product Specifications
STM8S005K6T6C — 32 KB Flash STM8 Value Line MCU in LQFP-32 for Advanced Drone ESC and BMS Controllers
The STM8S005K6T6C is STMicroelectronics' enhanced Value Line 8-bit STM8 core MCU, delivering 32 KB Flash (4× the S003), 2 KB SRAM, and 16 MHz operation in a LQFP-32 (7×7 mm) package. With 25 GPIOs, a 10-channel 10-bit ADC, UART/SPI/I²C interfaces, and the STM8 advanced PWM timer with complementary outputs and dead-time insertion, it is the sweet spot for feature-rich BLHeli_S / Bluejay ESCs with extended telemetry, multi-cell BMS controllers, and intelligent PDB telemetry hubs requiring more Flash headroom than the S003 while maintaining the same cost-efficient LQFP-32 footprint.
Part Number Decoded — Field by Field
| Field | Value | Meaning |
|---|---|---|
| STM8 | Product Family | STMicroelectronics 8-bit MCU — STM8 proprietary core |
| S | Product Type | Standard — mainstream general-purpose series (2.95–5.5V) |
| 005 | Sub-Family | Value Line Enhanced — higher Flash/SRAM than S003 with more ADC channels |
| K | Pin Count | 32 pins (LQFP-32) |
| 6 | Flash Size | 32 KB |
| T | Package | LQFP (Low-profile Quad Flat Package) |
| 6 | Temperature Range | −40°C to +85°C (industrial) |
| C | Custom Option | Standard — no custom marking or test flow |
Quick Specifications
| Parameter | Value |
|---|---|
| Manufacturer | STMicroelectronics |
| Part Number | STM8S005K6T6C |
| Core | STM8 (8-bit proprietary, Harvard architecture) |
| Max Clock | 16 MHz (HSI RC or external crystal) |
| Flash | 32 KB (10K erase/write cycles) |
| SRAM | 2 KB |
| EEPROM | 128 bytes (true data EEPROM, 300K write cycles) |
| Package | LQFP-32 (7×7 mm, 0.8 mm pitch) |
| Supply Voltage | 2.95V – 5.5V |
| Operating Temperature | −40°C to +85°C |
| GPIO | 25 (5V-tolerant, up to 20 mA sink/source) |
| ADC | 1× 10-bit, 10 channels |
| Timers | 3× 16-bit: 1× advanced (PWM + complementary + dead-time), 2× general-purpose |
| Communication | 1× UART, 1× SPI, 1× I²C |
| Debug | SWIM (Single Wire Interface Module) |
Product Overview
The STM8S005K6T6C bridges the gap between the ultra-low-cost S003 (8 KB Flash) and the Performance Line S207 (128 KB Flash). With 32 KB Flash and 2 KB SRAM, it provides quadruple the Flash and double the SRAM of the S003 while retaining the LQFP-32 footprint and pin compatibility. This makes it the ideal upgrade path for drone ESC and BMS designs that have outgrown the S003's memory budget but don't require the cost and complexity of the 128 KB S207.
The highlight feature is the 10-channel 10-bit ADC — more than double the S003's 4–5 channels. This enables direct connection of multiple current sensors, voltage dividers, and temperature thermistors without external analog multiplexing, simplifying BOM and PCB layout. For BLHeli_S ESCs running Bluejay firmware at 48–96 kHz PWM, the extra Flash accommodates extended telemetry (RPM, temperature, voltage, current) and custom startup tones.
Key Features & Benefits
32 KB Flash — Room for Bluejay + Extended Telemetry + Custom Features
Bluejay firmware with full feature set (bidirectional DShot telemetry, variable 24–96 kHz PWM, startup music, LED control) fits comfortably in 32 KB with ~8–12 KB headroom for custom telemetry extensions, bootloader, and configuration EEPROM emulation. This headroom enables features like per-motor current telemetry, temperature-compensated timing, and auto-detect DShot/Oneshot protocol — all without Flash banking or code compression tricks.
2 KB SRAM — Full DShot Telemetry Packet Buffering
Double the S003's SRAM enables double-buffered DShot telemetry packet assembly, larger commutation lookup tables for smoother motor startup, and runtime statistics tracking (RPM history, temperature trends, error counters). 2 KB is sufficient for a 64-sample circular buffer of motor state data for ESC telemetry streaming at 1 kHz rates.
10-Channel 10-Bit ADC — Direct Multi-Sensor Connection
Ten dedicated ADC channels eliminate external analog multiplexers. In a PDB controller application, this enables simultaneous monitoring of: 4× ESC current shunts, main battery voltage, 5V BEC, 12V BEC, ambient temperature, motor temperature, and a spare channel for expansion — all on a single LQFP-32 chip.
Pin-Compatible with STM8S003K3 — Drop-In Memory Upgrade
The STM8S005K6 shares the same LQFP-32 footprint and pinout as the STM8S003K3. This means an existing S003K3-based design can be upgraded to the S005K6 for more Flash and SRAM with zero PCB changes — only a BOM update. Firmware recompilation is required, but the peripheral register map is identical.
Target Applications
Advanced BLHeli_S / Bluejay ESC with Full Telemetry
Ideal for Bluejay ESCs running at 48–96 kHz PWM with bidirectional DShot, RPM filtering, and per-motor current/temperature telemetry. The 32 KB Flash accommodates Bluejay's full feature set plus custom startup melodies, LED patterns, and telemetry dashboards without compromise.
Multi-Cell BMS Controller (2S–6S)
The 10-channel ADC directly scans up to 6 series cell voltages plus pack current, two temperature sensors, and a reference voltage — building a complete BMS monitor. The UART communicates SOC, SOH, cell balance status, and fault flags to the flight controller, while the I²C interface connects to a dedicated fuel-gauge IC (e.g., BQ78350) for enhanced accuracy.
Intelligent PDB Power Telemetry Hub
Aggregates current and voltage data from 4 independent ESC channels, calculates individual and total power consumption (mAh, Wh), and streams to the FC via UART. The extra Flash stores calibration curves for each current sensor, improving accuracy from ±10% (uncalibrated) to ±1% (per-sensor calibrated).
Frequently Asked Questions
Should I use STM8S005K6 or STM8S003K3 for a new ESC design?
If your ESC will only run standard BLHeli_S (no telemetry extensions, basic PWM), the STM8S003K3 is sufficient and slightly cheaper. If you plan to support Bluejay with bidirectional DShot telemetry, custom startup tones, or extended diagnostic logging, choose the STM8S005K6 — the 32 KB Flash provides comfortable headroom that avoids time-consuming code-size optimization. The cost difference is typically under $0.15 in volume, which is negligible compared to the engineering time saved by not fighting Flash constraints.
Is the STM8S005K6 pin-compatible with STM8S003K3?
Yes, completely. Both use the same LQFP-32 pinout with identical power, ground, reset, SWIM, and VCAP pin assignments. All peripheral alternate-function mappings are identical. You can populate either chip on the same PCB layout — only the BOM line item changes.
Does Bluejay firmware support the STM8S005K6?
Yes. Bluejay officially supports all STM8S MCUs with sufficient Flash including the S005. The larger Flash and SRAM are automatically recognized by the firmware's memory configuration. Bluejay compiled for the S005K6 target enables all features (bidirectional DShot, 24–96 kHz variable PWM, startup melody, LED control) without any feature trimming.
Ordering Information
| Orderable Part Number | Package | Packaging | Temperature |
|---|---|---|---|
| STM8S005K6T6C | LQFP-32 (7×7 mm, 0.8 mm pitch) | Tray | −40°C to +85°C |
| STM8S005C6T6 | LQFP-48 (7×7 mm, 0.5 mm pitch) | Tray | −40°C to +85°C |
Design Resources
- Datasheet (DS7276): STM8S005K6 / STM8S005C6 — Value Line with 32 KB Flash. Electrical characteristics, pin definitions, ADC specs, and package mechanical drawings.
- Reference Manual (RM0016): STM8S Series — Complete register-level documentation covering all STM8S peripherals and alternate-function mappings.
- Bluejay GitHub:
mathiasvr/bluejay— Modern BLHeli_S fork with full STM8S005K6 target support, bidirectional DShot, variable PWM, and ESC configuration tool. - BLHeliSuite32: Free Windows configuration tool for BLHeli_S and Bluejay ESCs — flash firmware, configure settings, and view telemetry.
- STVD + COSMIC: Free development toolchain for custom firmware development and debugging via SWIM interface.
Request a Quote
SUPERB Automation supplies genuine STMicroelectronics STM8S005K6T6C MCUs with full traceability and batch-level QA documentation. With 32 KB Flash and a 10-channel ADC, the STM8S005K6 is the upgrade path for S003-based designs needing more memory and sensor inputs — pin-compatible, cost-effective, and fully supported by the Bluejay ESC firmware ecosystem. Whether you need prototype quantities for ESC firmware development or production volumes for drone BMS and PDB controller manufacturing, we source through verified channels with competitive lead times. Contact us with your target quantity, delivery date, and any special packaging or marking requirements — we'll respond with a detailed quotation within 24 hours.