Title STM STM STM EBV Elektronik

Document Sample
Title STM STM STM EBV Elektronik Powered By Docstoc
					       Title
STM8S/STM8A/STM8L
             Subtitle
  8-bit Microcontroller Families
                                                                                                                             Version 1




                                                             STM8
                                            8-bit Microcontroller Families


    STM8 stands for a platform of technologies, IPs and tools        EMBEDDED EEPROM TECHNOLOGY
    which form the basis of STMicroelectronics’ comprehensive
    family of 8-bit microcontrollers. These cover a wide range of    Based on STMicroelectronic’s in-house 130 nm non-volatile
    applications from low power and consumer electronics through     embedded technologies, STM8 families are leading the 8-bit
    home appliances and factory automation to automotive.            microcontroller market, in terms of analog, digital and NVM
                                                                     performance. This technology is highly competitive due to
    The platform provides outstanding levels of digital and analog   the outstanding integration level.
    performance combined with a high level of cost-effectiveness.
                                                                     Based on this technology, all STM8 devices feature real
    Implemented around a high-performance 8-bit core and a           data EEPROM with read while write capability. This means
    state-of-the-art set of peripherals, the microcontrollers in     an easy to use data NVM eliminating the need for complex
    the STM8 family are manufactured using an ST-proprietary         EEPROM emulation software.
    130nm embedded non-volatile memory technology.
                                                                     The performance of the integrated EEPROM is at the same
                                                                     level as standalone devices, meeting even the most demanding
    STM8 CORE                                                        automotive reliability standards.


    The STM8 core is an evolution of the industry standard ST7
    core. It has been significantly improved to reach 1.6 cycles     LOW POWER TECHNOLOGY
    per instruction and up to 24MHz clock frequency.
                                                                     The ultra-low-power design (clock gating, low-power Flash
                                                                     with power-off capability) ensures reduced overall run and wait
                   Complete instructions                             mode current consumption by turning off clocks of unused
                                                                     peripherals or Flash. Multiple modular technology options
                                                                     allow to implement solutions for high speed, ultra low leakage
                       B4 B3 B2 B1                                   and power, high integration level or analog performance.

                            32-bit          Data
                           memory          memory                    RICH PORTFOLIO

                                                                     Up to 128 Kbytes of program memory, up to 80-pin packages,
                              Fetch                                  and 145 °C max. operating temperature make the STM8 a
                                                                                                                                          All statements are without any engagement. Subject to modifications and amendments.
            3-stage          Decode                                  perfect fit for strategic platform choices and facilitates  re-use
            pipeline       Execute                                   of design concepts.
                                        STM8 core

                                                                     LARGE VOLTAGE RANGE
    The key features of the STM8 core are
    • Harvard architecture                                           With a voltage range from 1.65...5.5 V the device families
    • 16-bit index registers and stack pointer                       can cover a wide scope of application segments.
    • 32-bit memory interface and 3 stage pipeline
    • Extended instruction set
      • Enhanced stack pointer operations                            ROBUSTNESS
      • Move instruction for fast data transfer
      • Hardware division (16 / 8)                                   The products are designed to withstand a high level of external
      • Faster multiplication (8 x 8)                                disturbances, leading to robust applications without the
      • 8-bit signed arithmetic support                              expense of external protection elements. Immune against
    • Advanced addressing modes including indexed                    EMS and strong against latch-up or ESD, with built-in
      addressing                                                     checksum mechanisms, the products support IEC 60335
    • Statistically optimised instruction tables                     class B compliance.



2
Main contributors to this robustness are the clock controller      Moreover, the flexible alternate function mapping ensures all
with 2 independent watchdogs and the clock security system         communication peripherals U(S)ART, I²C or SPI are always
(CSS) as well as a protection mechanism for critical registers     available and brings the versatility of low pin count packages
and illegal opcodes.                                               to a new level.


                                           CSS       Window
          1...24 MHz XTAL                           Watchdog       DEBUG MODULE AND SWIM INTERFACE
         and External clock
                                                                   SWIM
                                                                   A single wire interface module allows direct access to the
                                    MUX
              16 MHz                               Clock Control
            Internal RC                                Unit
                                                                   debug module, the registers and the device memory. The
                                                                   interface can be activated in all device operation modes and
              128 kHz
            Internal RC                                            supports debugging and and programming of the device.
                                                     CPU &
                                          WDG      Peripherals     Debug module
                                          timer
                                                                   The non-intrusive debug module is present on each single
                                                                   STM8 device. It is hooked on the internal bus and allows
The I/Os of the devices feature a high level of robustness,        breakpoint setting and CPU monitoring and control.
against current injection when the protection diodes are
used for clamping. During reset of the micro, the I/Os are in
high impedance state.                                              IN CIRCUIT DEBUGGING

                                                                   Application debugging on microcontroller products has
           I/O                 + 4 mA injected current
                               -                                   never been easier or more affordable. Using the advanced
                                                                   single-wire SWIM interface and the integrated debug
           I/O                 < 1 µA leakage on adjacent pins     module, a simple USB adapter turns your PC into a powerful
                                                                   development tool featuring:
                                                                   • Non-intrusive debugging – no wasted target resources,
                                                                     no reserved NVM addresses, no monitor
FAMILY CONCEPT                                                     • Real-time read and write of RAM and peripheral
                                                                     registers – no wait, no stall
The compatibility within and across the families through           • On-the-fly access to CPU via shadow registers
modular peripheral set simplifies design reuse improving           • Hot-plug during application execution and post-mortem
time to market.                                                      debug
                                                                   • Unlimited breakpoints on all memory instructions
The hardware implementation in the STM8 devices provides           • Hardware breakpoints – 23 configurations
a consistent migration across the package families. Increasing     • Step-by-step code execution
or decreasing the pin count with a similar location for supply,    • Fast Flash programming
control pins or peripherals simplifies the hardware design
and validation.                                                    For the most demanding applications, ST offers the FPGA
                                                                   based STICE emulator, which complements the environment
                                                                   with solutions for code tracing, code coverage measurement
                                                                   and profiling.



                                                                   TOOLS FOR EVERYONE

                                                                   The ecosystem of performing STM8 tools is a scalable offer
                                                                   to satisfy all the needs. From free-of-charge software tools
                                                                   including free compiler licenses, to low-cost starter kits
                                                                   available in e-sampling and affordable evaluation boards
                                                                   for multiple applications, the ST tools and support solutions
                                                                   open the door to the ST microcontroller universe.


                                                                   ST’s fully tested, optimised and validated, all downloadable
                                                                   source code libraries are immediately available for new
                                                                   application developments.

    Communications        System          Timers   Analog Inputs




                                                                                                                                    3
                                                                                  STM8S
                                               MCU Family for Industrial Applications




                                                                                          STM8 Simply smarter




    STMicroelectronics’ STM8S family of general-purpose 8-bit                              FAMILY DESCRIPTION
    Flash microcontrollers offers ideal solutions for industrial
    and appliance market requirements. The true embedded                                   Upgrade to a higher or downgrade to a lower memory size
    EEPROM and the calibrated RC oscillator bring a significant                            or use a different package across lines is possible without
    cost effectiveness to the majority of applications. An easy-                           changing the initial layout or software.
    to-use and intuitive development environment contributes                               • STM8 24 MHz CPU
    improving time to market.                                                              • 8...128 Kbytes of embedded Flash, up to 6 Kbytes of
                                                                                             SRAM
                                                                                           • Many software libraries and examples for download
                     Features                                 Benefits                     • Supply voltage: 2.95 V...5.5 V
         2.95...5.5 V, -40...+125 °C range
                                                       Ideal for industrial and            • Up to four low-power modes: down to 1 µA with
                                                       appliance requirements
                                                                                             complete context retention
            Up to 20 MIPS @ 24 MHz,               Optimised core performance and
              Harvard architecture                      code-size efficiency               • State-of-the-art digital and analog peripherals
                                                Satisfies all needs with configurable      • Specific extensions like IrDa and Smartcard for support
          16-bit advanced control timer        modes, motor control, capture, compare,       of consumer applications
                                                          PWM, and others
                                                                                           • -40...+85 °C, or up to 125 °C temperature range
     Embedded true EEPROM, 300 Kcycles                   Lower system cost
                                                                                           • Free Class B self-diagnostic library for IEC 60335/IEC
                                               All essential communication peripherals
            CAN, 2xU(S)ART, SPI, I C2
                                                                                             60730 compliant applications
                                                     supporting various protocols

       Single-voltage Flash memory with           In-application programming (IAP),        • Many software libraries and examples for download
      single-byte programming granularity            in-circuit programming (ICP)

               4 low-power modes                    Efficient power management
                                                                                                   Internal RC        Clock controller                          Reset block                               2x U(S)ART
     Trimmable 16 MHz and 128 kHz internal                                                      oscillator 16 MHz                                                                                            LIN
                                                                                                                                                                                                        Smartcard / IrDA
      RC oscillators with dual independent     Reduced cost, robust clock architecture,          Xtal 1...24 MHz      Clock detector                           POR      BOR
        watchdogs and 2 μs fast switching          optimised power consumption                                                                                                                                 I2C
                                                                                                  Internal RC
             between clock sources                                                             oscillator 128 kHz
                                                                                                                                               Clocks to       1.8 V regulator                                SPI
                                                                                                                                               peripherals
                                               Reliable reset mechanism during power                                                           core
                                                                                                                                                                                 Address and data bus




            Integrated POR and BOR                                                                 STM8 core                                                                                              16-bit timer
                                                             up and down                           @ 24 MHz                                                    4...128 KB                                 4 CAPCOM +
                                                                                                                                                               Flash memory                             3 comp. outputs
     Low emission and high current injection     Outstanding EMC, no need for extra                                                                           Up to 6 KB SRAM
                                                                                                                        Address and data bus




                                                                                                                                                                                                         2x 16-bit timer
                   immunity                                  protection
                                                                                                                                                                                                          2/3 CAPCOM
                                                                                                                                                             Up to 2 KB EEPROM
              4...128 Kbyte Flash in           Package-in-package compatible across            Nested IT controller                                                                                        8-bit timer
                                                                                                                                                                 Boot ROM
              20...80 pin packages                family, ideal choice of platform                32 IT vectors
                                                                                               Up to 37 external IT                                                                                        2x watchdog
                                                                                                                                                                 10-bit ADC                             (IWDG and WWDG)
      On-chip debugging and programming        Easy to use, non-intrusive and low-cost                                                                          16 channels
                                                                                                    SWIM
      through single-wire interface, SWIM            development environment                                                                                                                                 Beeper
                                                                                                 debug module                                                                                              1/2/4 kHz
                                                                                                                                                                 CAN 2.0 B
     Up to 16-channel 10-bit ADC ±1 LSB with                                                      Up to 68 I/Os                                                                                               AWU
                                                  Fast and accurate A/D converter
       scan mode, conversion time < 3 μs




