Quantcast
Channel: Microcontrollers
Viewing all articles
Browse latest Browse all 4923

I2C Communication- STM32F407VG(Master) to PCA9554D(Slave)

$
0
0
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

Viewing all articles
Browse latest Browse all 4923

Trending Articles