Home|Embedded Systems

Everything related to embedded systems: microcontrollers, firmware, practical examples, hardware related tips, etc.

Embedded Real-Time Operating System (RTOS) Basics

Embedded systems are microcontroller-based systems that are designed to perform specific functions such as reading sensor data, responding to external events, communicating with other systems, controlling processes, etc. The tricky part is to make the distinction of what exactly qualifies such a system as real-time. Aren't all embedded systems operating in real-time? In order for

2019-10-26T22:27:34+03:00By |Categories: Embedded Systems|Tags: , , |0 Comments

STM32 Bootloader Design – Part 2

In the first post of this series, we covered the basic ideas behind creating an STM32 bootloader. Today we will focus on the application code and generate output, that our bootloader code will be able to process. The application code is very simple - it initializes one pin as output and toggles it after some

2020-02-16T15:49:58+02:00By |Categories: Embedded Systems|Tags: , |2 Comments

Open Drain Output vs. Push-Pull Output

Microcontrollers use pins for interfacing with the outside world. In general, the pins are the physical points on the package of an integrated circuit (IC) where a connection can be made to the printed circuit board.  Behind each pin (inside the IC) there is a special circuitry used for driving it. This circuitry (usually called a

2019-05-18T22:57:15+03:00By |Categories: Embedded Systems|Tags: |8 Comments

STM32 Bootloader Design – Part 1

We already learned what a bootloader is and why it is needed in this article. Today we will start developing our own bootloader. For this particular example, we will be using STM32F411 discovery board and FT2232H mini module. The project is based on ARM Keil MDK. Before we start coding, here is some theory. The

2019-08-14T00:14:53+03:00By |Categories: Embedded Systems|Tags: , |0 Comments

Exception Types in Microcontrollers

Exceptions are events that disrupt the normal execution flow of the program. When an exception occurs the processor handles it by usually executing dedicated piece of code called exception handler. Each type of exception can have its own exception handler. In some literature sources exceptions and interrupts are analyzed as two different things. Expeptions being

2019-05-18T23:16:07+03:00By |Categories: Embedded Systems|Tags: |0 Comments
Go to Top