cancel
Showing results for 
Search instead for 
Did you mean: 

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

VKamb.1
Associate

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

0 REPLIES 0