STM32 Micro Controller

STM32 is a family of 32-bit microcontroller integrated circuits by STMicroelectronics. The STM32 chips are grouped into related series that are based around the same 32-bit ARM processor core: Cortex-M0, Cortex-M0+, Cortex-M3, Cortex-M4, Cortex-M7, Cortex-M33. Internally, each microcontroller consists of ARM processor core(s), flash memory, static RAM, debugging interface, and various peripherals.

The STM32 is a family of microcontroller ICs based on various 32-bit RISC ARM Cortex-M cores. STMicroelectronics licenses the ARM Processor IP from ARM Holdings. The ARM core designs have numerous configurable options, and ST chooses the individual configuration to use for each design. ST attaches its own peripherals to the core before converting the design into a silicon die. The following tables summarize the STM32 microcontroller families.

Design utilities

  • Simulink, by MathWorks provides model-based design solutions to design embedded systems. The Embedded Coder Support Package for STMicroelectronics Discovery Boards and the Simulink Coder Support Package for STMicroelectronics Nucleo Boards provide parameter tuning, signal monitoring and one-click deployment of Simulink algorithms to STM32 boards with access to peripherals like ADC, PWM, GPIOs, I²C, SPI, SCI, TCP/IP, UDP, etc.

Flash programming via USART

All STM32 microcontrollers have a ROM’ed bootloader that supports loading a binary image into its flash memory using one or more peripherals (varies by STM32 family). Since all STM32 bootloaders support loading from the USART peripheral and most boards connect the USART to RS-232 or a USB-to-UART adapter IC, thus it’s a universal method to program the STM32 microcontroller. This method requires the target to have a way to enable/disable booting from the ROM’ed bootloader (i.e. jumper / switch / button).STM32 C/C++ software libraries

  • HAL (Hardware Abstraction Layer) Drivers
  • LL (Low Layer) Drivers
  • Standard peripheral library (deprecated)
  • embOS
  • FreeRTOS
  • USB device library.
  • DSP library.
  • Encryption library.
  • Motor control library.
  • MP3 / WMA / Speex codecs and audio engine.
  • Self-test routines.

Leave a Reply

Your email address will not be published. Required fields are marked *