AnsweredAssumed Answered

Bug in stm32f4xx_hal_i2c.c I2C HAL driver?

Question asked by weber.daniel.001 on Dec 3, 2014
Latest reply on Dec 4, 2014 by Montassar BEN ROMDHANE
There seems to be a bug in the I2C Hal Lib stm32f4xx_hal_i2c.c (V1.1.0) when using the interrupt driven HAL_I2C_Master_Receive_IT() function.

If you first call it with a data size = 2 the POS-Bit in control register CR1 of the I2C periphery will be set.
If you call it again with another size != 2 the POS-Bit is still set and leads to an invalid (N)ACK.
The POS-Bit should first be reset when entering the function.

Can you confirm this ST?