STMicroelectronics STM8L050J3M3
- Part No.:
- STM8L050J3M3
- Manufacturer:
- STMicroelectronics
- Category:
- Microcontrollers
- Package:
- 8-SOIC (0.154", 3.90mm Width)
- Datasheet:
-
STM8L050J3M3.pdf
- Description:
- IC MCU 8BIT 8KB FLASH 8SOIC
- Quantity:
- Payment:

- Shipping:

Inventory:3,598
Please send an inquiry. Send us your inquiry, and we will respond immediately.
Product details
Overview
STM8L050J3 from STMicroelectronics is an 8-bit ultra-low-power microcontroller featuring 8 Kbytes of Flash, 256 bytes of data EEPROM with ECC, a BCD real-time clock (RTC) with ±0.5 ppm digital calibration, two 16-bit timers, a 12-bit ADC up to 1 Msps, and dual ultra-low-power comparators - deployed in battery-powered sensor nodes and portable medical devices requiring sub-µA active-halt operation.
For engineers reviewing the STM8L050J3 datasheet, STM8L050J3 pinout, STM8L050J3 application, or STM8L050J3 equivalent, key selection criteria include Halt-mode current (350 nA), RTC accuracy under LSE (±0.5 ppm), 1.8–3.6 V operating range, and SWIM-based non-intrusive debugging support for rapid firmware iteration.
Technical Context
The STM8L050J3 implements a Harvard-architecture STM8 core with 3-stage pipeline, delivering 16 CISC MIPS at 16 MHz while supporting five low-power modes - including Active-halt with RTC (1.3 µA) and Halt (350 nA) - enabled by independent voltage regulator and ultra-low leakage I/Os (50 nA per pin).
Its clock system integrates three oscillators: factory-trimmed 16 MHz RC, 38 kHz low-consumption RC, and external 32 kHz crystal (LSE), all managed via Clock Security System (CSS); the RTC operates autonomously in Halt mode with periodic auto-wakeup capability and LSE security monitoring.
Key Specifications
| Parameter | Value and Actual Design Meaning |
|---|---|
| Core Architecture | 8-bit STM8 Harvard core with 3-stage pipeline, 16 MIPS peak at 16 MHz - enables deterministic real-time control in resource-constrained edge nodes. |
| Power Supply Range | 1.8 V to 3.6 V - supports direct connection to single-cell Li-ion/LiFePO₄ or two-cell alkaline batteries without regulation. |
| Halt Mode Current | 350 nA at 25 °C - sustains RTC and memory retention for >10 years on a CR2032 coin cell in always-on sensing applications. |
| RTC Accuracy | ±0.5 ppm with digital calibration - eliminates external temperature compensation in precision timekeeping for metering or logging. |
| ADC Resolution & Speed | 12-bit SAR ADC, up to 1 Msps across 4 channels with internal reference - captures fast transients in analog sensor interfaces (e.g., thermopile, strain gauge). |
| Low-Power Modes | 5 modes: Wait (1.2 µA), Low-power Run (5.1 µA), Low-power Wait (3 µA), Active-halt w/ RTC (1.3 µA), Halt (350 nA) - enables dynamic power scaling per task phase. |
| I/O Leakage | 50 nA per I/O in Halt - prevents battery drain in high-impedance sensor bias networks and wake-on-pin configurations. |
Pinout & Package
STM8L050J3 is housed in an SO8N package (4.9 × 6 mm, 150 mil body width, 1.27 mm pitch), compliant with ECOPACK® RoHS requirements and optimized for compact PCB layouts in space-constrained wearables and IoT endpoints.
| Pin/Terminal | Circuit Role | Design Meaning |
|---|---|---|
| VDD | Power supply input | Primary 1.8–3.6 V supply rail; decoupled with 100 nF capacitor near pin for stable core and analog operation. |
| VSS | Ground reference | Digital and analog ground common point; requires low-impedance connection to minimize noise coupling into ADC/comparators. |
| NRST | Active-low reset input | Accepts external reset pulse or connects to BOR/POR circuit; supports SWIM programming entry via reset sequence. |
| SWIM | Single-wire interface module | Enables non-intrusive debugging and flash programming using one pin - eliminates need for JTAG header in production firmware updates. |
| PA0–PA5 | General-purpose I/Os | 6 configurable pins with interrupt mapping; PA0 supports high-sink LED driver (20 mA), others offer ultra-low leakage (50 nA) in Halt mode. |
| OSC_IN / OSC_OUT | External crystal oscillator terminals | Supports 32 kHz LSE crystal for RTC; internal load capacitors eliminate need for external caps in basic RTC-only configurations. |
Key Features
| Feature | Design Value |
|---|---|
| Ultra-low-power RTC | BCD calendar with alarm interrupt, digital calibration (±0.5 ppm), LSE security, and auto-wakeup from Halt - enables precise time-triggered sampling without CPU intervention. |
| Dual comparators | One comparator with fixed threshold (VREFINT/4), another rail-to-rail with programmable hysteresis - supports battery voltage monitoring and zero-crossing detection without ADC overhead. |
| Flexible memory protection | Flash and EEPROM write/read protection via option bytes - prevents accidental firmware overwrite or data corruption in field-deployed devices. |
| SWIM debug interface | Single-pin, non-intrusive on-chip debugging and programming - reduces test point count and simplifies production programming fixtures. |
| Programmable voltage detector | PVD with 4 selectable thresholds (2.0–2.8 V) - triggers interrupt or reset before brownout, enabling graceful shutdown in battery-supplied systems. |
Applications
| Smart Utility Metering | Portable Medical Sensors |
|---|---|
|
Use Scenario: Battery-powered gas/water meter with hourly pulse counting, temperature compensation, and daily RF transmission. IC Role / Device Role / Timing Role: Main controller managing sensor acquisition, RTC-based scheduling, low-power UART for RF module, and EEPROM-stored calibration data. Use Value: 350 nA Halt current extends 10-year battery life; ±0.5 ppm RTC ensures accurate billing interval timing without external crystal trimming. |
Use Scenario: Disposable ECG patch recording heart rate and R-R intervals over 72 hours on a single coin cell. IC Role / Device Role / Timing Role: Signal acquisition controller using 12-bit ADC for analog front-end, dual comparators for QRS detection, and RTC for timestamped event logging. Use Value: 1.3 µA Active-halt mode maintains RTC and RAM state during sleep; 50 nA I/O leakage prevents sensor bias drift between measurements. |
| Industrial Wireless Sensor Node | Asset Tracking Beacon |
|
Use Scenario: Vibration and temperature node in predictive maintenance system, waking every 5 minutes to sample and transmit via BLE. IC Role / Device Role / Timing Role: Low-power coordinator handling accelerometer interface, SPI flash storage, I²C temperature sensor, and timed BLE wakeup via RTC alarm. Use Value: 3 µA Low-power Wait mode minimizes idle current; SWIM interface enables field firmware patches without hardware rework. |
Use Scenario: GPS-denied indoor asset tracker using RSSI-based proximity alerts and motion-triggered location pings. IC Role / Device Role / Timing Role: Motion-aware controller using comparator-driven wake-from-Halt, RTC-based beacon interval timer, and USART for GPS module handshaking. Use Value: Fast 5 µs wakeup from Halt ensures immediate response to motion events; 16 MHz core handles lightweight localization algorithms without external MCU. |
Equivalent & Alternatives
The following parts are listed as comparable options for similar ultra-low-power 8-bit microcontroller applications.
| Alternative Part | Technical Difference | Application Difference | Selection Advice |
|---|---|---|---|
| STM8L052C6 | 64 KB Flash, 2 KB RAM, additional peripherals (DAC, AES), TSSOP20 package | Requires larger PCB footprint and higher BOM cost; suited for designs needing cryptographic acceleration or analog output | Select only if extended memory or security features justify added complexity and cost over STM8L050J3's minimal footprint. |
| EFM8LB12F32ES1 | Silicon Labs 8051 core, 32 KB Flash, 2.25 KB RAM, 12-bit ADC @ 2 Msps, 10-bit DAC | Higher performance but 1.5× higher Halt current (500 nA); lacks integrated RTC calibration and SWIM simplicity | Prefer when DAC or faster ADC is mandatory; avoid if sub-µA RTC operation and single-pin debug are critical design constraints. |
Compared with STM8L050J3, STM8L052C6 offers scalability at the expense of size and cost, while EFM8LB12F32ES1 trades ultra-low-power integrity for mixed-signal flexibility - making STM8L050J3 optimal for cost-sensitive, battery-limited applications where RTC accuracy and 350 nA Halt current are non-negotiable.
Availability
STM8L050J3 is available at Aetrix Electronics and suitable for smart utility metering, portable medical sensors, industrial wireless sensor nodes, and asset tracking beacons requiring stable component supply across multi-year production cycles.
Supply support for STM8L050J3 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, MEMS, and automotive-grade components since 1987.
The STM8L Value line targets ultra-low-power embedded applications - specifically optimizing for battery longevity, RTC precision, and minimal system-level bill-of-materials in cost-sensitive IoT and portable electronics.
FAQ
Does STM8L050J3 support external 1–16 MHz crystals?
No. The STM8L050J3 supports only 32 kHz external crystals (LSE) for RTC operation. Its high-speed oscillator (HSE) input is not implemented - the maximum system clock is derived from the internal 16 MHz RC oscillator or external 32 kHz crystal multiplied via PLL (not available on this variant). This design choice prioritizes ultra-low-power RTC stability over high-frequency flexibility.
Can the 12-bit ADC operate during Low-power Run mode?
Yes. The ADC functions fully in Low-power Run mode (5.1 µA), achieving up to 1 Msps with internal reference. Conversion accuracy remains within ±2 LSB (typical) at VDDA = 3.3 V, and the peripheral clock can be sourced from HSI or LSI - enabling continuous sensor sampling while maintaining sub-µA system-level current draw.
What is the maximum sink current capability of PA0?
PA0 supports 20 mA sink current at VDD = 3.0 V with VOL ≤ 0.4 V, verified per Table 38 in DS12167 Rev 7. This allows direct driving of LEDs or small relays without external drivers - a feature absent on other I/O pins, which are limited to standard GPIO drive strength (max 10 mA sink).
Is SWIM debugging compatible with production firmware lock settings?
Yes. SWIM retains full read/write access to Flash and option bytes even when read-out protection (ROP) level 1 is enabled - allowing secure field updates without exposing source code. However, ROP level 2 permanently disables SWIM access, so level 1 is recommended for production deployments requiring post-deployment firmware upgrades.
STM8L050J3M3 Specifications
- Product attributes
- Attribute value
- Manufacturer:
- STMicroelectronics
- Package/Case:
- 8-SOIC (0.154", 3.90mm Width)
- Series:
- STM8L EnergyLite
- Packaging:
- Tray
- Product Status:
- Active
- Programmable:
- Not Verified
- Core Processor:
- STM8
- Core Size:
- 8-Bit
- Speed:
- 16MHz
- Connectivity:
- I2C, IrDA, SPI, UART/USART
- Peripherals:
- Brown-out Detect/Reset, DMA, IR, LCD, POR, PWM, WDT
- Number of I/O:
- 6
- Program Memory Size:
- 8KB (8K x 8)
- Program Memory Type:
- FLASH
- EEPROM Size:
- 256 x 8
- RAM Size:
- 1K x 8
- Voltage - Supply (Vcc/Vdd):
- 1.8V ~ 3.6V
- Data Converters:
- A/D 4x12b
- Oscillator Type:
- Internal
- Operating Temperature:
- -40°C ~ 125°C (TA)
- Grade:
- -
- Qualification:
- -
- Mounting Type:
- Surface Mount
- Supplier Device Package:
STM8L050J3M3 FAQ
1.How can I place an order for STM8L050J3M3 through Aetrix?
Please submit a Request for Quotation (RFQ) for STM8L050J3M3 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 STM8L050J3M3 reliable?
The price and inventory of STM8L050J3M3 are updated periodically and may fluctuate due to market conditions. Stock and pricing data are typically refreshed every 24 hours. Quotation validity for STM8L050J3M3 is usually 5 days.
3.What payment methods are accepted for STM8L050J3M3?
We accept Wire Transfer, PayPal, Credit Card, Western Union, MoneyGram, and Escrow for STM8L050J3M3 transactions.
Note: Certain payment methods may incur a processing fee.
4.How is shipping managed for STM8L050J3M3?
STM8L050J3M3 orders can be shipped via leading logistics carriers, including DHL, UPS, FedEx, TNT, or Registered Mail.
Once your STM8L050J3M3 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 STM8L050J3M3?
For technical support, including STM8L050J3M3 datasheets, pinout diagrams, or application guidance, please contact our engineering support team. They can provide detailed documentation and assistance for your STM8L050J3M3 requirements.
6.How does Aetrix verify that STM8L050J3M3 is sourced from the original manufacturer or authorized distributors?
All STM8L050J3M3 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 STM8L050J3M3 meets industry standards.
7.What is the process for return or replacement of STM8L050J3M3?
All STM8L050J3M3 units undergo pre-shipment inspection (PSI). If there is an issue with STM8L050J3M3, 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 STM8L050J3M3 part is unused and in its original packaging.
Return procedure for STM8L050J3M3:
1.Submit a request within 90 days.
2.Obtain a Return Material Authorization (RMA) from Aetrix.
STM8L050J3M3 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…

