STM8AL3138

Active
Education

Automotive 8-bit ultra-low-power MCU with 8 Kbytes Flash, LIN, RTC, data EEPROM, timers, USARTs, I2C, SPIs, ADC, DAC, COMPs

Download datasheet
Overview
Online design
Sample & Buy
Solutions
Documentation
CAD Resources
Tools & Software
Quality & Reliability
Partner products
Sales Briefcase

Product overview

Description

The medium-density STM8AL313x/4x/6x and STM8AL3L4x/6x devices are members of the STM8AL automotive ultra-low-power 8-bit family. The medium-density STM8AL3xxx family operates from 1.8 V to 3.6 V (down to 1.65 V at power down) and is available in the -40 to +85°C and -40 to +125°C temperature ranges. The medium-density STM8AL3xxx ultra-low-power family features the enhanced STM8 CPU core providing increased processing power (up to 16 MIPS at 16 MHz) while maintaining the advantages of a CISC architecture with improved code density, a 24-bit linear addressing space and an optimized architecture for low power operations.
The family includes an integrated debug module with a hardware interface (SWIM) which allows non-intrusive In-Application debugging and ultrafast Flash programming.
All medium-density STM8AL3xxx microcontrollers feature embedded data EEPROM and low power low-voltage single-supply program Flash memory.
They incorporate an extensive range of enhanced I/Os and peripherals.
The modular design of the peripheral set allows the same peripherals to be found in different ST microcontroller families including 32-bit families. This makes any transition to a different family very easy, and simplified even more by the use of a common set of development tools.
Two different packages are proposed which include 32 and 48 pins. Depending on the device chosen, different sets of peripherals are included.
All STM8AL3xxx ultra-low-power products are based on the same architecture with the same memory mapping and a coherent pinout.
  • All features

    • AEC-Q100 qualified
    • Operating conditions
      • Operating power supply range 1.8 V to 3.6 V (down to 1.65 V at power down)
      • Temperature range: - 40 °C to 85 or 125 °C
    • Low power features
      • Five low-power modes: Wait, low-power run (5.1 μA), low-power wait (3 μA), active-halt with full RTC (1.3 μA), halt with PDR (400 nA)
      • Run from Flash: 195 μA/MHz + 440 μA
      • Run from RAM: 90 μA/MHz + 400 μA
      • Ultra-low leakage per I/0: 50 nA
      • Fast wakeup from Halt: 4.7 μs
    • Advanced STM8 core
      • Harvard architecture and 3-stage pipeline
      • Max freq. 16 MHz, 16 CISC MIPS peak
      • Up to 40 external interrupt sources
    • Reset and supply management
      • Low power, ultra safe BOR reset with 5 selectable thresholds
      • Ultra-low power POR/PDR
      • Programmable voltage detector (PVD)
    • Clock management
      • 1 to 16 MHz crystal oscillator
      • 32 kHz crystal oscillator
      • Internal 16 MHz factory-trimmed RC
      • Internal 38 kHz low consumption RC
      • Clock security system
    • Low power RTC
      • BCD calendar with alarm interrupt
      • Auto-wakeup from Halt (0.95 ppm resolution) w/ periodic interrupt
    • LCD: up to 4x28 segments w/ step-up converter
    • Memories
      • Program memory: up to 32 Kbyte Flash program; data retention 20 years at 55 °C
      • Data memory: up to 1 Kbyte true data EEPROM; endurance 300 kcycle
      • RAM: up to 2 Kbyte
    • DMA
      • Four channels; supported peripherals: ADC, DAC, SPI, I2C, USART, timers
      • One channel for memory-to-memory
    • 12-bit DAC with output buffer
    • 12-bit ADC up to 1 Mbps/25 channels
      • Temp sensor and internal reference voltage
    • Two ultra-low-power comparators
      • One with fixed threshold and one rail to rail
      • Wakeup capability
    • Timers
      • Two 16-bit timers with two channels (used as IC, OC, PWM), quadrature encoder
      • One 16-bit advanced control timer with three channels, supporting motor control
      • One 8-bit timer with 7-bit prescaler
      • Two watchdogs: one window, one independent
      • Beeper timer with 1-, 2- or 4 kHz frequencies
    • Communication interfaces
      • Synchronous serial interface (SPI)
      • Fast I2C 400 kHz SMBus and PMBus
      • USART (ISO 7816 interface, IrDA, LIN 1.3, LIN 2.0)
    • Up to 41 I/Os, all mappable on interrupt vectors
    • Development support
      • Fast on-chip programming and non intrusive debugging with SWIM
      • Bootloader using USART
    • 96-bit unique ID

Circuit Diagram

More from the product line

You might also like...

Recommended for you

