AnsweredAssumed Answered

STM32L053R8 HAL_SMBUS

Question asked by vincent.couturier on Nov 10, 2015
Hello,
I try to realize a smbus communication where my STM32 is the slave, but I don't understand how to use the different function and interupt. For the moment I managed the reception of the address (with "HAL_SMBUS_EnableListen_IT" and "HAL_SMBUS_AddrCallback").
But I don't understand how transmits one or more byte with the function "HAL_SMBUS_Slave_Transmit_IT".
So do you know if there are some examples of code for the "HAL_Smbus" functions?
Thanks in advance.
Best regards.

Outcomes