hi, i want to read and write data on EEPROM . This eeprom interface with stm32f0. for these i used I2C bus.
there are any library or tutorial that can give how to read and write and interface ?
hello, first of all, you should study about i2c how it works then read-write from EEPROM will be easy. Read reference manual.
For EEPROM I2C bus based, maybe this will help
I2C EEPROM Example
It's based on I2C generated by GPIO and SW from this note:
Debugging I2C Quick Checklist
Hope this helps and suggestions welcome.
You can found a full set of running examples with an I2C EEPROM within the STM32CubeF0 firmware package which provides running applications showing how to use the I2C:
This Application note AN4061 may help you about EEPROM emulation in STM32F0xx microcontrollers.
Retrieving data ...