AnsweredAssumed Answered

HAL_I2C_Mem_ReadDMA stuck reading large amount of data

Question asked by Martin Straub on Aug 11, 2017
Latest reply on Aug 11, 2017 by Martin Straub

Hi, new to the forum.

STM32L476: when reading a block larger than 255 bytes from an EEPROM , HAL gets stuck in HAL_I2C_STATE_BUSY_RX, SCL low, SDA high. Reload was setup alright in HAL and in STM32 I2C the TCR flag is set, but nothing happens. I suspect no interrupt was raised or it was not handled properly. Up to 255 bytes (no reload) everything works.

Any similar experiences?

Outcomes