cancel
Showing results for 
Search instead for 
Did you mean: 

STM32L053R8 HAL_SMBUS

vincentcouturier9
Associate
Posted on November 10, 2015 at 12:33

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.

#smbus #i2c #hal #hal #stm32
0 REPLIES 0