Tag: ARM

From AVR to STM32: An introduction to ‘Bare Metal’-programming the Arm-Cortex-M4(R) MCUs (Lesson 5: Timers and Interrupts)

by Peter Baier (DK7IH) Abstract This unit will cover the basic usage of timers and related interrupts, a crucial topic in the world of microcontrollers. Introduction The STM32/Arm Cortex(R)-M4 MCUs contain a large number of timers: Basic timers General-purpose timers Advanced-control timers There are up to 14 timers in an STM32-MCU that are fully independent…

Read the full article

From AVR to STM32: An introduction to ‘Bare Metal’-programming the Arm-Cortex-M4(R) MCUs (Lesson 2: Register usage and port configuration)

Abstract In this lesson we will talk about port configuration in the STM32F4 MCU. First a closer look to the registers will be taken and then we will cover first output port configuration. By the end of this lesson input port config and usage will be covered. Handling registers When reading and writing data in…

Read the full article

From AVR to STM32: An introduction to ‘Bare Metal’-programming the Arm-Cortex-M4(R) MCUs (Lesson 1: The Basics)

Abstract This online course will provide the interested hobbyist software developer with the basic understanding of the steps that must be taken when migrating from the more or less “easy going”-oriented AVR 8-bit-MCU family to the more sophisticated STM32-ARM-Cortex devices. It is also designed for those who are coming from other platforms like PIC-controllers for…

Read the full article