4
SIMPLE DEVICE SELECTION                                                                                 SAFETY

The STM8S family is available in two lines: the Performance                                             ST offers a Class B self-diagnostic library for IEC 60335/IEC
line and Access line. With fCPU specified up to 24 MHz, the                                             60730 compliant products. The free-of-charge library has
Performance line is ideal when processing power is needed.                                              been approved by the VDE and is ready to be included in
The Access line is an affordable solution when cost efficiency                                          the application software to enhance the robustness and the
is the main concern. Both lines share the same architecture                                             control of the application.
and peripheral set making navigation easy across the portfolio.
                                                                                                        It features a self-test library for startup and runtime:
                                                                                                        • CPU register test
  STM8S product lines                                                                                   • RAM functional test (March C and X algorithms)
            UART
      LIN/Smartcard/IrDA              STM8AS20x Performance line                                        • Flash integrity test via CRC
             I2C
     400 kHz multimaster              STM8 core   Up to     Up to      Up to                            • Watchdog self test
                                                                                CAN     2nd
               SPI                    @ 24 MHz 128 Kbytes 6 Kbytes   2 Kbytes
             10 MHz                               Flash    SRAM      EEPROM     2.0B   UART
                                                                                                        • External clock frequency measurement
     Up to 3 x 16-bit timer
          8-bit timer                                                                                   • Stack overflow check (only in runtime)
          2 x Watchdog
       (IWDG and WWDG)
            AWU
       Beeper 1/2/4 kHz
                                                                                                        In addition, the specifi c hardware robustness features
                                      STM8AS10x Access Line
          10-bit ADC
        Up to 16 channel
                                                                                                        (watchdogs, clock security system, robust I/Os) of the STM8
              XTAL
   16 kHz internal RC oscillator
                                      STM8 core
                                       @ 16 core
                                                 Up to
                                      STM8MHz 32 Kbytes
                                                            Up to
                                                          2 Kbytes
                                                                       Up to
                                                                      1 Kbyte
                                                                                                        platform support compliance with safety regulations.
  128 kHz internal RC oscillator       @ 16 MHz  Flash     SRAM      EEPROM

            SWIM
         Debug module


                                                                                                        CAPACITIVE SENSING

                                                                                                        A capacitive sensing library is available, supporting touch,
APPLICATION AREAS                                                                                       slider, wheel configurations and the STM8S touch sensing
                                                                                                        evaluation board. This library can be downloaded from the
• Appliance/Power tools                               • Motor control                                   ST website. It is the ideal solution for implementations with
• HVAC                                                • e-Vehicles                                      few buttons, and satisfies a majority of low cost applications.
• Power management                                    • Toys and game
• Lighting                                            • Sensors
• Factory automation                                  • Power supplies
                                                                                                                                                        Design elegant and
• Devices with                                        • User interfaces
                                                                                                                                                        attractive interfaces
  rechargeable batteries



STM8S DEVICE ROADMAP

        Memory size


                                                                                                        STM8S208SB STM8S208RB STM8S208MB
         128 KB
                                                                                                        STM8S207SB STM8S207RB STM8S207MB

                                                                                       STM8S208S8 STM8S208C8 STM8S208R8
          64 KB
                                                                                       STM8S207S8 STM8S207C8 STM8S207R8

                                                                                       STM8S208S6          Planned

          32 KB                                                       STM8S207K6 STM8S207S6 STM8S207C6 STM8S207R6

                                                                      STM8S105K6 STM8S105S6             STM8S105C6 STM8S105R6
                                                                                                                                                          CAN
          16 KB                                                                                                                                     Performance
                                                                      STM8S105K4 STM8S105S4 STM8S105C4
                                                                                                                                                         Access
                                                                      STM8S903K3
            8 KB                                                                                                                                        Planned
                                   Planned       STM8S103F3 STM8S103K3

            4 KB                   Planned       STM8S103F2 STM8S103K2

                                   Planned          Planned
                                                                                                                                                            Pin count
                                   < 20-pins      20-pins    32-pins                          44-pins       48-pins      64-pins         80-pins
                                                QFN / TSSOP QFN / DIP                         LQFP         LQFP 7 x 7    LQFP 14 x 14    LQFP 14 x 14
                                                    SO      LQFP 7 x 7                        10 x 10                    LQFP 10 x 10




                                                                                                                                                                                5
    MOTOR CONTROL                                                                                   AC Induction Motors
    SOFTWARE AND HARDWARE SOLUTIONS                                                                 • Speed open loop with/without load compensation
                                                                                                    • Speed closed loop
    For developers of STM8-based motor control applications, the                                       • V/f and slip control for optimised dynamic drive
    STM8S motor control starter kit (STM8/128-MCKIT) provides                                          • Maximum torque per ampere (MTPA) control for
    a complete development platform with all the hardware and                                             current-optimised drive efficiency
    software required to get applications started easily.
    Brushless DC
    Six-step drive with support for both Hall sensors and sensor
    less position feedback
    • Current or voltage mode
    • Open or closed speed loop



    STM8S PRODUCT SELECTION GUIDE
                             Flash                Data                     Timer functions                             I/Os
                                       RAM                   A/D
           Part number      memory              E2PROM                                            Serial interface    (high     Packages               Special features
                                      (bytes)               inputs          16-bit
                            (bytes)              (bytes)                                  8-bit                      current)
                                                                        (IC/OC/PWM)
                                                                           STM8S20x Performance line 2.95...5.5 V

    32 pins STM8S207K6       32 K      2K         1K       7 x 10 bit     3 (8/8/11)         1     SPI, I2C, UART               LQFP32,
                                                                                                                     25(12)      QFN32
               STM8S207S6    32 K      2K         1K       9 x 10 bit     3 (8/8/11)         1                       34(15)

               STM8S207S8    64 K      4K        1.5 K     9 x 10 bit     3 (8/8/11)         1    SPI, I2C, 2xUART   34(15)

               STM8S207SB    128 K     4K        1.5 K     9 x 10 bit     3 (8/8/11)         1                       34(15)
    44 pins                                                                                                                     LQFP44
               STM8S208S6    32 K      4K        1.5 K     9 x 10 bit     3 (8/8/11)         1                       34(15)
                                                                                                  SPI, I C, 2xUART
                                                                                                      2
               STM8S208S8    64 K      4K        1.5 K     9 x 10 bit     3 (8/8/11)         1                       34(15)
                                                                                                         CAN
               STM8S208SB    128 K     4K        1.5 K     9 x 10 bit     3 (8/8/11)         1                       34(15)
                                                            10 x 10
               STM8S208C6    32 K      6K         2K                      3 (9/9/12)         1                       38(16)
                                                              bit
                                                            10 x 10                               SPI, I2C, 2xUART
               STM8S208C8    64 K      6K         2K                      3 (9/9/12)         1                       38(16)
                                                              bit                                        CAN
                                                            10 x 10
               STM8S208CB    128 K     6K         2K                      3 (9/9/12)         1                       38(16)
                                                              bit
    48 pins                                                                                                                     LQFP48
                                                            10 x 10
               STM8S207C6    32 K      2K         1K                      3 (9/9/12)         1                       38(16)
                                                              bit                                                                          24 MHz CPU speed, BOR, SWIM, 16 MHz
                                                            10 x 10
               STM8S207C8    64 K      4K        1.5 K                    3 (9/9/12)         1    SPI, I2C, 2xUART   38(16)                 and 128 K kHz internal RC, boot ROM,
                                                              bit
                                                            10 x 10                                                                                        beeper
               STM8S207CB    128 K     6K         2K                      3 (9/9/12)         1                       38(16)
                                                              bit
                                                            16 x 10
               STM8S208R6    32 K      6K         2K                      3 (9/9/12)         1                       52(16)
                                                              bit
                                                            16 x 10                               SPI, I2C, 2xUART
               STM8S208R8    64 K      6K         2K                      3 (9/9/12)         1                       52(16)
                                                              bit                                        CAN
                                                            16 x 10
               STM8S208RB    128 K     6K         2K                      3 (9/9/12)         1                       52(16)
                                                              bit
    64 pins                                                                                                                     LQFP64
                                                            16 x 10
               STM8S207R6    32 K      2K         1K                      3 (9/9/12)         1                       52(16)
                                                              bit
                                                            16 x 10
               STM8S207R8    64 K      4K        1.5 K                    3 (9/9/12)         1    SPI, I2C, 2xUART   52(16)
                                                              bit
                                                            16 x 10
               STM8S207RB    128 K      6K        2K                      3 (9/9/12)         1                       52(16)
                                                              bit
                                                            16 x 10
               STM8S208M8    64 K      6K         2K                      3 (9/9/12)         1                       68(18)
                                                              bit                                 SPI, I2C, 2xUART
                                                            16 x 10                                      CAN
               STM8S208MB    128 K     6K         2K                      3 (9/9/12)         1                       68(18)
                                                              bit
    80 pins                                                                                                                     LQFP80
                                                            16 x 10
               STM8S207M8    64 K      6K         2K                      3 (9/9/12)         1                       68(18)
                                                              bit
                                                                                                  SPI, I2C, 2xUART
                                                            16 x 10
               STM8S207MB    128 K     6K         2K                      3 (9/9/12)         1                       68(18)
                                                              bit
                                                                              STM8S10x Access line 2.95...5.5 V

               STM8S103F2    4K         1K       640       5 x 10 bit      2 (7/7/7)         1                        16(12)    TSSOP20,
    20 pins                                                                                        SPI, I2C, UART                 SO20,
               STM8S103F3    8K         1K       640       5 x 10 bit      2 (7/7/7)         1                        16(12)     QFN20

               STM8S103K3    8K         1K       640       5 x 10 bit     2 (7/7/10)         1     SPI, I2C, UART               LQFP32,
                                                                                                                     28(21)      QFN32
    32 pins    STM8S105K4    16 K      2K         1K       7 x 10 bit     3 (8/8/11)         1                       25(12)     SDIP32,
                                                                                                   SPI, I2C, UART               LQFP32,    16 MHz CPU speed, POR, BOR, SWIM, 16
               STM8S105K6    32 K      2K         1K       7 x 10 bit     3 (8/8/11)         1                       25(12)      QFN32     MHz and 128 K kHz internal RC, ICP, IAP,
                                                                                                                                                   boot ROM, beeper, TLI
               STM8S105S4    16 K      2K         1K       9 x 10 bit     3 (8/8/11)         1                       34(15)
    44 pins                                                                                        SPI, I2C, UART               LQFP44
               STM8S105S6    32 K      2K         1K       9 x 10 bit     3 (8/8/11)         1                       34(15)
                                                            10 x 10
               STM8S105C4    16 K      2K         1K                      3 (9/9/12)         1                       38(16)
                                                              bit
    48 pins                                                                                        SPI, I2C, UART               LQFP48
                                                            10 x 10
               STM8S105C6    32 K      2K         1K                      3 (9/9/12)         1                       38(16)
                                                              bit
                                                                        STM8S90x Application specific line 2.95...5.5 V

                                                                                                                                            16 MHz CPU speed, POR, BOR, SWIM,
     1.95...
               STM8S903K3    8K         1K       640       7 x 10 bit     2 (7/7/10)         1     SPI, I2C, UART    28(21)     LQFP32     16 MHz and 128 K kHz internal RC, ICP,
     5.5 V
                                                                                                                                                IAP, boot ROM, beeper, TLI




