All About Circuits

Latest Microcontroller Technical Articles

Categories

How to Calibrate MCU Internal Oscillators

How to Calibrate MCU Internal Oscillators

This article describes the internal RC oscillator calibration mechanism available in low-end microcontroller units. A basic calibration procedure and considerations on automated calibration are presented.


The Good and the Bad of MCU Internal Oscillators

The Good and the Bad of MCU Internal Oscillators

This article describes the benefits and requirements of the internal RC oscillator often available inside many low-cost Microcontroller units, including the calibration procedure to obtain the best possible accuracy.


What Is Brown Out Reset in Microcontrollers? How to Prevent False Power-Downs

What Is Brown Out Reset in Microcontrollers? How to Prevent False Power-Downs

Brown Out Reset is an important function to increase the reliability of a microcontroller after start-up. Normally used to solve problems with the power supply, this article shows how Brown Out Reset can prevent another problem.


GPIO Interrupt Comparison for Three Popular Microcontrollers from TI, Microchip, and STMicro

GPIO Interrupt Comparison for Three Popular Microcontrollers from TI, Microchip, and STMicro

Compare the GPIO interrupts of three popular microcontrollers: the Texas Instruments CC2544, the Microchip ATmega328P, and the STMicroelectronics STM32L151C6.


Interrupts for Peripherals: Timers, Serial Communication, and ADCs

Interrupts for Peripherals: Timers, Serial Communication, and ADCs

Learn about interrupts for some familiar peripherals: timers, serial communication, and ADCs.


How GPIO Interrupts Work

How GPIO Interrupts Work

This article introduces the idea of concurrency and a mechanism that many computers provide for dealing with concurrency called interrupts.


Concurrency and Interrupts in Microcontrollers and Embedded Systems

Concurrency and Interrupts in Microcontrollers and Embedded Systems

This article introduces the idea of concurrency and a mechanism that many computers provide for dealing with concurrency called interrupts.


Assembly vs. C: Why Learn Assembly?

Assembly vs. C: Why Learn Assembly?

This article discusses two programming languages, namely, C and Assembly, and presents the need to know Assembly language for programming embedded systems.


Embedded Firmware Tips: Converting Digital Signal Waveforms into Code with Scilab

Embedded Firmware Tips: Converting Digital Signal Waveforms into Code with Scilab

This article describes a simple procedure that helps you to introduce a wide variety of signals and mathematical functions into your microcontroller projects.


What Is Clock Frequency? Embedded Firmware Tips and Tricks

What Is Clock Frequency? Embedded Firmware Tips and Tricks

You can simplify MCU development if you make sure that your firmware has access to a numerical value that corresponds to the processor frequency.


Embedded Firmware Tips and Tricks: Use Your Read Only Memory to Free Up RAM

Embedded Firmware Tips and Tricks: Use Your Read Only Memory to Free Up RAM

Learn how to use code memory to free up RAM on your MCU.


Hardware Security Vulnerabilities that Engineers Should Know

Hardware Security Vulnerabilities that Engineers Should Know

Why should engineers care about hardware security? Because they can help prevent vulnerabilities through design!


The Advanced Microcontroller Bus Architecture: An Introduction

The Advanced Microcontroller Bus Architecture: An Introduction

This article will introduce the Advanced Microcontroller Bus Architecture (AMBA), an open standard for SoC designs.


Understanding Embedded C: What Are Structures?

Understanding Embedded C: What Are Structures?

After introducing structures, we’ll take a look at some of the important applications of this powerful data object. Then, we’ll examine the C language syntax to declare a structure. Finally, we’ll briefly introduce the data alignment requirement. We’ll see that we may be able to reduce the size of a structure by simply rearranging the order of its members.


Introduction To Real-Time Embedded Systems

Introduction To Real-Time Embedded Systems

This article looks at real-time embedded systems including classifications, constraints, and design patterns.


How to Choose Microcontroller Peripherals for Digital Signal Processing Applications

How to Choose Microcontroller Peripherals for Digital Signal Processing Applications

This article continues a discussion of microcontroller features and characteristics that are particularly important when you’re thinking in terms of DSP capabilities.


How to Choose a Microcontroller for Digital Signal Processing Applications

How to Choose a Microcontroller for Digital Signal Processing Applications

This article discusses the features that you should look for when you need an MCU to act as both a system controller and a digital signal processor.


How to Read a Microcontroller Datasheet: Exploring the Hardware

How to Read a Microcontroller Datasheet: Exploring the Hardware

This article provides some tips on making efficient use of the peripheral sections in your microcontroller’s datasheet (or reference manual, or user guide).


How to Read a Microcontroller Datasheet: Introduction and First Steps

How to Read a Microcontroller Datasheet: Introduction and First Steps

MCU datasheets sometimes present an overwhelming abundance of facts, figures, and specs. This practical, step-by-step guide will help you to identify and extract the information that you need.


How to Choose the Right Microcontroller for Your Application

How to Choose the Right Microcontroller for Your Application

This article continues the Introduction to Microcontrollers series with a discussion of the most important things to consider when you’re trying to find the best MCU for your next project.