• Add bookmark
EmbeddedExpertIO
  • Home

Getting started with STM32L053: SPI Full Duplex using DMA

Posted May 20, 2023 by Husamuldeen

In the previous guide (here), we tool a look for SPI in duplex mode using polling mode. In this guide, we shall see how to do SPI Full duplex using DMA. In this guide, we shall cover the following: Enable RXDMA for SPI. Configure DMA. SPI RX with...

READ MORE

Working with STM32 and keypad Part 2: Reading keypad

Posted May 17, 2023 by Husamuldeen

In the previous guide (here), we took a look at keypad structure and how to initialize the keypad pins. In this guide, we shall develop the algorithm to read from keypad. In this guide, we shall cover the following: Read keypad function. Code...

READ MORE

Working with STM32 and keypad Part 1: Interface

Posted May 14, 2023 by Husamuldeen

In this two part guide, we shall see how to interface 4×4 Keypad with STM32F411RE-Nucleo and develop the algorithm required to read the keypad. In this guide, we shall cover the following: Key structure. Reading keypad. Keypad pinout...

READ MORE

Working with STM32 and SPI: Dealing with multiple slaves

Posted May 10, 2023 by Husamuldeen

In the past guides related to SPI, we worked only with single slave device. In this guide, we shall cover dealing with multiple slave devices. The slave devices in this case are: MPU9250. SSD1306 SPI OLED Monochrom display. In this guide, we...

READ MORE

Getting started with STM32L053: SPI Full Duplex

Posted May 6, 2023 by Husamuldeen

In the previous guide (here), we saw how to transfer data over SPI using DMA. In this guide, we shall see how to receive data from SPI bus. In this guide, we shall cover the following: SPI Receive function. MPU9250 connection. Code. Results. 1...

READ MORE

Getting started with STM32L053: SPI TX DMA

Posted May 4, 2023 by Husamuldeen

In the previous guide (here), we saw how to transmit data over SPI using polling mode. In this guide, we shall use DMA to transmit data over SPI without CPU intervention. In this guide, we shall cover the following: Configure SPI in DMA TX mode...

READ MORE

EEPROM Emulation using Flash on STM32F4xx

Posted April 30, 2023 by Husamuldeen

Since most STM32Fxxx doesn’t feature internal EEPROM. Hence, this guide we shall use the internal flash to emulate EEPROM. In this guide, we shall cover the following: What is EEPROM. Develop the driver. Code. Results. 1. What is EEPROM...

READ MORE

Writing to Internal Flash of STM32Fxxx

Posted April 26, 2023 by Husamuldeen

In the previous guide (here), we took a look how to read from the internal flash of STM32F411. In this guide, we shall see how to write to the internal flash storage of STM32F411. In this guide, we shall cover the following: Steps required to...

READ MORE

Reading From internal Flash of STM32Fxxx

Posted April 23, 2023 by Husamuldeen

In this guide, we shall see how to read data from the internal flash storage of STM32Fxxx (tested on STM32F1 and F4). In this guide, we shall cover the following: Internal Flash Storage of STM32F411. Develop the driver. Code. Results. 1. Internal...

READ MORE

Working with STM32 and ACS712 Current Sensor: Measuring AC current

Posted April 20, 2023 by Husamuldeen

In the previous guide (here), we took a look at ACS712 current sensor and how to measure DC current. In this guide we shall use this sensor to measure AC current. NOTE: This guide uses main voltages. Please handle with care In this guide, we...

READ MORE

Working with STM32 and ACS712 Current Sensor: Measuring DC current

Posted April 15, 2023 by Husamuldeen

In this guide, we shall interface ACS712 hall effect current sensor with STM32. In this guide, we shall cover the following: ACS712 Sensor. Connection. Driver Development. Code. Result. 1. ACS712 Sensor: The Allegro® ACS712 provides...

READ MORE

[Republishing] Toggling LED using DMA and Timer on STM32F4xx

Posted April 12, 2023 by Husamuldeen

In this guide, we shall use DMA to toggle LED with a help of a timer to achieve the toggle rate of 1Hz. In this guide, we shall cover the following : GPIO Configuration. Timer configuration. DMA Configuration. Code. Results. 1. GPIO...

READ MORE
1-1011-20…2324252627…31-4041-41
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