6
                                                                        STM8A
                                                          Automotive MCU Family




This product line of 8-bit Flash microcontrollers responds to                   FAMILY DESCRIPTION
the specific needs of automotive applications. From product
specifications, on through design and manufacturing,                            Upgrade to a higher or downgrade to a lower memory size
the focus is on reliability, application robustness and low                     or use a different package across lines is possible without
system cost. The integrated true data EEPROM features                           changing the initial layout or software.
top notch endurance and data retention throughout the full                      • STM8 24 MHz CPU
temperature range. With its extended temperature range up                       • 8...128 Kbytes of embedded Flash, up to 6 Kbytes of
to 145 °C ambient temperature, the STM8A is the ideal and                         SRAM and up to 2K data EEPROM
economic solution for the growing market of automotive                          • Packages up to 80 pin
8-bit applications.                                                             • Supply voltage: 2.95 V...5.5 V
                                                                                • Up to four low-power modes: down to 1 µA with
                                                                                  complete context retention
                                                                                • State-of-the-art digital and analog peripherals
                     Features                                Benefits           • Up to 145 °C ambient temperature
          Integrated true data EEPROM                                           • Qualified according AEC-Q100
      Internal supervisor circuits: power-on                                    • Certified CAN drivers
     RESET, window watchdog and standard
    watchdog timers, supply brown-out RESET                                     • Free certified LIN drivers
                                                       Reduced system cost
 Integrated, factory-trimmed 16 MHz and 128 kHz
                   RC oscillators
                                                                                        Internal RC        Clock controller                          Reset block                               2x U(S)ART
               Injection robust I/Os                                                 oscillator 16 MHz                                                                                            LIN
                                                                                                           Clock detector                           POR      BOR                             Smartcard / IrDA
                                                                                      Xtal 1...24 MHz
 Product line compatibility enabling application                                                                                                                                                    I2C
                  scalability                                                          Internal RC
                                                                                                                                    Clocks to       1.8 V regulator
                                                                                    oscillator 128 kHz                                                                                             SPI
                                                                                                                                    peripherals
           Advanced development tools                Short development cycles                                                       core
                                                                                                                                                                      Address and data bus




                                                                                        STM8 core                                                                                              16-bit timer
                                                                                        @ 24 MHz                                                    4...128 KB
    Flash program memory for easy software                                                                                                          Flash memory
                                                                                                                                                                                               4 CAPCOM +
                                                                                                                                                                                             3 comp. outputs
     development and product qualification
                                                                                                                                                   Up to 6 KB SRAM
                                                                                                             Address and data bus




                                                                                                                                                                                              2x 16-bit timer
     Efficient STM8 core: 10 MIPS at 16 MHz                                                                                                                                                    2/3 CAPCOM
                                                                                                                                                  Up to 2 KB EEPROM

  High application safety: independent watchdog       Application power and         Nested IT controller                                                                                        8-bit timer
                                                                                                                                                      Boot ROM
                                                                                       32 IT vectors
          timers, clock security system                    robustness               Up to 37 external IT                                                                                        2x watchdog
                                                                                                                                                      10-bit ADC                             (IWDG and WWDG)
 LIN 2.1 with auto-synchronization on all products                                       SWIM
                                                                                                                                                     16 channels
                                                                                                                                                                                                  Beeper
                                                                                      debug module                                                                                              1/2/4 kHz
           Modern core and peripherals                                                                                                                CAN 2.0 B
                                                         Design longevity              Up to 68 I/Os                                                                                               AWU
  Up to 145 °C maximum operating temperature




                                                                                                                                                                                                                7
    SIMPLE DEVICE SELECTION                                                                           STM8A LIN AND CAN SUPPORT

    The STM8A family is available in two lines: The STM8F/H51                                         The STM8A LINUART takes LIN networking to a new level
    with CAN interface and the STM8F/H61 without CAN. Most                                            with increased system robustness and minimised CPU load.
    of the devices are available up to 24 MHz. Each salestype                                         • Compliant with LIN 1.3, LIN 2.0 and LIN 2.1
    can be ordered with or without data EEPROM.                                                       • Automatic resynchronisation, for slave mode operation
                                                                                                         with internal RC clock source
    All of the devices share the same architecture and peripheral                                     • Autonomous header handling and MUTE mode
    set making navigation easy across the portfolio.                                                  • Advanced LIN errors and break detection
                                                                                                      • ST LIN software package distributed for free


           Up to 2 x U(S)ART                                                                          ST’s beCAN combines the advantages of full- and basic CAN
              LIN support                STM8AF5xxx CAN Line
                 IC 2                                                                                 controllers. Compact in its implementation it offers
         400 kHz multimaster             STM8 core  Up to      Up to
                                         @ 24 MHz 6 Kbytes   2 Kbytes   CAN
                                                                        2.0B
                                                                                                      • Three transmit mailboxes, three 3-stage FIFO receive
              10 MHz SPI                           SRAM      EEPROM

         Up to 3 x 16-bit timers                                                                         mailboxes
              8-bit timer
              2 x Watchdog
                                                                                                      • Enhanced and scalable acceptance filters with
           (IWDG and WWDG)
                AWU
                                                                                                         filter match index (FMI) mechanism for fast data
           Beeper 1/2/4 kHz
              10-bit ADC                 STM8AF6xxx Standard Line                                        management.
            Up to 16 channel
                  XTAL                   STM8 core  Up to      Up to
      16 kHz internal RC oscillator      @ 24 core
                                         STM8 MHz 6 Kbytes   2 Kbytes
      128 kHz internal RC oscillator      @ 16 MHz  SRAM     EEPROM

                SWIM
             Debug module
                                                                                                      AUTOMOTIVE GRADE

                                                                                                      Being committed to reach zero-defects, STMicroelectronics
                                                                                                      follows an 'Automotive Grade' policy designed to deliver
    APPLICATION AREAS                                                                                 products which meet the specific and rigorous demands of
                                                                                                      the automotive market.
    • Controllers                                        • DC motor control
    • LIN nodes                                          • HVAC                                       ST’s own internal qualification procedures exceed the AEC
    • Actuators                                          • Keyless entry                              Q100 guidelines and the production process uses the most
    • Sensors                                            • Immobilizers                               advanced screening methods like statistical yield analysis
    • Safety microcontrollers                            • Tire pressure monitor                      and part average testing to ensure quality and reliability of
    • Car radios                                                                                      the delivered goods.



    STM8A DEVICE ROADMAP

          Memory size



                                                                                            STM8AF51B9     STM8AF51BA   STM8AF51BB       STM8AF51BC
     256 Kbytes
                                                                                            STM8AF61B9     STM8AF61BA   STM8AF6B1B       STM8AF61BC

                                                                               STM8AF51A8   STM8AF51A9     STM8AF51AA   STM8AF51BA
      128 Kbytes
                                                                               STM8AF61A8   STM8AF61A9     STM8AF61AA   STM8AF61AB

                                                                               STM8AF5198   STM8AF5199     STM8AF519A
       96 Kbytes
                                                                               STM8AF6198   STM8AF6199     STM8AF619A

                                                      STM8AF5186               STM8AF5188   STM8AF5189     STM8AF518A
       64 Kbytes
                                                      STM8AF6186               STM8AF6188   STM8AF6189     STM8AF618A

                                                      STM8AF5176               STM8AF5178   STM8AF5179
       48 Kbytes                                                                                                                                      CAN line
                                                      STM8AF6176               STM8AF6178   STM8AF6179

                                                      STM8AF5166               STM8AF5168   STM8AF5169                                              Standard line
       32 Kbytes
                                                      STM8AF6166               STM8AF6168   STM8AF6169                                                Planned

        16 Kbytes
                                   STM8AF6144         STM8AF6146               STM8AF618

         8 Kbytes
                                   STM8AF6124         STM8AF6126
                                                                                                                                                          Pin count
                                       24 pins        32 pins              48 pins          64 pins         80 pins       100 pins       128 pins
                                       TSSOP         LQFP/QFN             LQFP/QFN           LQFP            LQFP          LQFP           LQFP




