• Add bookmark
EmbeddedExpertIO
  • Home

Using Micropython for STM32F411: SPI Full Duplex

Posted 3 days ago 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 4 days ago 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 10 days ago 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 12 days ago 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 17 days ago 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 19 days ago 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 24 days ago 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

Using Micropython for STM32F411: I2C Read

Posted 26 days ago by Husamuldeen

I2C (Inter-Integrated Circuit) is a widely used communication protocol that allows microcontrollers to interface with various peripheral devices using just two wires. In this guide, we demonstrate how to perform I2C read operations in MicroPython...

READ MORE

STM32 ADC Application Part 2: Single Conversion using interrupt and DMA

Posted May 10, 2025 by Husamuldeen

In this second part of the ADC series on STM32, we explore how to handle single-channel, single-conversion ADC using interrupts and DMA. To enhance efficiency and reduce CPU load, these methods enable automatic data handling upon conversion...

READ MORE

STM32 Timers Applications: PWM Output Using DMA

Posted May 8, 2025 by Husamuldeen

This guide demonstrates how to use an STM32 microcontroller to generate waveforms by updating the PWM duty cycle using a timer and DMA. By leveraging DMA, the duty cycle values are transferred efficiently without CPU intervention, enabling...

READ MORE

STM32 Timers Applications: Output Compare Mode

Posted April 26, 2025 by Husamuldeen

Output Compare mode is a powerful feature of STM32 timers that allows generating precise events when the timer counter reaches a predefined value. It is commonly used for tasks like generating PWM signals, creating time-based triggers, or...

READ MORE

STM32 ADC Application Part 1 : ADC in Polling Mode

Posted April 24, 2025 by Husamuldeen

Analog-to-Digital Converters (ADC) on STM32 microcontrollers allow precise measurement of analog signals by converting them into digital values for processing. Understanding the different ADC operating modes—such as single, continuous, and...

READ MORE
123…11-2021-3031-33
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
Modern Bare-Metal Embedded C++ Programming from Ground Up™

Modern Bare-Metal Embedded C++ Programming from Ground Up™

No Libraries used, Embedded C++, ADC,UART,TIMERS, GPIO,SPI,I2C, Template Programming etc.

$69.99

Embedded Systems Bare-Metal Ethernet Programming

Embedded Systems Bare-Metal Ethernet Programming

Build Embedded Ethernet Firmware : UDP, TCP, HTTP, SSI, CGI etc

$79.99
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
Multicore Firmware Development from Ground Up™

Multicore Firmware Development from Ground Up™

Comprehensive Guide to Embedded Multicore Programming

$67
4G LTE IoT: Bare-Metal to HTTP, MQTT, SMS

4G LTE IoT: Bare-Metal to HTTP, MQTT, SMS

Mastering IoT from Ground Up: Build, Innovate, and Monetize with 4G LTE

$50.04
Master Firmware Updates with In-Application Programming(IAP)

Master Firmware Updates with In-Application Programming(IAP)

Keys to Implemementing Firmware Updates : IAP Host Application, Advanced Bootloader

$50.25
Recent Comments
  • trimarco232 on Getting Started with STM32F103: SPI Transmit using DMA
  • Husamuldeen on Getting Started with STM32WB55: BLE Advertising
  • Mihir on Getting Started with STM32WB55: BLE Advertising
  • Husamuldeen on Working with STM32 and NRF24L01 Wireless RF Part1: Configuration
  • Husamuldeen on Getting Started with STM32WB55: LED Control using BLE
Archives
Modern Embedded GUI with TouchGFX

Modern Embedded GUI with TouchGFX

Craft Next-Gen Embedded User Experiences with TouchGFX

$70.03
Advanced Audio Processing: Mastering I2S, Codecs, Audio Input, and Output

Advanced Audio Processing: Mastering I2S, Codecs, Audio Input, and Output

Develop Expert Skills in STM32-Based Audio Systems and Driver Integration

$99.78
Wireless Firmware Update: Mastering FOTA with STM32 and ESP8266

Wireless Firmware Update: Mastering FOTA with STM32 and ESP8266

Firmware Over-the-Air (FOTA) Update from Ground Up™

$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