Skip to main content
robertadams9
Associate
June 10, 2008
Question

I2C master-mode repeated start

  • June 10, 2008
  • 2 replies
  • 666 views
Posted on June 10, 2008 at 14:24

I2C master-mode repeated start

    This topic has been closed for replies.

    2 replies

    robertadams9
    Associate
    May 17, 2011
    Posted on May 17, 2011 at 12:36

    never, mind, my mistake; a repeated start is supposed to send the slave address again.

    Bob

    robertadams9
    Associate
    May 17, 2011
    Posted on May 17, 2011 at 12:36

    I am using the I2C port of an stm32f103 in master mode, and I want to use

    a ''repeated start'' condition between transactions, for example,

    start, slave-adr, subadr0, subadr1, data, data, data, ...

    repeated start, subadr0, subadr1, data, data, data, ...

    repeated start, subadr0, subadr1, data, data, data, ...

    But it seems that whenever I set the start bit in CR1, it generates the slave address all over again. Is there a way to avoid this?

    Thanks!

    Bob