All tools & software

    • Part number
      Status
      Description
      Type
      Supplier

      CYCLONE

      Active

      Automated, Stand-Alone Production Programmer, Debug & Test.

      Hardware Development Tools for STM32 P&E Microcomputer Systems
      CYCLONE

      Description:

      Automated, Stand-Alone Production Programmer, Debug & Test.

      CYCLONE FX

      Active

      Automated, Stand-Alone Production Programmer, Debug & Test.

      Hardware Development Tools for STM32 P&E Microcomputer Systems
      CYCLONE FX

      Description:

      Automated, Stand-Alone Production Programmer, Debug & Test.

      Lauterbach PowerDebug for STM8

      Active

      Debug Solution for STM8 series.

      Hardware Development Tools for STM8 MCUs Lauterbach
      Lauterbach PowerDebug for STM8

      Description:

      Debug Solution for STM8 series.

      Production Flash Programmer

      Active

      Flash and Gang Programmer for STM32, STM8, and BlueNRG MCUs.

      Development Tool Hardware from Partners Elprotronic
      Production Flash Programmer

      Description:

      Flash and Gang Programmer for STM32, STM8, and BlueNRG MCUs.

      ST-LINK/V2

      Active

      ST-LINK/V2 in-circuit debugger/programmer for STM8 and STM32

      Hardware Development Tools for STM32 ST
      ST-LINK/V2

      Description:

      ST-LINK/V2 in-circuit debugger/programmer for STM8 and STM32

      STLINK-V3SET

      Active

      STLINK-V3 modular in-circuit debugger and programmer for STM32/STM8

      Programming Hardware for STM32 MCUs ST
      STLINK-V3SET

      Description:

      STLINK-V3 modular in-circuit debugger and programmer for STM32/STM8
    • Part number
      Status
      Description
      Type
      Supplier

      HCC Bootloaders

      Active

      HCC has developed optimized bootloaders for many years and has a range of high quality solutions that will fit almost any scenario.

      STM32 3rd-party Embedded Software HCC Embedded
      HCC Bootloaders

      Description:

      HCC has developed optimized bootloaders for many years and has a range of high quality solutions that will fit almost any scenario.

      HCC FAT File System

      Active

      HCC is renowned for its deep knowledge of flash storage media. In embedded systems, it is not possible to achieve the required efficiency, performance or reliability with a single file system.

      STM32 3rd-party Embedded Software HCC Embedded
      HCC FAT File System

      Description:

      HCC is renowned for its deep knowledge of flash storage media. In embedded systems, it is not possible to achieve the required efficiency, performance or reliability with a single file system.

      HCC Fail-safe File System

      Active

      All Flash File Systems with fail-safe mechanisms for STM32, from HCC Embedded.

      STM32 3rd-party Embedded Software HCC Embedded
      HCC Fail-safe File System

      Description:

      All Flash File Systems with fail-safe mechanisms for STM32, from HCC Embedded.

      STM8-SafeCLASSB

      Active

      Functional safety package to achieve IEC 60730 Class B certification with the STM8

      STM8 Embedded Software ST
      STM8-SafeCLASSB

      Description:

      Functional safety package to achieve IEC 60730 Class B certification with the STM8

      STM8S-TOUCH-LIB

      Active

      STM8S touch-sensing library

      STM8 Embedded Software --
      STM8S-TOUCH-LIB

      Description:

      STM8S touch-sensing library

      STSW-STM8004

      Active

      STM8 optimized I2C examples (AN3281)

      STM8 Embedded Software ST
      STSW-STM8004

      Description:

      STM8 optimized I2C examples (AN3281)

      STSW-STM8006

      Active

      Example of implementation of user bootloader (AN2659)

      STM8 Embedded Software ST
      STSW-STM8006

      Description:

      Example of implementation of user bootloader (AN2659)

      STSW-STM8016

      Active

      STM8L15x/16x/05x/AL3Lx/AL31x standard peripheral library

      STM8 Embedded Software ST
      STSW-STM8016

      Description:

      STM8L15x/16x/05x/AL3Lx/AL31x standard peripheral library

      STSW-STM8045

      Active

      Audio software codec for the STM8S

      STM8 Embedded Software ST
      STSW-STM8045

      Description:

      Audio software codec for the STM8S

      STSW-STM8046

      Active

      Audio software codec for STM8L15xxx and STM8AL31xx/STM8AL3Lxx (AN3225)

      STM8 Embedded Software ST
      STSW-STM8046

      Description:

      Audio software codec for STM8L15xxx and STM8AL31xx/STM8AL3Lxx (AN3225)

      STSW-STM8048

      Active

      Precision improvement techniques for the A/D converter of the STM8 microcontroller (AN2719)

      STM8 Embedded Software ST
      STSW-STM8048

      Description:

      Precision improvement techniques for the A/D converter of the STM8 microcontroller (AN2719)

      STSW-STM8049

      Active

      Basic in-application programming example using the STM8 I2C and SPI peripherals (AN2737)

      STM8 Embedded Software ST
      STSW-STM8049

      Description:

      Basic in-application programming example using the STM8 I2C and SPI peripherals (AN2737)

      STSW-STM8062

      Active

      STM8 in-application programming (IAP) using a customized bootloader (AN2659)

      STM8 Embedded Software ST
      STSW-STM8062

      Description:

      STM8 in-application programming (IAP) using a customized bootloader (AN2659)

      STSW-STM8064

      Active

      Setup screensaver STM8 1024x768

      STM8 Embedded Software ST
      STSW-STM8064

      Description:

      Setup screensaver STM8 1024x768

      STSW-STM8065

      Active

      Setup screensaver STM8 1280x1024

      STM8 Embedded Software ST
      STSW-STM8065

      Description:

      Setup screensaver STM8 1280x1024

      STSW-STM8068

      Active

      Erase/write routines for STM8 ROM bootloader (UM0560)

      STM8 Embedded Software ST
      STSW-STM8068

      Description:

      Erase/write routines for STM8 ROM bootloader (UM0560)

      STSW-STM8076

      Active

      Analog-to-digital converter on STM8L and STM8AL devices: description and precision improvement techniques

      STM8 Embedded Software ST
      STSW-STM8076

      Description:

      Analog-to-digital converter on STM8L and STM8AL devices: description and precision improvement techniques

      STSW-STM8A-LIN

      Active

      STM8A LIN 2.1 software package

      STM8 Embedded Software ST
      STSW-STM8A-LIN

      Description:

      STM8A LIN 2.1 software package
    • Part number
      Status
      Description
      Type
      Supplier

      STM8A-DISCOVERY

      Active

      Discovery kit with STM8AF5288 and STM8AL3L68 MCUs

      STM8 MCU Eval Boards ST
      STM8A-DISCOVERY

      Description:

      Discovery kit with STM8AF5288 and STM8AL3L68 MCUs
    • Part number
      Status
      Description
      Type
      Supplier

      CXSTM8

      Active

      C Compiler and associated tools for the STM8 family

      STM8 IDEs Cosmic Software
      CXSTM8

      Description:

      C Compiler and associated tools for the STM8 family

      FLASHER-STM8

      Active

      STM8 Flash loader demonstrator (UM0462)

      STM8 Programmers ST
      FLASHER-STM8

      Description:

      STM8 Flash loader demonstrator (UM0462)

      IAR C-STAT

      Active

      Static analysis tool; add-on product to IAR Embedded Workbench

      STM32 Utilities IAR Systems
      IAR C-STAT

      Description:

      Static analysis tool; add-on product to IAR Embedded Workbench

      IAR Embedded Workbench for STM8 - Functional Safety

      Active

      Integrated Development Environment.

      STM8 IDEs IAR Systems
      IAR Embedded Workbench for STM8 - Functional Safety

      Description:

      Integrated Development Environment.

      IAR Visual State

      Active

      State-machine modelling tool

      STM32 Utilities IAR Systems
      IAR Visual State

      Description:

      State-machine modelling tool

      RIDE-STM8

      Active

      Raisonance branded integrated development environment for STM8 MCUs

      STM8 IDEs Raisonance
      RIDE-STM8

      Description:

      Raisonance branded integrated development environment for STM8 MCUs

      STM-STUDIO-STM8

      Active

      STM Studio run-time variables monitoring and visualization tool for STM8 microcontrollers

      STM8 Performance and Debuggers ST
      STM-STUDIO-STM8

      Description:

      STM Studio run-time variables monitoring and visualization tool for STM8 microcontrollers

      STM8CubeMX

      Active

      STM8Cube configuration and report tool

      STM8 Configurators and Code Generators ST
      STM8CubeMX

      Description:

      STM8Cube configuration and report tool

      STVD-STM8

      Active

      ST Visual develop IDE for developing ST7 and STM8 applications

      STM8 IDEs ST
      STVD-STM8

      Description:

      ST Visual develop IDE for developing ST7 and STM8 applications

      STVP-LIB-STM8

      Active

      STVP programming toolkit: C++ source files for creating PC programming interface

      STM8 Programmers ST
      STVP-LIB-STM8

      Description:

      STVP programming toolkit: C++ source files for creating PC programming interface

      STVP-STM8

      Active

      ST Visual Programmer STM8

      STM8 Programmers ST
      STVP-STM8

      Description:

      ST Visual Programmer STM8
    • Part number
      Status
      Description
      Type
      Supplier

      IAR Academy

      Active

      Technical training with embedded experts

      Trainings IAR Systems
      IAR Academy

      Description:

      Technical training with embedded experts

      NewTec Functional Safety Training

      Active

      Functional Safety Training, introduction and guidance to Safety and standards, esp IEC61508 and ISO13849.

      Trainings NewTec
      NewTec Functional Safety Training

      Description:

      Functional Safety Training, introduction and guidance to Safety and standards, esp IEC61508 and ISO13849.

      ST Trainings

      Active

      STM32, STM8 and ST Ecosystem trainings.

      Trainings MASTERS
      ST Trainings

      Description:

      STM32, STM8 and ST Ecosystem trainings.

