English
Language : 

AN2645 Datasheet, PDF (1/36 Pages) STMicroelectronics – Migration and compatibility guidelines for STM8S microcontroller applications
AN2645
Application note
Migration and compatibility guidelines
for STM8S microcontroller applications
Introduction
For designers of STM8S microcontroller applications, it’s important to be able to easily
replace 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 memory size, or increasing the number of I/Os. On the other
hand, cost reduction objectives may force you to switch to smaller components and shrink
the PCB area. This application note is written to help you and analyze the steps you need to
migrate from an existing STM8S-based design to any one of the 20+ other microcontroller
types in the fast-growing STM8S family.
To save your time, this application note groups together all the most important information
and lists the vital aspects that you need to address.
All the information included here can also be extremely worthwhile in your first STM8
design, not immediately concerned by a migration project. Studying the issues now will help
you tackle any future requirement by designing for compatibility from the beginning. To use
this application note fully, general STM8S knowledge is required, you can learn it from the
STM8S family reference manual (RM0016), the STM8S datasheets, and the STM8S Flash
program memory / data EEPROM programming manual (PM0051).
This document is divided into three main sections:
● Section 1: STM8S family compatibility: This section presents a first level view of the
different aspects of the STM8S family architecture that are important to consider when
planning a new design or migrating. 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 you to quickly analyze which subjects you need to anticipate.
● Section 3: Block-by-block compatibility: This section lists all the topics for each
block, focussing on the compatibility aspects in more detail.
March 2009
Rev 1
1/36
www.st.com