Posted on October 28, 2016 at 14:45
Hello,
I'm trying to solve a problem with I2C and the new HAL 1.5.2.
Since HAL 1.5.1 very much code was modified in the file stm32f4xx_hal_i2c.c.
With version 1.5.1 it worked like that:
...
Posted on October 31, 2016 at 13:08
Thanks for your reply,
I have changed the part at 5 locations so far:
@@ -654,7 +654,7 @@ HAL_StatusTypeDef HAL_I2C_Master_Transmit(I2C_HandleTypeDef *hi2c, uint16_t DevA
hi2c->XferCount--;
...
Posted on October 31, 2016 at 12:58Since I changed to use the separate ''Mem'' functions to read/write to the chip, it works. It is still not clear to me, why it was changed since last HAL and why it was different before. Greets, Tobi
Posted on October 25, 2016 at 11:53Hello, thanks for this post. I'm facing also the same problems with I2C since upgrading to the same HAL (1.5.2) which is from the FW package v1131. With the previous FW lib (1.5.1) it worked. The problem is, that ...