EDA Symbols, Footprints and 3D Models

STMicroelectronics - STM8AL3138

Speed up your design by downloading all the EDA symbols, footprints and 3D models for your application. You have access to a large number of CAD formats to fit with your design toolchain.

Symbols

Symbols

Footprints

Footprints

3D model

3D models

Quality and Reliability

Part Number Marketing Status Package Grade RoHS Compliance Grade Material Declaration**
STM8AL3138TAY
Active
LQFP 48 7x7x1.4 mm Automotive Ecopack2
STM8AL3138TCX
Active
LQFP 48 7x7x1.4 mm Automotive Ecopack2
STM8AL3138TCY
Active
LQFP 48 7x7x1.4 mm Automotive Ecopack2

STM8AL3138TAY

Package:

LQFP 48 7x7x1.4 mm

Material Declaration**:

PDF XML

Marketing Status

Active

Package

LQFP 48 7x7x1.4 mm

Grade

Automotive

RoHS Compliance Grade

Ecopack2

STM8AL3138TCX

Package:

LQFP 48 7x7x1.4 mm

Material Declaration**:

PDF XML

Marketing Status

Active

Package

LQFP 48 7x7x1.4 mm

Grade

Automotive

RoHS Compliance Grade

Ecopack2

STM8AL3138TCY

