2022-11-21 04:05 PM
Hello,
I am trying to find a solution on how to send I2C command with PEC using HAL? Can anyone point to the right document where I can find this?
The one way I can think of is manually calculate PEC and send PEC byte at the end of data transmission using HAL_I2C_Mem_Write() function. But I don't think that's the ideal way.
I am using STM32F407-DISC board.