Hi ,
I am trying to establish a I2C connection between STM32F407VG to PCA9554D using STM32 cube.
I am using HAL libraries for the communication but i am not able to establish the connection .
it is returning HAL_Busy error while using api below
device address: 0x40
HAL_I2C_Master_Transmit(&hi2c2,DeviceAdress,data,size,timeout);
if iam wrong can you please help me out with sample program
Thanks in advance
I am trying to establish a I2C connection between STM32F407VG to PCA9554D using STM32 cube.
I am using HAL libraries for the communication but i am not able to establish the connection .
it is returning HAL_Busy error while using api below
device address: 0x40
HAL_I2C_Master_Transmit(&hi2c2,DeviceAdress,data,size,timeout);
if iam wrong can you please help me out with sample program
Thanks in advance