STM32 tutorial

From AIRWiki
Jump to: navigation, search

---Work in progress---


STM32 is an ARM Cortex-M3 microcontroller built from ST. It combines a modern 32 bit architecture, high performances and low cost, making it a good choice for many applications.

In AIRLab there are some STM32 based boards to learn how to work with this kind of microcontrollers, and some projects have been developed on this architecture.

To be able to work with STM32 microcontrollers you will need:

  • an hardware board with the MCU and a JTAG connector to program it
  • a JTAG adapter
  • a toolchain to compile ARM executables on your computer
  • OpenOCD to write the executable on the MCU

Hardware

STM32 module

ET-STM32 Stamp Module http://www.futurlec.com/ET-STM32_Stamp.shtml

Stm32 module.jpg

Demo board

Stm32 demoboard.JPG

ST board (IMU)

JTAG Adapter

Arm-usb-tiny.jpg

Development software

Commercial solutions

Free IDEs

Custom toolchain

OpenOCD