STM32Cube MCU Full Package for the STM32F4 series - (HAL + LL Drivers, CMSIS Core, CMSIS Device, MW libraries plus a set of Projects running on all boards provided by ST (Nucleo, Evaluation and Discovery Kits))
Other
827
stars
409
forks
source link
Please confirm whether this is a bug in “I2C_RequestMemoryRead” #95
FILE: stm32f4xx_hal_i2c.c, LINE: 6823
hi2c->Instance->DR = I2C_7BIT_ADD_WRITE(DevAddress);
I think it should be as follow,
hi2c->Instance->DR = I2C_7BIT_ADD_READ(DevAddress);