8
BLDC MOTOR CONTROL                                                                            Software examples for 6 step mode are available with sampling
                                                                                              during PWM off-time or on-time for highest motor yield.
The STM8A is the perfect response to many of the emerging
BLDC applications in the car such as
• Fuel pumps/Water pumps                                                                                        Vreg        5V



• Blower in air-conditioning                                                                                   L4979D       RES

                                                                                                                            GPIO             ADC        I Sense
                                                                                                                                                                       Bridge
• Engine cooling fan                                                                                            LIN
                                                                                                                            Rx                                         Driver
                                                                                                                            Tx                                         L6387
• Electric throttle control                                                                                                  STM8A                                                                  BLDC
                                                                                                                                                                       Bridge
                                                                                                                                                            PWM                                     Motor
                                                                                                                                                                       Driver
                                                                                                                                            ADC                        L6387

The STM8A is available in an extended 145 °C temperature
                                                                                                                            ADC             ADC
                                                                                                                                            ADC
                                                                                                         12V                                                           Bridge
                                                                                                                                                                       Driver
range, which allows it to be used in under-the-hood or                                                                                                                 L6387




                                                                                                                              GPIO



                                                                                                                                            GPIO
                                                                                                                                     GPIO
mechatronic applications.
                                                                                                                                                   *

                                                                                                                                                   *


The same development environment as for the STM8S can                                                                                              *


                                                                                                                                  *Depending on BEMF sampling method
be used to build applications for automotive motor control.



STM8A PRODUCT SELECTION GUIDE

                                              Data                  Timer functions                                                                                 I/Os
                         Flash     RAM                   A/D
     Part number *                          E2PROM                                                Serial interface                                     CAN         (high        Packages        Others
                        (bytes)   (bytes)               inputs
                                             (bytes)                 16-bit          8-bit                                                                        current)

                                                                              STM8AF51/61 2.95...5.5 V

         STM8AF6126       8K      0.5 K      384       7 x 10 bit   2 (6/6/6)          1          LIN-UART, SPI                                        No         25 (9)

         STM8AF6146       16 K      1K       0.5 K     7 x 10 bit   2 (6/6/6)          1          LIN-UART, SPI                                        No         25 (9)

32 pin   STM8AF6166      32 K      2K         1K       7 x 10 bit   3 (8/8/8)          1        LIN-UART, SPI, I2C                                     No         25 (9)        LQFP32

         STM8AF6176      48 K      3K        1.5 K     7 x 10 bit   3 (8/8/8)          1        LIN-UART, SPI, I2C                                     No         25 (9)

         STM8AF6186      64 K      4K        1.5 K     7 x 10 bit   3 (8/8/8)          1        LIN-UART, SPI, I2C                                     No         25 (9)

                                                        10 x 10
         STM8AF6148       16 K      1K       0.5 K                  3 (9/9/9)          1        LIN-UART, SPI, I2C                                     Opt        38 (9)
                                                          bit
                                                        10 x 10
         STM8AF6168      32 K      2K         1K                    3 (9/9/9)          1        LIN-UART, SPI, I C      2
                                                                                                                                                       Opt        38 (9)
                                                          bit
                                                        10 x 10
         STM8AF6178      48 K      3K        1.5 K                  3 (9/9/9)          1     LIN-UART, USART, SPI, I2C                                 Opt        38 (9)
                                                          bit
48 pin                                                                                                                                                                          LQFP48       Window and
                                                        10 x 10                                                                                                                                standard
         STM8AF6188      64 K      4K        1.5 K                  3 (9/9/9)          1     LIN-UART, USART, SPI, I2C                                 Opt        38 (9)
                                                          bit                                                                                                                                 watchdogs,
                                                        10 x 10                                                                                                                               16 MHz RC
         STM8AF6198      96 K      6K         2K                    3 (9/9/9)          1     LIN-UART, USART, SPI, I2C                                 Opt        38 (9)
                                                          bit                                                                                                                                  oscillator,
                                                        10 x 10                                                                                                                               128 kHz RC
         STM8AF61A8      128 K     6K         2K                    3 (9/9/9)          1     LIN-UART, USART, SPI, I2C                                 Opt        38 (9)                    oscillator, CSS,
                                                          bit
                                                                                                                                                                                           boot ROM, SWIM
                                                        16 x 10
         STM8AF6169      32 K      2K         1K                    3 (9/9/9)          1     LIN-UART, USART, SPI, I2C                                 Opt        52 (9)
                                                          bit
                                                        16 x 10
         STM8AF6179      48 K      3K        1.5 K                  3 (9/9/9)          1     LIN-UART, USART, SPI, I2C                                 Opt        52 (9)
                                                          bit
                                                        16 x 10
64 pin   STM8AF6189      64 K      4K        1.5 K                  3 (9/9/9)          1     LIN-UART, USART, SPI, I2C                                 Opt        52 (9)        LQFP64
                                                          bit
                                                        16 x 10
         STM8AF6199      96 K      6K         2K                    3 (9/9/9)          1     LIN-UART, USART, SPI, I2C                                 Opt        52 (9)
                                                          bit
                                                        16 x 10
         STM8AF61A9      128 K     6K         2K                    3 (9/9/9)          1     LIN-UART, USART, SPI, I2C                                 Opt        52 (9)
                                                          bit
                                                        16 x 10
         STM8AF618A      64 K      4K        1.5 K                  3 (9/9/9)          1     LIN-UART, USART, SPI, I2C                                 Opt        68 (11)
                                                          bit
                                                        16 x 10
80 pin   STM8AF619A      96 K      6K         2K                    3 (9/9/9)          1     LIN-UART, USART, SPI, I2C                                 Opt        68 (11)       LQFP80
                                                          bit
                                                        16 x 10
         STM8AF61AA      128 K     6K         2K                    3 (9/9/9)          1     LIN-UART, USART, SPI, I2C                                 Opt        68 (11)
                                                          bit

