This tutorial shows how to use the I2C interface on the STM32 devices. We will connect 2 STM32 boards using their I2C interface, will go over the I2C packet format, and will show how to use the STM32 HAL API to send and receive message using I2C. We will use a third STM32 board together with Analyzer2Go to look into the I2C signals.

Before you begin, install Visual Studio and VisualGDB.