Skip to main content
Graduate II
August 19, 2024
Question

need help for smbus communication

  • August 19, 2024
  • 1 reply
  • 673 views

hi i have asked this few times but its unclear to me how i am supposed to communicate between the host and slave device over smbus protocol. do we have a detailed documentaion which includes which needs to be enablesd 0n the baord for the communication. if you have any guided steps for the comm, protocol that would be a lot of help
kalpesh.

    This topic has been closed for replies.

    1 reply

    Super User
    August 19, 2024

    You've gotten some good responses in your previous threads on this topic.

    X-Cube-SMBUS for STM32H7 not working - STMicroelectronics Community

    STM32 SMBUS giving error - STMicroelectronics Community

     

    Ensure HAL_SMBUS_IsDeviceReady returns HAL_OK before you do anything else. If that is not working, there is typically a hardware issue that cannot be fixed in software. More details on your setup would help. What are you interfacing with? Do you have external pullups present? Is everything powered correctly?