Skip to content

Latest commit

 

History

History
24 lines (15 loc) · 712 Bytes

README.md

File metadata and controls

24 lines (15 loc) · 712 Bytes

STM32 I2C slave device

This project implements an I2C slave device using the HAL library of the STM32 microcontroller.
Set up and connect an I2C master and I2C slave on a single Nucleo board and verify operation.

Wiring

  • Connect D15(PB8) and A5(PC0)
  • Connect D14(PB9) and A4(PC1)

MCU Board

NUCLEO-L476RG

IDE

STM32CubeIDE

User code

After the project was automatically generated by STM32CubeIDE, only files under the following folders were added.

  • STM32CubeIDE/Core/Src/user/
  • STM32CubeIDE/Core/Inc/user/