Skip to main content
vincentcouturier9
Visitor II
November 10, 2015
Question

STM32L053R8 HAL_SMBUS

  • November 10, 2015
  • 0 replies
  • 517 views
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
This topic has been closed for replies.