Skip to main content
khorght
Associate II
August 31, 2015
Question

cube f4 i2c repeted start

  • August 31, 2015
  • 2 replies
  • 657 views
Posted on August 31, 2015 at 20:09

Hi. Is it possible and if yes, where can i find examples how to communicate with slave devices that work only with  Repeated Start instead of Stop when reading them?

Library: Cube F4 V1.3.2

MCU: STM32F429ZI
    This topic has been closed for replies.

    2 replies

    Nesrine M_O
    Associate
    September 1, 2015
    Posted on September 01, 2015 at 11:51

    Hi goncharov.sergey,

    Unfortunately this feature does not exist in the current version of STM32Cube F4 package (1.7.0), but it is planned to be added in one of coming releases.

    -Syrine-

    whho
    Visitor II
    October 16, 2015
    Posted on October 17, 2015 at 01:17

    Hi Syrine

    I am trying to modify the HAL_I2C_Master_Transmit() to not send STOP condition but instead send a repeated start condition.

    From the manual (RM0383 page 472), this seems to be possible when in Master Receiver mode. Is this possible in Master Transmitter mode?

    I am using a STM32F411RE.