Back to main page

STM32F10x Standard Peripherals Library

Supported devices and toolchains

 

Copyright 2010 STMicroelectronics

 

 

STM32F10x devices peripherals Overview


The following table presents the available peripherals set for each STM32 devices.
Glossary
  • Low density Value line devices are STM32F100xx microcontrollers where the Flash memory density ranges between 16 and 32 Kbytes.
  • Low density devices are STM32F101xx, STM32F102xx and STM32F103xx microcontrollers where the Flash memory density ranges between 16 and 32 Kbytes.
  • Medium density Value line devices are STM32F100xx microcontrollers where the Flash memory density ranges between 64 and 128 Kbytes.
  • Medium density devices are STM32F101xx, STM32F102xx and STM32F103xx microcontrollers where the Flash memory density ranges between 64 and 128 Kbytes.
  • High density Value line devices are STM32F100xx microcontrollers where the Flash memory density ranges between 256 and 512 Kbytes.
  • High density devices are STM32F101xx and STM32F103xx microcontrollers where the Flash memory density ranges between 256 and 512 Kbytes.
  • XL-density devices are STM32F101xx and STM32F103xx microcontrollers where the Flash memory density ranges between 512 and 1024 Kbytes.
  • Connectivity line devices are STM32F105xx and STM32F107xx microcontrollers.

Low-density Medium-density High-density
XL-density
Connectivity Line Value line(*)
ADC X X X X X
CAN X X X X NA
CEC NA NA NA NA X
CRC X X X X X
DAC NA NA X X X
DBGMCU X X X X X
DMA X X X X X
Ethernet NA NA NA X NA
EXTI X X X X X
FLASH X X X X X
FSMC NA NA X NA X
GPIO X X X X X
I2C X X X X X
IWDG X X X X X
PWR X X X X X
RCC X X X X X
RTC X X X X X
SDIO NA NA X NA NA
SPI X X X X X
TIM X X X X X
USART X X X X X
USB FS Device X X X NA NA
USB OTG FS NA NA NA X NA
WWDG X X X X X
(*) Value line: STM32F100xx High-, Medium- and Low-density devices.

 

Back to Top

Supported STM32F10x devices

The Standard Peripherals Library supports all STM32F10x family products: Connectivity line, XL-density, High-density, High-density Value line, Medium-density, Medium-density Value line, Low-density and Low-density Value line devices. By using this library it becomes straightforward to move the application firmware from one STM32F10x device to another. 

User has only to select which device he will use by controlling preprocessor define declared in stm32f10x.h file ( No selected device by default) then the library will be configured accordingly:

 

stm32f10x.h

...

/* Uncomment the line below according to the target STM32 device used in your
   application
  */

#if !defined (STM32F10X_LD_VL) 
!defined (STM32F10X_LD) && !defined (STM32F10X_MD_VL) && !defined (STM32F10X_MD) && !defined (STM32F10X_HD) && !defined (STM32F10X_HD_VL) && !defined (STM32F10X_CL)

  /* #define STM32F10X_LD_VL */   /*!< STM32 Low density Value line devices */

  /* #define STM32F10X_LD */      /*!< STM32 Low density devices */

  /* #define STM32F10X_MD_VL */   /*!< STM32 Medium density Value line devices */

  /* #define STM32F10X_MD */      /*!< STM32 Medium density devices */
  /* #define STM32F10X_HD_VL */   /*!< STM32 High density Value line devices */
  /* #define STM32F10X_HD */      /*!< STM32 High density devices */

  /* #define STM32F10X_XL */      /*!< STM32 XL density devices */

  /* #define STM32F10X_CL */      /*!< STM32 Connectivity line devices */
#endif


#if!defined (STM32F10X_LD) && !defined (STM32F10X_LD_VL)&& !defined (STM32F10X_MD) && !defined(STM32F10X_MD_VL) && !defined (STM32F10X_HD) &&!defined (STM32F10X_HD_VL) && !defined (STM32F10X_XL) && !defined (STM32F10X_CL)
 #error "Please select first the target STM32F10x device used in your application (in stm32f10x.h file)"
#endif


/*  Tip: To avoid modifying this file each time you need to switch between these
        devices, you can define the device in your toolchain compiler preprocessor.

 - Low density Value line devices are STM32F100xx microcontrollers where the Flash 

   memory density ranges between 16 and 32 Kbytes.

 - Low density devices are STM32F101xx, STM32F102xx and STM32F103xx microcontrollers
   where the Flash memory density ranges between 16 and 32 Kbytes.

 - Medium density Value line devices are STM32F100xx microcontrollers where the Flash 

   memory density ranges between 64 and 128 Kbytes.

 - Medium density devices are STM32F101xx, STM32F102xx and STM32F103xx microcontrollers
   where the Flash memory density ranges between 64 and 128 Kbytes.

 - High density Value line devices are STM32F100xx microcontrollers wherethe Flash memory
   density ranges between 256 and 512 Kbytes.

 - High density devices are STM32F101xx and STM32F103xx microcontrollers where
   the Flash memory density ranges between 256 and 512 Kbytes.
 - XL-density devices are STM32F101xx and STM32F103xx microcontrollers where
   the Flash memory density ranges between 512 and 1024 Kbytes.
 - Connectivity line devices are STM32F105xx and STM32F107xx microcontrollers.
  */

...  

 

This define will control the declaration of the following part of the Standard Peripherals library:

IRQ channel definition

Peripheral memory mapping and physical registers address definition

Peripheral pointer declaration and driver header file inclusion

Product miscellaneous configuration: external quartz (HSE) value…

Peripheral with Features w/ different/incompatible implementation across the family

Note : This define doesn’t apply to peripheral drivers, these drivers are always supporting features of the family’s superset.

 


Back to Top

Supported toolchains

The Standard Peripherals Library supports the following toolchains:

RealView Microcontroller Development Kit MDK-ARM 
Embedded Workbench for ARM EWARM

Raisonance Integrated Development Environment RIDE7

Hitex Development Tools HiTOP

Atolic T rueSTUDIO

Refer to Release_Notes_for_STM32F10x_StdPeriph_Template for further details about the version of each supported toolchain. 

Back to Top

 

 

For complete documentation on STM32(CORTEX M3) 32-bit Microcontrollers platform visit www.st.com/STM32