• Add bookmark
EmbeddedExpertIO
  • Home

Getting Started with STM32F103: I2C Write Multiple Bytes

Posted February 12, 2023 by Husamuldeen

In the previous guide (here), we saw how to read three different register from a slave device (DS3231 RTC) and display the time stored in the RTC. In this guide, we shall see how to write multiple bytes. In this guide, we shall cover the...

READ MORE

Getting Started with STM32F103: I2C Read Multiple Bytes

Posted February 8, 2023 by Husamuldeen

In the pervious guid (here), we took a look how to write/read single byte using I2C and the slave device is DS3231 In this guide, we shall see how to read multiple byte of DS3231 which they are seconds, minutes and hours and display them on the...

READ MORE

Getting Started with STM32F103: I2C Read Byte

Posted February 5, 2023 by Husamuldeen

In the previous guide (here), we took a look how to write a single byte with memory address to a slave device (DS3231) and successfully wrote a byte to the seconds part of the RTC. In this guide, we shall combine the write function with read...

READ MORE

Getting Started with STM32F103: I2C Write Byte

Posted February 4, 2023 by Husamuldeen

In the previous guide (here), we took a look at the i2c protocol and how to use the i2c to scan for the slave addresses. In this guide, we shall transmit data over i2c to slave device. In this guide, we shall cover the following: I2C write byte...

READ MORE

Getting Started with STM32F103: UART Receiver with DMA and IDLE

Posted February 1, 2023 by Husamuldeen

In the previous guide (here), we took a look how to configure the UART to transmit and receive data to/from PC using DMA. The limitation that we shall wait until the buffer is filled before we print the the received characters. In this guide, we...

READ MORE

Getting Started with STM32F103: UART Receiver with DMA

Posted January 25, 2023 by Husamuldeen

In the previous guide (here), we took a look how to configure the UART to receive a character using interrupt and echo back the received character. In this guide, we shall use DMA to recieve data. In this guide, we shall cover the following...

READ MORE

Getting Started with STM32F103: I2C Bus Scanner

Posted January 22, 2023 by Husamuldeen

n this guide, we shall discuss what is I2C and how to make an i2c bus scanner to scan the slave devices that connected to the i2c1 bus of STM32F103 In this guide we will cover the following: What is I2C I2C setup for stm32f1 I2C bus scanner code...

READ MORE

Getting Started with STM32F103: Timer in encoder mode

Posted January 19, 2023 by Husamuldeen

In the previous guide of the timer in STM32F1(here), we took a look how to configure the timer to operate in Encoder mode, in this guide, we shall use the timer to measure the number of pulses generated by the encoder. In this guide, we shall...

READ MORE

Working with ADC and STM32 part 6: Analog Watchdog

Posted January 16, 2023 by Husamuldeen

In the previous part (here), we saw how to configure the ADC to work in DMA mode with timer trigger. In this guide, we shall use feature called analog watchdog. This has benefits like monitoring level of water etc. In this guide, we shall cover...

READ MORE

Getting Started with STM32F103: Output Compare Mode in Timer

Posted January 11, 2023 by Husamuldeen

In the previous guide of timer (here), we took a look how to configure the timer in PWM mode. In this guide, we shall use timer in output compare mode to toggle the LED on CH1 of TIM2. In this guide, we shall cover the following: What is output...

READ MORE

Working with STM32 and Acceleration Sensor: ADXL335 Analog Sensor

Posted January 8, 2023 by Husamuldeen

In this guide, we shall see how to interface ADXL335 Accelerometer sensor with STM32F4. Since this sensor is analog based sensor, we shall use DMA to handle the data from the adxl335. To setup multichannel ADC with DMA, please refer to this guide...

READ MORE

Getting Started with STM32F103: ADC Multi Channel Timer Triggered with DMA

Posted January 5, 2023 by Husamuldeen

In the previous guide (here), we took a look how to use ADC in DMA mode to acquire the data from two channels. In this guide, we shall see how to configure the ADC to be triggered by timer. In this guide, we shall cove the following: Timer...

READ MORE
1-10…1718192021-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
  • Husamuldeen on Working with STM32 and NRF24L01 Wireless RF Part1: Configuration
  • Husamuldeen on Getting Started with STM32WB55: LED Control using BLE
  • Hugh on Working with STM32 and NRF24L01 Wireless RF Part1: Configuration
  • James on Getting Started with STM32WB55: LED Control using BLE
  • Husamuldeen on Getting Started with STM32WB55: BLE Advertising
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