Skip to main content
Visitor II
February 16, 2024
Question

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

  • February 16, 2024
  • 1 reply
  • 4013 views

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

    Super User
    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?