cancel
Showing results for 
Search instead for 
Did you mean: 

I2C Repeated Start on NUCLEO-F303RE

flavio23
Associate III

Hi to all!

Does anyone know how to implement a repeated start in I2C communication?

I'm using a NUCLEO-F303RE with the following STM32CubeMX commands:

  • HAL_I2C_Master_Transmit
  • HAL_I2C_Master_Receive

These couple of commands don't implement a repeated start...

Thanks in advance!

Flavio

1 REPLY 1
Amel NASRI
ST Employee

Hello @flavio23​ ,

You need to use the following functions:

  • HAL_I2C_Master_Sequential_Transmit_IT
  • HAL_I2C_Master_Sequential_Receive_IT

-Amel

To give better visibility on the answered topics, please click on Accept as Solution on the reply which solved your issue or answered your question.