* The CAN version order code prefix is STM8AF51




                                                                                                                                                                                                               9
                                                                               STM8L
                                                          Ultra-low-power MCU Family




     Paving the way for a future comprehensive ultra-low-power                           FAMILY DESCRIPTION
     platform, the STM8L family combines high performance and
     ultra-low power consumption thanks to the new proprietary                           Upgrade to a higher or downgrade to a lower memory size
     ultra-low leakage process and optimised architecture. This                          or use a different package across lines is possible without
     family is declined in three different lines making the STM8L                        changing the initial layout or software.
     an optimal family to support many applications with special                         • STM8 16 MHz CPU
     care on power savings.                                                              • 4...32 Kbytes of embedded Flash, up to 2 Kbytes of SRAM
                                                                                         • Supply voltage: 1.8 V...3.6 V (down to 1.65 V at power
                     Features                                 Benefits                     down)
       Ultra-low-power proprietary 130 nm
                                                   Speed and power consumption           • Up to four ultra-low-power modes: down to 350 nA with
                                                 independant of MCU power supply,
                   technology
                                                         Ultra-low leakage                 SRAM and context retention
       Ultra-low-power design (clock gating,     Reduced overall run and wait mode       • Run mode dynamic consumption down to 150 μA/MHz
          low-power Flash with power-off         current consumption by turning off      • State-of-the-art digital and analog peripherals
                    capability)                 clocks of unused peripherals or Flash
                                                                                         • -40...+85 °C, or up to 125 °C temperature range
         Sub 1 μA hardware RTC and AWU         Ultra-low-power modes for applications
                   system unit                        requesting regular wake up         • Free touch sensing library
                                                Suitable for many applications from
       Range of low-power modes (up to 4)        complete switch off to continuous             Internal 16 MHz                                                                                                    USART
                                                                                                                                                                   Reset block
                                                 monitoring at ultra low frequency              RC oscillator                                                       POR/PDR
                                                                                                                                        Clock controller                                                           SPI
                                                                                                1...16 MHz Xtal
       Advanced and flexible clock system         Switch and adjust frequency and                   oscillator                                                    PVD      BOR

       (multiple internal and external clock   clock sources on the fly depending on           Internal 38 kHz
                                                                                                                                                                 Internal voltage
                                                                                                                                                                                                                   I2C

                      sources)                           application needs                       RC oscillator                                                      reference
                                                                                                                                                                                                             2 x 16-bit timer
                                                                                               32.768 kHz Xtal                                                                                                 2 channels
                                                                                                  oscillator                                                     Voltage regulator
                                               Autonomy for peripherals, independent                                                                                                                         1 x 16-bit timer
                                                                                                                                                                                     Address and data bus




                                                                                                                                                                                                            advanced control
                                               from core; can switch off Flash memory                                                                              Up to 32 KB
                                                                                                                                                                                                                3 channels
         Direct memory access on board                                                            STM8 core                                                       Flash memory
                                                 and CPU (large current consumption
                (4-channel DMA)                                                                   @ 16 MHz                                                                                                     1 x 8-bit timer
                                               contributors) while keeping peripherals                                                                              Boot ROM

                                                               active                                                                                                                                          2 x watchdog
                                                                                                                                          Address and data bus




                                                                                             Nested IT controller
                                                                                                32 IT vectors                                                     1 KB EEPROM                               (IWDG and WWDG*)
                                                                                             Up to 40 external IT
        Ultra-low-power and ultra-safe reset                                                                                                                                                                       RTC
                                                 Integrated safety and security for                SWIM                                                          Up to 2 KB SRAM
       system POR/PDR; additional optional                                                      debug module
                                                            application                                                                                                                                            AWU
                   activation BOR                                                                                                                                 4-channel DMA
                                                                                                 Up to 41 I/Os
                                                                                                                                                                                                               LCD Driver
       Ultra-fast wake up from lowest low-     Fast switching from static and dynamic                                                                                                                          Up to 4x28
                                                                                                                                                                   12-bit ADC
                power mode (4 μs)                           power modes                                                                                            25 channels                                Temperature
                                                                                                   Only on STM8L15x lines                                                                                       sensor
         Analog functional down to 1.8 V,        Full functionality over the complete        * Window watchdog only on STM8L15x lines
                                                                                                                                                                   12-bit DAC
                                                                                                                                                                                                             2 x comparators
          programming down to 1.65 V                          Vdd range




10
THREE DIFFERENT PRODUCT LINES                                                                                                             SUPPLY MONITORING AND RESET CIRCUITRY

The STM8L101 is the entry point for the ultra-low-power                                                                                   • Full reset circuitry, supply monitoring
8-bit portfolio. It is cost optimised and offers a high level                                                                               • Power-on reset/power-down reset, 'zero power' –
of integration in an ultra small footprint. The STM8L151 is                                                                                   permanently enabled
the feature-rich 8-bit solution. It has more Flash, SRAM and                                                                                • Brown-out detection (BOR) can be on or off
peripherals on board, with external crystal/clock capability,                                                                               • Programmable voltage detection – can be on or off
more analog features, a real-time clock and enhanced reset,                                                                                 • Extended battery lifetime down to 1.65 V during
EEPROM with true RWW, DMA, fast ADC and DAC. The                                                                                              power-down
STM8L152 has an additional segment LCD driver compared
to the STM8L151.
                                                                                                                                          STM8L ULTRA LOW POWER CONSUMPTION
All lines include:
                                STM8L152
     16 MHz STM8 CPU                                                                                           12-bit
                                            Up to     Up to
                                STM8 core 32 Kbytes 2 Kbytes
                                                                  Reset
                                                                    +
                                                                          Main osc.
                                                                                     Data
                                                                                           RTC with             ADC
                                                                                                                        12-bit    LCD
                                                                                                                                                Operating modes (typ, 3 V, 25°C)             STM8L101        STM8L15x
      Communication                                                         input           32 kHz       DMA    1 µs
                                 @ 16 MHz                         BOR               E2PROM                               DAC     4 x 28
        peripherals                         Flash    SRAM                 1-16 MHz           osc.              Temp
      USART, SPI, I2C                                             PVD
                                                                                                               sensor                             Dynamic run mode from Flash                150 μA/MHz     192 μA/MHz
    Multiple 16-bit timers      STM8L151
                                                                                                               12-bit
                                                                                                                                                  Dynamic run mode from RAM                  75 μA/MHz       90 μA/MHz
                                                                  Reset
                                              Up to     Up to             Main osc.        RTC with             ADC
      Internal 16 MHz           STM8 core                           +                Data                               12-bit
 and 38 kHz RC oscillators       @ 16 MHz
                                            32 Kbytes 2 Kbytes
                                              Flash     SRAM
                                                                  BOR
                                                                           input
                                                                           1...16
                                                                                    E2PROM
                                                                                            32 kHz
                                                                                             osc.
                                                                                                         DMA    1 µs
                                                                                                               Temp      DAC                      Active halt mode with full RTC                 na             1 μA
                                                                  PVD
                                                                            MHz                                sensor
         Watchdog
 (Dual Watchdogs on STM8L15x)                                                                                                                         Active halt with AWU                     0.8 μA          0.9 μA
                                STM8L101
                                                                    RTC: Real-time clock
       Reset circuitry
         POR/PDR                STM8 core
                                              Up to     Up to       Osc.: Oscillator
                                                                    POR: Power-on reset
                                                                                                                                                           Halt mode                          0.35 μA         0.4 μA
                                            8 Kbytes 1.5 Kbytes
                                 @ 16 MHz     Flash     SRAM        PDR: Power-down reset
                                                                    BOR: Brown-out reset
       2x comparators                                               PVD: Programmable voltage detector



                                                                                                                                          STM8L1xx CONSUMPTION VALUE

APPLICATION AREAS                                                                                                                            Typical @ 25 °C
                                                                                                                                                                                   POR/PDR on RAM content preserved
                                                                                                                                             Full VDD range
                                                                                                                                                                                   BOR option at 2 A*
• Medical equipment                                                                                                                                                                Startup time from active halt 4 s
                                                                                                                                                                       5.4 A
   • Glucose meters, insulin pumps
                                                                                                                                                                                    3 A
   • Blood pressure and colesterol monitors                                                                                                       Dynamic
                                                                                                                                                                                                1.0 A/
                                                                                                                                                    run
   • Patient monitoring                                                                                                                                                                         0.8 A
                                                                                                                                               150 A/MHz                Low-
• Metering (electricity/gas/water/heat meters, scales)                                                                                          (STM8L101)             power        Low-         Active
• Alarm systems (centrals/sensors/ door locks)                                                                                                 192 A/MHz               run* @      power        halt with
                                                                                                                                                                                                            0.35 A
                                                                                                                                               (STM8L15x)              32 kHz      wait* @       RTC*/
• GP portable devices                                                                                                                                                              32 kHz         with
   • Mobile phones/accessories                                                                                                                                                                    AWU        Halt
   • Gaming/remote controls
                                                                                                                                            *Only on STM8L15x
   • GPS watches/sports equipment



