• Add bookmark
EmbeddedExpertIO
  • Home

STM32 Timers Applications: Timer Interrupt

Posted June 27, 2025 by Husamuldeen

Timer interrupts in STM32 microcontrollers provide a powerful way to execute specific tasks at precise time intervals without continuous CPU polling. By leveraging timer interrupts, developers can create efficient and responsive embedded...

READ MORE

STM32 Timers Applications: External Trigger as Totalizer

Posted June 21, 2025 by Husamuldeen

This application demonstrates how to configure an STM32 timer to use its External Trigger (ETR) input as the clock source, effectively turning the timer into a high-speed hardware totalizer. By feeding external pulses into the ETR pin, the timer...

READ MORE

STM32 ADC Application Part 5: Sample Time Calculation

Posted June 19, 2025 by Husamuldeen

In this part of the STM32 ADC series, we delve into the concept of sample time and its critical role in determining ADC accuracy and performance. Sample time directly affects how long the ADC samples the input voltage before conversion...

READ MORE

STM32 Timers Applications: External Trigger

Posted June 14, 2025 by Husamuldeen

The External Trigger (ETR) mode in STM32 timers allows synchronization of timer operations with external events or signals, enabling precise timing control in real-time applications. This mode is especially useful when the timer needs to be...

READ MORE

Emulating I2C Sensors Part 1: Introduction and Environment Setup

Posted June 12, 2025 by Husamuldeen

Emulating an I2C sensor using an STM32 microcontroller allows developers to simulate the behavior of real sensors for testing or development purposes. By configuring the STM32 as an I2C slave device, it can respond to read and write operations...

READ MORE

Using Micropython for STM32F411: SPI Full Duplex

Posted June 7, 2025 by Husamuldeen

This guide explains how to perform SPI communication using MicroPython on an STM32F4 microcontroller. It covers initializing the SPI interface, controlling a chip select pin, and exchanging data with an SPI device such as the MPU9250 sensor...

READ MORE

STM32 Timers Applications: Input capture Using DMA Measure Frequency and Duty Cycle

Posted June 6, 2025 by Husamuldeen

In this guide, we shall use DMA to capture the both, rising and falling edge of a signal. Once they have been captured, we shall use these to measure the frequency and duty cycle of the signal. In this guide, we shall cover the following: 1...

READ MORE

STM32 Timers Applications: Input capture

Posted May 31, 2025 by Husamuldeen

Input Capture Mode in STM32 allows precise measurement of the time between signal edges by capturing timer counter values. It is commonly used for measuring signal period, pulse width, or event timing in embedded applications. In this guide, we...

READ MORE

STM32 ADC Application Part 4: Read Multiple Channels Using Interrupt and DMA

Posted May 29, 2025 by Husamuldeen

In this fourth part of the STM32 ADC series, we focus on using interrupts and DMA to efficiently read multiple ADC channels in scan mode. These techniques allow seamless, non-blocking acquisition of multi-channel analog data, significantly...

READ MORE

Using Micropython for STM32F411: SPI Transmit

Posted May 24, 2025 by Husamuldeen

This guide demonstrates how to use SPI communication on an STM32F4 microcontroller with MicroPython. It shows how to transmit 5 bytes of data repeatedly using SPI1 with PA0 configured as the chip select (CS) pin. In this guide, we shall cover the...

READ MORE

Using Micropython for STM32F411: I2C Write

Posted May 22, 2025 by Husamuldeen

In this small and quick guide, we demonstrate how to perform I2C write operations using MicroPython to update register values on a connected device. This includes writing new data to an I2C peripheral, such as an RTC module, based on specific...

READ MORE

STM32 ADC Application Part 3: Read Multiple Channels Using Polling Mode

Posted May 17, 2025 by Husamuldeen

In this third part of the STM32 ADC series, we explore how to use discontinuous mode to read multiple ADC channels efficiently. This mode allows precise control over channel sampling by breaking a regular conversion sequence into smaller steps...

READ MORE
…7891011-2021-3031-4041-42
Categories
  • Data Structures
  • Deep Learning
  • Embedded Systems
  • LCD
  • Peripheral Drivers
  • State Machine
  • State Machines
  • STM32
  • TM4C123
  • Uncategorized

Get Our #1 Embedded Systems Bestseller on Amazon!

✅ Master Embedded Systems – Decode datasheets & build peripheral drivers from scratch.

✅ Hands-On Firmware Development – Work with GPIO, UART, SPI, I2C, ADC, DMA, and more.

✅ No More Blind Copying – Understand every line of code for real expertise.

✅ Advance Your Career – Gain confidence & independence in firmware development.

Join the EmbeddedExpertIO School

EmbeddedExpertIO School
Secure Boot From Ground Up™

Secure Boot From Ground Up™

Build a production-minded Secure Boot chain on STM32, including signing workflows, flash layout, policy enforcement, rollback control, and deterministic recovery.

$150.78
Zephyr OS from Ground Up™

Zephyr OS from Ground Up™

Hands-On Zephyr OS: Real-Time Firmware Development on STM32

$129.78
Mastering the CAN Bus from Ground Up™

Mastering the CAN Bus from Ground Up™

Navigating the Intricacies of the Controller Area Network(CAN)

$79.78
Advanced Digital Signal Processing on ARM Processors

Advanced Digital Signal Processing on ARM Processors

Filter Design, FFT, Realtime DSP, CMSIS-DSP

$129.99
Safety-Critical Embedded C++ Firmware Development

Safety-Critical Embedded C++ Firmware Development

Designing Deterministic, Standards-Compliant Firmware for Automotive, Aerospace and Industrial Applications with MISRA C++, AUTOSAR, DO-178C, ISO 26262, and IEC 61508

$129.78
Embedded C Test-Driven Development

Embedded C Test-Driven Development

Hands-On Guide to Embedded Test-Driven Development (TDD) for Professional Embedded C Developers

$99.78
Recent Comments
  • Husamuldeen on Working with STM32 and E-Ink Display Part 1: Introduction and Environment Setup
  • Marc on Working with STM32 and E-Ink Display Part 1: Introduction and Environment Setup
  • Husamuldeen on Getting Started with STM32F103: ADC Multi Channel Continuous Conversion Mode with DMA
  • Jose on Getting Started with STM32F103: ADC Multi Channel Continuous Conversion Mode with DMA
  • Husamuldeen on Working with STM32 and Acceleration Sensor: ADXL345 in SPI mode Part 2
Archives
Advanced Embedded Object-Oriented Programming in C++

Advanced Embedded Object-Oriented Programming in C++

Mastering C++ Object-Oriented Programming for Microcontroller-Based Firmware Development

$129.78

 All Rights Reserved

This website uses cookies to improve your experience. We'll assume you're ok with this, but you can opt-out if you wish.Learn more here
Manage consent

Privacy Overview

This website uses cookies to improve your experience while you navigate through the website. Out of these, the cookies that are categorized as necessary are stored on your browser as they are essential for the working of basic functionalities of the website. We also use third-party cookies that help us analyze and understand how you use this website. These cookies will be stored in your browser only with your consent. You also have the option to opt-out of these cookies. But opting out of some of these cookies may affect your browsing experience.
Necessary
Always Enabled
Necessary cookies are absolutely essential for the website to function properly. This category only includes cookies that ensures basic functionalities and security features of the website. These cookies do not store any personal information.
Non-necessary
Any cookies that may not be particularly necessary for the website to function and is used specifically to collect user personal data via analytics, ads, other embedded contents are termed as non-necessary cookies. It is mandatory to procure user consent prior to running these cookies on your website.
SAVE & ACCEPT