AnsweredAssumed Answered

Problem writing to I2C EEPROM with STM HAL library function HAL_I2C_Mem_Write()

Question asked by Miro Slavov on Dec 15, 2017

Hello,

I have a STM32F746 CPU exchanging data with a 24AA16H 16K I2C™ Serial EEPROM thru stm32f7xx_hall library functions HAL_I2C_Mem_Write() and HAL_I2C_Mem_Read().

I see this weird issue writing to the memory: if a chunk of data is written to a specific address, it gets written to all of the eight blocks in the memory (e.g. if a 16-bytes page is written to address 0x000, it also goes to addresses  0x100, 0x200, 0x300, etc

Anybody has any idea where could be the problem - in the lib functions or in the eeprom itself?

Thanks!

Outcomes