2025-01-09 06:56 PM
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
2025-01-13 06:27 AM
@JChoi.6 wrote:After updating the i2c library to the latest version, I got a write error.
What error, exactly, did you get?
Did you check the I2C lines with a logic analyser to see if the hardware is behaving correctly?