Download Print this page

Stm32 Product Cross-Compatibility - ST STM32 Series Application Note

Migration and compatibility guidelines for stm32 microcontroller applications

Advertisement

AN3364
2.1.2

STM32 product cross-compatibility

The STM32 series embeds a set of peripherals which can be classed in three categories:
The first category is for the peripherals which are by definition common to all products.
Those peripherals are identical, so they have the same structure, registers and control
bits. There is no need to perform any firmware change to keep the same functionality at
the application level after migration. All the features and behavior remain the same.
The second category is for the peripherals which are shared by all products but have
only minor differences (in general to support new features), so migration from one
product to another is very easy and does not need any significant new development
effort.
The third category is for peripherals which have been considerably changed from one
product to another (new architecture, new features...). For this category of peripherals,
migration will require new development at application level.
Table 2
below gives a general overview of this classification:
Table 2.
STM32 peripheral compatibility analysis F1 versus F2 series
Peripheral
F1 series
FSMC
Yes
WWDG
Yes
IWDG
Yes
DBGMCU
Yes
CRC
Yes
EXTI
Yes
CAN
Yes
PWR
Yes
RCC
Yes
SPI
Yes
USART
Yes
I2C
Yes
TIM
Yes
DAC
Yes
F2 series
Comments
Yes
Same features
Yes
Same features
Yes
Same features
Yes
Same features
Yes
Same features
Yes
Same features
Yes
Same features
Yes+
Enhancement
Yes+
Enhancement
Yes+
TI mode / Max baudrate
Limitation fix / Max baudrate /
Yes+
One Sample Bit / Oversampling
by 8
Yes+
Limitation fix
32-bit Counter in TIM2 and
Yes+
TIM5
Yes+
DMA underrun interrupt
Doc ID 018608 Rev 1
How to migrate across STM32 series
Compatibility
Pinout
Identical
NA
NA
NA
NA
Identical
Identical
NA
NA
Identical
Identical
Identical
Identical
Identical
SW compatibility
Full compatibility
Full compatibility
Full compatibility
Full compatibility
Full compatibility
Full compatibility
Full compatibility
Full compatibility for
the same feature
Partial compatibility
Full compatibility for
the same feature
Full compatibility for
the same feature
Full compatibility for
the same feature
Full compatibility for
the same feature
Full compatibility for
the same feature
7/12

Advertisement

loading
Need help?

Need help?

Do you have a question about the STM32 Series and is the answer not in the manual?

Questions and answers

This manual is also suitable for:

Stm32f-1Stm32f-2Stm32l-1