UP TO FOUR ULTRA-LOW-POWER MODES                                                                                                          TOUCH-SENSING SOFTWARE SUITE

The following modes are ideal for applications that need                                                                                  STMicroelectronics’ touch-sensing software library is a
constant monitoring with a sub 6 μA budget.                                                                                               complete, free of charge source-code solution to transform
• Low-power run mode: the CPU is still running. Execution                                                                                 any 8-bit STM8L microcontroller into a capacitive touch-key
   is done from RAM with a low-speed oscillator (RTC or                                                                                   controller. Designers can combine the touch-sensing function
   internal). Consumption is less than 6 μA typical.                                                                                      with multiple configurations (touch keys, wheels, sliders) and
• Low-power wait: offers the capability to keep RTC and                                                                                   the traditional MCU features (communication, LED control,
   a few other peripherals active (such as the timer) with                                                                                beeper, LCD control). The touch-sensing software library is
   a consumption of about 3 µA typical. The CPU is off.                                                                                   part of the application firmware.
   The Flash is switched off and the regulator is put in
   ultra-low-power mode, the CPU is stopped, the RTC and
   peripherals can be activated.

The following modes are ideal for applications that need low
power modes with sub 1 µA budget.
• Active halt mode: the CPU, main clocks and peripherals
   are off. The RTC can be still running. Wake up can be
   done through an interrupt on the peripherals. For fast
   wake up, SRAM and context are kept.
• Halt mode: the CPU, main clocks and peripherals are off,
   the RTC is off, SRAM and context are kept.




                                                                                                                                                                                                                         11
     STM8L DEVICE ROADMAP




       Flash size
       (bytes)

                                                                                  STM8L152C8 STM8L152R8 STM8L152M8
               64 K                                                               STM8L151C8         STM8L151R8      STM8L151M8

                                                                STM8L152K6 STM8L152C6
               32 K
                                          STM8L151G6 STM8L151K6 STM8L151C6

                                                                STM8L152K4 STM8L152C4
               16 K
                                          STM8L151G4 STM8L151K4 STM8L151C4                                                           STM8L151 without LCD
                                                                                                                                       STM8L152 with LCD
                        STM8L151F3        STM8L151G3 STM8L151K3
               8K                                                                                                                            STM8L101
                        STM8L101F3        STM8L101G3 STM8L101K3
                                                                                                                                           In development
                        STM8L151F2        STM8L151G2
               4K
                        STM8L101F2        STM8L101G2

                           20-pins             28-pins             32-pins    48-pins      64-pins     80-pins                        Packages
                        TSSOP/QFN             QFN (4x4)         LQFP (7x7)/ LQFP (7x7)/ LQFP (10x10) LQFP (14x14)
                           (3x3)                                 QFN (5x5)   QFN (7x7)




     STM8L PRODUCT SELECTION GUIDE

                            Flash                Data                Timer functions                                   I/Os
                                      RAM                  A/D
          Part number       SIze               E2PROM                                             Serial interface    (high      Packages          Special features
                                     (bytes)              inputs
                           (bytes)              (bytes)               16-bit        8-bit                            current)

                                                                     TM8L101 Ultra-low-power line 1.65...3.6 V
                                                                                                                                 TSSOP20,
              STM8L101F2    4K        1.5 K       -         -       2 (4/4/4)          1                              18(16)
                                                                                                                                UFQFPN 20
     20 pin
                                                                                                                                 TSSOP20,
              STM8L101F3    8k        1.5 K       -         -       2 (4/4/4)          1                              18(16)
                                                                                                                                UFQFPN 20
                                                                                                                                              16 MHz and 38 kHz internal
              STM8L101G2    4K        1.5 K       -         -       2 (4/4/4)          1          SPI, I2C, UART     26(24)     WFQFPN 28       RC, AWU, reset system,
     28 pin                                                                                                                                        2 x comparators
              STM8L101G3    8k        1.5 K       -         -       2 (4/4/4)          1                             26(24)     WFQFPN 28

                                                                                                                                 LQFP32,
     32 pin   STM8L101K3    8k        1.5 K       -         -       2 (4/4/4)          1                             30(28)
                                                                                                                                WFQFPN 32

                                                                    STM8L151 Ultra-low-power line 1.65...3.6 V

                                                          18 x 12
              STM8L151G4    16 K       2K        1K                  3 (7/7/8)         1                             26(24)     WFQFPN 28
                                                            bit
     28 pin
                                                          18 x 12
              STM8L151G6    32 K       2K        1K                  3 (7/7/8)         1                             26(24)     WFQFPN 28          16 MHz and 32 kHz
                                                            bit
                                                                                                                                                oscillator, hardware RTC,
                                                          22 x 12                                                                LQFP32,
              STM8L151K4    16 K       2K        1K                  3 (7/7/10)        1                             30(28)                      12-bit DAC, 16 MHz and
                                                           bit                                                                  WFQFPN 32
     32 pin                                                                                       SPI, I2C, USART                                  38 kHz internal RC,
                                                          22 x 12                                                                LQFP32,
              STM8L151K6    32 K       2K        1K                  3 (7/7/10)        1                             30(28)                        4 low-power modes,
                                                           bit                                                                  WFQFPN 32
                                                                                                                                              2 x comparators, DMA, reset
                                                          25 x 12                                                                LQFP48,      system + BOR, 7 LVD levels
              STM8L151C4    16 K       2K        1K                  3 (7/7/10)        1                             41(39)
                                                           bit                                                                   VQFN48
     48 pin
                                                          25 x 12                                                                LQFP48,
              STM8L151C6    32 K       2K        1K                  3 (7/7/10)        1                             41(39)
                                                           bit                                                                   VQFN48

                                                                    STM8L152 Ultra-low-power line 1.65...3.6 V

                                                          21 x 12                                                                LQFP32,          16 MHz and 32 kHz
     32 pin   STM8L152K4    16 K       2K        1K                  3 (7/7/10)        1                             29(27)
                                                           bit                                                                  WFQFPN 32      oscillator, hardware RTC,
                                                          21 x 12                                                                LQFP48,        12-bit DAC, 16 MHz and
              STM8L152K6    32 K       2K        1K                  3 (7/7/10)        1                             29(27)
                                                           bit                                                                   VQFN48           38 kHz internal RC,
                                                                                                  SPI, I2C, USART
                                                          25 x 12                                                                LQFP48,          4 low-power modes,
     48 pin   STM8L152C4    16 K       2K        1K                  3 (7/7/10)        1                             41(39)
                                                           bit                                                                   VQFN48       2 x comparators, DMA, LCD
                                                          25 x 12                                                                LQFP48,       segment, reset system +
              STM8L152C6    32 K       2K        1K                  3 (7/7/10)        1                             41(39)                        BOR 7, LVD levels
                                                           bit                                                                   VQFN48




12
                                                                           STM8
                                         Tools for 8-bit Flash Microcontrollers




Hardware               Starter Kit               Evaluation board          In-circuit debugger   Emulator       3rd-party programmer

STM8L

STM8L101                                         STM8L101-EVAL
                                                                           STX-LINK              STICE-SYS005
                                                 STM8L15261-EVAL
STM8L15x
                                                 Raisonance Reva
                                                                                                                BP Microsystem         www.bpmicro.com
STM8S
                                                                                                                Data I/O               www.data-io.com

STM8S20x               STM8S-Discovery           STM8/128-EVAL                                                  Segger                 www.segger.com
                                                 STM8S/128-EV/TS           STX-LINK              STICE-SYS001
                                                                                                                Softec Microsystems    www.softecmicro.com
STM8S10x               STM8S-Discovery           Raisonance Reva
                                                                                                                Elnec                  www.elnec.com
STM8A

STM8AF51x/61x          STM8S discovery
                                                 C8-8/128-EV               STX-LINK              STICE-SYS005
STM8AF51x/61x          STM8S discovery

Software               Description                                                                              Web link

                       ST MCU toolset
                                                                                                                STMicroelectronics     www.st.com/mcu
                       ST Visule Develop (STVD) ST Visual Programmer (STVP), free of charge
IDE
                       RIDE Raisonance
                                                                                                                Raisonance             www.raisonance.com
                       RIDE with Rbuilder and Rflasher, free of charge

                       Raisonance C compiler, free of charge up to 16 Kbytes                                    Raisonance             www.raisonance.com
Compiler
                       Cosmic C compiler, free of charge up to 16 Kbytes                                        Cosmic Software        www.cosmic-software.com

RTOS                   Real time operating system CMX-Tiny+ from CMX systems                                                           www.cmx.com

Libraries & drivers    Description                                                                              Web link

STM8L15x-std_Periph-
                       STM8L standard firmware library
Lib Library

STM8S Library          STM8S standard firmware library

STM8S touch sensing    STM8S royalty-free touch sensing library

STM8S motor Ctrl.
                       STM8S BLDC and ACIM motor control firmware library
Library                                                                                                         STMicroelectronics
                                                                                                                www.st.com/mcu
VDE approved lib.      STM8S Class B firmware library

