STM32 EEPROM Interface simulation | EEPROM Read and write operation | I2C protocol explanation

preview_player
Показать описание

We are using the bit banging technique for replicating the I2C protocol. We are using GPIOs as I2C lines. So if you are using any other GPIO apart from GPIO0 and GPIO1, then you ll have to modify the code.

or whatsapp us on +919665001206

Join our telegram channel: stmetatronics

Notes:
The device id is 0xA0 for this simulation. You can change it according to your device.

Files:
Copy the .c file in src folder
Copy the .h file in inc folder
Рекомендации по теме