Back to Browse

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

1.3K views
Sep 28, 2024
25:56

In this video, we are interfacing the AT24C512 EEPROM Ic with STM32F103C8 controller. The Erase and write functionalities are explained in the previous video (https://youtu.be/sUhxf2IFfpI). In this video, we are simulating the read operation. So we are reading from one memory location and copying the same data to another memory location. To copy the data from one location we need both read and write operations. Thus demonstrating both Read and Write operations for EEPROM. 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. To support our channel please donate on PayPal: https://www.paypal.me/ajimet For project queries, mail us on [email protected] or whatsapp us on +919665001206 Join our telegram channel: stmetatronics link: https://t.me/STM32controller Notes: The device id is 0xA0 for this simulation. You can change it according to your device. Files: https://drive.google.com/drive/folders/1JWKx9qd47MS2KHQeVyO-fFt61h0aUrjU?usp=sharing Copy the .c file in src folder Copy the .h file in inc folder

Download

0 formats

No download links available.

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