STM8A Library          ST standard firmware for Automotive

Can Driver             Certified CAN driver from Vector software Gmbh

LIN Driver             ST LIN driver and package supporting STM8 LIN-UART

Demo boards            Description                                                                              Web link

STEVAL-IAS00V1         STM8L101 counter demonstration power management, LCD soft.

STM8L15LPBOARD         STM8L15x demonstration board

STM8S-DISCOVERY        STM8S105 multi demonstration board                                                       www.st.com/STM8S-DISCOVERY

                                                                                                                http://www.st.com/stonline/products/families/
STEVAL-MKI029V1        STM8S20x inclination-analysis demonstration board
                                                                                                                evaluation_boards/steval-mki030v1.htm
                                                                                                                http://www.st.com/stonline/products/families/
STEVAL-MKI030V1        STM8S20x vibration-analysis demonstration board
                                                                                                                evaluation_boards/steval-mki030v1.htm




                                                                                                                                                                 13
                                                                STM8
                                        Tools for 8-bit Flash Microcontrollers


     COMPILERS

     The STM8 microcontrollers are supported by Cosmic and
     Raisonance compilers. These compilers take full advantage
     of the performances of the STM8 core in terms of execution
     speed and code density. Free versions are available for code
     sizes up to 16 K.


                                                                         • CB-8/128-EV (STM8A)
     REAL TIME EMULATOR                                                  • STM8/128-EVAL (STM8S)
                                                                         • STM8L156-EVAL (STM8L15x)
                                                                         • STM8L101-EVAL (STM8L101)



                                                                         DEMONSTRATION BOARDS

                                                                         The ST demonstration boards are focusing on application-
                                                                         oriented strengths of STs microcontroller solutions.



     For the most demanding applications, ST offers the FPGA based
     emulator STICE-SYSxxx. It is a fully flavoured emulator including
     code tracing, code coverage measurement and profiling.



     IN-CIRCUIT DEBUGGING

                                                                         STEVAL-IAS003V1 is an STM8L low power demonstrator
                                                                         LCD glass directly driven by the micro. It features:
                                                                         • 1.25 uA average consumption
                                                                         • 3 digit LCD glass driven by software
                                                                         • CR1220 battery operated (not included)
                                                                         Only 2 capacitors are needed as external components.



     The STx-RLINK from Raisonance offers the possibility to
     access the powerful integrated debug module of the STM8
     devices through the SWIM single wire interface. It features all
     debugging functions except trace, coverage and profiling. The
     STX-RLINK can be used to program the STM8 FLASH memory.



     EVALUATION BOARDS

     The STM8 evaluation boards provide complete prototyping             STM8L15LPBOARD is a STM8L low power demonstrator. It
     environments for the STM8 product families ideal for                demonstrates 7 different power modes and functionalities
     demonstrating the device capabilities and rapidly evaluating        providing the mean to measure current sourced by the battery:
     peripherals and features including CAN2.0A/B compliant              On board: The STM8L, an LCD glass , a battery CR2032,
     interface, I2C, SPI, two USART channels with smartcard,             the SWIM connector for STM8L board configuration, one
     IrDA and LIN support.                                               2 x 12 I/O access port connector.



14
The STEVAL-KII029V1 and the STEVAL-MKI030V1 demonstrate
the interfacing of ST MEMs-based accelerometers to the
STM8 microcontroller. They provide code examples to detect
free fall and board inclination, vibration or acceleration in
all three axes.



STARTER KITS

complete sets of hardware and software tools that help start     The REva starter kits from Raisonance are cost-effective,
application development quickly and easily:                      complete solutions for evaluating and starting application
                                                                 development with a wide range of ST microcontrollers. The
STM8S-DISCOVERY is the quickest and cheapest way to              starter kit package includes the REva mother and daughter
discover the STM8. It includes a USB based in-circuit debugger   boards.
and programmer.