Package:

LQFP 48 7x7x1.4 mm

Material Declaration**:

PDF XML

Marketing Status

Active

Package

LQFP 48 7x7x1.4 mm

Grade

Automotive

RoHS Compliance Grade

Ecopack2

(**) The Material Declaration forms available on st.com may be generic documents based on the most commonly used package within a package family. For this reason, they may not be 100% accurate for a specific device. Please contact our sales support for information on specific devices.

Sample & Buy

Part Number
Order from Distributors
Order from ST
Marketing Status
ECCN (US)
ECCN (EU)
Packing Type
Package
Temperature (°C) Country of Origin
Budgetary Price (US$)*/Qty
min
max
STM8AL3138TCY No availability of distributors reported, please contact our sales office
Active
EAR99 NEC Tray LQFP 48 7x7x1.4 mm -40 125 MALAYSIA 0.9522 / 10k
STM8AL3138TAY No availability of distributors reported, please contact our sales office
Active
EAR99 NEC Tray LQFP 48 7x7x1.4 mm -40 85 MALAYSIA 0.89 / 10k
STM8AL3138TCX No availability of distributors reported, please contact our sales office
Active
EAR99 NEC Tape And Reel LQFP 48 7x7x1.4 mm -40 125 MALAYSIA 0.9522 / 10k

STM8AL3138TCY

Marketing Status

Active

ECCN (US)

EAR99

Budgetary Price (US$)*/Qty

0.9522 / 10k

ECCN (EU)

NEC

Packing Type

Tray

Package

LQFP 48 7x7x1.4 mm

Operating Temperature (°C)

(min)

-40

(max)

125

Budgetary Price (US$)* / Qty

0.9522 / 10k

Country of Origin

MALAYSIA

STM8AL3138TAY

Marketing Status

Active

ECCN (US)

EAR99

Budgetary Price (US$)*/Qty

0.89 / 10k

ECCN (EU)

NEC

Packing Type

Tray

Package

LQFP 48 7x7x1.4 mm

Operating Temperature (°C)

(min)

-40

(max)

85

Budgetary Price (US$)* / Qty

0.89 / 10k

Country of Origin

MALAYSIA

STM8AL3138TCX

Marketing Status

Active

ECCN (US)

EAR99

Budgetary Price (US$)*/Qty

0.9522 / 10k

ECCN (EU)

NEC

Packing Type

Tape And Reel

Package

LQFP 48 7x7x1.4 mm

Operating Temperature (°C)

(min)

-40

(max)

125

Budgetary Price (US$)* / Qty

0.9522 / 10k

Country of Origin

MALAYSIA

(*) Suggested Resale Price (USD) per defined quantity for BUDGETARY USE ONLY. For quotes, prices in local currency, please contact your local ST Sales Office or our Distributors