English
Language : 

AN3139 Datasheet, PDF (1/63 Pages) STMicroelectronics – Migration and compatibility guidelines for STM8L microcontroller applications
AN3139
Application note
Migration and compatibility guidelines
for STM8L microcontroller applications
Introduction
For designers of STM8L microcontroller applications, it is important to be able to replace
easily one microcontroller type by another one in the same product family. Migrating an
application to a different microcontroller is often needed when product requirements grow,
putting extra demands on the memory size and on the number of I/Os.
However, to achieve cost reduction objectives, the user may need to switch to smaller
components and to shrink the PCB area. This application note aims at analyzing the steps
required to migrate from an existing STM8L-based design to any one of the other
microcontroller types in the fast-growing STM8L family.
This application note groups all the most important information and provides a list of the
fundamental aspects.
The information included in this document can also be extremely useful in a first STM8
design. Studying the issues in this phase can allow the user to adapt from the beginning his
design to any future requirement.
To benefit fully from the information in this application note, the user should be familiar with
the STM8L microcontroller family. The STM8L family reference manuals (RM0013 and
RM0031), the STM8L datasheets, and the STM8L Flash program memory / data EEPROM
programming manual (PM0054) are available from www.st.com.
This application note is divided into four main sections:
■ Section 1: STM8L family compatibility: This section presents a first-level view of the
different aspects of the STM8L family architecture that must be taken into account for a
new design or migration. The microcontroller blocks and peripherals are grouped and
identified either as “compatible” or “compatible with minor limitations”.
■ Section 2: Planning for migration: This section gives an overview of common migration
cases. It provides a checklist of items which are potentially impacted by each case to allow
the user to quickly analyze which subjects have to be anticipated.
■ Section 3: Block-by-block compatibility: This section focuses on the migration
between different packages and details the pin-to-pin compatibility between all STM8L
sub-families.
■ Section 4: Peripheral pinout through all STM8L sub-families. This section shows the
differences in the pinout for each peripheral.
September 2011
Doc ID 16993 Rev 3
1/63
www.st.com