Continue to Site

Welcome to

Welcome to our site! is an international Electronics Discussion Forum focused on EDA software, circuits, schematics, books, theory, papers, asic, pld, 8051, DSP, Network, RF, Analog Design, PCB, Service Manuals... and a whole lot more! To participate you need to register. Registration is free. Click here to register now.

[SOLVED] STM32 Architecture and programming

Not open for further replies.


Full Member level 6
Mar 28, 2006
Reaction score
Trophy points
Trento, Italy
Activity points
Hi all,

I am starting to use STM32F107 controller and I never used STM32 series before. Please guide me about any good starting tutorial or book which may help me to understand architecture and programming of Cortex M series controller.
I found many free online books and material however, I sincerely appreciate if anyone recommend comprehensive tutorial/ book or share his personal experience about how to start ...



In fact, there are some good tutorials online. You may know that there is a free development environment
called Coocox. The link below explains how to use the F429 discovery, but I'm sure many other tutorials
exist. By the way, I found a lot easier to start with CoIDE (Cooxox's IDE) version 1.7.8 than 2.0. But this
was at the beginning of the year, when coocox 2.0 just got published. Maybe there are other tutorials

  • Like
Reactions: ashad


    Points: 2
    Helpful Answer Positive Rating
Thanks Dora,

If anyone knew about any book for ARM M series STM32 like I have AVR Microcontroller and Embedded Systems by ALI MAZIDI. In which he explained step by step complete architecture.

if anyone knew any book/ tutorial then please share with me or if it is not free then share ISBN #.

All ARM Core Architectures are owned and licensed by ARM, Ltd. to various semiconductor manufacturers whom combine these core designs with various peripheral modules to market as their own version, including all of the ARM Cortex-Mx series.

ARM, Ltd website contains vast amounts of documentation which you can either view online or download in PDF form:

ARM Architecture for the Digital World

Of course the STM32F107 is an ARM Cortex-M3 and the core architecture documentation is contained below:

ARM Cortex-M3 Processor Documentation and Resources

There is also a common library API available for all ARM Cortex-Mx Series microcontrollers, CMSIS:

CMSIS - Cortex Microcontroller Software Interface Standard

The ARM® Cortex® Microcontroller Software Interface Standard (CMSIS) is a vendor-independent hardware abstraction layer for the Cortex-M processor series and specifies debugger interfaces. Creation of software is a major cost factor in the embedded industry. By standardizing the software interfaces across all Cortex-M silicon vendor products, especially when creating new projects or migrating existing software to a new device, means significant cost reductions.

The CMSIS enables consistent and simple software interfaces to the processor for interface peripherals, real-time operating systems, and middleware. It simplifies software re-use, reducing the learning curve for new microcontroller developers and cutting the time-to-market for devices.

Joseph Yiu's book is fairly good:

The Definitive Guide to ARM® Cortex®-M3 and Cortex®-M4 Processors, Third Edition

The Designer's Guide to the Cortex-M Processor Family: A Tutorial Approach

And Jonathan Valvano's Series:

Embedded Systems: Introduction to Arm Cortex-M Microcontrollers , Fifth Edition (Volume 1)

Embedded Systems: Real-Time Interfacing to Arm® Cortex(TM)-M Microcontrollers 2nd Edition (Volume 2)

Embedded Systems: Real-Time Operating Systems for Arm Cortex M Microcontrollers (Volume 3)

And there is the following website for tutorials and information on the STM32F4 series, many of the techniques can be migrated to the STM32F107:

STM32F4 Discovery - Libraries and tutorials for STM32F4 series MCUs

  • Like
Reactions: kpc and ashad


    Points: 2
    Helpful Answer Positive Rating


    Points: 2
    Helpful Answer Positive Rating
Not open for further replies.

Part and Inventory Search

Welcome to