Question
Need I2C EEPROM example code for STM32F407
Posted on February 01, 2016 at 15:28
I have a project running nicely on a STM32F407 (same chip as on the Discovery 4 board). It's fairly simple, using only a couple of UARTs and some GPIOs, and it
uses ABSOLUTELY NO STM CODE (including HAL). I now need to get it to write/read arbitrary individual bytes of a 2K-bit (byte-wide) EEPROM that is connected to the chip's I2C1 interface. I have no experience with I2C, and I find all STM code and documentation to be incomprehensible. Thus, I'm hoping someone would be willing to provide this poor boy with a working example of using the I2C interface to exchange data with an EEPROM. I'd be grateful! #stm32-i2c-eeprom