cancel
Showing results for 
Search instead for 
Did you mean: 

How to transmit I2C data with PEC (for PEC enabled slave devices) in STM32F407 -DISC board? (Using HAL)

JPate.11
Associate

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.

0 REPLIES 0