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

- Shipping:

Inventory:3,694
Please send an inquiry. Send us your inquiry, and we will respond immediately.
Product details
Overview
STM8AL3138TCY from STMicroelectronics is an AEC-Q100 qualified automotive-grade 8-bit ultra-low-power MCU featuring 32 Kbyte Flash, 2 Kbyte RAM, 1 Kbyte data EEPROM, 12-bit ADC (25 channels, up to 1 Mbps), 12-bit DAC with output buffer, two ultra-low-power comparators, RTC with BCD calendar and auto-wakeup, and multiple timers including a 16-bit advanced control timer for motor control. It operates from 1.8 V to 3.6 V across –40 °C to 125 °C and targets battery-powered automotive body electronics such as smart sensors and dashboard modules.
For engineers reviewing the STM8AL3138TCY datasheet, STM8AL3138TCY pinout, STM8AL3138TCY application, or STM8AL3138TCY equivalent, key selection criteria include its 400 nA halt-mode current, 4.7 µs wakeup time, 1.3 μA active-halt mode with full RTC, 41 mappable I/Os, and support for LIN 2.0, IrDA, and ISO 7816 interfaces in automotive embedded systems.
Technical Context
The STM8AL3138TCY implements a Harvard-architecture STM8 core with 3-stage pipeline, delivering 16 CISC MIPS at 16 MHz. Its clock system integrates dual crystal oscillators (1–16 MHz HSE and 32 kHz LSE), factory-trimmed 16 MHz RC, and 38 kHz low-consumption RC with clock security system.
Power management includes five configurable low-power modes-Wait, low-power run (5.1 μA), low-power wait (3 μA), active-halt with RTC (1.3 μA), and halt with PDR (400 nA)-and supports fast wake-up from Halt in 4.7 µs. The device features SWIM-based non-intrusive debugging and on-chip bootloader via USART.
Key Specifications
| Parameter | Value and Actual Design Meaning |
|---|---|
| Core Architecture | STM8 8-bit Harvard architecture with 3-stage pipeline, 16 MIPS peak at 16 MHz |
| Operating Voltage | 1.8 V to 3.6 V (down to 1.65 V in power-down mode) |
| Temperature Range | –40 °C to +125 °C, AEC-Q100 Grade 0 qualified |
| Halt Mode Current | 400 nA with PDR enabled, enabling multi-year battery operation in dormant states |
| ADC Performance | 12-bit resolution, 25-channel multiplexer, 1 MSPS sampling rate with internal temp sensor & reference |
| DAC Output | 12-bit DAC with integrated output buffer, available on PB4–PB6 pins |
| RTC Accuracy | 0.95 ppm resolution with auto-wakeup from Halt using external 32 kHz crystal |
| I/O Count | Up to 41 I/Os, all individually mappable to interrupt vectors for flexible peripheral routing |
Pinout & Package
LQFP48 package (7 × 7 mm, 0.5 mm pitch), RoHS-compliant, ECOPACK2 certified.
| Pin/Terminal | Circuit Role | Design Meaning |
|---|---|---|
| VDD, VSS | Power supply and ground | Dual VDD/VSS pairs ensure stable core and I/O domain operation under automotive transients |
| NRST | Active-low reset input | Configurable reset threshold (5 options) with ultra-low-power POR/PDR and programmable voltage detector |
| PA0–PA7, PB0–PB7, PC0–PC7, PD0–PD7, PE0–PE7 | General-purpose I/Os | 41 total I/Os; all support external interrupts, most configurable as analog inputs or alternate functions (SPI/I2C/USART) |
| OSC_IN / OSC_OUT | HSE crystal oscillator interface | Supports 1–16 MHz external crystal for precise timing; paired with clock security system for fail-safe detection |
| LSE_IN / LSE_OUT | LSE crystal oscillator interface | Drives 32 kHz external crystal for RTC and ultra-low-power wake-up timer |
| SWIM | Single-wire interface for debug & programming | Enables non-intrusive in-circuit debugging and fast on-chip flash programming without halting CPU |
| BOOT1 | Boot mode selection | Controls boot source: system memory (bootloader), main flash, or embedded SRAM |
Key Features
| Feature | Design Value |
|---|---|
| Ultra-low-power RTC | BCD calendar with alarm and periodic interrupt; maintains timekeeping in active-halt mode at 1.3 μA |
| Dual comparator system | One rail-to-rail comparator with fixed threshold and one with adjustable threshold; both support wake-up from low-power modes |
| Motor control timer | TIM1: 16-bit advanced control timer with 3 complementary PWM channels, dead-time insertion, and fault protection |
| Communication flexibility | USART supports ISO 7816 (smart card), IrDA, LIN 1.3/2.0; I2C runs at 400 kHz SMBus/PMBus; SPI with DMA support |
| Memory reliability | 32 Kbyte Flash with 20-year data retention at 55 °C; 1 Kbyte true data EEPROM rated for 300 kcycles endurance |
Applications
| Automotive Smart Sensor Node | Body Control Module (BCM) Subsystem |
|---|---|
Use Scenario: Low-power tire pressure monitoring system (TPMS) with periodic wake-up, sensor readout, and RF transmission. IC Role / Device Role / Timing Role: Primary MCU managing pressure/temp sensing, RTC-triggered wake-up, and LIN bus communication to gateway. Use Value: 400 nA halt current extends battery life beyond 10 years; 4.7 µs wake-up ensures timely response to pressure events. |
Use Scenario: Interior lighting control unit with dimming, occupancy sensing, and LIN-connected status reporting. IC Role / Device Role / Timing Role: Central controller executing PWM dimming via TIM1, reading capacitive touch inputs, and communicating over LIN 2.0. Use Value: Integrated 12-bit DAC drives analog backlight control; 41 mappable I/Os simplify PCB layout for mixed-signal integration. |
| Dashboard Cluster Interface | Automotive HVAC Control Panel |
Use Scenario: Driver information display with real-time vehicle data overlay and button feedback. IC Role / Device Role / Timing Role: Secondary MCU handling CAN/LIN message parsing, LED driver control, and beeper tone generation. Use Value: Beeper timer supports 1/2/4 kHz tones for UI feedback; 12-bit ADC reads potentiometer and thermistor inputs directly. |
Use Scenario: Climate control panel with rotary encoder, temperature display, and fan speed regulation. IC Role / Device Role / Timing Role: Dedicated controller managing quadrature encoder input, LCD segment drive (via GPIO emulation), and PWM fan control. Use Value: Two 16-bit general-purpose timers decode encoder position; ultra-low leakage per I/O (50 nA) prevents parasitic drain in always-on panels. |
Equivalent & Alternatives
The following parts are listed as comparable options for similar ultra-low-power automotive MCU applications.
| Alternative Part | Technical Difference | Application Difference | Selection Advice |
|---|---|---|---|
| STM8AL3L48TCY | Includes integrated LCD controller supporting up to 4×28 segments; same Flash/RAM/low-power specs | Required for automotive instrument clusters or HVAC displays needing direct segment drive | Select when LCD interface is mandatory; otherwise STM8AL3138TCY offers lower cost and identical core functionality |
| RL78/F13-GB | Renesas RL78 core, 20 MHz max, 32 Kbyte Flash, 4 Kbyte RAM, 1.6–5.5 V operation, 280 nA STOP mode | Broad industrial/automotive use; supports more USB-capable variants but lacks LIN 2.0 native stack | Prefer for designs requiring wider voltage range or USB connectivity; STM8AL3138TCY better fits LIN-centric automotive body nodes |
Compared with STM8AL3138TCY, STM8AL3L48TCY adds LCD driving capability at identical power and performance, while RL78/F13-GB trades LIN 2.0 integration and AEC-Q100 Grade 0 assurance for broader voltage tolerance and deeper STOP-mode current reduction.
Availability
STM8AL3138TCY is available at Aetrix Electronics and suitable for automotive body electronics, battery-powered sensor nodes, and dashboard interface modules requiring stable component supply across extended temperature and long lifecycle demands.
Supply support for STM8AL3138TCY 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 devices, sensors, and analog ICs for automotive, industrial, and consumer markets.
The STM8AL3x series is part of ST's automotive ultra-low-power MCU portfolio, engineered specifically for battery-sensitive automotive body and convenience applications where AEC-Q100 compliance, sub-μA power states, and robust communication peripherals are essential.
FAQ
What is the maximum operating frequency and core performance of the STM8AL3138TCY?
The STM8AL3138TCY operates at a maximum frequency of 16 MHz and delivers 16 CISC MIPS peak performance using its Harvard-architecture 3-stage pipeline STM8 core. Its instruction set includes 68 basic instructions with 8-bit data path and efficient addressing modes optimized for deterministic real-time control in automotive environments.
Does the STM8AL3138TCY support LIN 2.0 communication natively?
Yes, the STM8AL3138TCY's USART peripheral supports LIN 2.0 protocol natively through hardware-assisted break detection, sync field handling, and identifier checksum verification. It also supports LIN 1.3, ISO 7816, and IrDA physical layers without external transceivers, simplifying automotive network node design.
How many low-power modes does the STM8AL3138TCY offer, and what are their typical current draws?
The STM8AL3138TCY provides five distinct low-power modes: Wait (full clock active), low-power run (5.1 μA), low-power wait (3 μA), active-halt with RTC (1.3 μA), and halt with PDR (400 nA). All modes retain RAM content and support fast wake-up-4.7 µs from Halt-enabling responsive, energy-efficient automotive subsystems.
Is the STM8AL3138TCY pin-compatible with other members of the STM8AL313x family?
Yes, the STM8AL3138TCY in LQFP48 package shares identical pinout with other STM8AL313x/4x/6x variants in the same package option (e.g., STM8AL3136TCY, STM8AL3148TCY). Differences lie only in Flash size, EEPROM allocation, and peripheral enablement-verified by ST's device summary table and pin description section in DS7106 Rev 9.
STM8AL3138TCY Specifications
- Product attributes
- Attribute value
- Manufacturer:
- STMicroelectronics
- Package/Case:
- 48-LQFP
- Series:
- STM8A
- Packaging:
- Tray
- Product Status:
- Active
- Programmable:
- Not Verified
- Core Processor:
- STM8A
- Core Size:
- 8-Bit
- Speed:
- 16MHz
- Connectivity:
- I2C, IrDA, LINbus, SPI, UART/USART
- Peripherals:
- Brown-out Detect/Reset, DMA, POR, PWM, WDT
- Number of I/O:
- 41
- Program Memory Size:
- 8KB (8K x 8)
- Program Memory Type:
- FLASH
- EEPROM Size:
- 1K x 8
- RAM Size:
- 2K x 8
- Voltage - Supply (Vcc/Vdd):
- 1.65V ~ 3.6V
- Data Converters:
- A/D 25x12b; D/A 1x12b
- Oscillator Type:
- Internal
- Operating Temperature:
- -40°C ~ 125°C (TA)
- Grade:
- Automotive
- Qualification:
- AEC-Q100
- Mounting Type:
- Surface Mount
- Supplier Device Package:
STM8AL3138TCY FAQ
1.How can I place an order for STM8AL3138TCY through Aetrix?
Please submit a Request for Quotation (RFQ) for STM8AL3138TCY 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 STM8AL3138TCY reliable?
The price and inventory of STM8AL3138TCY are updated periodically and may fluctuate due to market conditions. Stock and pricing data are typically refreshed every 24 hours. Quotation validity for STM8AL3138TCY is usually 5 days.
3.What payment methods are accepted for STM8AL3138TCY?
We accept Wire Transfer, PayPal, Credit Card, Western Union, MoneyGram, and Escrow for STM8AL3138TCY transactions.
Note: Certain payment methods may incur a processing fee.
4.How is shipping managed for STM8AL3138TCY?
STM8AL3138TCY orders can be shipped via leading logistics carriers, including DHL, UPS, FedEx, TNT, or Registered Mail.
Once your STM8AL3138TCY 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 STM8AL3138TCY?
For technical support, including STM8AL3138TCY datasheets, pinout diagrams, or application guidance, please contact our engineering support team. They can provide detailed documentation and assistance for your STM8AL3138TCY requirements.
6.How does Aetrix verify that STM8AL3138TCY is sourced from the original manufacturer or authorized distributors?
All STM8AL3138TCY 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 STM8AL3138TCY meets industry standards.
7.What is the process for return or replacement of STM8AL3138TCY?
All STM8AL3138TCY units undergo pre-shipment inspection (PSI). If there is an issue with STM8AL3138TCY, 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 STM8AL3138TCY part is unused and in its original packaging.
Return procedure for STM8AL3138TCY:
1.Submit a request within 90 days.
2.Obtain a Return Material Authorization (RMA) from Aetrix.
STM8AL3138TCY 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…

