Associate II
January 10, 2025
Question
HAL library error for I2C mode EEPROM
- January 10, 2025
- 2 replies
- 1550 views
After updating the i2c library to the latest version, I got a write error. After reverting the library to the previous version, the error went away and the location where the error was returned is:
stm32f3xx_hal_i2c.c / I2C_IsErrorOccurred()
Line 7255
It looks like there's probably something wrong with the acknowledge polling process to know when the write cycle is finished.
CubeMX V6.13.0
MCU Package STM32F3 Series V1.11.5
STM32F334K6Tx
I2C EEPROM: AT24C16D
