STM32F4 HAL I2C Driver Address Problem
I have a problem of the HAL Driver function HAL_I2C_Master_Transmit's parameter 'DevAddress'. It says that the device 7 bits address value in datasheet must be shifted to the left before calling the interface, that is, if I want to transmit to a device addressed 0x60, the parameter should be 0xc0. And that's exactly what happened. But when I use the function HAL_I2C_Mem_Read, which has same require, the parameter was 0x60, the 0xc0 was wrong.
MCU: STM32F407ZGT6
CubeMX Firmware Package: V1.26.2
I'am confused now. Please help me.:sad_but_relieved_face:
