Skip to content

xstackman/I2C_Simulation

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

4 Commits
 
 
 
 
 
 

Repository files navigation

I2C Simulation with GPIOs

Tested in STM32G0, STM32F7, STM32WB

This implementation is based in the post found here

Configuration

This library require two gpios with high or very high speed enabled in the CubeMX. alt text

The library doesn't implement HAL functions to make the switch in logic levels, so you need to change the definitions of SDA and SCL in the IIC.h file to meet your hardware structure.

You need to check the IDR, ODR and MODER registers to set the correct bits.

About

I2C Simulation with GPIO's in STM32

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published