Skip to main content
JPate.11
Visitor II
November 22, 2022
Question

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

  • November 22, 2022
  • 0 replies
  • 1312 views

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.

This topic has been closed for replies.