HAL

STM32 Tutorials based on HAL Library and cubeIDE

172 Articles

STM32 ETHENRET #2. UDP SERVER

Create a new UDP control block using udp_new (). Bind the block to the local IP address and Port by using udp_bind

STM32 Ethernet #1. Connection

This tutorial is the start of the Ethernet series in STM32. Today we will simply see how to configure the Hardware and ping...

STM32 TIMERS #3. How to use the ENCODER Mode

This tutorial will cover How to use Incremental Encoder with STM32. Also we will see how can we control the angle in Servo...

CAN Protocol in STM32

This tutorial will cover the Basic Can protocol in STM32. Here we will see, how to communicate between two STM32 devices using the...

Interface WS2812 with STM32

In this tutorial, we will interface the WS2812/B LED with STM32. I am going to use PWM with DMA to send the data...

PWM with DMA in STM32

This tutorial will cover how to use the Timer to generate the PWM(Pulse Width Modulation) wave in STM32. We will use the PWM...

EEPROM and STM32

This tutorial will cover how to interface an I2C based AT24C EEPROM with STM32. The EEPROM is connected via the I2C peripheral...

WavePlayer using STM32 Discovery

This tutorial will cover how to make WavePlayer using STM32 Discovery board. It will be able to play the wave files from the...

Send and Receive data to PC without UART (STM32 USB COM)

This tutorial will cover how can we use the STM32 USB to send and receive data from the computer, just like we did...