Users will run the examples, edit the code and program as        ABOUT STMICROELECTRONICS
often as necessary. The sample can be used for demonstration
purpose, and the ST-LINK detached in order to re-program         STMicroelectronics is a global leader in developing and delivering
the application.                                                 semiconductor solutions across the spectrum of microelectronics
                                                                 applications. An unrivalled combination of silicon and system expertise,
                                                                 manufacturing strength, intellectual property (IP) portfolio and strategic
                                                                 partners positions the company at the forefront of system-on-chip (SoC)
                                                                 technology and its products play a key role in enabling today‘s convergence
                                                                 markets. The company’s shares are traded on the New York Stock
                                                                 Exchange, on Euronext Paris and on the Milan Stock Exchange. In 2008,
                                                                 the company‘s net revenues were US$ 10 billion. For more information
                                                                 about STMicroelectronics visit www.st.com.




                                                                 ABOUT EBV ELEKTRONIK

                                                                 EBV Elektronik, an Avnet (NYSE:AVT) company, was founded in 1969 and
                                                                 is the leading specialist in European semiconductor distribution. EBV
                                                                 maintains its successful strategy of personal commitment to customers
                                                                 and excellent services. 230 Technical Sales Specialists provide a strong
                                                                 focus on a selected group of long-term manufacturing partners. 110
                                                                 continuously trained Application Specialists offer extensive application
                                                                 know-how and design expertise. Warehouse operations, complete logistics
                                                                 solutions and value-added services such as programming, taping &
                                                                 reeling and laser marking are fulfilled by Avnet Logistics, EBV’s logistical
                                                                 backbone and Europe’s largest service centre. EBV operates from 59
                                                                 offices in 27 countries throughout EMEA (Europe – Middle East – Africa).
                                                                 For more information about EBV Elektronik, please visit www.ebv.com.




                                                                        Interested in more product highlights from EBV Elektronik?
                                                                         Subscribe for our newsletter at www.ebv.com/newsletter




                                                                                                                                               15
      EBV European Headquarters
      EBV Elektronik GmbH & Co. KG I D-85586 Poing | Im Technologiepark 2-8 | Tel. +49 (0)8121 774-0 | www.ebv.com

      EBV REGIONAL OFFICES
      AUSTRIA                                 D-41564 Kaarst                          I-10156 Torino                    E-39010 Santander (Cantabria)
      A-1120 Wien                             An der Gümpgesbrücke 7                  Corso Vercelli, 348               Calle San Fernando
      Schönbrunner Str. 297 - 307             Tel. +49 (0)2131 96 77-0                Tel. +39 011 262 56 90            16A Entresuelo H
      Tel. +43 (0)18 91 52-0                  Fax +49 (0)2131 96 77-30                Fax +39 011 262 56 91             Tel. +34 94 223 67 55
      Fax +43 (0)18 91 52-30                                                                                            Tel. +34 94 237 45 81
                                              D-71229 Leonberg                        NETHERLANDS
      BELGIUM                                 Neue Ramtelstraße 4                     NL-3606 AK Maarssenbroek          E-28760 Tres Cantos (Madrid)
      B-1831 Diegem                           Tel. +49 (0)7152 30 09-0                Planetenbaan 116                  Centro Empresarial Euronova
      Kouterveldstraat 20                     Fax +49 (0)7152 759 58                  Tel. +31 (0)346 58 30 10          C/Ronda de Poniente, 4
      Tel. +32 (0)27 16 00 10                                                         Fax +31 (0)346 58 30 25
                                              D-07806 Neustadt/Orla                                                     Tel. +34 91 804 32 56
      Fax +32 (0)27 20 81 52
                                              Zum Mühlenberg 9                                                          Fax +34 91 804 41 03
                                                                                      NORWAY
      CZECH REPUBLIC                          Tel. +49 (0)36481 2 44-0
                                                                                      Postboks 101, Manglerud           SWEDEN
      CZ-170 00 Praha 7                       Fax +49 (0)36481 2 44-99
                                                                                      Ryensvingen 3B                    S-21 235 Malmö
      Argentinská 38/286
                                              D-90471 Nürnberg                        N-0681 Oslo                       Derbyvägen 20
      Tel. +420-234 091 011
                                              Lina-Ammon-Str. 19B                     Tel. +47 22 67 17 80              Tel. +46 (0)40 59 21 00
      Fax +420-234 091 010
                                              Tel. +49 (0)911 817 669-0               Fax +47 22 67 17 89               Fax +46 (0)40 59 21 01
      DENMARK                                 Fax +49 (0)911 817 669-20
      DK-8230 Åbyhøj                                                                  POLAND
                                                                                                                        S-19 272 Sollentuna
      Ved Lunden 9                            D-85586 Poing                           PL -02-672 Warszawa
                                                                                                                        Sjöängsvägen 7
      Tel. +45 86 25 04 66                    Im Technologiepark 2-8                  ul. Woloska 18
                                                                                                                        Tel. +46 (0)859 47 02 30
      Fax +45 86 25 06 60                     Tel. +49 (0)8121 774-0                  Tel. +48 (0)22 640 23 55
                                                                                                                        Fax +46 (0)859 47 02 31
                                              Fax +49 (0)8121 774-422                 Fax +48 (0)22 640 23 56
      DK-2860 Søborg                                                                                                    SWITZERLAND
      Rosenkæret 11 C                         D-78050 VS-Villingen                    PL-50-062 Wroclaw
                                              Kaiserring 12                                                             CH-8953 Dietikon
      Tel. +45 39 69 05 11                                                            Pl. Solny 16
                                              Tel. +49 (0)7721 998 57-0                                                 Bernstrasse 394
      Fax +45 39 69 05 04                                                             Tel. +48 (0)71 34-2 29-44
                                              Fax +49 (0)7721 998 57-70                                                 Tel. +41 (0)44 745 61 61
                                                                                      Fax +48 (0)71 34-2 29-10
                                                                                                                        Fax +41 (0)44 745 61 00
      ESTONIA
      EE-13157 Tallinn                        D-65205 Wiesbaden                       ROMANIA
      Ehitajate tee 114                       Borsigstraße 36                         Construdava Business Center       CH-1010 Lausanne
      Tel. +372 625 79 90                     Tel. +49 (0)6122 80 88-0                Sos. Pipera-Tunari 4c
                                                                                      ¸                                 Av. des Boveresses 52
      Fax +372 625 79 95                      Fax +49 (0)6122 80 88-99                                                  Tel. +41 (0)216 54 01 01
                                                                                      Voluntari, Ilfov (Bucharest)
      Cell. +372 513 22 32                                                            RO - 077190 Romania               Fax +41 (0)216 54 01 00
                                              GREECE
                                                                                      Tel. +40 21 529 6911
      FINLAND                                 GR-17778 Tavros                                                           TURKEY
                                              Anaxagora Str. 1                        Fax +40 21 529 6901
      FIN-02240 Espoo                                                                                                   TR-34742 Istanbul
                                              Tel. +30 210 34 14 300
      Pihatörmä 1 a                                                                   RUSSIA                            Perdemsaç Plaza
                                              Fax +30 210 34 14 304
      Tel. +358 (0)927 05 27 90                                                       RUS-127486 Moscow                 Bayar Cad. Gülbahar
      Fax +358 (0)9 27 09 54 98                                                       Korovinskoye Shosse 10,                      ,
                                                                                                                        Sok. No: 17 D: 134 Kozyatagi
                                              HUNGARY
                                              H-1037 Budapest                         Build 2, Off.28                   Tel. +90 (0)21 64 63 13 52
      FIN-90100 Oulu                                                                  Tel. +7 495 937 87 07             Fax +90 (0)21 64 63 13 55
                                              Montevideo u. 2/B
      Nahkatehtaankatu 2
                                              Tel. +36 1 436 72 29                    Fax +7 495 937 87 06
      Tel. +358 (0)85 62 49 10
                                              Fax +36 1 436 72 20                                                       UKRAINE
      Fax +358 (0)85 62 49 15
                                                                                      RUS-195197 St. Petersburg         UA-03040 Kiev
                                              IRELAND                                 Polustrovsky Prospect 43,         Vasilovskaya str. 14
      FRANCE
                                              IRL-Dublin 12                           Office 421                        off. 422-423
      F-13854 Aix-en-Provence
                                              Calmount Business Park                  Tel. +7 812 635 70 63             Tel. +380 44 496 22 26
      115, Rue Nicolas Ledoux
                                                    ,
                                              Unit 7 Block C                          Fax +7 812 635 70 64              Fax +380 44 496 22 27
      Immeuble Hemiris, Bâtiment A,
                                              Tel. +353 (0)14 09 78 02
      Tél. +33 (0)442 39 65 40
                                              Fax +353 (0)14 56 85 44                 SLOVAK REPUBLIC
      Fax +33 (0)442 39 65 50                                                                                           UNITED ARAB EMIRATES
                                                                                      SK-85101 Bratislava               Post Box No: 18657
                                              ISRAEL                                  Digital Park, Einsteinova 21
      F-92184 Antony Cedex (Paris)                                                                                      Warehouse No: FZS1AL06
                                              IL-40600 Tel Mond                       Tel. +421 2 321 111 41
      3, rue de la Renaissance                Drorrim South Commercial Center                                           JAFZA South Zone, Jebel Ali
      Tél. +33 (0)140 96 30 00                                                        Fax +421 2 321 111 40             Dubai, United Arab Emirates
                                               .O.
                                              P Box 149
      Fax +33 (0)140 96 30 30                 Tel. +972 (0)9 778 02 60                                                  Tel. +971 (4) 886 09 50
                                                                                      SLOVENIA                          Fax +971 (4) 886 09 52
                                              Fax +972 (0)9 796 68 80
      F-35510 Cesson Sévigné (Rennes)                                                 SI-1000 Ljubljana
      29, av. des Peupliers                   ITALY                                   Dunajska c. 159                   UNITED KINGDOM
      Tél. +33 (0)299 83 00 50                I-20092 Cinisello Balsamo (MI)          Tel. +386 (0)1 56 09 778          South East
      Fax +33 (0)299 83 00 60                 Via C. Frova, 34                        Fax +386 (0)1 56 09 877           Thames House
                                              Tel. +39 02 66 09 62 90                                                   17 Marlow Road
      F-67400 Illkirch Graffenstaden          Fax +39 02 66 01 70 20                  SOUTH AFRICA
                                                                                                                        Maidenhead
      Rue Gruninger                                                                   ZA-8001 Foreshore, Cape Town
      Parc d'innovation d 'Illkirch                                                                                     Berkshire, SL6 7AA
                                              I-41100 Modena (MO)                     1 Mediterranean Street
      Tél +33 (0)3 90 40 59 69                                                                                          Tel. +44 (0)16 28 77 07 07
                                              Via Carlo Cattaneo, 54                  5th Floor MSC House
      Fax +33 (0)3 88 65 11 25                                                                                          Fax +44 (0)16 28 78 38 11
                                              Tel. +39 059 29 24 211                  Tel. +27 (0)21 402 19 40
                                              Fax +39 059 29 29 486                   Fax +27 (0)21 419 62 56
      F-31673 Labège Cedex (Toulouse)                                                                                   South West & Wales
      Immeuble Actys B2, voie 3,              I-50127 Firenze                                                           12 Interface Business Park
                                                                                      ZA-3629 Westville
      BP17316                                 Via Panciatichi, 40                                                       Bincknoll Lane
                                                                                      Forest Square,11 Derby Place
      Tél. +33 (0)561 00 84 61                Palazzo 11                                                                Wootton Bassett
                                                                                      Suite 4, Bauhinia Building
      Fax +33 (0)561 00 84 74                 Tel. +39 05 54 36 93 07                                                   Wiltshire, SN4 8SY
                                                                                      Tel. +27 (0)31 205 12 05
                                              Fax +39 05 54 26 52 40                  Fax +27 (0)31 205 22 65           Tel. +44 (0)17 93 84 99 33
      F-69693 Venissieux (Lyon)                                                                                         Fax +44 (0)17 93 85 95 55
      Parc Club du Moulin à Vent              I-80128 Napoli (NA)
                                                                                      ZA-2157 Woodmead,
      33, Av. du Dr. Georges Lévy             Via G. Capaldo, 10                                                        North
                                                                                      Johannesburg
      Tél. +33 (0)472 78 02 78                Tel. +39 081 579 97 70                                                    Manchester International
      Fax +33 (0)478 00 80 81                                                         Woodlands Office Park
                                              Fax +39 081 579 97 70                                                     Office Centre, Suite 3E (MIOC)
                                                                                      141 Western Service Road
                                              Cell. +39 335 8 39 05 31                                                  Styal Road
      GERMANY                                                                         Building 14-2nd Floor
                                                                                      Tel. +27 (0)11 236 19 00          Manchester, M22 5WB
      D-12277 Berlin-Mariendorf               I-00155 Roma
      Kitzingstr. 15 - 19                                                             Fax +27 (0)11 236 19 13           Tel. +44 (0)16 14 99 34 34
                                              Viale Palmiro Togliatti 1639
      Tel. +49 (0)30 74 70 05-0               Tel. +39 064 06 36 65/789                                                 Fax +44 (0)16 14 99 34 74
      Fax +49 (0)30 74 70 05-55               Fax +39 064 06 37 77                    SPAIN
                                                                                      E-08950 Esplugues de Llobregat    Scotland
      D-30938 Burgwedel                       I-35030 Sarmeola di Rubano (PD)         (Barcelona)                       144 West George Street
      In der Meineworth 21                    Piazza Adelaide Lonigo, 8/11            Antón Fortuny 14-16 Esc.C 3° 2a   Glasgow, G2 2HG
      Tel. +49 (0)5139 80 87-0                Tel. +39 049 89 74 701                  Tel. +34 93 473 32 00             Tel. +44 (0)14 13 52 20 50
      Fax +49 (0)5139 80 87-70                Fax +39 049 89 74 726                   Fax +34 93 473 63 89              Fax +44 (0)14 13 52 20 59




P-051-E-11-2009-v1

				
DOCUMENT INFO
Shared By:
Categories:
Tags:
Stats:
views:0
posted:7/23/2013
language:Latin
pages:16
cameron fred cameron fred
About