Skip to main content
flavio23
Associate II
Jan 2, 2019 11:58 AM UTC
Question

I2C Repeated Start on NUCLEO-F303RE

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

This topic has been closed for replies.

1 reply

Amel NASRI
ST Technical Moderator
Jan 2, 2019 4:35 PM UTC

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 "Best Answer" on the reply which solved your issue or answered your question.