cancel
Showing results for 
Search instead for 
Did you mean: 

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

Miro Slavov
Associate
Posted on December 15, 2017 at 00:00

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!

1 REPLY 1

Sorry, bumping old zombie unanswered questions off my feed.

Tips, Buy me a coffee, or three.. PayPal Venmo
Up vote any posts that you find helpful, it shows what's working..