Skip to main content
VKamb.1
Visitor II
April 5, 2021
Question

How to implement SM bus restart condition for implementing Smbus block read protocol on master side and how will the slave respond?

  • April 5, 2021
  • 0 replies
  • 1157 views

Which Xferoption should be selected and should we use both functions ie

HAL_StatusTypeDef HAL_SMBUS_Master_Transmit_IT(SMBUS_HandleTypeDef *hsmbus, uint16_t DevAddress, uint8_t *pData, uint16_t Size, uint32_t XferOptions)

and

HAL_StatusTypeDef HAL_SMBUS_Master_Receive_IT(SMBUS_HandleTypeDef *hsmbus, uint16_t DevAddress, uint8_t *pData, uint16_t Size, uint32_t XferOptions)

to implement read block protocol.

The same question for slave also?

0693W000008yg7kQAA.png

    This topic has been closed for replies.