HAL

STM32 Tutorials based on HAL Library and cubeIDE

171 Articles

Modbus #5. STM32 as Slave || Read Coils and Inputs

This tutorial will cover how the STM32 as a slave device will send a response to the queries regarding reading Coils and Discrete...

Modbus #4. STM32 as Slave || Read Holding and Input Registers

This tutorial will cover how the STM32 as a modbus slave, that will send a response to the queries regarding reading registers...

Modbus #3.1 STM32 Master Writes Multiple Coils and Registers

This is another tutorial in the Modbus series and today we will see how the STM32 as master Writes multiple coils and Holding...

Modbus #3. STM32 Master Writes single Coil and Holding Register

Today in the modbus series we will see how to use the STM32 as the master, which will Force a single coil and...

Modbus #2. STM32 Master Reads Coils and inputs

This is second tutorial in the Modbus series and today we will see how to use the STM32 as the master to read...

Modbus #1. STM32 Master Reads Holding and Input Registers

How to use the STM32 as the master requesting the data from the holding registers and input registers from the slave device..

RS485 Module and STM32

How to interface the RS485 to TTL converter module with STM32. I am going to use F103 and F446, which are connected via...

FDCAN in Normal Mode || STM32H7

This tutorial will cover how to implement the FDDCAN in Normal mode. I am going to use STM32H7 microcontroller..

STM32 FDCAN in Loopback Mode

This tutorial will cover how to configure the FDCAN peripheral in the loopback mode. We will also see how to configure the timings...