2024-08-19 03:54 AM
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.
2024-08-19 06:14 AM
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?