Skip to main content
Associate III
February 16, 2024
Question

Unable to Read and Write to I2C AT24C256[EEPROM] & STM32L412KBU6

Hello I am working with AT24C256[EEPROM] & STM32L412KBU6. But I am not able to write sequentially to the EEPROM, or read.

This is the code files
I tryet to chang the code but still unable to Read and Write

This topic has been closed for replies.

1 reply

TDK
February 17, 2024

> But I am not able to write sequentially to the EEPROM, or read.

Why not? What happens when you try to do so?

Is the EEPROM responding to a HAL_I2C_IsDeviceReady call?

Are read/write functions returning HAL_OK or do they indicate an error?

"If you feel a post has answered your question, please click ""Accept as Solution""."